browserify-rails 0.0.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +1 -0
- data/LICENSE.txt +2 -2
- data/README.md +83 -15
- data/Rakefile +26 -0
- data/browserify-rails.gemspec +21 -16
- data/lib/browserify-rails.rb +8 -0
- data/lib/browserify-rails/browserify_error.rb +5 -0
- data/lib/browserify-rails/browserify_processor.rb +109 -0
- data/lib/browserify-rails/railtie.rb +20 -0
- data/lib/browserify-rails/tasks/npm.rake +20 -0
- data/lib/browserify-rails/version.rb +3 -0
- data/test/browserify_processor_test.rb +46 -0
- data/test/compilation_test.rb +82 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js.example +1 -0
- data/test/dummy/app/assets/javascripts/foo.js.example +2 -0
- data/test/dummy/app/assets/javascripts/nested/index.js.example +1 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/home_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/home_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/app/views/home/index.html.erb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +15 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +44 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +27 -0
- data/test/dummy/config/environments/production.rb +54 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +12 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +60 -0
- data/test/dummy/package.json +12 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/fixtures/application.changed.out.js +12 -0
- data/test/fixtures/application.foo_changed.out.js +11 -0
- data/test/fixtures/application.out.js +11 -0
- data/test/fixtures/empty_module.js +2 -0
- data/test/fixtures/foo.out.js +9 -0
- data/test/test_helper.rb +20 -0
- metadata +151 -29
- data/.rspec +0 -2
- data/spec/browserify/rails_spec.rb +0 -11
- data/spec/spec_helper.rb +0 -2
data/.rspec
DELETED
data/spec/spec_helper.rb
DELETED