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

Threadsafety followup #637

Merged
merged 3 commits into from
Mar 24, 2014
Merged

Threadsafety followup #637

merged 3 commits into from
Mar 24, 2014

Conversation

myronmarston
Copy link
Member

Follow up to #634. I noticed the warnings when running rspec-core's specs. They weren't being surfaced here because of rspec/rspec-core#1444. The doc coverage check is apparently not running against rspec-mocks (see rspec/rspec-dev#63) so I fixed that, too.

/cc @xaviershay

/Users/myron/code/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/space.rb:107: warning: private attribute?
It's stateless so there's no need to create
new instances; it's just a waste of memory.
@JonRowe
Copy link
Member

JonRowe commented Mar 24, 2014

LGTM

fables-tales pushed a commit that referenced this pull request Mar 24, 2014
@fables-tales fables-tales merged commit eed2e01 into master Mar 24, 2014
@fables-tales fables-tales deleted the threadsafety-followup branch March 24, 2014 11:12
@xaviershay
Copy link
Member

LGTM, though those attr_readers are no longer private. Not that that really means much in ruby...

@myronmarston
Copy link
Member Author

LGTM, though those attr_readers are no longer private. Not that that really means much in ruby...

Ruby issues warnings for private attributes, sadly, so I had to change that to prevent the warnings.

@xaviershay
Copy link
Member

omg rubby

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.

4 participants