rspec-webservice_matchers 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c61a14a2ef20872e409fb4d49f0009e987abdd4b
4
- data.tar.gz: ed10304376894e7cdfcd83fee505791c931a12ce
3
+ metadata.gz: 4fd942e9ab0d3224b9147101126f990826db7174
4
+ data.tar.gz: 2a257f3d1705df87e2cd974b23db47cdc82e3715
5
5
  SHA512:
6
- metadata.gz: 66899e9f493857af03f4d40f032b6b8094c6e19ab1a2b8ff1f4062854939fcc0c72b0cd4cddff90c06f5bd8c1f54ec44da3c3d4278e05be98c83e6815d767d12
7
- data.tar.gz: 14dadfd238f5f4e4c46571a96f9896b07f29f8aa2b49ff905f8fcc147d88eb5a40b5002f0afb574eb90b8d8a6c02fdc774e114592667212f9b5eea26f01c63b7
6
+ metadata.gz: f453a9a2b5a69e1a0a21384da62f4cb62d72e6aa28b46fc2c7b3b178976f0c3d1b40b6cc74e3d5cbafed6997e208613c2ba293bc43fef1c6eb10362fbaee2500
7
+ data.tar.gz: 2697099e668f2652f00cd7683b22c22e6081f1f0003222139b74c6d424c5345ea18feb9cf0f6445f8e8e1e0b3421b195e391b6b340448fac48711e1f2bf8ea51
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module WebserviceMatchers
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
@@ -1,7 +1,6 @@
1
1
  require 'rspec/webservice_matchers/version'
2
2
  require 'faraday'
3
3
  require 'faraday_middleware'
4
- require 'pry'
5
4
 
6
5
  # Seconds
7
6
  TIMEOUT = 5
@@ -42,7 +41,6 @@ module RSpec
42
41
  RSpec::Matchers.define :redirect_permanently_to do |expected|
43
42
  match do |url|
44
43
  response = RSpec::WebserviceMatchers.connection.head(url)
45
- # binding.pry
46
44
  response.status == 301 && response.headers['location'] == expected
47
45
  end
48
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-webservice_matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robb Shecter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.2.1
150
+ rubygems_version: 2.2.2
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Black-box web app configuration testing