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.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +14 -14
  3. data/Changelog.md +13 -2
  4. data/LICENSE.txt +1 -1
  5. data/README.md +6 -12
  6. data/Rakefile +12 -3
  7. data/lib/roadie/rails/asset_pipeline_provider.rb +9 -1
  8. data/lib/roadie/rails/version.rb +1 -1
  9. data/roadie-rails.gemspec +2 -2
  10. data/setup.sh +6 -13
  11. data/spec/integration_spec.rb +4 -15
  12. data/spec/railsapps/rails_42/Gemfile +1 -1
  13. data/spec/railsapps/rails_42/app/assets +1 -0
  14. data/spec/railsapps/rails_42/app/mailers +1 -0
  15. data/spec/railsapps/rails_42/app/views +1 -0
  16. data/spec/railsapps/rails_42_sprockets_rails_3/Gemfile +2 -2
  17. data/spec/railsapps/rails_42_sprockets_rails_3/app/assets +1 -0
  18. data/spec/railsapps/rails_42_sprockets_rails_3/app/mailers +1 -0
  19. data/spec/railsapps/rails_42_sprockets_rails_3/app/views +1 -0
  20. data/spec/railsapps/rails_50/Gemfile +1 -2
  21. data/spec/railsapps/rails_50/app/assets +1 -0
  22. data/spec/railsapps/rails_50/app/views +1 -0
  23. data/spec/railsapps/rails_50/bin/rails +0 -5
  24. data/spec/railsapps/rails_50/config/application.rb +4 -1
  25. data/spec/railsapps/rails_50/config/environments/development.rb +0 -1
  26. data/spec/railsapps/{rails_41 → rails_51}/.gitignore +8 -7
  27. data/spec/railsapps/rails_51/Gemfile +8 -0
  28. data/spec/railsapps/{rails_30/public → rails_51/app/assets}/images/rails.png +0 -0
  29. data/spec/railsapps/rails_51/app/assets/stylesheets/email.css.scss +2 -0
  30. data/spec/railsapps/rails_51/app/mailers/auto_mailer.rb +27 -0
  31. data/spec/railsapps/rails_51/app/mailers/mailer.rb +17 -0
  32. data/spec/railsapps/rails_51/app/views/auto_mailer/normal_email.html.erb +11 -0
  33. data/spec/railsapps/rails_51/app/views/auto_mailer/normal_email.text +1 -0
  34. data/spec/railsapps/rails_51/app/views/mailer/normal_email.html.erb +11 -0
  35. data/spec/railsapps/rails_51/app/views/mailer/normal_email.text +1 -0
  36. data/spec/railsapps/{rails_40_no_pipeline → rails_51}/bin/rails +1 -1
  37. data/spec/railsapps/{rails_41 → rails_51}/config.ru +2 -1
  38. data/spec/railsapps/rails_51/config/application.rb +16 -0
  39. data/spec/railsapps/rails_51/config/boot.rb +3 -0
  40. data/spec/railsapps/rails_51/config/environment.rb +5 -0
  41. data/spec/railsapps/rails_51/config/environments/development.rb +51 -0
  42. data/spec/railsapps/rails_51/config/environments/production.rb +83 -0
  43. data/spec/railsapps/rails_51/config/environments/test.rb +42 -0
  44. data/spec/railsapps/rails_51/config/initializers/application_controller_renderer.rb +6 -0
  45. data/spec/railsapps/rails_51/config/initializers/assets.rb +11 -0
  46. data/spec/railsapps/rails_51/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/railsapps/rails_51/config/initializers/cookies_serializer.rb +5 -0
  48. data/spec/railsapps/rails_51/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/spec/railsapps/rails_51/config/initializers/inflections.rb +16 -0
  50. data/spec/railsapps/rails_51/config/initializers/mime_types.rb +4 -0
  51. data/spec/railsapps/rails_51/config/initializers/new_framework_defaults.rb +21 -0
  52. data/spec/railsapps/rails_51/config/initializers/session_store.rb +3 -0
  53. data/spec/railsapps/rails_51/config/initializers/wrap_parameters.rb +9 -0
  54. data/spec/railsapps/rails_51/config/locales/en.yml +23 -0
  55. data/spec/railsapps/rails_51/config/routes.rb +3 -0
  56. data/spec/railsapps/{rails_40_no_pipeline/log/dee → rails_51/log/.keep} +0 -0
  57. data/spec/railsapps/shared/all/app/views/auto_mailer +1 -0
  58. data/spec/spec_helper.rb +2 -1
  59. data/spec/support/rails_app.rb +13 -10
  60. metadata +89 -171
  61. data/spec/railsapps/rails_30/.gitignore +0 -2
  62. data/spec/railsapps/rails_30/Gemfile +0 -4
  63. data/spec/railsapps/rails_30/config/application.rb +0 -19
  64. data/spec/railsapps/rails_30/config/boot.rb +0 -6
  65. data/spec/railsapps/rails_30/config/environment.rb +0 -5
  66. data/spec/railsapps/rails_30/config/environments/development.rb +0 -10
  67. data/spec/railsapps/rails_30/config/initializers/secret_token.rb +0 -1
  68. data/spec/railsapps/rails_30/config/initializers/session_store.rb +0 -1
  69. data/spec/railsapps/rails_30/config/routes.rb +0 -2
  70. data/spec/railsapps/rails_30/public/stylesheets/email.css +0 -2
  71. data/spec/railsapps/rails_30/script/rails +0 -6
  72. data/spec/railsapps/rails_31/.gitignore +0 -2
  73. data/spec/railsapps/rails_31/Gemfile +0 -8
  74. data/spec/railsapps/rails_31/config/application.rb +0 -22
  75. data/spec/railsapps/rails_31/config/boot.rb +0 -6
  76. data/spec/railsapps/rails_31/config/environment.rb +0 -5
  77. data/spec/railsapps/rails_31/config/environments/development.rb +0 -11
  78. data/spec/railsapps/rails_31/config/initializers/secret_token.rb +0 -1
  79. data/spec/railsapps/rails_31/config/initializers/session_store.rb +0 -1
  80. data/spec/railsapps/rails_31/config/initializers/wrap_parameters.rb +0 -4
  81. data/spec/railsapps/rails_31/config/routes.rb +0 -2
  82. data/spec/railsapps/rails_31/script/rails +0 -6
  83. data/spec/railsapps/rails_32/.gitignore +0 -2
  84. data/spec/railsapps/rails_32/Gemfile +0 -8
  85. data/spec/railsapps/rails_32/config/application.rb +0 -22
  86. data/spec/railsapps/rails_32/config/boot.rb +0 -6
  87. data/spec/railsapps/rails_32/config/environment.rb +0 -5
  88. data/spec/railsapps/rails_32/config/environments/development.rb +0 -11
  89. data/spec/railsapps/rails_32/config/initializers/secret_token.rb +0 -1
  90. data/spec/railsapps/rails_32/config/initializers/session_store.rb +0 -1
  91. data/spec/railsapps/rails_32/config/initializers/wrap_parameters.rb +0 -4
  92. data/spec/railsapps/rails_32/config/routes.rb +0 -2
  93. data/spec/railsapps/rails_32/script/rails +0 -6
  94. data/spec/railsapps/rails_40/Gemfile +0 -6
  95. data/spec/railsapps/rails_40/bin/rails +0 -4
  96. data/spec/railsapps/rails_40/config/application.rb +0 -18
  97. data/spec/railsapps/rails_40/config/boot.rb +0 -4
  98. data/spec/railsapps/rails_40/config/environment.rb +0 -5
  99. data/spec/railsapps/rails_40/config/environments/development.rb +0 -9
  100. data/spec/railsapps/rails_40/config/initializers/secret_token.rb +0 -1
  101. data/spec/railsapps/rails_40/config/initializers/session_store.rb +0 -1
  102. data/spec/railsapps/rails_40/config/routes.rb +0 -2
  103. data/spec/railsapps/rails_40_no_pipeline/Gemfile +0 -6
  104. data/spec/railsapps/rails_40_no_pipeline/config/application.rb +0 -19
  105. data/spec/railsapps/rails_40_no_pipeline/config/boot.rb +0 -4
  106. data/spec/railsapps/rails_40_no_pipeline/config/environment.rb +0 -5
  107. data/spec/railsapps/rails_40_no_pipeline/config/environments/development.rb +0 -9
  108. data/spec/railsapps/rails_40_no_pipeline/config/initializers/secret_token.rb +0 -1
  109. data/spec/railsapps/rails_40_no_pipeline/config/initializers/session_store.rb +0 -1
  110. data/spec/railsapps/rails_40_no_pipeline/config/routes.rb +0 -2
  111. data/spec/railsapps/rails_40_no_pipeline/public/images/rails.png +0 -0
  112. data/spec/railsapps/rails_40_no_pipeline/public/stylesheets/email.css +0 -2
  113. data/spec/railsapps/rails_40_precompiled/Gemfile +0 -6
  114. data/spec/railsapps/rails_40_precompiled/Rakefile +0 -6
  115. data/spec/railsapps/rails_40_precompiled/bin/rails +0 -4
  116. data/spec/railsapps/rails_40_precompiled/config/application.rb +0 -20
  117. data/spec/railsapps/rails_40_precompiled/config/boot.rb +0 -4
  118. data/spec/railsapps/rails_40_precompiled/config/environment.rb +0 -5
  119. data/spec/railsapps/rails_40_precompiled/config/environments/development.rb +0 -13
  120. data/spec/railsapps/rails_40_precompiled/config/initializers/secret_token.rb +0 -1
  121. data/spec/railsapps/rails_40_precompiled/config/initializers/session_store.rb +0 -1
  122. data/spec/railsapps/rails_40_precompiled/config/routes.rb +0 -2
  123. data/spec/railsapps/rails_40_precompiled/public/assets/email-fad0c62b8f82e2835c1d0bdc19894257.css +0 -5
  124. data/spec/railsapps/rails_40_precompiled/public/assets/email-fad0c62b8f82e2835c1d0bdc19894257.css.gz +0 -0
  125. data/spec/railsapps/rails_40_precompiled/public/assets/manifest-8a3d16aeb2a40fe5057dd998c3edab10.json +0 -1
  126. data/spec/railsapps/rails_40_precompiled/public/assets/rails-231a680f23887d9dd70710ea5efd3c62.png +0 -0
  127. data/spec/railsapps/rails_41/Gemfile +0 -5
  128. data/spec/railsapps/rails_41/bin/rails +0 -4
  129. data/spec/railsapps/rails_41/config/application.rb +0 -13
  130. data/spec/railsapps/rails_41/config/boot.rb +0 -4
  131. data/spec/railsapps/rails_41/config/environment.rb +0 -5
  132. data/spec/railsapps/rails_41/config/environments/development.rb +0 -9
  133. data/spec/railsapps/rails_41/config/initializers/secret_token.rb +0 -1
  134. data/spec/railsapps/rails_41/config/initializers/session_store.rb +0 -1
  135. data/spec/railsapps/rails_41/config/routes.rb +0 -2
  136. data/spec/railsapps/rails_50/config/database.yml +0 -25
@@ -1,5 +0,0 @@
1
- # Load the Rails application.
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the Rails application.
5
- Rails41::Application.initialize!
@@ -1,9 +0,0 @@
1
- Rails41::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
- Rails41::Application.config.secret_key_base = '4fc45a45fecece06ff370f3271d9c2f29cdd0b029bde255d77318418e5066681d42c706f5e504b9298f2b5ccbd2c013c39d474e6521ef4c4f056b1368ce22c8f'
@@ -1 +0,0 @@
1
- Rails41::Application.config.session_store :cookie_store, key: '_rails_41_session'
@@ -1,2 +0,0 @@
1
- Rails41::Application.routes.draw do
2
- end
@@ -1,25 +0,0 @@
1
- # SQLite version 3.x
2
- # gem install sqlite3
3
- #
4
- # Ensure the SQLite 3 gem is defined in your Gemfile
5
- # gem 'sqlite3'
6
- #
7
- default: &default
8
- adapter: sqlite3
9
- pool: 5
10
- timeout: 5000
11
-
12
- development:
13
- <<: *default
14
- database: db/development.sqlite3
15
-
16
- # Warning: The database defined as "test" will be erased and
17
- # re-generated from your development database when you run "rake".
18
- # Do not set this db to the same as development or production.
19
- test:
20
- <<: *default
21
- database: db/test.sqlite3
22
-
23
- production:
24
- <<: *default
25
- database: db/production.sqlite3