Skip to content

Commit

Permalink
Merge pull request restforce#670 from restforce/dependabot/bundler/ru…
Browse files Browse the repository at this point in the history
…bocop-tw-1.22.1

Update rubocop requirement from ~> 1.20.0 to ~> 1.22.1
  • Loading branch information
timrogers authored Oct 13, 2021
2 parents 6085e64 + 4d87651 commit 92b4e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ gem 'rspec', '~> 3.10.0'
gem 'rspec-collection_matchers', '~> 1.2.0'
gem 'rspec-its', '~> 1.3.0'
gem 'rspec_junit_formatter', '~> 0.4.1'
gem 'rubocop', '~> 1.20.0'
gem 'rubocop', '~> 1.22.1'
gem 'simplecov', '~> 0.21.2'
gem 'webmock', '~> 3.14.0'
2 changes: 1 addition & 1 deletion lib/restforce/concerns/picklists.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def field
def valid?(picklist_entry)
valid_for = picklist_entry['validFor'].ljust(16, 'A').unpack1('m').
unpack('C*')
(valid_for[index >> 3] & (0x80 >> index % 8)).positive?
(valid_for[index >> 3] & (0x80 >> (index % 8))).positive?
end
end
end
Expand Down

0 comments on commit 92b4e0b

Please sign in to comment.