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

Use warnings from rspec-support #1115

Merged
merged 2 commits into from
Oct 30, 2013
Merged

Use warnings from rspec-support #1115

merged 2 commits into from
Oct 30, 2013

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Oct 17, 2013

Switch over warnings and caller filter to rspec-support

@@ -1,7 +1,7 @@
$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__))

require 'benchmark'
require 'rspec/caller_filter'
require 'rspec/support/caller_filter'
Copy link
Member

Choose a reason for hiding this comment

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

I think this benchmark should be moved to rspec-support.

@myronmarston
Copy link
Member

I have some concerns about moving the bits that depend on rspec-core APIs (e.g. the deprecation formatter) into rspec-support:

rspec/rspec-support#6 (comment)

@JonRowe
Copy link
Member Author

JonRowe commented Oct 18, 2013

See rspec/rspec-support#7 for discussion on that...

@@ -25,6 +25,12 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 1.8.7'

if RSpec::Core::Version::STRING =~ /[a-zA-Z]+/
Copy link
Member

Choose a reason for hiding this comment

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

Needs a comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added

@JonRowe
Copy link
Member Author

JonRowe commented Oct 25, 2013

Updated in light of rspec/rspec-support#7

@JonRowe
Copy link
Member Author

JonRowe commented Oct 30, 2013

Anyone had a chance to review? /cc @myronmarston @xaviershay

@myronmarston
Copy link
Member

LGTM!

myronmarston added a commit that referenced this pull request Oct 30, 2013
Use warnings from rspec-support
@myronmarston myronmarston merged commit 24d1487 into master Oct 30, 2013
@myronmarston myronmarston deleted the switch_to_support branch October 30, 2013 02:54
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.

3 participants