Skip to content
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

Update reek, rubocop, mutant, and mutant-rspec #79

Merged
merged 2 commits into from
Sep 2, 2015

Conversation

backus
Copy link
Collaborator

@backus backus commented Sep 2, 2015

  • reek updated to 3.3.0 3.2.1
  • rubocop updated to 0.33
  • mutant updated to 0.8.3
  • mutant-rspec updated to 0.8.2

@backus
Copy link
Collaborator Author

backus commented Sep 2, 2015

Looks like something broke with reek's rake task between 3.2.1 and 3.3.0.

@@ -150,7 +150,7 @@ class Mutant < self
# Devtools configuration
class Devtools < self
FILE = 'devtools.yml'.freeze
DEFAULT_UNIT_TEST_TIMEOUT = 0.1 # 100ms
DEFAULT_UNIT_TEST_TIMEOUT = 0.1 # 100ms
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkubb I think our convention is contradicted by this rubocop related change. Can you confirm, if so we should disable this cop. //cc @backus

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generally leave two spaces before trailing comments only to make it more obvious that the comment is not part of the code.

Is there a rubocop setting that might allow 2 spaces for trailing comments?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a rubocop setting that might allow 2 spaces for trailing comments?

@backus do you mind to look that up? and adjust the setting if available, or deactivating the cop otherwise?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sure I'll take a look. It is from Style/ExtraSpacing and the discussion around what was added is here rubocop/rubocop#2035. Not sure yet about config

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the only option is AllowForAlignment so I'll remove

@backus
Copy link
Collaborator Author

backus commented Sep 2, 2015

I'm just going to drop the reek dependency down to 3.2.1 since I don't want to dive any deeper into reek right now to figure out the issue

@mbj
Copy link
Owner

mbj commented Sep 2, 2015

I'm just going to drop the reek dependency down to 3.2.1 since I don't want to dive any deeper into reek right now to figure out the issue

I'm fine to merge any improvement.

John Backus added 2 commits September 2, 2015 13:56
ExtraSpacing is enabled by default in rubocop 0.33 and it does
not align with the conventions used in devtools so we disable it.
- reek updated to 3.2.1
- rubocop updated to 0.33
- mutant updated to 0.8.3
- mutant-rspec updated to 0.8.2
@backus
Copy link
Collaborator Author

backus commented Sep 2, 2015

Updated

mbj added a commit that referenced this pull request Sep 2, 2015
Update reek, rubocop, mutant, and mutant-rspec
@mbj mbj merged commit 83dab15 into mbj:master Sep 2, 2015
@mbj mbj deleted the feature/update-gems branch September 2, 2015 21:13
@mbj
Copy link
Owner

mbj commented Sep 2, 2015

@backus thx again!

@dkubb
Copy link
Collaborator

dkubb commented Sep 2, 2015

@backus awesome, thanks!

@backus
Copy link
Collaborator Author

backus commented Sep 3, 2015

Reek issue previously mentioned: troessner/reek#642. I guess we should expect a fix to be released soon? troessner/reek#644

@backus
Copy link
Collaborator Author

backus commented Sep 3, 2015

Looks like that fix addressed some use cases but not the syntax that devtools uses. See my comment here: troessner/reek#642 (comment)

@backus
Copy link
Collaborator Author

backus commented Sep 3, 2015

Cool they fixed it already troessner/reek#683

@backus
Copy link
Collaborator Author

backus commented Sep 3, 2015

Released! troessner/reek#684 I'll open a new PR

@backus backus mentioned this pull request Sep 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants