Skip to content

Commit

Permalink
chore: drop dependency on ruby2_keywords (#885)
Browse files Browse the repository at this point in the history
Now that Ruby below 2.7 is not supported anymore (#389, 38b083a) this is not needed anymore
  • Loading branch information
Earlopain authored Feb 23, 2024
1 parent 1cdfe76 commit 435481e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ def patch
end

def require_dependencies
# Our patches depend on Ruby 2 Keyword Syntax compatability since it is decorating the existing AR API
# Once we migrate to ActiveSupport Notifications based instrumentation we can remove this require statement.
require 'ruby2_keywords' # rubocop:disable Lint/RedundantRequireStatement
require_relative 'patches/querying'
require_relative 'patches/persistence'
require_relative 'patches/persistence_class_methods'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Gem::Specification.new do |spec|

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.22.1'
spec.add_dependency 'ruby2_keywords'

spec.add_development_dependency 'activerecord', '>= 6.1'
spec.add_development_dependency 'appraisal', '~> 2.5'
Expand Down

0 comments on commit 435481e

Please sign in to comment.