diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05b77f7..75fae51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: name: Ruby ${{ matrix.ruby }} strategy: matrix: - ruby: ["2.7", "3.0", "3.1", "3.2"] + ruby: ["3.2", "3.3"] steps: - name: Check out code uses: actions/checkout@v3 @@ -17,7 +17,6 @@ jobs: with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - bundler: latest - name: Ruby Tests run: bundle exec rake test - name: RuboCop diff --git a/Gemfile b/Gemfile index d42b451..6cf5821 100644 --- a/Gemfile +++ b/Gemfile @@ -8,10 +8,14 @@ gemspec gem "rubocop-shopify", require: false -group :deployment do +group :deployment, :development do gem "rake" end +group :development do + gem "minitest" +end + group :test do gem "rubocop" end diff --git a/Gemfile.lock b/Gemfile.lock index 8844e39..6f5a182 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,7 +9,7 @@ GEM ast (2.4.2) json (2.7.1) language_server-protocol (3.17.0.3) - minitest (5.17.0) + minitest (5.26.2) parallel (1.24.0) parser (3.3.0.5) ast (~> 2.4.1) @@ -42,10 +42,10 @@ PLATFORMS DEPENDENCIES bootboot! - minitest (~> 5.0) + minitest rake rubocop rubocop-shopify BUNDLED WITH - 2.5.7 + 2.7.2 diff --git a/bootboot.gemspec b/bootboot.gemspec index de13055..aba4905 100644 --- a/bootboot.gemspec +++ b/bootboot.gemspec @@ -30,7 +30,4 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.required_ruby_version = ">= 2.7.0" - - spec.add_development_dependency("minitest", "~> 5.0") - spec.add_development_dependency("rake", "~> 10.0") end diff --git a/test/bootboot_test.rb b/test/bootboot_test.rb index 386afd5..83f3e2d 100644 --- a/test/bootboot_test.rb +++ b/test/bootboot_test.rb @@ -66,7 +66,7 @@ def test_sync_the_gemfile_next_after_installation_of_new_gem_with_custom_bootboo Bundler.settings.set_local('bootboot_env_prefix', 'SHOPIFY') if ENV['SHOPIFY_NEXT'] - gem 'minitest', '5.15.0' + gem 'minitest', '5.26.0' end EOM @@ -79,7 +79,7 @@ def test_sync_the_gemfile_next_after_installation_of_new_gem_with_custom_bootboo env: { "SHOPIFY_NEXT" => "1" }, ) - assert_equal("5.15.0", output.strip) + assert_equal("5.26.0", output.strip) end end @@ -194,7 +194,7 @@ def test_bootboot_command_initialize_the_next_lock_and_update_the_gemfile File.write(file, <<-EOM, mode: "a") if ENV['DEPENDENCIES_NEXT'] - gem 'minitest', '5.15.0' + gem 'minitest', '5.25.0' end EOM @@ -205,7 +205,7 @@ def test_bootboot_command_initialize_the_next_lock_and_update_the_gemfile env: { "DEPENDENCIES_NEXT" => "1" }, ) - assert_equal("5.15.0", output.strip) + assert_equal("5.25.0", output.strip) end end