canvas-lms/.gitignore

69 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-02-01 09:57:29 +08:00
.rvmrc
.rdebug_hist
.DS_Store
Gemfile.lock
log/*.log
log/*.pid
log/**/*
lib/tasks/deploy.rake
tmp/**/*
tmp/*
db/*.sqlite3
db/*.sqlite3-journal
db/*.sqlite
db/demo
config/GEM_HOME
config/*.yml
2011-02-01 09:57:29 +08:00
config/environments/*-local.rb
models.dot
db/*sql
db/development_structure.sql
db/schema.rb
noodle*
tmp_*
public/files/**/*
public/javascripts/cached/*
public/javascripts/translations/*
public/javascripts/compiled/*
public/javascripts/jst/*
2011-02-01 09:57:29 +08:00
public/stylesheets/compiled/*
public/stylesheets/compiled/**/*
public/stylesheets/cached/*
*.pid
vendor/cache/*mswin*.gem
vendor/cache
coverage
instructure_content
.idea/*
exports/*
.sass-cache
.bundle
public/*.gz
public/*/*.gz
public/*/*/*.gz
public/*/*/*/*.gz
public/*/*/*/*/*.gz
public/*/*/*/*/*/*.gz
public/*/*/*/*/*/*/*.gz
public/*/*/*/*/*/*/*/*.gz
public/*/*/*/*/*/*/*/*/*.gz
.*.sw?
2011-02-01 09:57:29 +08:00
public/assets/*
doc/plugins/*
public/doc/api/*
.yardoc/*
spec/javascripts/*Spec.js
spec/javascripts/*/*Spec.js
fix js:test for OSX, plugins, and dynamic manifest no more maintaining spec/javascripts/supports/specs.js to tell the runner which specs to run. instead, the runner is built from an erb that determines the list of specs to run from the filesystem. this new way is also plugin friendly by maintaining a plugin symlink to include plugin specs in the spec/coffeescripts tree. second, give the runner page to the phantomjs execution as a file:/// path rather than just a local path. the latter worked on the build machine, but failed with the phantomjs installed viw macbrew. third, clean up/out some slightly broken specs. * ENVSpec fails when the specs are reordered by the dynamic globbing, but is no longer necessary anyways (since ENV is global now) * the 'specs/helpers/' path in TemplateSpec doesn't work with the new setup, but just 'helpers/' does and is what it should have been using before anyways. * asyncTest is not reliable. once the specs started running in a slightly different order (thanks to the initial point), they started failing with asyncTest race conditions. use fakeTimers and fakeServers instead when appropriate. * found and fixed a minor bug in BackoffPoller while converting/fixing its asyncTests test-plan: - run rake js:test; should run completely as before - add a plugin with a spec in spec_canvas/coffeescripts then run rake js:test again; the plugin's spec should be executed. Change-Id: I9ce5a038829a9e747df26d878ce86dbb7da8c384 Reviewed-on: https://gerrit.instructure.com/9411 Reviewed-by: Jon Jensen <jon@instructure.com> Tested-by: Hudson <hudson@instructure.com>
2012-03-14 07:15:35 +08:00
spec/javascripts/*/*/*Spec.js
spec/javascripts/helpers/
spec/javascripts/plugins/
spec/javascripts/runner.html
AMD Conversion "Trivial" JavaScript / CoffeeScript changes -------------------------------------------------- For the most part, all javascript was simply wrapped in `require` or `define`. The dependencies were found with a script that matched regexes in the files, it errs on the side of listing too many dependencies, so its worth double checking each file's dependencies (over time, anyway). i18n API changes -------------------------------------------------- No longer have to do I18n.scoped calls, just list i18n as a dependency with the scope and it's imported already scoped require ['i18n!some_scope'], (I18n) -> I18n.t 'im_scoped', 'I'm scoped!' JS bundling now done with r.js, not Jammit -------------------------------------------------- We don't use jammit to bundle JS anymore. Simply list dependencies for your JS modules in the file and RequireJS handles the rest. To optimize the JavaScript, first make sure you have node.js 0.4.12+ installed and then run: $ rake js:build The app defaults to the optimized build in production. You can use non-optimized in production by putting ?debug_assets=true in the url just like before. You can also test the optimized JavaScript in development with ?optimized_js=true. Significant changes -------------------------------------------------- These files have "real" changes to them (unlike the JavaScript that is simply wrapped in require and define). Worth taking a really close look at: - app/helpers/application_helper.rb - app/views/layouts/application.html.erb - config/assets.yml - config/build.js - lib/handlebars/handlebars.rb - lib/i18n_extraction/js_extractor.rb - lib/tasks/canvas.rake - lib/tasks/i18n.rake - lib/tasks/js.rake Change-Id: I4bc5ecb1231f331aaded0fef2bcc1f3a9fe482a7 Reviewed-on: https://gerrit.instructure.com/6986 Tested-by: Hudson <hudson@instructure.com> Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-11-11 00:31:45 +08:00
public/optimized
!node_modules
chromedriver.log
public/plugins/
app/coffeescripts/plugins/
app/views/jst/plugins/
app/stylesheets/plugins/
fix js:test for OSX, plugins, and dynamic manifest no more maintaining spec/javascripts/supports/specs.js to tell the runner which specs to run. instead, the runner is built from an erb that determines the list of specs to run from the filesystem. this new way is also plugin friendly by maintaining a plugin symlink to include plugin specs in the spec/coffeescripts tree. second, give the runner page to the phantomjs execution as a file:/// path rather than just a local path. the latter worked on the build machine, but failed with the phantomjs installed viw macbrew. third, clean up/out some slightly broken specs. * ENVSpec fails when the specs are reordered by the dynamic globbing, but is no longer necessary anyways (since ENV is global now) * the 'specs/helpers/' path in TemplateSpec doesn't work with the new setup, but just 'helpers/' does and is what it should have been using before anyways. * asyncTest is not reliable. once the specs started running in a slightly different order (thanks to the initial point), they started failing with asyncTest race conditions. use fakeTimers and fakeServers instead when appropriate. * found and fixed a minor bug in BackoffPoller while converting/fixing its asyncTests test-plan: - run rake js:test; should run completely as before - add a plugin with a spec in spec_canvas/coffeescripts then run rake js:test again; the plugin's spec should be executed. Change-Id: I9ce5a038829a9e747df26d878ce86dbb7da8c384 Reviewed-on: https://gerrit.instructure.com/9411 Reviewed-by: Jon Jensen <jon@instructure.com> Tested-by: Hudson <hudson@instructure.com>
2012-03-14 07:15:35 +08:00
spec/coffeescripts/plugins/