apivore 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWNkMmU5NWZlZTdhODdhOGM0ZjlmYmRkZWM3OGQ3YjllNjViZDVhNw==
4
+ ZTY5MzQ3OWRhNjY2OWE2ZTA2MDQyZTNmODFlY2UzYzJmYjcwNWNkNQ==
5
5
  data.tar.gz: !binary |-
6
- YzgzNTI1MWM1NDc2ZDMxYThkMzYyZGI1NjIwODFiZmFhMzg3ZjgxZg==
6
+ YjY3NmI1NjJkYTI4YWRmMDAwNzY5NjkyNDkxM2YzMmZiZTU1ZWE2Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGQ1Mjg1NWE4YmJhY2M4MjRkOWIxM2UyNzZhOTM5NmZjODkxNTdjM2FhNTA5
10
- MWQ2ZGVmNjZmYjViZTM5MDljZGI0OWM1ZGQ0OTY2ZGZmNjkxNDI5NDllYjdj
11
- OTU1NjI1M2YyMzg4MjUxMzNjOTM1MjFhODhjNWRkYjc3MmNhMDk=
9
+ YzNjZTE0OGUxZjE0NDRlMDdiYjViMzUwY2ViMWE1MDQ4YmNjMWZmNDhlODBk
10
+ ZDE5NjIzNDMzZjQyZWIzNDIwMWEyNjNhYWEwYjkxNWU5N2MzZDA3MmEyNmY3
11
+ ZjllNWU3ODdkZjhlMDE2ZjZiZDFjNTk2NGVkN2Q0NDVjNjMyZjU=
12
12
  data.tar.gz: !binary |-
13
- M2I5Y2FlM2YyZGYzNTMyMzQwMTQ3NDkxMzRiOTQ5ZTJmNmUxNzYzNTZhNTMx
14
- ZGE2MjJhNzUxODliYzQzMTAyNGI4OGRiOWYxODVmY2I4NjYwNGMzZDM4YTgx
15
- ZDBkZjQ2MDdkNmVkMTRlYzllOWY5ZGU0N2VmYzk0ZDdiYWMxNzQ=
13
+ NDMzZWJmMWM3MGUwMjQyN2UxZjlhZGExMDM1ZWUxYTg4ZmIxOGUyYzljODQ5
14
+ YjcyMmU3Nzk2NTY5ZDc3ZTE2ODcxOTUxN2NmMDc2ODhjZTRiNTAyZDdhZGM2
15
+ YWU5NjMxNzZjODQ5Y2Q4NDViZDQ4OWUyZjBkMzUzN2ExN2JlMzg=
@@ -25,7 +25,8 @@ module Apivore
25
25
  end
26
26
 
27
27
  def fragment(path, method, code)
28
- mappings[path][method.to_s][code.to_s]
28
+ path_fragment = mappings[path][method.to_s][code.to_s]
29
+ path_fragment.dup unless path_fragment.nil?
29
30
  end
30
31
 
31
32
  def remove_tested_end_point_response(path, method, code)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apivore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Horn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-12 00:00:00.000000000 Z
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema