fakeweb-matcher 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/fake_web_matcher.rb +2 -1
  3. metadata +3 -3
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 2
4
- :patch: 0
4
+ :patch: 1
@@ -26,7 +26,8 @@ FakeWeb::Registry.class_eval do
26
26
  include FakeWebMatcher::Extension
27
27
  end
28
28
 
29
- Spec::Runner.configure { |config|
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Allan