diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index f94610f..6eca420 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -21,6 +21,7 @@ jobs: - "3.0" - "3.1" - "3.2" + - "3.3" - "head" - "jruby-9.3" runs-on: ${{ matrix.os }}-latest diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile index 6214df6..20b98dc 100644 --- a/gemfiles/rails_6.1.gemfile +++ b/gemfiles/rails_6.1.gemfile @@ -3,7 +3,14 @@ source "https://rubygems.org" gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", platform: :jruby +gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git", branch: :main +gem "fakefs", "~> 1.2" +gem "nokogiri", "~> 1.10" +gem "pry" gem "rails", "~> 6.1.0" +gem "rspec", "~> 3.9" +gem "rubocop", "~> 1.20" +gem "rubocop-rspec", "~> 2.4" gem "sqlite3", platform: :mri gemspec path: "../" diff --git a/gemfiles/rails_7.0.gemfile b/gemfiles/rails_7.0.gemfile index 9f381de..0a19ff3 100644 --- a/gemfiles/rails_7.0.gemfile +++ b/gemfiles/rails_7.0.gemfile @@ -3,7 +3,14 @@ source "https://rubygems.org" gem "activerecord-jdbcsqlite3-adapter", "~> 70.0", platform: :jruby +gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git", branch: :main +gem "fakefs", "~> 1.2" +gem "nokogiri", "~> 1.10" +gem "pry" gem "rails", "~> 7.0.0" +gem "rspec", "~> 3.9" +gem "rubocop", "~> 1.20" +gem "rubocop-rspec", "~> 2.4" gem "sqlite3", platform: :mri gemspec path: "../" diff --git a/gemfiles/sequel_5.0.gemfile b/gemfiles/sequel_5.0.gemfile index b101639..ba937c3 100644 --- a/gemfiles/sequel_5.0.gemfile +++ b/gemfiles/sequel_5.0.gemfile @@ -2,7 +2,14 @@ source "https://rubygems.org" +gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git", branch: :main +gem "fakefs", "~> 1.2" gem "jdbc-sqlite3", platform: :jruby +gem "nokogiri", "~> 1.10" +gem "pry" +gem "rspec", "~> 3.9" +gem "rubocop", "~> 1.20" +gem "rubocop-rspec", "~> 2.4" gem "sequel", "~> 5.0" gem "sqlite3", platform: :mri diff --git a/lib/amazing_print/core_ext/awesome_method_array.rb b/lib/amazing_print/core_ext/awesome_method_array.rb index 8a6204a..96654ef 100644 --- a/lib/amazing_print/core_ext/awesome_method_array.rb +++ b/lib/amazing_print/core_ext/awesome_method_array.rb @@ -78,7 +78,7 @@ def grep(pattern, &blk) super(pattern) end arr.instance_variable_set(:@__awesome_methods__, instance_variable_get(:@__awesome_methods__)) - arr.select! { |item| (item.is_a?(Symbol) || item.is_a?(String)) } # grep block might return crap. + arr.select! { |item| item.is_a?(Symbol) || item.is_a?(String) } # grep block might return crap. arr end end