inat-get 0.9.0.10 → 0.9.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 375524ed9be224c8d856b640812d33d449cc0306c7e3ae6f1366b720aa8f5156
4
- data.tar.gz: d1917c1ef4b018535912c464ce491ac620068389f5c6f7107c24a0a5def577be
3
+ metadata.gz: 1728f650aec437e88f0d9ba844695b9ffd5d4e9410aa3fa72a7d2e855943b9d2
4
+ data.tar.gz: 22b960c8392bd3b786e4d067877bd10cf7f11594fd240697e53def459403968c
5
5
  SHA512:
6
- metadata.gz: b7800a7d299c507d2db2931e5cf7e617bdac8dac27b02b3461363b7487f4dfa5ed62f94fb15d4dd910a8bdeb01a470f1b1f6d345069cf618d8f7f151af414e17
7
- data.tar.gz: 4b66a9790d97d26197d412f042e253fa2ccd4ed9fddfe4c0251127eafc13b8b9cefa0edd87a254fb42980d6c46543cfbe80a190ed878147cafb96db487c46d4d
6
+ metadata.gz: edf53795eacbf7606eec2172e5129143530c7bb5f3aee34386fb37eda9fdce7472df15d8d01579542ae7b31edaf7d9b5aa3e47f4affd4a6b8c18c22b56d09949
7
+ data.tar.gz: 5bba1a958b59ae606cdce9a8c1914f0c9a85c29f5f440e673387f868278df17012f48d6fea4c0e653d7bd40ef986c9cc86dfd70a8c2a0cbaf5d20f30f359bef3
@@ -107,7 +107,7 @@ class INatGet::Data::DSL::Condition::AND < INatGet::Data::DSL::Condition
107
107
 
108
108
  # @private
109
109
  def simplify
110
- AND[ *@operands.map(&:simplify) ].normalize
110
+ AND[ *@operands.map { it.send :simplify } ].normalize
111
111
  end
112
112
 
113
113
  # @private
@@ -102,11 +102,11 @@ class INatGet::Data::DSL::Condition::NOT < INatGet::Data::DSL::Condition
102
102
  def push_not_down
103
103
  case @operand
104
104
  when AND
105
- OR[ *@operand.operands.map { |o| NOT[ o.push_not_down ] } ]
105
+ OR[ *@operand.operands.map { |o| NOT[ o.send :push_not_down ] } ]
106
106
  when OR
107
- AND[ *@operand.operands.map { |o| NOT[ o.push_not_down ] } ]
107
+ AND[ *@operand.operands.map { |o| NOT[ o.send :push_not_down ] } ]
108
108
  when NOT
109
- @operand.operand.push_not_down
109
+ @operand.operand.send :push_not_down
110
110
  else
111
111
  self
112
112
  end
data/lib/inat-get/info.rb CHANGED
@@ -5,7 +5,7 @@ module INatGet; end
5
5
  module INatGet::Info
6
6
 
7
7
  NAME = 'inat-get'
8
- VERSION = '0.9.0.10'
8
+ VERSION = '0.9.0.12'
9
9
  VERSION_ALIAS = 'Carduelis carduelis'
10
10
 
11
11
  AUTHOR = 'Ivan Shikhalev'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inat-get
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.10
4
+ version: 0.9.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Shikhalev