Skip to content

Commit

Permalink
adjust to more explicit rubocop version for CodeClimate (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdnewman committed Jul 9, 2023
1 parent 7257ad7 commit 33aa36f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ engines:
enabled: true
rubocop:
enabled: true
channel: rubocop-1-50-2
ratings:
paths:
- "**.rb"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and, as of version 0.3.0 and later, this project adheres to [Semantic Versioning
- Changed output to always write to STDOUT (regardless whether Rails is present)
- Changed to only write to Rails.logger (when present) when `log` option is set to `true`
- Updated YARD documentation for improved completeness
- Refreshed gems and dependencies

## [1.2.1] - 2021-09-05
### Added
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source 'https://rubygems.org'
gemspec

group :development do
gem 'rubocop', require: false
gem 'rubocop', '=1.50.2', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rspec', require: false

Expand Down
3 changes: 2 additions & 1 deletion lib/loba.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ module Loba
def timestamp(production: false, log: false) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
return unless Internal::Platform.logging_ok?(production)

# NOTE: while tempting, memoizing loba_logger can lead to surprises if Rails presence isn't constant
# NOTE: while tempting, memoizing loba_logger can lead to surprises if
# Rails presence isn't constant
loba_logger = Internal::Platform.logger

begin
Expand Down

0 comments on commit 33aa36f

Please sign in to comment.