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

deprecate TO_FILE and make all private methods private #84

Merged
merged 2 commits into from Apr 19, 2015

Conversation

grosser
Copy link
Contributor

@grosser grosser commented Apr 17, 2015

@grosser grosser force-pushed the grosser/env branch 2 times, most recently from b31437e to d428cd0 Compare April 17, 2015 22:27
expect(formatter.short_filename('file1')).to eq('file1')
expect(formatter.short_filename("#{::SimpleCov.root}/file1")).to eq('file1')
expect(call('file1')).to eq('file1')
expect(call("#{::SimpleCov.root}/file1")).to eq('file1')
Copy link
Contributor

Choose a reason for hiding this comment

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

I think I prefer the explicit style. This is harder for me to read.

Copy link
Contributor

Choose a reason for hiding this comment

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

Are these spec changes related to the changes in this commit? They don't seem to be.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

un-dry-ed it

On Sat, Apr 18, 2015 at 7:27 AM, Noah Davis notifications@github.com
wrote:

In spec/lib/formatter_spec.rb
#84 (comment)
:

   it 'should return the filename of the file relative to the SimpleCov root' do
  •    expect(formatter.short_filename('file1')).to eq('file1')
    
  •    expect(formatter.short_filename("#{::SimpleCov.root}/file1")).to eq('file1')
    
  •    expect(call('file1')).to eq('file1')
    
  •    expect(call("#{::SimpleCov.root}/file1")).to eq('file1')
    

I think I prefer the explicit style. This is harder for me to read.


Reply to this email directly or view it on GitHub
https://github.com/codeclimate/ruby-test-reporter/pull/84/files#r28644407
.

@grosser
Copy link
Contributor Author

grosser commented Apr 18, 2015

good to go ?

@@ -36,6 +36,8 @@ def format(result)
false
end

private
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fyi was not outdetend before

@noahd1
Copy link
Contributor

noahd1 commented Apr 19, 2015

Looking better, thank you -- one last comment.

noahd1 added a commit that referenced this pull request Apr 19, 2015
deprecate TO_FILE and make all private methods private
@noahd1 noahd1 merged commit dc93735 into codeclimate:master Apr 19, 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

2 participants