diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a5050133..73ae5c44 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,9 +29,6 @@ jobs: - name: Make sure gemfiles are up to date run: ruby -Itest -rbundler/setup -rgemfiles/lint -e 'exit(Minitest.run)' - - name: Make sure gemspec builds without warnings - run: ruby -Itest -rbundler/setup -rgemfiles/gemspec_lint -e 'exit(Minitest.run)' - - name: Run linters run: bin/rubocop diff --git a/Gemfile.lock b/Gemfile.lock index 23d0ecef..be793639 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,10 +2,10 @@ PATH remote: . specs: inherited_resources (1.13.0) - actionpack (>= 5.2, < 7.1) - has_scope (~> 0.6) - railties (>= 5.2, < 7.1) - responders (>= 2, < 4) + actionpack (>= 5.2) + has_scope (>= 0.6) + railties (>= 5.2) + responders (>= 2) GEM remote: https://rubygems.org/ @@ -217,4 +217,4 @@ DEPENDENCIES rubocop BUNDLED WITH - 2.2.31 + 2.2.32 diff --git a/inherited_resources.gemspec b/inherited_resources.gemspec index bb8c97f1..f781e5e4 100644 --- a/inherited_resources.gemspec +++ b/inherited_resources.gemspec @@ -21,8 +21,8 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.5' - s.add_dependency("responders", ">= 2", "< 4") - s.add_dependency("actionpack", ">= 5.2", "< 7.1") - s.add_dependency("railties", ">= 5.2", "< 7.1") - s.add_dependency("has_scope", "~> 0.6") + s.add_dependency("responders", ">= 2") + s.add_dependency("actionpack", ">= 5.2") + s.add_dependency("railties", ">= 5.2") + s.add_dependency("has_scope", ">= 0.6") end diff --git a/test/gemfiles/gemspec_lint.rb b/test/gemfiles/gemspec_lint.rb deleted file mode 100644 index 2529ac5b..00000000 --- a/test/gemfiles/gemspec_lint.rb +++ /dev/null @@ -1,21 +0,0 @@ -require "minitest" -require "open3" -require "inherited_resources/version" - -class GemspecTest < Minitest::Test - def setup - @build = Open3.capture3("gem build inherited_resources.gemspec") - end - - def teardown - File.delete("inherited_resources-#{InheritedResources::VERSION}.gem") - end - - def test_has_no_warnings - refute_includes @build[1], "WARNING" - end - - def test_succeeds - assert_equal true, @build[2].success? - end -end diff --git a/test/rails_52/Gemfile.lock b/test/rails_52/Gemfile.lock index 8a5eaaa5..8ccd7c9d 100644 --- a/test/rails_52/Gemfile.lock +++ b/test/rails_52/Gemfile.lock @@ -2,10 +2,10 @@ PATH remote: ../.. specs: inherited_resources (1.13.0) - actionpack (>= 5.2, < 7.1) - has_scope (~> 0.6) - railties (>= 5.2, < 7.1) - responders (>= 2, < 4) + actionpack (>= 5.2) + has_scope (>= 0.6) + railties (>= 5.2) + responders (>= 2) GEM remote: https://rubygems.org/ diff --git a/test/rails_60/Gemfile.lock b/test/rails_60/Gemfile.lock index 47e5646f..e82afe55 100644 --- a/test/rails_60/Gemfile.lock +++ b/test/rails_60/Gemfile.lock @@ -2,10 +2,10 @@ PATH remote: ../.. specs: inherited_resources (1.13.0) - actionpack (>= 5.2, < 7.1) - has_scope (~> 0.6) - railties (>= 5.2, < 7.1) - responders (>= 2, < 4) + actionpack (>= 5.2) + has_scope (>= 0.6) + railties (>= 5.2) + responders (>= 2) GEM remote: https://rubygems.org/ diff --git a/test/rails_61/Gemfile.lock b/test/rails_61/Gemfile.lock index ce858adf..0802ae11 100644 --- a/test/rails_61/Gemfile.lock +++ b/test/rails_61/Gemfile.lock @@ -2,10 +2,10 @@ PATH remote: ../.. specs: inherited_resources (1.13.0) - actionpack (>= 5.2, < 7.1) - has_scope (~> 0.6) - railties (>= 5.2, < 7.1) - responders (>= 2, < 4) + actionpack (>= 5.2) + has_scope (>= 0.6) + railties (>= 5.2) + responders (>= 2) GEM remote: https://rubygems.org/ diff --git a/test/rails_70/Gemfile.lock b/test/rails_70/Gemfile.lock index 759eced2..7e6c5240 100644 --- a/test/rails_70/Gemfile.lock +++ b/test/rails_70/Gemfile.lock @@ -2,10 +2,10 @@ PATH remote: ../.. specs: inherited_resources (1.13.0) - actionpack (>= 5.2, < 7.1) - has_scope (~> 0.6) - railties (>= 5.2, < 7.1) - responders (>= 2, < 4) + actionpack (>= 5.2) + has_scope (>= 0.6) + railties (>= 5.2) + responders (>= 2) GEM remote: https://rubygems.org/ @@ -196,4 +196,4 @@ DEPENDENCIES rails-controller-testing BUNDLED WITH - 2.2.31 + 2.2.32