roadie-rails 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +14 -14
- data/Changelog.md +13 -2
- data/LICENSE.txt +1 -1
- data/README.md +6 -12
- data/Rakefile +12 -3
- data/lib/roadie/rails/asset_pipeline_provider.rb +9 -1
- data/lib/roadie/rails/version.rb +1 -1
- data/roadie-rails.gemspec +2 -2
- data/setup.sh +6 -13
- data/spec/integration_spec.rb +4 -15
- data/spec/railsapps/rails_42/Gemfile +1 -1
- data/spec/railsapps/rails_42/app/assets +1 -0
- data/spec/railsapps/rails_42/app/mailers +1 -0
- data/spec/railsapps/rails_42/app/views +1 -0
- data/spec/railsapps/rails_42_sprockets_rails_3/Gemfile +2 -2
- data/spec/railsapps/rails_42_sprockets_rails_3/app/assets +1 -0
- data/spec/railsapps/rails_42_sprockets_rails_3/app/mailers +1 -0
- data/spec/railsapps/rails_42_sprockets_rails_3/app/views +1 -0
- data/spec/railsapps/rails_50/Gemfile +1 -2
- data/spec/railsapps/rails_50/app/assets +1 -0
- data/spec/railsapps/rails_50/app/views +1 -0
- data/spec/railsapps/rails_50/bin/rails +0 -5
- data/spec/railsapps/rails_50/config/application.rb +4 -1
- data/spec/railsapps/rails_50/config/environments/development.rb +0 -1
- data/spec/railsapps/{rails_41 → rails_51}/.gitignore +8 -7
- data/spec/railsapps/rails_51/Gemfile +8 -0
- data/spec/railsapps/{rails_30/public → rails_51/app/assets}/images/rails.png +0 -0
- data/spec/railsapps/rails_51/app/assets/stylesheets/email.css.scss +2 -0
- data/spec/railsapps/rails_51/app/mailers/auto_mailer.rb +27 -0
- data/spec/railsapps/rails_51/app/mailers/mailer.rb +17 -0
- data/spec/railsapps/rails_51/app/views/auto_mailer/normal_email.html.erb +11 -0
- data/spec/railsapps/rails_51/app/views/auto_mailer/normal_email.text +1 -0
- data/spec/railsapps/rails_51/app/views/mailer/normal_email.html.erb +11 -0
- data/spec/railsapps/rails_51/app/views/mailer/normal_email.text +1 -0
- data/spec/railsapps/{rails_40_no_pipeline → rails_51}/bin/rails +1 -1
- data/spec/railsapps/{rails_41 → rails_51}/config.ru +2 -1
- data/spec/railsapps/rails_51/config/application.rb +16 -0
- data/spec/railsapps/rails_51/config/boot.rb +3 -0
- data/spec/railsapps/rails_51/config/environment.rb +5 -0
- data/spec/railsapps/rails_51/config/environments/development.rb +51 -0
- data/spec/railsapps/rails_51/config/environments/production.rb +83 -0
- data/spec/railsapps/rails_51/config/environments/test.rb +42 -0
- data/spec/railsapps/rails_51/config/initializers/application_controller_renderer.rb +6 -0
- data/spec/railsapps/rails_51/config/initializers/assets.rb +11 -0
- data/spec/railsapps/rails_51/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/railsapps/rails_51/config/initializers/cookies_serializer.rb +5 -0
- data/spec/railsapps/rails_51/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/railsapps/rails_51/config/initializers/inflections.rb +16 -0
- data/spec/railsapps/rails_51/config/initializers/mime_types.rb +4 -0
- data/spec/railsapps/rails_51/config/initializers/new_framework_defaults.rb +21 -0
- data/spec/railsapps/rails_51/config/initializers/session_store.rb +3 -0
- data/spec/railsapps/rails_51/config/initializers/wrap_parameters.rb +9 -0
- data/spec/railsapps/rails_51/config/locales/en.yml +23 -0
- data/spec/railsapps/rails_51/config/routes.rb +3 -0
- data/spec/railsapps/{rails_40_no_pipeline/log/dee → rails_51/log/.keep} +0 -0
- data/spec/railsapps/shared/all/app/views/auto_mailer +1 -0
- data/spec/spec_helper.rb +2 -1
- data/spec/support/rails_app.rb +13 -10
- metadata +89 -171
- data/spec/railsapps/rails_30/.gitignore +0 -2
- data/spec/railsapps/rails_30/Gemfile +0 -4
- data/spec/railsapps/rails_30/config/application.rb +0 -19
- data/spec/railsapps/rails_30/config/boot.rb +0 -6
- data/spec/railsapps/rails_30/config/environment.rb +0 -5
- data/spec/railsapps/rails_30/config/environments/development.rb +0 -10
- data/spec/railsapps/rails_30/config/initializers/secret_token.rb +0 -1
- data/spec/railsapps/rails_30/config/initializers/session_store.rb +0 -1
- data/spec/railsapps/rails_30/config/routes.rb +0 -2
- data/spec/railsapps/rails_30/public/stylesheets/email.css +0 -2
- data/spec/railsapps/rails_30/script/rails +0 -6
- data/spec/railsapps/rails_31/.gitignore +0 -2
- data/spec/railsapps/rails_31/Gemfile +0 -8
- data/spec/railsapps/rails_31/config/application.rb +0 -22
- data/spec/railsapps/rails_31/config/boot.rb +0 -6
- data/spec/railsapps/rails_31/config/environment.rb +0 -5
- data/spec/railsapps/rails_31/config/environments/development.rb +0 -11
- data/spec/railsapps/rails_31/config/initializers/secret_token.rb +0 -1
- data/spec/railsapps/rails_31/config/initializers/session_store.rb +0 -1
- data/spec/railsapps/rails_31/config/initializers/wrap_parameters.rb +0 -4
- data/spec/railsapps/rails_31/config/routes.rb +0 -2
- data/spec/railsapps/rails_31/script/rails +0 -6
- data/spec/railsapps/rails_32/.gitignore +0 -2
- data/spec/railsapps/rails_32/Gemfile +0 -8
- data/spec/railsapps/rails_32/config/application.rb +0 -22
- data/spec/railsapps/rails_32/config/boot.rb +0 -6
- data/spec/railsapps/rails_32/config/environment.rb +0 -5
- data/spec/railsapps/rails_32/config/environments/development.rb +0 -11
- data/spec/railsapps/rails_32/config/initializers/secret_token.rb +0 -1
- data/spec/railsapps/rails_32/config/initializers/session_store.rb +0 -1
- data/spec/railsapps/rails_32/config/initializers/wrap_parameters.rb +0 -4
- data/spec/railsapps/rails_32/config/routes.rb +0 -2
- data/spec/railsapps/rails_32/script/rails +0 -6
- data/spec/railsapps/rails_40/Gemfile +0 -6
- data/spec/railsapps/rails_40/bin/rails +0 -4
- data/spec/railsapps/rails_40/config/application.rb +0 -18
- data/spec/railsapps/rails_40/config/boot.rb +0 -4
- data/spec/railsapps/rails_40/config/environment.rb +0 -5
- data/spec/railsapps/rails_40/config/environments/development.rb +0 -9
- data/spec/railsapps/rails_40/config/initializers/secret_token.rb +0 -1
- data/spec/railsapps/rails_40/config/initializers/session_store.rb +0 -1
- data/spec/railsapps/rails_40/config/routes.rb +0 -2
- data/spec/railsapps/rails_40_no_pipeline/Gemfile +0 -6
- data/spec/railsapps/rails_40_no_pipeline/config/application.rb +0 -19
- data/spec/railsapps/rails_40_no_pipeline/config/boot.rb +0 -4
- data/spec/railsapps/rails_40_no_pipeline/config/environment.rb +0 -5
- data/spec/railsapps/rails_40_no_pipeline/config/environments/development.rb +0 -9
- data/spec/railsapps/rails_40_no_pipeline/config/initializers/secret_token.rb +0 -1
- data/spec/railsapps/rails_40_no_pipeline/config/initializers/session_store.rb +0 -1
- data/spec/railsapps/rails_40_no_pipeline/config/routes.rb +0 -2
- data/spec/railsapps/rails_40_no_pipeline/public/images/rails.png +0 -0
- data/spec/railsapps/rails_40_no_pipeline/public/stylesheets/email.css +0 -2
- data/spec/railsapps/rails_40_precompiled/Gemfile +0 -6
- data/spec/railsapps/rails_40_precompiled/Rakefile +0 -6
- data/spec/railsapps/rails_40_precompiled/bin/rails +0 -4
- data/spec/railsapps/rails_40_precompiled/config/application.rb +0 -20
- data/spec/railsapps/rails_40_precompiled/config/boot.rb +0 -4
- data/spec/railsapps/rails_40_precompiled/config/environment.rb +0 -5
- data/spec/railsapps/rails_40_precompiled/config/environments/development.rb +0 -13
- data/spec/railsapps/rails_40_precompiled/config/initializers/secret_token.rb +0 -1
- data/spec/railsapps/rails_40_precompiled/config/initializers/session_store.rb +0 -1
- data/spec/railsapps/rails_40_precompiled/config/routes.rb +0 -2
- data/spec/railsapps/rails_40_precompiled/public/assets/email-fad0c62b8f82e2835c1d0bdc19894257.css +0 -5
- data/spec/railsapps/rails_40_precompiled/public/assets/email-fad0c62b8f82e2835c1d0bdc19894257.css.gz +0 -0
- data/spec/railsapps/rails_40_precompiled/public/assets/manifest-8a3d16aeb2a40fe5057dd998c3edab10.json +0 -1
- data/spec/railsapps/rails_40_precompiled/public/assets/rails-231a680f23887d9dd70710ea5efd3c62.png +0 -0
- data/spec/railsapps/rails_41/Gemfile +0 -5
- data/spec/railsapps/rails_41/bin/rails +0 -4
- data/spec/railsapps/rails_41/config/application.rb +0 -13
- data/spec/railsapps/rails_41/config/boot.rb +0 -4
- data/spec/railsapps/rails_41/config/environment.rb +0 -5
- data/spec/railsapps/rails_41/config/environments/development.rb +0 -9
- data/spec/railsapps/rails_41/config/initializers/secret_token.rb +0 -1
- data/spec/railsapps/rails_41/config/initializers/session_store.rb +0 -1
- data/spec/railsapps/rails_41/config/routes.rb +0 -2
- data/spec/railsapps/rails_50/config/database.yml +0 -25
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
# Pick the frameworks you want:
|
4
|
-
# require "active_record/railtie"
|
5
|
-
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
7
|
-
require "active_resource/railtie"
|
8
|
-
require "sprockets/railtie"
|
9
|
-
# require "rails/test_unit/railtie"
|
10
|
-
|
11
|
-
if defined?(Bundler)
|
12
|
-
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
13
|
-
end
|
14
|
-
|
15
|
-
module Rails31
|
16
|
-
class Application < Rails::Application
|
17
|
-
config.encoding = "utf-8"
|
18
|
-
config.assets.enabled = true
|
19
|
-
config.assets.version = '1.0'
|
20
|
-
config.roadie.url_options = {host: 'example.app.org'}
|
21
|
-
end
|
22
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
Rails31::Application.configure do
|
2
|
-
config.cache_classes = false
|
3
|
-
config.whiny_nils = true
|
4
|
-
config.consider_all_requests_local = true
|
5
|
-
config.action_controller.perform_caching = false
|
6
|
-
config.action_mailer.raise_delivery_errors = false
|
7
|
-
config.active_support.deprecation = :log
|
8
|
-
config.action_dispatch.best_standards_support = :builtin
|
9
|
-
config.assets.compress = false
|
10
|
-
config.assets.debug = true
|
11
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails31::Application.config.secret_token = '94649fdde8d6da7fcc8e89203530b68af61db0fe238180a0d3c191661f6cf9bba8ef3d4716a434ed4d2c37abdbe7b71cea0af8da1079e5359be295e5e75dcfa5'
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails31::Application.config.session_store :cookie_store, key: '_rails_31_session'
|
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
# Pick the frameworks you want:
|
4
|
-
# require "active_record/railtie"
|
5
|
-
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
7
|
-
require "active_resource/railtie"
|
8
|
-
require "sprockets/railtie"
|
9
|
-
# require "rails/test_unit/railtie"
|
10
|
-
|
11
|
-
if defined?(Bundler)
|
12
|
-
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
13
|
-
end
|
14
|
-
|
15
|
-
module Rails32
|
16
|
-
class Application < Rails::Application
|
17
|
-
config.encoding = "utf-8"
|
18
|
-
config.assets.enabled = true
|
19
|
-
config.assets.version = '1.0'
|
20
|
-
config.roadie.url_options = {host: 'example.app.org'}
|
21
|
-
end
|
22
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
Rails32::Application.configure do
|
2
|
-
config.cache_classes = false
|
3
|
-
config.whiny_nils = true
|
4
|
-
config.consider_all_requests_local = true
|
5
|
-
config.action_controller.perform_caching = false
|
6
|
-
config.action_mailer.raise_delivery_errors = false
|
7
|
-
config.active_support.deprecation = :log
|
8
|
-
config.action_dispatch.best_standards_support = :builtin
|
9
|
-
config.assets.compress = false
|
10
|
-
config.assets.debug = true
|
11
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails32::Application.config.secret_token = '506c2be1264e1aa444583bb216a31f8b52e7de11b5e158112c2ad1cf182c077eb9b378919431b9f4f401e41ccdff2140540aa59cad3a7f5ee200367a352469f1'
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails32::Application.config.session_store :cookie_store, key: '_rails_32_session'
|
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
# Pick the frameworks you want:
|
4
|
-
# require "active_record/railtie"
|
5
|
-
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
7
|
-
require "sprockets/railtie"
|
8
|
-
# require "rails/test_unit/railtie"
|
9
|
-
|
10
|
-
# Require the gems listed in Gemfile, including any gems
|
11
|
-
# you've limited to :test, :development, or :production.
|
12
|
-
Bundler.require(:default, Rails.env)
|
13
|
-
|
14
|
-
module Rails40
|
15
|
-
class Application < Rails::Application
|
16
|
-
config.roadie.url_options = {host: 'example.app.org'}
|
17
|
-
end
|
18
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
Rails40::Application.configure do
|
2
|
-
config.cache_classes = false
|
3
|
-
config.eager_load = false
|
4
|
-
config.consider_all_requests_local = true
|
5
|
-
config.action_controller.perform_caching = false
|
6
|
-
config.action_mailer.raise_delivery_errors = false
|
7
|
-
config.active_support.deprecation = :log
|
8
|
-
config.assets.debug = true
|
9
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails40::Application.config.secret_key_base = '62c740bbc79cd7fa4dfabc7365c0f7ec98204cfae45a41d2e1423d6084bb762e9310acf46fc7e4cc6215a90c7aeef4107b9f1c7e3b68623fd11af43b716ccf5e'
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails40::Application.config.session_store :cookie_store, key: '_rails_40_session'
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
# Pick the frameworks you want:
|
4
|
-
# require "active_record/railtie"
|
5
|
-
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
7
|
-
require "sprockets/railtie"
|
8
|
-
# require "rails/test_unit/railtie"
|
9
|
-
|
10
|
-
# Require the gems listed in Gemfile, including any gems
|
11
|
-
# you've limited to :test, :development, or :production.
|
12
|
-
Bundler.require(:default, Rails.env)
|
13
|
-
|
14
|
-
module Rails40
|
15
|
-
class Application < Rails::Application
|
16
|
-
config.roadie.url_options = {host: 'example.app.org'}
|
17
|
-
config.assets.enabled = false
|
18
|
-
end
|
19
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
Rails40::Application.configure do
|
2
|
-
config.cache_classes = false
|
3
|
-
config.eager_load = false
|
4
|
-
config.consider_all_requests_local = true
|
5
|
-
config.action_controller.perform_caching = false
|
6
|
-
config.action_mailer.raise_delivery_errors = false
|
7
|
-
config.active_support.deprecation = :log
|
8
|
-
config.assets.debug = true
|
9
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails40::Application.config.secret_key_base = '62c740bbc79cd7fa4dfabc7365c0f7ec98204cfae45a41d2e1423d6084bb762e9310acf46fc7e4cc6215a90c7aeef4107b9f1c7e3b68623fd11af43b716ccf5e'
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails40::Application.config.session_store :cookie_store, key: '_rails_40_session'
|
Binary file
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
# Pick the frameworks you want:
|
4
|
-
# require "active_record/railtie"
|
5
|
-
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
7
|
-
require "sprockets/railtie"
|
8
|
-
# require "rails/test_unit/railtie"
|
9
|
-
|
10
|
-
# Require the gems listed in Gemfile, including any gems
|
11
|
-
# you've limited to :test, :development, or :production.
|
12
|
-
Bundler.require(:default, Rails.env)
|
13
|
-
|
14
|
-
module Rails40
|
15
|
-
class Application < Rails::Application
|
16
|
-
config.assets.precompile += %w[email.css other.css]
|
17
|
-
|
18
|
-
config.roadie.url_options = {host: 'example.app.org'}
|
19
|
-
end
|
20
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
Rails40::Application.configure do
|
2
|
-
config.cache_classes = false
|
3
|
-
config.eager_load = false
|
4
|
-
config.consider_all_requests_local = true
|
5
|
-
config.action_controller.perform_caching = false
|
6
|
-
config.action_mailer.raise_delivery_errors = false
|
7
|
-
config.active_support.deprecation = :log
|
8
|
-
|
9
|
-
config.assets.debug = false
|
10
|
-
config.assets.compile = false
|
11
|
-
config.assets.digest = true
|
12
|
-
config.assets.initialize_on_precompile = false
|
13
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails40::Application.config.secret_key_base = '62c740bbc79cd7fa4dfabc7365c0f7ec98204cfae45a41d2e1423d6084bb762e9310acf46fc7e4cc6215a90c7aeef4107b9f1c7e3b68623fd11af43b716ccf5e'
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails40::Application.config.session_store :cookie_store, key: '_rails_40_session'
|
data/spec/railsapps/rails_40_precompiled/public/assets/email-fad0c62b8f82e2835c1d0bdc19894257.css.gz
DELETED
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
{"files":{"rails-231a680f23887d9dd70710ea5efd3c62.png":{"logical_path":"rails.png","mtime":"2013-08-05T10:07:29+02:00","size":6646,"digest":"231a680f23887d9dd70710ea5efd3c62"},"email-fad0c62b8f82e2835c1d0bdc19894257.css":{"logical_path":"email.css","mtime":"2013-11-20T08:39:33+01:00","size":119,"digest":"fad0c62b8f82e2835c1d0bdc19894257"}},"assets":{"rails.png":"rails-231a680f23887d9dd70710ea5efd3c62.png","email.css":"email-fad0c62b8f82e2835c1d0bdc19894257.css"}}
|
data/spec/railsapps/rails_40_precompiled/public/assets/rails-231a680f23887d9dd70710ea5efd3c62.png
DELETED
Binary file
|
@@ -1,13 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require "action_controller/railtie"
|
4
|
-
require "action_mailer/railtie"
|
5
|
-
require "sprockets/railtie"
|
6
|
-
|
7
|
-
Bundler.require(:default, Rails.env)
|
8
|
-
|
9
|
-
module Rails41
|
10
|
-
class Application < Rails::Application
|
11
|
-
config.roadie.url_options = {host: 'example.app.org'}
|
12
|
-
end
|
13
|
-
end
|