-
-
Notifications
You must be signed in to change notification settings - Fork 56
[Ruby] - Upgraded Rubocop gems. #342
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,14 +23,14 @@ Gem::Specification.new do |s| | |
'source_code_uri' => 'https://github.com/cucumber/cucumber-expressions/tree/main/ruby', | ||
} | ||
|
||
s.add_runtime_dependency 'bigdecimal' | ||
s.add_dependency 'bigdecimal' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @luke-hill this looks breaking. Is that correct? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nah this is just minor naming. Although I wasn't aware this was a new recommendation 🤷♂️ |
||
|
||
s.add_development_dependency 'rake', '~> 13.1' | ||
s.add_development_dependency 'rspec', '~> 3.13' | ||
s.add_development_dependency 'rubocop', '~> 1.27.0' | ||
s.add_development_dependency 'rubocop-performance', '~> 1.7.0' | ||
s.add_development_dependency 'rubocop-rake', '~> 0.5.0' | ||
s.add_development_dependency 'rubocop-rspec', '~> 2.0.0' | ||
s.add_development_dependency 'rubocop', '~> 1.75.7' | ||
s.add_development_dependency 'rubocop-performance', '~> 1.25.0' | ||
s.add_development_dependency 'rubocop-rake', '~> 0.7.1' | ||
s.add_development_dependency 'rubocop-rspec', '~> 3.6.0' | ||
|
||
s.files = Dir['lib/**/*', 'CHANGELOG.md', 'CONTRIBUTING.md', 'LICENSE', 'README.md'] | ||
s.rdoc_options = ['--charset=UTF-8'] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,7 +155,7 @@ def ==(other) | |
}.to raise_error('There is already a parameter with name color') | ||
end | ||
|
||
it 'is not detected for type' do | ||
it 'is not detected for type', skip: 'missing expectation' do | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just flagging this for me here, this should be checked across languages. It "could" be similar issue |
||
@parameter_type_registry.define_parameter_type( | ||
ParameterType.new( | ||
'whatever', | ||
|
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.
This is not necessary. Notable in this context means "notable to the user" and "notable for the purposes of semver".
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.
Yeh, ideally here you'd maybe write a quick changelog that you autofixed some styles or something. As some of the changes could break, but this would go into a patch release if it was released
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.
Sorry, but not completely sure if I should keep the changelog entry or remove it 😅
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 think what Rien is saying is technical things about ruby don't belong in a polyglot changelog (This is a library with 6 flavours).
So maybe just say somethinig similar to what has been written prior