Skip to content

Commit

Permalink
Updates rubocop gems
Browse files Browse the repository at this point in the history
- Manually specifies minor version so it doesn't automatically update minor verison during CI tests.
- Updates other rubocop gems.
- Updates tests to resolve cop
  • Loading branch information
tlynam committed Aug 3, 2020
1 parent fa8b1b2 commit 53e8930
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions paper_trail.gemspec
Expand Up @@ -44,9 +44,9 @@ has been destroyed.
s.add_development_dependency "paper_trail-association_tracking", "~> 2.0.0"
s.add_development_dependency "rake", "~> 13.0"
s.add_development_dependency "rspec-rails", "~> 4.0"
s.add_development_dependency "rubocop", "~> 0.85.1"
s.add_development_dependency "rubocop-performance", "~> 1.4"
s.add_development_dependency "rubocop-rspec", "~> 1.35"
s.add_development_dependency "rubocop", "~> 0.88.0"
s.add_development_dependency "rubocop-performance", "~> 1.7.1"
s.add_development_dependency "rubocop-rspec", "~> 1.42.0"

# ## Database Adapters
#
Expand Down
4 changes: 2 additions & 2 deletions spec/models/version_spec.rb
Expand Up @@ -12,7 +12,7 @@ module PaperTrail
specify { expect(PaperTrail.serializer).to be PaperTrail::Serializers::YAML }

it "store out as a plain hash" do
expect(value =~ /HashWithIndifferentAccess/).to be_nil
expect(value).not_to include("HashWithIndifferentAccess")
end
end

Expand Down Expand Up @@ -46,7 +46,7 @@ module PaperTrail
end

it "store out as a plain hash" do
expect(value =~ /HashWithIndifferentAccess/).to be_nil
expect(value).not_to include("HashWithIndifferentAccess")
end

after do
Expand Down

0 comments on commit 53e8930

Please sign in to comment.