diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..c51d41f8 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,12 @@ +# The commits that did automated reformatting. You can ignore them +# during git-blame with `--ignore-rev` or `--ignore-revs-file`. +# You can also globally configure GIT with the following command +# +# $ git config --add 'blame.ignoreRevsFile' '.git-blame-ignore-revs' +# +# Example entries: +# +# # initial black-format +# # rename something internal + +4e713084615b23ca5a419da7c2d88cb56938cd83 # Pretty CHANGELOG.md diff --git a/.github/mergify.yml b/.github/mergify.yml index efcbd957..d30155de 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,23 +1,19 @@ --- - pull_request_rules: - name: Automatic merge for dependabot pull requests conditions: - author~=^dependabot(|-preview)\[bot\]$ - check-success=lint - - check-success=test(ruby-2.5, rails_52) - - check-success=test(ruby-2.5, rails_60) - - check-success=test(ruby-2.5, rails_61) - - check-success=test(ruby-2.6, rails_52) - - check-success=test(ruby-2.6, rails_60) - - check-success=test(ruby-2.6, rails_61) - - check-success=test(ruby-2.7, rails_60) - - check-success=test(ruby-2.7, rails_61) - - check-success=test(ruby-2.7, rails_70) - check-success=test(ruby-3.0, rails_60) - check-success=test(ruby-3.0, rails_61) - check-success=test(ruby-3.0, rails_70) + - check-success=test(ruby-3.1, rails_60) + - check-success=test(ruby-3.1, rails_61) + - check-success=test(ruby-3.1, rails_70) + - check-success=test(ruby-3.2, rails_60) + - check-success=test(ruby-3.2, rails_61) + - check-success=test(ruby-3.2, rails_70) - check-success=test(jruby-9.3, rails_52) - check-success=test(jruby-9.3, rails_60) - check-success=test(jruby-9.3, rails_61) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a5050133..14316ebc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,5 +1,4 @@ --- - name: ci on: @@ -23,7 +22,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0.3 + ruby-version: 3.2.0 bundler-cache: true - name: Make sure gemfiles are up to date @@ -47,23 +46,14 @@ jobs: matrix: ruby: - - { name: ruby-2.5, value: 2.5.9 } - - { name: ruby-2.6, value: 2.6.9 } - - { name: ruby-2.7, value: 2.7.5 } - { name: ruby-3.0, value: 3.0.3 } + - { name: ruby-3.1, value: 3.1.3 } + - { name: ruby-3.2, value: 3.2.0 } - { name: jruby-9.3, value: jruby-9.3.2.0 } - rails: [rails_52, rails_60, rails_61, rails_70] + rails: [rails_60, rails_61, rails_70] exclude: - - ruby: { name: ruby-2.5, value: 2.5.9 } - rails: rails_70 - - ruby: { name: ruby-2.6, value: 2.6.9 } - rails: rails_70 - - ruby: { name: ruby-2.7, value: 2.7.5 } - rails: rails_52 - - ruby: { name: ruby-3.0, value: 3.0.3 } - rails: rails_52 - ruby: { name: jruby-9.3, value: jruby-9.3.2.0 } rails: rails_70 diff --git a/.rubocop.yml b/.rubocop.yml index 1766dac7..92e2706a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,12 +1,11 @@ --- - AllCops: DisabledByDefault: true DisplayCopNames: true DisplayStyleGuide: true - TargetRubyVersion: 2.5 + TargetRubyVersion: 3.2 Metrics: Enabled: false diff --git a/CHANGELOG.md b/CHANGELOG.md index b222e719..8cabacea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,22 +2,23 @@ ## Master (unreleased) -* Allow using Rails 7.0. +- Allow using Rails 7.0. +- [PLAT-1175] Update to Ruby 3.2 and Remove support for Ruby `< 2.7`. ## Version 1.13.0 -* Remove support for Ruby `< 2.5`. -* Coerce `:route_prefix` config option to a Symbol, ensuring compatibility with Rails versions that have resolved CVE-2021-22885. +- Remove support for Ruby `< 2.5`. +- Coerce `:route_prefix` config option to a Symbol, ensuring compatibility with Rails versions that have resolved CVE-2021-22885. ## Version 1.12.0 -* Remove support for Rails 5.0 and Rails 5.1. -* Allow using Rails 6.1. +- Remove support for Rails 5.0 and Rails 5.1. +- Allow using Rails 6.1. ## Version 1.11.0 -* Add support for responders `>= 3.0`. -* Remove support for Ruby `< 2.4`. +- Add support for responders `>= 3.0`. +- Remove support for Ruby `< 2.4`. ## Version 1.10.0 @@ -25,195 +26,195 @@ _No changes_. ## Version 1.10.0.rc1 -* Preliminary support for Rails 6.0. -* Remove support for Rails 4.2. +- Preliminary support for Rails 6.0. +- Remove support for Rails 4.2. ## Version 1.9.0 -* Support Rails 5.2.1. -* Remove support for Ruby `< 2.3`. +- Support Rails 5.2.1. +- Remove support for Ruby `< 2.3`. ## Version 1.8.0 -* Support Rails 5.2. -* Supports Ruby 2.4. -* Remove support for Ruby `< 2.2`, and Rails `< 4.2`. -* Fixed broken class name in belongs_to. -* Remove use of HttpCacheResponder. -* Correct request_name in isolated engines. -* Fix nested controllers and singleton option. +- Support Rails 5.2. +- Supports Ruby 2.4. +- Remove support for Ruby `< 2.2`, and Rails `< 4.2`. +- Fixed broken class name in belongs_to. +- Remove use of HttpCacheResponder. +- Correct request_name in isolated engines. +- Fix nested controllers and singleton option. ## Version 1.7.2 -* Support Rails 5.1. +- Support Rails 5.1. ## Version 1.7.1 -* Fix regression with `get_resource_ivar` that was returning `false` instead of `nil` when the value was not set. -* Do not load `ActionController::Base` on boot time. +- Fix regression with `get_resource_ivar` that was returning `false` instead of `nil` when the value was not set. +- Do not load `ActionController::Base` on boot time. ## Version 1.7.0 -* Support Rails 5. -* Remove support for Ruby `< 2.1`. -* Fix URL helpers on mountable engines. -* Allow support to has_scope `< 0.6` and `> 1.0`. Users are now able to choose which version they want to use in their applications. +- Support Rails 5. +- Remove support for Ruby `< 2.1`. +- Fix URL helpers on mountable engines. +- Allow support to has_scope `< 0.6` and `> 1.0`. Users are now able to choose which version they want to use in their applications. ## Version 1.6.0 -* Support Rails 4.2. +- Support Rails 4.2. ## Version 1.5.1 -* Lock the Rails version until only 4.2. -* Fix parent class lookup. -* Fix resource_class default value definition. +- Lock the Rails version until only 4.2. +- Fix parent class lookup. +- Fix resource_class default value definition. ## Version 1.5.0 -* Supports nested modules (namespaced models and controllers). -* Supports Rails 4 Strong Parameters notation. +- Supports nested modules (namespaced models and controllers). +- Supports Rails 4 Strong Parameters notation. ## Version 1.4.1 -* Supports Rails 4. -* Improved compatability with strong params. +- Supports Rails 4. +- Improved compatability with strong params. ## Version 1.4.0 -* Supports Ruby 2.0.0. -* Added support for the strong_parameters gem. See the README for more. -* Added the ability to pass without_protection when creating/updating. -* Fixed multi-level nested singletons. -* Correct paths now generated for uncountable shallow resources. +- Supports Ruby 2.0.0. +- Added support for the strong_parameters gem. See the README for more. +- Added the ability to pass without_protection when creating/updating. +- Fixed multi-level nested singletons. +- Correct paths now generated for uncountable shallow resources. ## Version 1.3.1 -* Fix polymorphic_belongs_to to get the parent. -* Added support for Rails 3.2. -* Added support to responders >= 0.6.0. +- Fix polymorphic_belongs_to to get the parent. +- Added support for Rails 3.2. +- Added support to responders >= 0.6.0. ## Version 1.3.0 -* Added support for multiple polymorphic optional nesting. -* Fix nested namespace in mountable apps. -* Added support for rails 3.1 new mass assignment conventions. -* Turn InheritedResources::Base into a reloadable constant to fix reloading issues. +- Added support for multiple polymorphic optional nesting. +- Fix nested namespace in mountable apps. +- Added support for rails 3.1 new mass assignment conventions. +- Turn InheritedResources::Base into a reloadable constant to fix reloading issues. ## Version 1.2.2 -* Fix a bug in params parsing. -* Call .scoped only if it is available. +- Fix a bug in params parsing. +- Call .scoped only if it is available. ## Version 1.2.1 -* Fix a bug with namespaces. -* Use Post.scoped instead of Post.all in collection. +- Fix a bug with namespaces. +- Use Post.scoped instead of Post.all in collection. ## Version 1.2 -* Improved lookup for namespaces (by github.com/Sirupsen). -* Support to custom actions (by github.com/lda). -* Rails 3.1 compatibility (by github.com/etehtsea). +- Improved lookup for namespaces (by github.com/Sirupsen). +- Support to custom actions (by github.com/lda). +- Rails 3.1 compatibility (by github.com/etehtsea). ## Version 1.1 -* Rails 3 compatible. +- Rails 3 compatible. ## Version 1.0 -* responders was removed from InheritedResources core and is a dependency. To install it, please do: +- responders was removed from InheritedResources core and is a dependency. To install it, please do: - sudo gem install responders + sudo gem install responders -* has_scope was removed from InheritedResources core and is now available as a standalone gem. +- has_scope was removed from InheritedResources core and is now available as a standalone gem. To install it, please do: - sudo gem install has_scope + sudo gem install has_scope ## Version 0.9 -* Allow dual blocks in destroy. -* Added :if and :unless to has_scope (thanks to Jack Danger). -* Added create_resource, update_resource and delete_resource hooks (thanks to Carlos Antonio da Silva). -* Backported ActionController::Responder from Rails 3. -* Added parent_url helper. -* Added association_chain helper (as suggested by http://github.com/emmanuel). +- Allow dual blocks in destroy. +- Added :if and :unless to has_scope (thanks to Jack Danger). +- Added create_resource, update_resource and delete_resource hooks (thanks to Carlos Antonio da Silva). +- Backported ActionController::Responder from Rails 3. +- Added parent_url helper. +- Added association_chain helper (as suggested by http://github.com/emmanuel). ## Version 0.8 -* Fixed a small bug on optional belongs to with namespaced controllers. -* Allow a parameter to be given to collection_url in polymorphic cases to replace the parent. -* Allow InheritedResources to be called without inheritance. -* Ensure that controllers that inherit from a controller with InheritedResources works properly. +- Fixed a small bug on optional belongs to with namespaced controllers. +- Allow a parameter to be given to collection_url in polymorphic cases to replace the parent. +- Allow InheritedResources to be called without inheritance. +- Ensure that controllers that inherit from a controller with InheritedResources works properly. ## Version 0.7 -* Allow procs as default value in has scope to be able to use values from session, for example. -* Allow blocks with arity 0 or -1 to be given as the redirect url: +- Allow procs as default value in has scope to be able to use values from session, for example. +- Allow blocks with arity 0 or -1 to be given as the redirect url: - def destroy - destroy!{ project_url(@project) } - end + def destroy + destroy!{ project_url(@project) } + end -* Allow interpolation_options to be set in the application controller. -* Added has_scope to controller (an interface for named_scopes). -* Added polymorphic_belongs_to, optional_belongs_to and singleton_belongs_to as quick methods. -* Only load belongs_to, singleton and polymorphic helpers if they are actually required. base_helpers, class_methods, dumb_responder and url_helpers are loaded when you inherited from base for the first time. +- Allow interpolation_options to be set in the application controller. +- Added has_scope to controller (an interface for named_scopes). +- Added polymorphic_belongs_to, optional_belongs_to and singleton_belongs_to as quick methods. +- Only load belongs_to, singleton and polymorphic helpers if they are actually required. base_helpers, class_methods, dumb_responder and url_helpers are loaded when you inherited from base for the first time. # Version 0.6 -* Ensure that the default template is not rendered if the default_template_format is not accepted. This is somehow related with the security breach report: +- Ensure that the default template is not rendered if the default_template_format is not accepted. This is somehow related with the security breach report: http://www.rorsecurity.info/journal/2009/4/24/hidden-actions-render-templates.html IR forbids based on mime types. For example: respond_to :html, :except => :index ensures that the index.html.erb view is not rendered, making your IR controllers safer. -* Fixed a bug that happens only when format.xml is given to blocks and then it acts as default, instead of format.html. -* Fixed a strange bug where when you have create.html.erb or update.html.erb, it makes IE6 and IE7 return unprocessable entity (because they send Mime::ALL). -* Stop rescueing any error when constantizing the resource class and allow route_prefix to be nil. -* Cleaned up tests and responder structure. Whenever you pass a block to aliases and this block responds to the request, the other blocks are not parsed improving performance. -* [BACKWARDS INCOMPATIBLE] By default, Inherited Resources respond only :html requests. -* Added a quick way to overwrite the redirect to url in :create, :update and :destroy. +- Fixed a bug that happens only when format.xml is given to blocks and then it acts as default, instead of format.html. +- Fixed a strange bug where when you have create.html.erb or update.html.erb, it makes IE6 and IE7 return unprocessable entity (because they send Mime::ALL). +- Stop rescueing any error when constantizing the resource class and allow route_prefix to be nil. +- Cleaned up tests and responder structure. Whenever you pass a block to aliases and this block responds to the request, the other blocks are not parsed improving performance. +- [BACKWARDS INCOMPATIBLE] By default, Inherited Resources respond only :html requests. +- Added a quick way to overwrite the redirect to url in :create, :update and :destroy. ## Version 0.5 -* Decoupled routes name from :instance_name and :collection_name. This way we have more flexibility. Use route_instance_name and route_collection_name to to change routes. -* Avoid calling human_name on nil when a resource class is not defined. -* Only call I18n if it's defined. +- Decoupled routes name from :instance_name and :collection_name. This way we have more flexibility. Use route_instance_name and route_collection_name to to change routes. +- Avoid calling human_name on nil when a resource class is not defined. +- Only call I18n if it's defined. ## Version 0.4 -* Dealing with namespaced controllers out of the box. -* Added support to namespaced routes through :route_prefix. -* Added fix when resource_url is not defined. -* Added better handling for namespaced controllers. -* Added flash messages scoped by namespaced controllers. -* Deprecated {{resource}} in I18n, use {{resource_name}} instead. -* rspec bug fix is not automatically required anymore. User has to do it explicitly. -* Added a file which fix a rspec bug when render is called inside a method which receives a block. -* parent? does not take begin_of_association_chain into account anymore. -* Added options to url helpers. -* Added :optional to belongs_to associations. It allows you to deal with categories/1/products/2 and /products/2 with just one controller. -* Cleaned up tests. +- Dealing with namespaced controllers out of the box. +- Added support to namespaced routes through :route_prefix. +- Added fix when resource_url is not defined. +- Added better handling for namespaced controllers. +- Added flash messages scoped by namespaced controllers. +- Deprecated {{resource}} in I18n, use {{resource_name}} instead. +- rspec bug fix is not automatically required anymore. User has to do it explicitly. +- Added a file which fix a rspec bug when render is called inside a method which receives a block. +- parent? does not take begin_of_association_chain into account anymore. +- Added options to url helpers. +- Added :optional to belongs_to associations. It allows you to deal with categories/1/products/2 and /products/2 with just one controller. +- Cleaned up tests. ## Version 0.3 -* Minor bump after three bug fixes. -* Bug fix when showing warning of constant redefinition. -* Bug fix with ApplicationController not being unloaded properly on development. -* Bug fix when having root singleton resources. Calling `collection_url` would raise "NoMethodError \_url", not it will call root_url. -* More comments on UrlHelpers. +- Minor bump after three bug fixes. +- Bug fix when showing warning of constant redefinition. +- Bug fix with ApplicationController not being unloaded properly on development. +- Bug fix when having root singleton resources. Calling `collection_url` would raise "NoMethodError \_url", not it will call root_url. +- More comments on UrlHelpers. ## Version 0.2 -* Bug fix when ApplicationController is already loaded when we load respond_to. -* Added support success/failure blocks. -* Eager loading of files to work properly in multithreaded environments. +- Bug fix when ApplicationController is already loaded when we load respond_to. +- Added support success/failure blocks. +- Eager loading of files to work properly in multithreaded environments. ## Version 0.1 -* Added more helper_methods. -* Added Rails 2.3.0 and changed tests to work with ActionController::TestCase. -* First release. Support to I18n, singleton controllers, polymorphic controllers, belongs_to, nested_belongs_to and url helpers. +- Added more helper_methods. +- Added Rails 2.3.0 and changed tests to work with ActionController::TestCase. +- First release. Support to I18n, singleton controllers, polymorphic controllers, belongs_to, nested_belongs_to and url helpers. diff --git a/Gemfile.lock b/Gemfile.lock index 70bcba13..9e117b9a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,73 +10,73 @@ PATH GEM remote: https://rubygems.org/ specs: - actioncable (7.0.2.3) - actionpack (= 7.0.2.3) - activesupport (= 7.0.2.3) + actioncable (7.0.4) + actionpack (= 7.0.4) + activesupport (= 7.0.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.2.3) - actionpack (= 7.0.2.3) - activejob (= 7.0.2.3) - activerecord (= 7.0.2.3) - activestorage (= 7.0.2.3) - activesupport (= 7.0.2.3) + actionmailbox (7.0.4) + actionpack (= 7.0.4) + activejob (= 7.0.4) + activerecord (= 7.0.4) + activestorage (= 7.0.4) + activesupport (= 7.0.4) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.2.3) - actionpack (= 7.0.2.3) - actionview (= 7.0.2.3) - activejob (= 7.0.2.3) - activesupport (= 7.0.2.3) + actionmailer (7.0.4) + actionpack (= 7.0.4) + actionview (= 7.0.4) + activejob (= 7.0.4) + activesupport (= 7.0.4) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.2.3) - actionview (= 7.0.2.3) - activesupport (= 7.0.2.3) + actionpack (7.0.4) + actionview (= 7.0.4) + activesupport (= 7.0.4) rack (~> 2.0, >= 2.2.0) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.2.3) - actionpack (= 7.0.2.3) - activerecord (= 7.0.2.3) - activestorage (= 7.0.2.3) - activesupport (= 7.0.2.3) + actiontext (7.0.4) + actionpack (= 7.0.4) + activerecord (= 7.0.4) + activestorage (= 7.0.4) + activesupport (= 7.0.4) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.2.3) - activesupport (= 7.0.2.3) + actionview (7.0.4) + activesupport (= 7.0.4) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.2.3) - activesupport (= 7.0.2.3) + activejob (7.0.4) + activesupport (= 7.0.4) globalid (>= 0.3.6) - activemodel (7.0.2.3) - activesupport (= 7.0.2.3) - activerecord (7.0.2.3) - activemodel (= 7.0.2.3) - activesupport (= 7.0.2.3) - activestorage (7.0.2.3) - actionpack (= 7.0.2.3) - activejob (= 7.0.2.3) - activerecord (= 7.0.2.3) - activesupport (= 7.0.2.3) + activemodel (7.0.4) + activesupport (= 7.0.4) + activerecord (7.0.4) + activemodel (= 7.0.4) + activesupport (= 7.0.4) + activestorage (7.0.4) + actionpack (= 7.0.4) + activejob (= 7.0.4) + activerecord (= 7.0.4) + activesupport (= 7.0.4) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.2.3) + activesupport (7.0.4) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.1) + public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) builder (3.2.4) chandler (0.9.0) @@ -84,99 +84,74 @@ GEM octokit (>= 2.2.0) concurrent-ruby (1.1.10) crass (1.0.6) - digest (3.1.0) - digest (3.1.0-java) - erubi (1.10.0) - faraday (1.8.0) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - multipart-post (>= 1.2, < 3) + date (3.3.3) + erubi (1.12.0) + faraday (2.7.3) + faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) + faraday-net_http (3.0.2) globalid (1.0.0) activesupport (>= 5.0) has_scope (0.8.0) actionpack (>= 5.2) activesupport (>= 5.2) - i18n (1.10.0) + i18n (1.12.0) concurrent-ruby (~> 1.0) - io-wait (0.2.1) - loofah (2.15.0) + json (2.6.3) + loofah (2.19.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.7.1) + mail (2.8.0.1) mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp marcel (1.0.2) method_source (1.0.0) mini_mime (1.1.2) - mini_portile2 (2.8.0) - minitest (5.15.0) + minitest (5.17.0) minitest-rg (5.2.0) minitest (~> 5.0) - mocha (1.15.0) - multipart-post (2.1.1) - net-imap (0.2.3) - digest + mocha (2.0.2) + ruby2_keywords (>= 0.0.5) + net-imap (0.3.4) + date net-protocol - strscan - net-pop (0.1.1) - digest + net-pop (0.1.2) net-protocol + net-protocol (0.2.1) timeout - net-protocol (0.1.2) - io-wait - timeout - net-smtp (0.3.1) - digest + net-smtp (0.3.3) net-protocol - timeout netrc (0.11.0) nio4r (2.5.8) - nio4r (2.5.8-java) - nokogiri (1.13.3) - mini_portile2 (~> 2.8.0) - racc (~> 1.4) - nokogiri (1.13.3-java) + nokogiri (1.14.0-x86_64-linux) racc (~> 1.4) - octokit (4.21.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) + octokit (6.0.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) parallel (1.22.1) - parser (3.1.2.0) + parser (3.2.0.0) ast (~> 2.4.1) - public_suffix (4.0.6) - racc (1.6.0) - racc (1.6.0-java) - rack (2.2.3) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (7.0.2.3) - actioncable (= 7.0.2.3) - actionmailbox (= 7.0.2.3) - actionmailer (= 7.0.2.3) - actionpack (= 7.0.2.3) - actiontext (= 7.0.2.3) - actionview (= 7.0.2.3) - activejob (= 7.0.2.3) - activemodel (= 7.0.2.3) - activerecord (= 7.0.2.3) - activestorage (= 7.0.2.3) - activesupport (= 7.0.2.3) + public_suffix (5.0.1) + racc (1.6.2) + rack (2.2.6) + rack-test (2.0.2) + rack (>= 1.3) + rails (7.0.4) + actioncable (= 7.0.4) + actionmailbox (= 7.0.4) + actionmailer (= 7.0.4) + actionpack (= 7.0.4) + actiontext (= 7.0.4) + actionview (= 7.0.4) + activejob (= 7.0.4) + activemodel (= 7.0.4) + activerecord (= 7.0.4) + activestorage (= 7.0.4) + activesupport (= 7.0.4) bundler (>= 1.15.0) - railties (= 7.0.2.3) + railties (= 7.0.4) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) @@ -184,54 +159,51 @@ GEM rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.4.2) - loofah (~> 2.3) - railties (7.0.2.3) - actionpack (= 7.0.2.3) - activesupport (= 7.0.2.3) + rails-html-sanitizer (1.4.4) + loofah (~> 2.19, >= 2.19.1) + railties (7.0.4) + actionpack (= 7.0.4) + activesupport (= 7.0.4) method_source rake (>= 12.2) thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.3.1) + regexp_parser (2.6.1) responders (3.0.1) actionpack (>= 5.0) railties (>= 5.0) rexml (3.2.5) - rubocop (1.28.2) + rubocop (1.43.0) + json (~> 2.3) parallel (~> 1.10) - parser (>= 3.1.0.0) + parser (>= 3.2.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.17.0, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.24.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.17.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.24.1) parser (>= 3.1.1.0) ruby-progressbar (1.11.0) ruby2_keywords (0.0.5) - sawyer (0.8.2) + sawyer (0.9.2) addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) - strscan (3.0.1) + faraday (>= 0.17.3, < 3) thor (1.2.1) - timeout (0.2.0) - tzinfo (2.0.4) + timeout (0.3.1) + tzinfo (2.0.5) concurrent-ruby (~> 1.0) - unicode-display_width (2.1.0) + unicode-display_width (2.4.2) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) - websocket-driver (0.7.5-java) - websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.5.4) + zeitwerk (2.6.6) PLATFORMS - java - ruby + x86_64-linux DEPENDENCIES chandler @@ -243,4 +215,4 @@ DEPENDENCIES rubocop BUNDLED WITH - 2.2.31 + 2.3.8 diff --git a/inherited_resources.gemspec b/inherited_resources.gemspec index bb8c97f1..c0a5f81c 100644 --- a/inherited_resources.gemspec +++ b/inherited_resources.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |s| s.files = Dir["app/**/*", "lib/**/*", "README.md", "MIT-LICENSE"] s.require_paths = ["lib"] - s.required_ruby_version = '>= 2.5' + s.required_ruby_version = '>= 3.0' s.add_dependency("responders", ">= 2", "< 4") s.add_dependency("actionpack", ">= 5.2", "< 7.1")