rails-rfc6570 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -1
- data/lib/rails/rfc6570/version.rb +1 -1
- data/rails-rfc6570.gemspec +2 -2
- data/spec/spec_helper.rb +8 -5
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/README.md +23 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/rubocop-config.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/CHANGELOG.md +154 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/README.rdoc +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/CHANGELOG.md +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/CHANGELOG.md +258 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/README.md +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/README.md +243 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/appraisal.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/README.md +279 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/README.md +258 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/builder.gemspec +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/CHANGELOG.md +593 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/README.md +407 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/README.md +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/connection_pool.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/LICENSE +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/README.md +192 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/crass.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/README.rdoc +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/README.md +409 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/docile.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/drb.gemspec +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/CHANGELOG +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/README.rdoc +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/README.md +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/README.md +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/README.md +405 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/irb.gemspec +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/README.md +416 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/json.gemspec +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/CHANGELOG.md +566 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/MIT-LICENSE.txt +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/README.md +363 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/README.markdown +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/method_source.gemspec +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/README.rdoc +835 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE-DEPENDENCIES.md +2224 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE.md +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/README.md +290 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.26.3/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/parser.gemspec +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/CHANGELOG.md +1141 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/LICENSE +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/README.md +466 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/CHANGELOG.md +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/README.md +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/CHANGELOG.md +491 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/README.md +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/CHANGELOG.md +994 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/README.md +328 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/README.md +139 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/README.md +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/CHANGELOG.md +201 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/README.md +271 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/CHANGELOG.md +361 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/README.rdoc +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/app/templates/README.md.tt +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/README.md.tt +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/rake.gemspec +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/README.md +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/rake-release.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/LICENSE.rdoc +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/README.rdoc +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/regexp_parser.gemspec +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/reline-0.5.9/README.md +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/README.md +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/README.md +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/README.md +389 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/README.md +326 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/README.md +465 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/README.md +381 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/README.md +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/README.md +251 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/README.md +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/CHANGELOG.md +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/CHANGELOG.md +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/README.md +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/CHANGELOG.md +1028 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/README.md +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/CHANGELOG.md +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/README.md +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/CHANGELOG.md +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/README.md +974 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/LICENSE +202 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/README.md +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/simplecov-cobertura.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/CHANGELOG.md +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/README.md +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/simplecov-html.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/README.md +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/strscan-3.1.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/README.md +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/thor.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/LICENSE +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/README.md +406 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/CHANGELOG.md +196 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/README.md +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/README.md +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/README.md +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/webrick.gemspec +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/README.md +1494 -0
- data/vendor/bundle/ruby/3.3.0/specifications/actionpack-7.2.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/actionview-7.2.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/activesupport-7.2.1.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/addressable-2.8.7.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/appraisal-2.5.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ast-2.4.2.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/benchmark-ips-2.13.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/bigdecimal-3.1.8.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/builder-3.3.0.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/byebug-11.1.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/concurrent-ruby-1.3.4.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/connection_pool-2.4.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/crass-1.0.6.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.5.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/docile-1.4.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/drb-2.2.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/erubi-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/i18n-1.14.5.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/io-console-0.7.2.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/irb-1.14.0.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/json-2.7.2.gemspec +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/language_server-protocol-3.17.0.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/loofah-2.22.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/method_source-1.1.0.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/minitest-5.25.1.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/nokogiri-1.16.7-x86_64-linux.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parallel-1.26.3.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parser-3.3.4.2.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-0.14.2.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-byebug-3.10.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/public_suffix-6.0.1.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-3.1.7.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-session-2.0.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-test-2.1.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rackup-2.1.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rails-dom-testing-2.2.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rails-html-sanitizer-1.6.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/railties-7.2.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.2.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-release-1.3.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rdoc-6.7.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/regexp_parser-2.9.2.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/reline-0.5.9.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rexml-3.3.6.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-3.13.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-core-3.13.0.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-expectations-3.13.2.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-mocks-3.13.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-rails-6.1.4.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-support-3.13.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-1.65.1.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-ast-1.32.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-capybara-2.21.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-factory_bot-2.26.1.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-performance-1.21.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec-3.0.4.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec_rails-2.30.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-0.22.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-cobertura-2.1.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-html-0.12.3.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov_json_formatter-0.1.4.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/strscan-3.1.0.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/thor-1.3.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/tzinfo-2.0.6.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/unicode-display_width-2.5.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/useragent-0.16.10.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/webrick-1.8.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/zeitwerk-2.6.17.gemspec +22 -0
- metadata +258 -6
- data/spec/dummy/log/test.log +0 -192
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d64ff59be5c243ac467801b36775e27e670b85ef0bdf404e9feddf1ee3c1c4cd
|
|
4
|
+
data.tar.gz: 375ec93eec7b22b23f02d2c1dffba2476792556e8207b891544884d4cbc01155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12890982bffea5d806560c5593224532ef0f2807b18cdc534df9a3eefdd3b2282e2dbaeba03f03e4cea03cabcbd66f652fe78c6cadd44efbeb1ff3a042c620b0
|
|
7
|
+
data.tar.gz: 244478acb92ecd39ea948b616ff5ffa7aad051cd0bab37b0088e7926fab380bfabe42ad8ca0264110e4f2547141d399f43ad2254c6420cb04acbb37c57270bf1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Rails::RFC6570
|
|
2
2
|
|
|
3
|
+
[](https://rubygems.org/gems/rails-rfc6570)
|
|
3
4
|
[](https://github.com/jgraichen/rails-rfc6570/actions/workflows/test.yml)
|
|
4
5
|
|
|
5
|
-
Pragmatic access to your Rails routes as RFC6570 URI templates. Tested with Rails 6.1, 7.0, 7.1 and Ruby 2.7, 3.0, 3.1, 3.2.
|
|
6
|
+
Pragmatic access to your Rails routes as RFC6570 URI templates. Tested with Rails 6.1, 7.0, 7.1, 7.2 and Ruby 2.7, 3.0, 3.1, 3.2, 3.3.
|
|
6
7
|
|
|
7
8
|
## Installation
|
|
8
9
|
|
data/rails-rfc6570.gemspec
CHANGED
|
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
|
|
28
28
|
spec.required_ruby_version = '>= 2.7'
|
|
29
29
|
|
|
30
|
-
spec.
|
|
31
|
-
spec.
|
|
30
|
+
spec.add_dependency 'actionpack', '>= 4.2', '< 8.0'
|
|
31
|
+
spec.add_dependency 'addressable', '~> 2.3'
|
|
32
32
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Coverage
|
|
4
3
|
require 'simplecov'
|
|
5
|
-
|
|
4
|
+
require 'simplecov-cobertura'
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
SimpleCov.formatter = SimpleCov::Formatter::Codecov
|
|
6
|
+
SimpleCov.start do
|
|
7
|
+
add_filter 'spec'
|
|
10
8
|
end
|
|
11
9
|
|
|
10
|
+
SimpleCov.formatters = [
|
|
11
|
+
SimpleCov::Formatter::HTMLFormatter,
|
|
12
|
+
SimpleCov::Formatter::CoberturaFormatter,
|
|
13
|
+
]
|
|
14
|
+
|
|
12
15
|
ENV['RAILS_ENV'] ||= 'test'
|
|
13
16
|
require File.expand_path('dummy/config/environment', __dir__)
|
|
14
17
|
require 'rspec/rails'
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Jan Graichen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Shared Rubocop Configuration
|
|
2
|
+
|
|
3
|
+
Shared rubocop configuration and defaults for my libraries and projects.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```ruby
|
|
8
|
+
# Gemfile
|
|
9
|
+
|
|
10
|
+
gem 'rubocop-config', github: 'jgraichen/rubocop-config', ref: 'v11', require: false
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
# .rubocop.yml
|
|
15
|
+
|
|
16
|
+
inherit_gem:
|
|
17
|
+
rubocop-config: default.yml
|
|
18
|
+
|
|
19
|
+
AllCops:
|
|
20
|
+
TargetRubyVersion: 2.7
|
|
21
|
+
SuggestExtensions: False
|
|
22
|
+
NewCops: enable
|
|
23
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
# stub: rubocop-config 11.0.0 ruby lib
|
|
3
|
+
|
|
4
|
+
Gem::Specification.new do |s|
|
|
5
|
+
s.name = "rubocop-config".freeze
|
|
6
|
+
s.version = "11.0.0".freeze
|
|
7
|
+
|
|
8
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
+
s.metadata = { "allowed_push_host" => ".", "rubygems_mfa_required" => "true" } if s.respond_to? :metadata=
|
|
10
|
+
s.require_paths = ["lib".freeze]
|
|
11
|
+
s.authors = ["Jan Graichen".freeze]
|
|
12
|
+
s.date = "2024-08-24"
|
|
13
|
+
s.email = ["jgraichen@altimos.de".freeze]
|
|
14
|
+
s.files = ["LICENSE".freeze, "README.md".freeze, "default.yml".freeze]
|
|
15
|
+
s.homepage = "https://github.com/jgraichen/rubocop-config".freeze
|
|
16
|
+
s.licenses = ["MIT".freeze]
|
|
17
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.7.0".freeze)
|
|
18
|
+
s.rubygems_version = "3.5.11".freeze
|
|
19
|
+
s.summary = "Shared rubocop config".freeze
|
|
20
|
+
|
|
21
|
+
s.installed_by_version = "3.5.11".freeze if s.respond_to? :installed_by_version
|
|
22
|
+
|
|
23
|
+
s.specification_version = 4
|
|
24
|
+
|
|
25
|
+
s.add_runtime_dependency(%q<rubocop>.freeze, ["~> 1.65.0".freeze])
|
|
26
|
+
s.add_runtime_dependency(%q<rubocop-performance>.freeze, ["~> 1.21.1".freeze])
|
|
27
|
+
s.add_runtime_dependency(%q<rubocop-rspec>.freeze, ["~> 3.0.2".freeze])
|
|
28
|
+
s.add_runtime_dependency(%q<rubocop-capybara>.freeze, ["~> 2.21.0".freeze])
|
|
29
|
+
s.add_runtime_dependency(%q<rubocop-factory_bot>.freeze, ["~> 2.26.1".freeze])
|
|
30
|
+
s.add_runtime_dependency(%q<rubocop-rspec_rails>.freeze, ["~> 2.30.0".freeze])
|
|
31
|
+
end
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
## Rails 7.2.1 (August 22, 2024) ##
|
|
2
|
+
|
|
3
|
+
* Fix `Request#raw_post` raising `NoMethodError` when `rack.input` is `nil`.
|
|
4
|
+
|
|
5
|
+
*Hartley McGuire*
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Rails 7.2.0 (August 09, 2024) ##
|
|
9
|
+
|
|
10
|
+
* Allow bots to ignore `allow_browser`.
|
|
11
|
+
|
|
12
|
+
*Matthew Nguyen*
|
|
13
|
+
|
|
14
|
+
* Include the HTTP Permissions-Policy on non-HTML Content-Types
|
|
15
|
+
[CVE-2024-28103]
|
|
16
|
+
|
|
17
|
+
*Aaron Patterson*, *Zack Deveau*
|
|
18
|
+
|
|
19
|
+
* Fix `Mime::Type.parse` handling type parameters for HTTP Accept headers.
|
|
20
|
+
|
|
21
|
+
*Taylor Chaparro*
|
|
22
|
+
|
|
23
|
+
* Fix the error page that is displayed when a view template is missing to account for nested controller paths in the
|
|
24
|
+
suggested correct location for the missing template.
|
|
25
|
+
|
|
26
|
+
*Joshua Young*
|
|
27
|
+
|
|
28
|
+
* Add `save_and_open_page` helper to `IntegrationTest`.
|
|
29
|
+
|
|
30
|
+
`save_and_open_page` is a helpful helper to keep a short feedback loop when working on system tests.
|
|
31
|
+
A similar helper with matching signature has been added to integration tests.
|
|
32
|
+
|
|
33
|
+
*Joé Dupuis*
|
|
34
|
+
|
|
35
|
+
* Fix a regression in 7.1.3 passing a `to:` option without a controller when the controller is already defined by a scope.
|
|
36
|
+
|
|
37
|
+
```ruby
|
|
38
|
+
Rails.application.routes.draw do
|
|
39
|
+
controller :home do
|
|
40
|
+
get "recent", to: "recent_posts"
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
*Étienne Barrié*
|
|
46
|
+
|
|
47
|
+
* Request Forgery takes relative paths into account.
|
|
48
|
+
|
|
49
|
+
*Stefan Wienert*
|
|
50
|
+
|
|
51
|
+
* Add ".test" as a default allowed host in development to ensure smooth golden-path setup with puma.dev.
|
|
52
|
+
|
|
53
|
+
*DHH*
|
|
54
|
+
|
|
55
|
+
* Add `allow_browser` to set minimum browser versions for the application.
|
|
56
|
+
|
|
57
|
+
A browser that's blocked will by default be served the file in `public/406-unsupported-browser.html` with a HTTP status code of "406 Not Acceptable".
|
|
58
|
+
|
|
59
|
+
```ruby
|
|
60
|
+
class ApplicationController < ActionController::Base
|
|
61
|
+
# Allow only browsers natively supporting webp images, web push, badges, import maps, CSS nesting + :has
|
|
62
|
+
allow_browser versions: :modern
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
class ApplicationController < ActionController::Base
|
|
66
|
+
# All versions of Chrome and Opera will be allowed, but no versions of "internet explorer" (ie). Safari needs to be 16.4+ and Firefox 121+.
|
|
67
|
+
allow_browser versions: { safari: 16.4, firefox: 121, ie: false }
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
class MessagesController < ApplicationController
|
|
71
|
+
# In addition to the browsers blocked by ApplicationController, also block Opera below 104 and Chrome below 119 for the show action.
|
|
72
|
+
allow_browser versions: { opera: 104, chrome: 119 }, only: :show
|
|
73
|
+
end
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
*DHH*
|
|
77
|
+
|
|
78
|
+
* Add rate limiting API.
|
|
79
|
+
|
|
80
|
+
```ruby
|
|
81
|
+
class SessionsController < ApplicationController
|
|
82
|
+
rate_limit to: 10, within: 3.minutes, only: :create
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class SignupsController < ApplicationController
|
|
86
|
+
rate_limit to: 1000, within: 10.seconds,
|
|
87
|
+
by: -> { request.domain }, with: -> { redirect_to busy_controller_url, alert: "Too many signups!" }, only: :new
|
|
88
|
+
end
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
*DHH*, *Jean Boussier*
|
|
92
|
+
|
|
93
|
+
* Add `image/svg+xml` to the compressible content types of `ActionDispatch::Static`.
|
|
94
|
+
|
|
95
|
+
*Georg Ledermann*
|
|
96
|
+
|
|
97
|
+
* Add instrumentation for `ActionController::Live#send_stream`.
|
|
98
|
+
|
|
99
|
+
Allows subscribing to `send_stream` events. The event payload contains the filename, disposition, and type.
|
|
100
|
+
|
|
101
|
+
*Hannah Ramadan*
|
|
102
|
+
|
|
103
|
+
* Add support for `with_routing` test helper in `ActionDispatch::IntegrationTest`.
|
|
104
|
+
|
|
105
|
+
*Gannon McGibbon*
|
|
106
|
+
|
|
107
|
+
* Remove deprecated support to set `Rails.application.config.action_dispatch.show_exceptions` to `true` and `false`.
|
|
108
|
+
|
|
109
|
+
*Rafael Mendonça França*
|
|
110
|
+
|
|
111
|
+
* Remove deprecated `speaker`, `vibrate`, and `vr` permissions policy directives.
|
|
112
|
+
|
|
113
|
+
*Rafael Mendonça França*
|
|
114
|
+
|
|
115
|
+
* Remove deprecated `Rails.application.config.action_dispatch.return_only_request_media_type_on_content_type`.
|
|
116
|
+
|
|
117
|
+
*Rafael Mendonça França*
|
|
118
|
+
|
|
119
|
+
* Deprecate `Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality`.
|
|
120
|
+
|
|
121
|
+
*Rafael Mendonça França*
|
|
122
|
+
|
|
123
|
+
* Remove deprecated comparison between `ActionController::Parameters` and `Hash`.
|
|
124
|
+
|
|
125
|
+
*Rafael Mendonça França*
|
|
126
|
+
|
|
127
|
+
* Remove deprecated constant `AbstractController::Helpers::MissingHelperError`.
|
|
128
|
+
|
|
129
|
+
*Rafael Mendonça França*
|
|
130
|
+
|
|
131
|
+
* Fix a race condition that could cause a `Text file busy - chromedriver`
|
|
132
|
+
error with parallel system tests.
|
|
133
|
+
|
|
134
|
+
*Matt Brictson*
|
|
135
|
+
|
|
136
|
+
* Add `racc` as a dependency since it will become a bundled gem in Ruby 3.4.0
|
|
137
|
+
|
|
138
|
+
*Hartley McGuire*
|
|
139
|
+
* Remove deprecated constant `ActionDispatch::IllegalStateError`.
|
|
140
|
+
|
|
141
|
+
*Rafael Mendonça França*
|
|
142
|
+
|
|
143
|
+
* Add parameter filter capability for redirect locations.
|
|
144
|
+
|
|
145
|
+
It uses the `config.filter_parameters` to match what needs to be filtered.
|
|
146
|
+
The result would be like this:
|
|
147
|
+
|
|
148
|
+
Redirected to http://secret.foo.bar?username=roque&password=[FILTERED]
|
|
149
|
+
|
|
150
|
+
Fixes #14055.
|
|
151
|
+
|
|
152
|
+
*Roque Pinel*, *Trevor Turk*, *tonytonyjan*
|
|
153
|
+
|
|
154
|
+
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionpack/CHANGELOG.md) for previous changes.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) David Heinemeier Hansson
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
= Action Pack -- From request to response
|
|
2
|
+
|
|
3
|
+
Action Pack is a framework for handling and responding to web requests. It
|
|
4
|
+
provides mechanisms for *routing* (mapping request URLs to actions), defining
|
|
5
|
+
*controllers* that implement actions, and generating responses. In short, Action Pack
|
|
6
|
+
provides the controller layer in the MVC paradigm.
|
|
7
|
+
|
|
8
|
+
It consists of several modules:
|
|
9
|
+
|
|
10
|
+
* Action Dispatch, which parses information about the web request, handles
|
|
11
|
+
routing as defined by the user, and does advanced processing related to HTTP
|
|
12
|
+
such as MIME-type negotiation, decoding parameters in POST, PATCH, or PUT bodies,
|
|
13
|
+
handling HTTP caching logic, cookies and sessions.
|
|
14
|
+
|
|
15
|
+
* Action Controller, which provides a base controller class that can be
|
|
16
|
+
subclassed to implement filters and actions to handle requests. The result
|
|
17
|
+
of an action is typically content generated from views.
|
|
18
|
+
|
|
19
|
+
With the Ruby on \Rails framework, users only directly interface with the
|
|
20
|
+
Action Controller module. Necessary Action Dispatch functionality is activated
|
|
21
|
+
by default and Action View rendering is implicitly triggered by Action
|
|
22
|
+
Controller. However, these modules are designed to function on their own and
|
|
23
|
+
can be used outside of \Rails.
|
|
24
|
+
|
|
25
|
+
You can read more about Action Pack in the {Action Controller Overview}[https://guides.rubyonrails.org/action_controller_overview.html] guide.
|
|
26
|
+
|
|
27
|
+
== Download and installation
|
|
28
|
+
|
|
29
|
+
The latest version of Action Pack can be installed with RubyGems:
|
|
30
|
+
|
|
31
|
+
$ gem install actionpack
|
|
32
|
+
|
|
33
|
+
Source code can be downloaded as part of the \Rails project on GitHub:
|
|
34
|
+
|
|
35
|
+
* https://github.com/rails/rails/tree/main/actionpack
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
== License
|
|
39
|
+
|
|
40
|
+
Action Pack is released under the MIT license:
|
|
41
|
+
|
|
42
|
+
* https://opensource.org/licenses/MIT
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
== Support
|
|
46
|
+
|
|
47
|
+
API documentation is at:
|
|
48
|
+
|
|
49
|
+
* https://api.rubyonrails.org
|
|
50
|
+
|
|
51
|
+
Bug reports for the Ruby on \Rails project can be filed here:
|
|
52
|
+
|
|
53
|
+
* https://github.com/rails/rails/issues
|
|
54
|
+
|
|
55
|
+
Feature requests should be discussed on the rails-core mailing list here:
|
|
56
|
+
|
|
57
|
+
* https://discuss.rubyonrails.org/c/rubyonrails-core
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
## Rails 7.2.1 (August 22, 2024) ##
|
|
2
|
+
|
|
3
|
+
* No changes.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Rails 7.2.0 (August 09, 2024) ##
|
|
7
|
+
|
|
8
|
+
* Fix templates with strict locals to also include `local_assigns`.
|
|
9
|
+
|
|
10
|
+
Previously templates defining strict locals wouldn't receive the `local_assigns`
|
|
11
|
+
hash.
|
|
12
|
+
|
|
13
|
+
*Jean Boussier*
|
|
14
|
+
|
|
15
|
+
* Add queries count to template rendering instrumentation.
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
# Before
|
|
19
|
+
Completed 200 OK in 3804ms (Views: 41.0ms | ActiveRecord: 33.5ms | Allocations: 112788)
|
|
20
|
+
|
|
21
|
+
# After
|
|
22
|
+
Completed 200 OK in 3804ms (Views: 41.0ms | ActiveRecord: 33.5ms (2 queries, 1 cached) | Allocations: 112788)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
*fatkodima*
|
|
26
|
+
|
|
27
|
+
* Raise `ArgumentError` if `:renderable` object does not respond to `#render_in`.
|
|
28
|
+
|
|
29
|
+
*Sean Doyle*
|
|
30
|
+
|
|
31
|
+
* Add the `nonce: true` option for `stylesheet_link_tag` helper to support automatic nonce generation for Content Security Policy.
|
|
32
|
+
|
|
33
|
+
Works the same way as `javascript_include_tag nonce: true` does.
|
|
34
|
+
|
|
35
|
+
*Akhil G Krishnan*, *AJ Esler*
|
|
36
|
+
|
|
37
|
+
* Parse `ActionView::TestCase#rendered` HTML content as `Nokogiri::XML::DocumentFragment` instead of `Nokogiri::XML::Document`.
|
|
38
|
+
|
|
39
|
+
*Sean Doyle*
|
|
40
|
+
|
|
41
|
+
* Rename `ActionView::TestCase::Behavior::Content` to `ActionView::TestCase::Behavior::RenderedViewContent`.
|
|
42
|
+
|
|
43
|
+
Make `RenderedViewContent` inherit from `String`. Make private API with `:nodoc:`
|
|
44
|
+
|
|
45
|
+
*Sean Doyle*
|
|
46
|
+
|
|
47
|
+
* Deprecate passing `nil` as value for the `model:` argument to the `form_with` method.
|
|
48
|
+
|
|
49
|
+
*Collin Jilbert*
|
|
50
|
+
|
|
51
|
+
* Alias `field_set_tag` helper to `fieldset_tag` to match `<fieldset>` element.
|
|
52
|
+
|
|
53
|
+
*Sean Doyle*
|
|
54
|
+
|
|
55
|
+
* Deprecate passing content to void elements when using `tag.br` type tag builders.
|
|
56
|
+
|
|
57
|
+
*Hartley McGuire*
|
|
58
|
+
|
|
59
|
+
* Fix the `number_to_human_size` view helper to correctly work with negative numbers.
|
|
60
|
+
|
|
61
|
+
*Earlopain*
|
|
62
|
+
|
|
63
|
+
* Automatically discard the implicit locals injected by collection rendering for template that can't accept them.
|
|
64
|
+
|
|
65
|
+
When rendering a collection, two implicit variables are injected, which breaks templates with strict locals.
|
|
66
|
+
|
|
67
|
+
Now they are only passed if the template will actually accept them.
|
|
68
|
+
|
|
69
|
+
*Yasha Krasnou*, *Jean Boussier*
|
|
70
|
+
|
|
71
|
+
* Fix `@rails/ujs` calling `start()` an extra time when using bundlers.
|
|
72
|
+
|
|
73
|
+
*Hartley McGuire*, *Ryunosuke Sato*
|
|
74
|
+
|
|
75
|
+
* Fix the `capture` view helper compatibility with HAML and Slim.
|
|
76
|
+
|
|
77
|
+
When a blank string was captured in HAML or Slim (and possibly other template engines)
|
|
78
|
+
it would instead return the entire buffer.
|
|
79
|
+
|
|
80
|
+
*Jean Boussier*
|
|
81
|
+
|
|
82
|
+
* Updated `@rails/ujs` files to ignore certain data-* attributes when element is contenteditable.
|
|
83
|
+
|
|
84
|
+
This fix was already landed in >= 7.0.4.3, < 7.1.0.
|
|
85
|
+
[[CVE-2023-23913](https://github.com/advisories/GHSA-xp5h-f8jf-rc8q)]
|
|
86
|
+
|
|
87
|
+
*Ryunosuke Sato*
|
|
88
|
+
|
|
89
|
+
* Added validation for HTML tag names in the `tag` and `content_tag` helper method.
|
|
90
|
+
|
|
91
|
+
The `tag` and `content_tag` method now checks that the provided tag name adheres to the HTML
|
|
92
|
+
specification. If an invalid HTML tag name is provided, the method raises an `ArgumentError`
|
|
93
|
+
with an appropriate error message.
|
|
94
|
+
|
|
95
|
+
Examples:
|
|
96
|
+
|
|
97
|
+
```ruby
|
|
98
|
+
# Raises ArgumentError: Invalid HTML5 tag name: 12p
|
|
99
|
+
content_tag("12p") # Starting with a number
|
|
100
|
+
|
|
101
|
+
# Raises ArgumentError: Invalid HTML5 tag name: ""
|
|
102
|
+
content_tag("") # Empty tag name
|
|
103
|
+
|
|
104
|
+
# Raises ArgumentError: Invalid HTML5 tag name: div/
|
|
105
|
+
tag("div/") # Contains a solidus
|
|
106
|
+
|
|
107
|
+
# Raises ArgumentError: Invalid HTML5 tag name: "image file"
|
|
108
|
+
tag("image file") # Contains a space
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
*Akhil G Krishnan*
|
|
112
|
+
|
|
113
|
+
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionview/CHANGELOG.md) for previous changes.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) David Heinemeier Hansson
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
= Action View
|
|
2
|
+
|
|
3
|
+
Action View is a framework for handling view template lookup and rendering, and provides
|
|
4
|
+
view helpers that assist when building HTML forms, Atom feeds and more.
|
|
5
|
+
Template formats that Action View handles are ERB (embedded Ruby, typically
|
|
6
|
+
used to inline short Ruby snippets inside HTML), and XML Builder.
|
|
7
|
+
|
|
8
|
+
You can read more about Action View in the {Action View Overview}[https://guides.rubyonrails.org/action_view_overview.html] guide.
|
|
9
|
+
|
|
10
|
+
== Download and installation
|
|
11
|
+
|
|
12
|
+
The latest version of Action View can be installed with RubyGems:
|
|
13
|
+
|
|
14
|
+
$ gem install actionview
|
|
15
|
+
|
|
16
|
+
Source code can be downloaded as part of the \Rails project on GitHub:
|
|
17
|
+
|
|
18
|
+
* https://github.com/rails/rails/tree/main/actionview
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
== License
|
|
22
|
+
|
|
23
|
+
Action View is released under the MIT license:
|
|
24
|
+
|
|
25
|
+
* https://opensource.org/licenses/MIT
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
== Support
|
|
29
|
+
|
|
30
|
+
API documentation is at
|
|
31
|
+
|
|
32
|
+
* https://api.rubyonrails.org
|
|
33
|
+
|
|
34
|
+
Bug reports for the Ruby on \Rails project can be filed here:
|
|
35
|
+
|
|
36
|
+
* https://github.com/rails/rails/issues
|
|
37
|
+
|
|
38
|
+
Feature requests should be discussed on the rails-core mailing list here:
|
|
39
|
+
|
|
40
|
+
* https://discuss.rubyonrails.org/c/rubyonrails-core
|