sohm 0.10.4 → 0.10.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sohm.rb +1 -1
  3. data/sohm.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3535b494d6d9ea2a3cde1c08eaf6259980363c8
4
- data.tar.gz: 2bb1ed28088e7fb7404d4a52ad23a13bf4212d37
3
+ metadata.gz: 7fd584441ba468f518f0f02d9ec6e442db6c2ec2
4
+ data.tar.gz: b0ceb5a3da67dd713cf21f9fc91c3c874f72f136
5
5
  SHA512:
6
- metadata.gz: f0810c10c0e83b755c37497de3d9d3fb0ad332594dde7bf13c89038fbeca14c29b023406980abd24ac6df8974178fa62df05f6ea5c1e1419f7921a2ba83eb61a
7
- data.tar.gz: 7eb424caa0eaa30bc9bd5e6dc9365faa0bd34b73243372cbb63bbc29b2360a21b4d68e855ceb648c722507ceabbfc83a29e2489e821d513ff952d85ff6aa6508
6
+ metadata.gz: f27d04588e206626cff87756bf423e1af58f7d0f78e31eae0d4e905f6838c7107bf19093aee77330748686ec186102cf951ef2209e71c5fdd92b62af057fe077
7
+ data.tar.gz: ff340b45096f1c219d94e845b5b977363e3902e342140ebe5eb7fb2bc47949e3b6e9d1e8841a86ecd1a2914552d5106395e459928a584b1ff9ec45196f28dcca
@@ -171,7 +171,7 @@ module Sohm
171
171
 
172
172
  [].tap do |result|
173
173
  data.each_with_index do |atts, idx|
174
- unless atts.empty?
174
+ if atts.is_a?(Array) && atts.size > 0
175
175
  result << model.new(Utils.dict(atts).update(:id => ids[idx]))
176
176
  end
177
177
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sohm"
3
- s.version = "0.10.4"
3
+ s.version = "0.10.5"
4
4
  s.summary = %{Slim ohm for twemproxy-like system}
5
5
  s.description = %Q{Slim ohm is a forked ohm that works with twemproxy-like redis system, only a limited set of features in ohm is supported}
6
6
  s.authors = ["Xuejie Xiao"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sohm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xuejie Xiao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2015-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redic