mini-apivore 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mini_apivore/validation.rb +1 -1
- data/lib/mini_apivore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e71c1d5997296bb64e9167db20ee2dd3cdd3d06058666c072d57616c8b84f4f
|
4
|
+
data.tar.gz: b91e40d4044d7a2fc0d15661296c49ba224659ddaba81a2d759447f882a5c7c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 196b7bb59882c7e35edd141dd0e052db15b42d47e1180b1b72dca2f5dccc89b3a0ae1f58e9a2a0e1692431d53724b59a5a38abeaea3b190a5873a3012bccedf4
|
7
|
+
data.tar.gz: da791cd213295519c5851b818bdb3145f7e14fa94b832b1591ff84ec3279bd16de112f377c5ad13b3d4d33dc9b2a3bdff9fa79bdf9a543088ae2b1b1da145265
|
@@ -87,7 +87,7 @@ FAIL
|
|
87
87
|
key = param.first
|
88
88
|
dkey = data && ( data[key] || data[key.to_sym] )
|
89
89
|
if dkey
|
90
|
-
path = path.gsub "{#{key}}", dkey.to_param
|
90
|
+
path = path.gsub "{#{key}}", dkey.to_param.to_s
|
91
91
|
else
|
92
92
|
raise URI::InvalidURIError, "No substitution data found for {#{key}}"\
|
93
93
|
" to test the path #{path}.", caller
|
data/lib/mini_apivore/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini-apivore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alekseyl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-schema
|