Skip to content

Commit

Permalink
Merge pull request #407 from brandoncc/brandoncc/fix-active-support-d…
Browse files Browse the repository at this point in the history
…eprecation-version-condition

ActiveSupport::Deprecation singleton was deprecated in 7.1, not 7.2
  • Loading branch information
byroot authored Oct 31, 2024
2 parents f16f9c7 + 299d302 commit 820f3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module ActiveResource
autoload :Validations
autoload :Collection

if ActiveSupport::VERSION::STRING >= "7.2"
if ActiveSupport::VERSION::STRING >= "7.1"
def self.deprecator
@deprecator ||= ActiveSupport::Deprecation.new(VERSION::STRING, "ActiveResource")
end
Expand Down

0 comments on commit 820f3ac

Please sign in to comment.