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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26599781a03eee8ebef61000087ab80dc0b77b8ae07077fbd3b674e7d44c1407
4
- data.tar.gz: ff7c1e4a2d7eede149de87cec45c3729f42406d715f3a4142b0547bbfcee7897
3
+ metadata.gz: 0e71c1d5997296bb64e9167db20ee2dd3cdd3d06058666c072d57616c8b84f4f
4
+ data.tar.gz: b91e40d4044d7a2fc0d15661296c49ba224659ddaba81a2d759447f882a5c7c0
5
5
  SHA512:
6
- metadata.gz: 2b7e8a64415e9a4279c97411f1dea516869fc6d207803eb8c1e2a811daa1d276d923d5e4c3a4f271f4dd7f63ff85d31bf50056523b20ef5d07f5c470d5169d06
7
- data.tar.gz: 8d41837a1b7a1360d57b8fa469e673815b155eb61dce3ea5e65330e14e7b0f5de947e12962e97c4e3b03649ee0a48ed9b9d9985db61f4dd42a9c49b8a3f5761c
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
@@ -1,5 +1,5 @@
1
1
  module Mini
2
2
  module Apivore
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
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.7
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-01 00:00:00.000000000 Z
11
+ date: 2020-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema