webspicy 0.4.1 → 0.4.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: 9dcee93a1258d9b7ba405613c58b424e2209c207
4
- data.tar.gz: 37ee58b8b4326a66f62692125f3c71f19ebd1006
3
+ metadata.gz: 41838b2f4db0842af70e1449780812ed8e211551
4
+ data.tar.gz: 51d875cc4515fa99e8c5f643f8086ee6b8cbe989
5
5
  SHA512:
6
- metadata.gz: 30611ea8e71045b3c5fd8838dc637979d42811a967b4d810866c0b169a05391ef85541193ebb681f18a8f0bf559d5a4770f095b9408917f04cc95dac4b451611
7
- data.tar.gz: 318f3174664c216d85cf0ebfc5e59e78fd74ec3f0eafc83a4f2d49b35436deef56b4723098695125642399a060a6a7be5a275cf6f56eed42a13fe6b867e9e6ab
6
+ metadata.gz: 1f2d125ccb018ab4e4b524cf5798024474084ea7ff8b46f036b2418a300072bf21814cae586cbf65d7de3ce4fef3f8b7712d67783a8ab9260edec20fa74b7b99
7
+ data.tar.gz: 1d2bfa5d4009220a4b4cb1aabbdc1a17017c02281cd1c497c1b1a909867aca21ae29566ce3f8dc03d1a3d7d264497c37e2b03fc2071b6db9b9703d25f5be157f
@@ -72,7 +72,7 @@ module Webspicy
72
72
 
73
73
  def extract_path(target, path = NO_ARG)
74
74
  return target if path.nil? or path==NO_ARG or path.empty?
75
- return nil unless target.is_a?(Hash)
75
+ return nil unless target.respond_to?(:[])
76
76
  path.split('/').inject(target) do |memo,key|
77
77
  memo && (memo.is_a?(Array) ? memo[key.to_i] : memo[key.to_sym])
78
78
  end
@@ -2,7 +2,7 @@ module Webspicy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 1
5
+ TINY = 2
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webspicy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  requirements: []
180
180
  rubyforge_project:
181
- rubygems_version: 2.5.1
181
+ rubygems_version: 2.6.11
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Webspicy helps testing web services as software operation black boxes!