diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 654777c..da5d915 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: tests: strategy: matrix: - ruby-version: [2.7, 3.0, 3.1, 3.2] + ruby-version: [3.0, 3.1, 3.2, 3.3, 3.4] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -33,14 +33,14 @@ jobs: integration: strategy: matrix: - ruby-version: [2.7, 3.0, 3.1, 3.2] + ruby-version: [3.0, 3.1, 3.2, 3.3, 3.4] runs-on: ubuntu-latest env: STORAGE_EMULATOR_HOST: "http://localhost:9023/" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Start minio and GCS simulator - run: docker-compose up -d + run: docker compose up -d - name: Set up Ruby uses: ruby/setup-ruby@v1 with: diff --git a/.rubocop.yml b/.rubocop.yml index ec75785..af644d9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,7 @@ inherit_gem: AllCops: TargetRubyVersion: 2.6 DisplayCopNames: true + NewCops: enable Layout/LineLength: Max: 100 @@ -30,9 +31,6 @@ RSpec/LetSetup: RSpec/MultipleExpectations: Max: 10 -RSpec/Rails/AvoidSetupHook: - Enabled: true - RSpec/ExampleWording: Enabled: false diff --git a/Gemfile b/Gemfile index be173b2..7b9952e 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,10 @@ source "https://rubygems.org" gemspec + +gem "gc_ruboconfig", "~> 5.0.2" +gem "nokogiri", "~> 1.17.2" +gem "pry-byebug", "~> 3.10" +gem "rspec", "~> 3.13" +gem "rspec-github", "~> 2.4.0" +gem "rubocop", ">= 1.63" diff --git a/bucket_store.gemspec b/bucket_store.gemspec index 4522550..1b3b794 100644 --- a/bucket_store.gemspec +++ b/bucket_store.gemspec @@ -16,15 +16,10 @@ Gem::Specification.new do |s| s.files = Dir["lib/**/*", "README.md"] - s.required_ruby_version = ">= 2.7" + s.required_ruby_version = ">= 3.0" s.add_dependency "aws-sdk-s3", ">= 1.147" s.add_dependency "google-cloud-storage", ">= 1.50" - s.add_development_dependency "gc_ruboconfig", "~> 4.4.2" - s.add_development_dependency "pry-byebug", "~> 3.10" - s.add_development_dependency "rspec", "~> 3.13" - s.add_development_dependency "rspec-github", "~> 2.4.0" - s.add_development_dependency "rubocop", ">= 1.63" s.metadata["rubygems_mfa_required"] = "true" end diff --git a/docs/COMPATIBILITY.md b/docs/COMPATIBILITY.md index 73ebad5..2fd2650 100644 --- a/docs/COMPATIBILITY.md +++ b/docs/COMPATIBILITY.md @@ -10,7 +10,7 @@ is supported. To that end, [our build matrix](../.circleci/config.yml) includes all these versions. Any time BucketStore doesn't work on a supported version of Ruby, it's a bug, and can be -reported [here](https://github.com/gocardless/file-storage/issues). +reported [here](https://github.com/gocardless/bucket-store/issues). # Deprecation