diff --git a/.ruby-version b/.ruby-version index fd2a018..be94e6f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.0 +3.2.2 diff --git a/bucket_store.gemspec b/bucket_store.gemspec index 83db51b..1e82c62 100644 --- a/bucket_store.gemspec +++ b/bucket_store.gemspec @@ -25,6 +25,6 @@ Gem::Specification.new do |s| s.add_development_dependency "pry-byebug", "~> 3.9" s.add_development_dependency "rspec", "~> 3.10" s.add_development_dependency "rspec-github", "~> 2.4.0" - s.add_development_dependency "rubocop", ">= 1.49" + s.add_development_dependency "rubocop", ">= 1.52" s.metadata["rubygems_mfa_required"] = "true" end diff --git a/spec/bucket_store/key_storage_spec.rb b/spec/bucket_store/key_storage_spec.rb index 65a4a37..48816a4 100644 --- a/spec/bucket_store/key_storage_spec.rb +++ b/spec/bucket_store/key_storage_spec.rb @@ -120,7 +120,7 @@ def build_for(key) describe "#stream" do let(:stream) { build_for("inmemory://bucket/file1").stream } - it "will return an object" do + it "returns an object" do expect { stream }.to_not raise_error expect(stream).to_not be_nil end @@ -174,7 +174,7 @@ def build_for(key) end describe "#upload!" do - it "will upload from a file" do + it "uploads from a file" do expect(stream.upload!(file: StringIO.new("hello"))). to eq("inmemory://bucket/file1") end