fakeweb-matcher 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/fake_web_matcher.rb +2 -1
- metadata +3 -3
data/VERSION.yml
CHANGED
data/lib/fake_web_matcher.rb
CHANGED
@@ -26,7 +26,8 @@ FakeWeb::Registry.class_eval do
|
|
26
26
|
include FakeWebMatcher::Extension
|
27
27
|
end
|
28
28
|
|
29
|
-
Spec::Runner
|
29
|
+
rspec = defined?(Spec) && defined?(Spec::Runner) ? Spec::Runner : RSpec
|
30
|
+
rspec.configure { |config|
|
30
31
|
# Adding the custom matcher to the default set
|
31
32
|
config.include FakeWebMatcher::Matchers
|
32
33
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fakeweb-matcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 1
|
10
|
+
version: 1.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pat Allan
|