From e0368b901e6ba526124a4bfb43eb8b848916a05e Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:21:53 +0100 Subject: [PATCH] Drop dependency on ruby2_keywords Now that Ruby < 2.7 is not supported (#345) this isn't needed anymore --- Gemfile.lock | 1 - arbre.gemspec | 1 - gemfiles/rails_61/Gemfile.lock | 2 -- gemfiles/rails_70/Gemfile.lock | 2 -- lib/arbre/context.rb | 1 - lib/arbre/element.rb | 1 - 6 files changed, 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 0813a3f8..ba66e2cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,6 @@ PATH specs: arbre (2.0.0) activesupport (>= 3.0.0) - ruby2_keywords (>= 0.0.2) GEM remote: http://rubygems.org/ diff --git a/arbre.gemspec b/arbre.gemspec index 987b8735..64415cea 100644 --- a/arbre.gemspec +++ b/arbre.gemspec @@ -25,5 +25,4 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.7' s.add_dependency("activesupport", ">= 3.0.0") - s.add_dependency("ruby2_keywords", ">= 0.0.2") end diff --git a/gemfiles/rails_61/Gemfile.lock b/gemfiles/rails_61/Gemfile.lock index df55e578..4d8c315f 100644 --- a/gemfiles/rails_61/Gemfile.lock +++ b/gemfiles/rails_61/Gemfile.lock @@ -3,7 +3,6 @@ PATH specs: arbre (2.0.0) activesupport (>= 3.0.0) - ruby2_keywords (>= 0.0.2) GEM remote: http://rubygems.org/ @@ -191,7 +190,6 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - ruby2_keywords (0.0.5) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) diff --git a/gemfiles/rails_70/Gemfile.lock b/gemfiles/rails_70/Gemfile.lock index 9932232b..439d1556 100644 --- a/gemfiles/rails_70/Gemfile.lock +++ b/gemfiles/rails_70/Gemfile.lock @@ -3,7 +3,6 @@ PATH specs: arbre (2.0.0) activesupport (>= 3.0.0) - ruby2_keywords (>= 0.0.2) GEM remote: http://rubygems.org/ @@ -197,7 +196,6 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - ruby2_keywords (0.0.5) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) diff --git a/lib/arbre/context.rb b/lib/arbre/context.rb index f27a6b46..81ea24f9 100644 --- a/lib/arbre/context.rb +++ b/lib/arbre/context.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true require 'arbre/element' -require 'ruby2_keywords' module Arbre diff --git a/lib/arbre/element.rb b/lib/arbre/element.rb index 591466d9..5b947253 100644 --- a/lib/arbre/element.rb +++ b/lib/arbre/element.rb @@ -2,7 +2,6 @@ require 'arbre/element/builder_methods' require 'arbre/element/proxy' require 'arbre/element_collection' -require 'ruby2_keywords' module Arbre