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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d85e7dd24101374365786adc9d1ce7a9469f363d
4
- data.tar.gz: f8bcddf844b25c03a5ee142b456be5c4e7547bbe
3
+ metadata.gz: 96ca51cfdcfe73547adf84e157b26dc98d14a2c4
4
+ data.tar.gz: d9d7a366e88f2a00d143c60dac6165618d3a3ce1
5
5
  SHA512:
6
- metadata.gz: 18f366be86dce400f03e53cef246c58e3a65df998e2c72ca8b3fb603cdf01dcf8ff64a8f6e90db3567a1b76ed3e8c783b98bf6c247a7c05f72e2e8b1bcf212f3
7
- data.tar.gz: 6ce510195a00e5337cdda680983a0372d9cc11260ba7fac39fd2f1711149b1b8d8db82ff7e835a126a3993643b9da81a77713af2184e81e51409bd38bb032812
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.to_s
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
@@ -1,5 +1,5 @@
1
1
  module Mini
2
2
  module Apivore
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
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.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: 2017-11-03 00:00:00.000000000 Z
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.13
123
+ rubygems_version: 2.6.11
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Minitest adaptation of an apivore gem