rabl 0.14.1 → 0.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +2 -1
- data/CHANGELOG.md +5 -0
- data/README.md +0 -1
- data/fixtures/ashared/NOTES +10 -0
- data/fixtures/ashared/views_rails_6/layouts/application.html.erb +13 -0
- data/fixtures/ashared/views_rails_6/posts/_show_footer_script.js.erb +1 -0
- data/fixtures/ashared/views_rails_6/posts/date.rabl +3 -0
- data/fixtures/ashared/views_rails_6/posts/index.html.erb +3 -0
- data/fixtures/ashared/views_rails_6/posts/index.rabl +12 -0
- data/fixtures/ashared/views_rails_6/posts/renderer.rabl +8 -0
- data/fixtures/ashared/views_rails_6/posts/renderer_partial.rabl +4 -0
- data/fixtures/ashared/views_rails_6/posts/show.html.erb +3 -0
- data/fixtures/ashared/views_rails_6/posts/show.rabl +25 -0
- data/fixtures/ashared/views_rails_6/posts/show.rabl_test_v1.rabl +7 -0
- data/fixtures/ashared/views_rails_6/users/index.json.rabl +3 -0
- data/fixtures/ashared/views_rails_6/users/phone_number.json.rabl +8 -0
- data/fixtures/ashared/views_rails_6/users/phone_number.xml.rabl +1 -0
- data/fixtures/ashared/views_rails_6/users/show.json.rabl +16 -0
- data/fixtures/ashared/views_rails_6/users/show.rabl_test_v1.rabl +3 -0
- data/fixtures/padrino_test/app/views +1 -1
- data/fixtures/padrino_test/db/migrate +1 -1
- data/fixtures/padrino_test/models +1 -1
- data/fixtures/padrino_test/test/app/controllers/posts_controller_test.rb +1 -1
- data/fixtures/padrino_test/test/app/controllers/users_controller_test.rb +1 -1
- data/fixtures/rails2/app/models +1 -1
- data/fixtures/rails2/app/views +1 -1
- data/fixtures/rails2/db/migrate +1 -1
- data/fixtures/rails2/test/functionals/posts_controller_test.rb +1 -1
- data/fixtures/rails2/test/functionals/users_controller_test.rb +1 -1
- data/fixtures/rails3/app/models +1 -1
- data/fixtures/rails3/app/views +1 -1
- data/fixtures/rails3/db/migrate +1 -1
- data/fixtures/rails3/test/functional/posts_controller_test.rb +1 -1
- data/fixtures/rails3/test/functional/users_controller_test.rb +1 -1
- data/fixtures/rails3_2/app/models +1 -1
- data/fixtures/rails3_2/app/views +1 -1
- data/fixtures/rails3_2/db/migrate +1 -1
- data/fixtures/rails3_2/test/functional/posts_controller_test.rb +1 -1
- data/fixtures/rails3_2/test/functional/users_controller_test.rb +1 -1
- data/fixtures/rails4/app/models +1 -1
- data/fixtures/rails4/app/views +1 -1
- data/fixtures/rails4/db/migrate +1 -1
- data/fixtures/rails4/test/functional/posts_controller_test.rb +1 -1
- data/fixtures/rails4/test/functional/users_controller_test.rb +1 -1
- data/fixtures/rails5/app/controllers/posts_controller.rb +1 -1
- data/fixtures/rails5/app/controllers/users_controller.rb +1 -1
- data/fixtures/rails5/app/helpers +1 -1
- data/fixtures/rails5/app/models +1 -1
- data/fixtures/rails5/app/views +1 -1
- data/fixtures/rails5/db/migrate +1 -1
- data/fixtures/rails5/test/functional/posts_controller_test.rb +1 -1
- data/fixtures/rails5/test/functional/users_controller_test.rb +1 -1
- data/fixtures/rails5_api/app/controllers/posts_controller.rb +1 -1
- data/fixtures/rails5_api/app/controllers/users_controller.rb +1 -1
- data/fixtures/rails5_api/app/helpers +1 -1
- data/fixtures/rails5_api/app/models +1 -1
- data/fixtures/rails5_api/app/views +1 -1
- data/fixtures/rails5_api/db/migrate +1 -1
- data/fixtures/rails5_api/test/functional/posts_controller_test.rb +1 -1
- data/fixtures/rails5_api/test/functional/users_controller_test.rb +1 -1
- data/fixtures/rails6/.gitignore +35 -0
- data/fixtures/rails6/Gemfile +58 -0
- data/fixtures/rails6/README.md +24 -0
- data/fixtures/rails6/Rakefile +14 -0
- data/fixtures/rails6/app/assets/config/manifest.js +2 -0
- data/fixtures/rails6/app/assets/images/.keep +0 -0
- data/fixtures/rails6/app/assets/stylesheets/application.css +15 -0
- data/fixtures/rails6/app/channels/application_cable/channel.rb +4 -0
- data/fixtures/rails6/app/channels/application_cable/connection.rb +4 -0
- data/fixtures/rails6/app/controllers/application_controller.rb +2 -0
- data/fixtures/rails6/app/controllers/concerns/.keep +0 -0
- data/fixtures/rails6/app/controllers/posts_controller.rb +17 -0
- data/fixtures/rails6/app/controllers/users_controller.rb +11 -0
- data/fixtures/rails6/app/helpers +1 -0
- data/fixtures/rails6/app/javascript/channels/consumer.js +6 -0
- data/fixtures/rails6/app/javascript/channels/index.js +5 -0
- data/fixtures/rails6/app/javascript/packs/application.js +17 -0
- data/fixtures/rails6/app/jobs/application_job.rb +7 -0
- data/fixtures/rails6/app/mailers/application_mailer.rb +4 -0
- data/fixtures/rails6/app/models +1 -0
- data/fixtures/rails6/app/views +1 -0
- data/fixtures/rails6/babel.config.js +72 -0
- data/fixtures/rails6/bin/bundle +105 -0
- data/fixtures/rails6/bin/rails +9 -0
- data/fixtures/rails6/bin/rake +9 -0
- data/fixtures/rails6/bin/setup +36 -0
- data/fixtures/rails6/bin/spring +17 -0
- data/fixtures/rails6/bin/webpack +19 -0
- data/fixtures/rails6/bin/webpack-dev-server +19 -0
- data/fixtures/rails6/bin/yarn +11 -0
- data/fixtures/rails6/config.ru +5 -0
- data/fixtures/rails6/config/application.rb +19 -0
- data/fixtures/rails6/config/boot.rb +4 -0
- data/fixtures/rails6/config/cable.yml +10 -0
- data/fixtures/rails6/config/credentials.yml.enc +1 -0
- data/fixtures/rails6/config/database.yml +25 -0
- data/fixtures/rails6/config/environment.rb +5 -0
- data/fixtures/rails6/config/environments/development.rb +62 -0
- data/fixtures/rails6/config/environments/production.rb +112 -0
- data/fixtures/rails6/config/environments/test.rb +48 -0
- data/fixtures/rails6/config/initializers/application_controller_renderer.rb +8 -0
- data/fixtures/rails6/config/initializers/assets.rb +14 -0
- data/fixtures/rails6/config/initializers/backtrace_silencers.rb +7 -0
- data/fixtures/rails6/config/initializers/content_security_policy.rb +27 -0
- data/fixtures/rails6/config/initializers/cookies_serializer.rb +5 -0
- data/fixtures/rails6/config/initializers/filter_parameter_logging.rb +4 -0
- data/fixtures/rails6/config/initializers/inflections.rb +16 -0
- data/fixtures/rails6/config/initializers/mime_types.rb +6 -0
- data/fixtures/rails6/config/initializers/wrap_parameters.rb +14 -0
- data/fixtures/rails6/config/locales/en.yml +33 -0
- data/fixtures/rails6/config/puma.rb +35 -0
- data/fixtures/rails6/config/routes.rb +8 -0
- data/fixtures/rails6/config/spring.rb +6 -0
- data/fixtures/rails6/config/storage.yml +34 -0
- data/fixtures/rails6/config/webpack/development.js +5 -0
- data/fixtures/rails6/config/webpack/environment.js +3 -0
- data/fixtures/rails6/config/webpack/production.js +5 -0
- data/fixtures/rails6/config/webpack/test.js +5 -0
- data/fixtures/rails6/config/webpacker.yml +95 -0
- data/fixtures/rails6/db/migrate/20111002092016_create_users.rb +11 -0
- data/fixtures/rails6/db/migrate/20111002092019_create_posts.rb +10 -0
- data/fixtures/rails6/db/migrate/20111002092024_create_phone_numbers.rb +12 -0
- data/fixtures/rails6/db/schema.rb +41 -0
- data/fixtures/rails6/db/seeds.rb +7 -0
- data/fixtures/rails6/lib/assets/.keep +0 -0
- data/fixtures/rails6/lib/tasks/.keep +0 -0
- data/fixtures/rails6/log/.keep +0 -0
- data/fixtures/rails6/package.json +15 -0
- data/fixtures/rails6/postcss.config.js +12 -0
- data/fixtures/rails6/public/404.html +67 -0
- data/fixtures/rails6/public/422.html +67 -0
- data/fixtures/rails6/public/500.html +66 -0
- data/fixtures/rails6/public/apple-touch-icon-precomposed.png +0 -0
- data/fixtures/rails6/public/apple-touch-icon.png +0 -0
- data/fixtures/rails6/public/favicon.ico +0 -0
- data/fixtures/rails6/public/robots.txt +1 -0
- data/fixtures/rails6/storage/.keep +0 -0
- data/fixtures/rails6/test/application_system_test_case.rb +5 -0
- data/fixtures/rails6/test/channels/application_cable/connection_test.rb +11 -0
- data/fixtures/rails6/test/controllers/.keep +0 -0
- data/fixtures/rails6/test/fixtures/.keep +0 -0
- data/fixtures/rails6/test/fixtures/files/.keep +0 -0
- data/fixtures/rails6/test/functional/posts_controller_test.rb +1 -0
- data/fixtures/rails6/test/functional/users_controller_test.rb +1 -0
- data/fixtures/rails6/test/helpers/.keep +0 -0
- data/fixtures/rails6/test/integration/.keep +0 -0
- data/fixtures/rails6/test/mailers/.keep +0 -0
- data/fixtures/rails6/test/models/.keep +0 -0
- data/fixtures/rails6/test/system/.keep +0 -0
- data/fixtures/rails6/test/test_helper.rb +27 -0
- data/fixtures/rails6/tmp/.keep +0 -0
- data/fixtures/rails6/vendor/.keep +0 -0
- data/fixtures/rails6/yarn.lock +7201 -0
- data/fixtures/sinatra_test/db/migrate +1 -1
- data/fixtures/sinatra_test/models +1 -1
- data/fixtures/sinatra_test/test/functional/posts_controller_test.rb +1 -1
- data/fixtures/sinatra_test/test/functional/users_controller_test.rb +1 -1
- data/fixtures/sinatra_test/views +1 -1
- data/lib/rabl.rb +3 -3
- data/lib/rabl/engine.rb +4 -2
- data/lib/rabl/railtie.rb +1 -1
- data/lib/rabl/template.rb +21 -1
- data/lib/rabl/version.rb +1 -1
- data/rabl.gemspec +0 -2
- data/test/integration/rails6/posts_controller_test.rb +185 -0
- data/test/integration/rails6/users_controller_test.rb +87 -0
- metadata +113 -4
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.