Skip to content

Commit

Permalink
Update rubocop gems to latest versions (#65)
Browse files Browse the repository at this point in the history
* Update rubocop to 1.52
* Bump dev version of ruby to 3.2.2

---------

Co-authored-by: Kevin Robayna <[email protected]>
  • Loading branch information
ivgiuliani and kevinrobayna authored Mar 6, 2024
1 parent fae12f5 commit 643dea4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.2.2
2 changes: 1 addition & 1 deletion bucket_store.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions spec/bucket_store/key_storage_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 643dea4

Please sign in to comment.