-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPA Improvements: 1.15 to 2.02 #79
base: master
Are you sure you want to change the base?
Conversation
options[:color] = v | ||
end | ||
opts.on("--force-color", "Force use of ANSI color characters even on non-tty outputs (off)") do |v| | ||
opts.on("--force-color", "Force use of ANSI color characters even on non-tty outputs (off)") do | ||
options[:force_color] = true | ||
end | ||
opts.on("-V", "--version", "Display the version and exit") do |v| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's another unused block argument.
Agree with everything, had the same thoughts on all subjects. The global |
- "**.rb" | ||
|
||
exclude_paths: | ||
- lib/papertrail/okjson.rb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I usually avoid adding codeclimate.yml (less clutter), but it is needed if we want to exclude the vendored okjson
(which pulls the gpa down quite a bit...)
I'll give this a run through next week before merging and cutting a release. |
An assortment of small to medium changes to improve code standards:
okjson
from Code ClimateOptionsParser
blocksconfigfile
method toCliHelpers
to avoid repeating the confusing condition+assignmentif configfile = find_configfile
http_client
by adding anattempt times, wait, &block
method to handle HTTP retries in a single place.CC: #78