mini-apivore 0.1.1 → 0.1.2
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96ca51cfdcfe73547adf84e157b26dc98d14a2c4
|
4
|
+
data.tar.gz: d9d7a366e88f2a00d143c60dac6165618d3a3ce1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49cde67f1ce73297b1c6b9df76a577e9287ffc947a90b6d91c66351e36181ccd3c9a326857959893f740fb6484a511869899aba46330239958b04d773b47e766
|
7
|
+
data.tar.gz: 166c89aa1af9224b89d9ae881718f9dae0258c108a82b4adfbd00401bc4e2b926a91aef4269c416f9298aff578f789d1a20a520eca205a2f085027e7fff81cb9
|
@@ -82,7 +82,7 @@ module MiniApivore
|
|
82
82
|
key = param.first
|
83
83
|
dkey = data && ( data[key] || data[key.to_sym] )
|
84
84
|
if dkey
|
85
|
-
path = path.gsub "{#{key}}", dkey.
|
85
|
+
path = path.gsub "{#{key}}", dkey.to_param
|
86
86
|
else
|
87
87
|
raise URI::InvalidURIError, "No substitution data found for {#{key}}"\
|
88
88
|
" 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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alekseyl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-schema
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.6.
|
123
|
+
rubygems_version: 2.6.11
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Minitest adaptation of an apivore gem
|