burtpath 1.1.1 → 1.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: 1f0fad9f7110671a046e39df22effa1b65ac8644
4
- data.tar.gz: 0855479643813db91c37eadc33bb43cd16789c65
3
+ metadata.gz: c1c5ec44c75c45dacf3f1cf4bb597406e6e61ce4
4
+ data.tar.gz: 867e0cbf57c8fadd48df62a57f453e5894f0972a
5
5
  SHA512:
6
- metadata.gz: d165fe70830ff20c9f453bbce8f6a1af849bd010fe5ce2421c9650b715f4db97a038ff8e1279549ea7b30db54e9f852d73eee1a3b73ccd6fb23840715fc5c9f3
7
- data.tar.gz: b2647b7e414c3a9f32b6444a2663feb802f0819769de492ddf83710f93a46a16f6a390b57c22546b814b1d337d5507d99e45fe0d268fc2ca5a7fa0a3a4336c86
6
+ metadata.gz: b4417fb5c1fe3c100faaf50386c8d87e2b9af0ceade687cf5b45b63384e065df1c9ef118270728670348b179ed02afcd7fddb2172034dbe9b22366a19778612c
7
+ data.tar.gz: 1b9e8459026ab64ccede552c80243295d28bec71effcbcab8ea796c642284243593d4f74d55c9a252af0492a499d95131489b56b163b9f6807fcd37f7dca0995
@@ -9,7 +9,7 @@ module JMESPath
9
9
 
10
10
  def visit(value)
11
11
  result = @left.visit(value)
12
- if result.nil? or result.empty?
12
+ if result == false || result.nil? || (result.respond_to?(:empty?) && result.empty?)
13
13
  @right.visit(value)
14
14
  else
15
15
  result
@@ -1,3 +1,3 @@
1
1
  module JMESPath
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: burtpath
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trevor Rowe
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-18 00:00:00.000000000 Z
12
+ date: 2016-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json