-
Notifications
You must be signed in to change notification settings - Fork 152
Freeze rubocop version for stable CI #278
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
Conversation
Here's an example of a CHANGELOG.md entry: * [#278](https://github.com/ruby-grape/grape-entity/pull/278): Freeze rubocop version for stable ci - [@kachick](https://github.com/kachick). Generated by 🚫 danger |
grape-entity.gemspec
Outdated
@@ -23,7 +23,7 @@ Gem::Specification.new do |s| | |||
|
|||
s.add_development_dependency 'bundler' | |||
s.add_development_dependency 'rake' | |||
s.add_development_dependency 'rubocop', '~> 0.48' | |||
s.add_development_dependency 'rubocop', '~> 0.48.0' |
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.
please also add require: false
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.
So we need to add the line into Gemfile
instead of gemspec, I think 🤔
Could you check 8895a69 ?
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.
And added c362d74 🙇
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.
think you can remove this line
Gemfile
Outdated
@@ -4,7 +4,7 @@ source 'http://rubygems.org' | |||
|
|||
gemspec | |||
|
|||
group :development do | |||
group :development, :test do |
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.
it adds always 0.51 → maybe you have to remove the line in gem spec?
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.
it adds always 0.51
Yes, How about b66105f?
@@ -4,6 +4,10 @@ source 'http://rubygems.org' | |||
|
|||
gemspec | |||
|
|||
group :development, :test do | |||
gem 'rubocop', '~> 0.48.0', require: false |
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.
👍
grape-entity.gemspec
Outdated
@@ -23,7 +23,7 @@ Gem::Specification.new do |s| | |||
|
|||
s.add_development_dependency 'bundler' | |||
s.add_development_dependency 'rake' | |||
s.add_development_dependency 'rubocop', '~> 0.48' | |||
s.add_development_dependency 'rubocop', '~> 0.48.0' |
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.
think you can remove this line
I see … cool 👍 |
please can you close the other PRs, think here is all in 😉 |
Thank you! Then, Can I close #279 ? ⏹ |
Oh sorry to misunderstood 🙇 And Thank you for the review! I'll update rest PRs 💪 |
ref: rubocop/rubocop@dd0d60c
#277 failed as https://travis-ci.org/ruby-grape/grape-entity/jobs/295161671 from rubocop 0.48~0.51 changes.