service_contract_webmock 0.1.2 → 0.1.3

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: 11e94ef90e0b95a1415b6d0340d3ea1ed0c3e537
4
- data.tar.gz: ac56ce5e885f789f8bdabfd05251bdee55e6abf6
3
+ metadata.gz: c41852489b9c655a5cb871868b1ad5518f1a1bee
4
+ data.tar.gz: 61a8018f84f24c09664e0c93c477d47277087c17
5
5
  SHA512:
6
- metadata.gz: 668096ebf82b0320aad1163e53c3f36d532f09196d1430501b28b467989072379fff995e34365c35ed4ac17ec3a57323ff7246b1e827502c0f5a17b0d797c95a
7
- data.tar.gz: 54dc1afd7046a5cbbe41220a042aef83c854ca7ba71934f44c571cf24ea72d707c52a20ea855f87b003daec0c98cbf469295ee82530f0118d51978fa025a3d63
6
+ metadata.gz: 6ce21e58e6a0f1008653f5a3360e0b1cdd12adf6f63bd21d067714e4a16d6a6b70c7caecea36bc74bdf0207b5ea4a150bffd1899515f387d3e6a9659be12ec4a
7
+ data.tar.gz: 6a00398b4994acede267e39c89362a7b340beac5254ff3add79d9445a1f10d345a5b86982075d5dc49103ac3d4366f8cb12f223a42d6cd3e2c32f8eb2534d8de
@@ -28,6 +28,7 @@ module ServiceContractWebmock
28
28
  end
29
29
 
30
30
  def stub_show_request
31
+ return if contract.endpoint("show").nil?
31
32
  key = contract.endpoint("show").parameters.first.name
32
33
  stub_request(:get, "#{name}/\\d+\\.json").
33
34
  to_return do |request|
@@ -1,3 +1,3 @@
1
1
  module ServiceContractWebmock
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_contract_webmock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donald Plummer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-25 00:00:00.000000000 Z
11
+ date: 2016-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro