Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants