unimatrix 1.1.0 → 1.2.0

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: 3edb95e96aca629a7cde421c8144aea581edc42f
4
- data.tar.gz: 2719fc69e32d00bbef0c56ce17f51e8cd8c1dde0
3
+ metadata.gz: 7c69b6d49a1f1d709d13ef83dd471d3ccd389aaa
4
+ data.tar.gz: de8c277396041573390de7ec81ae91d84ee35abc
5
5
  SHA512:
6
- metadata.gz: 5d958aabe4343d12a0aaf100450e004d74959fba8de67b8bf572f8e67ba501c057cfbce0192c59667ba82f3201d02076224bafee8a74d4a26d9a882d815100f7
7
- data.tar.gz: 2a850d57e7b32dbe4d82fc6fa0715a955809bcee9b009ef80c7e0fc0684f6bc57fef1dea97f6636137c3154d99f62aa18331201ad4db67d388de2613641fde1f
6
+ metadata.gz: 91210df0bdf6e6a3e321ee3b707c4998399d2cadae88af61ffad3cd12cea3a30916f75dc2f7aabc0c8c63e89d4ecfbaeb346afb57a5605100a1d2532d2d3814f
7
+ data.tar.gz: e846dcd2a0ced263491afde0a413559336950280bfb352f2d2186ad6f817773dd946394a6480f0cb34b5abece4996569b35eae31ae63d34fca6864dbdd756351
@@ -75,7 +75,7 @@ module Unimatrix
75
75
  response = _response
76
76
  end
77
77
  if response.success?
78
- result = result if result.present? && result.is_a?( Array )
78
+ result = result.first if result.present? && result.is_a?( Enumerable )
79
79
  if block_given?
80
80
  case block.arity
81
81
  when 0; yield
@@ -1,3 +1,3 @@
1
1
  module Unimatrix
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unimatrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jackson Souza