metacrunch 3.0.2 → 3.0.3

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: 140352c3ee66626aef744b87358762a4130f6823
4
- data.tar.gz: f9bd336d44ac985f5806045b852e219236e1d038
3
+ metadata.gz: 308e14dd60e62be0591e1759b55e38e4441a3617
4
+ data.tar.gz: 58f330b33c6dc05f5997d88f908eb491e99b0929
5
5
  SHA512:
6
- metadata.gz: 494530523e869e12ef00bd709ad139e840b1fd580d39d587575b85b1acdf029a573c330776eb65085a99c6714f4fd01afdad8a37d25dfe7197568682d229cde2
7
- data.tar.gz: f09ba8cadfc1a10cb26b9a5125797da1dbb7dd9c24f4b11381183181b0916fa57a74abbf20713614f062e0026f7b0670f4cb3fa2a568e13b5b017f4d718a0c07
6
+ metadata.gz: dd28f9e417ec5a4a82a41bb7be0a32a5648ef9fbf7fa7434a978fb672edb112d5de3fa87b062631c2337c9d79c473215e247ed15fe708930a9ef81aaa25cc4a6
7
+ data.tar.gz: bbcaa2708128e6b5bb2fddfcf85060b8ca352579c2de0ae5e2fb7650e9af1f3313bea231b9a0309b5f19c9055ee80964a186411f86fe17731b3b1fae5147fd7a
@@ -40,7 +40,7 @@ module Metacrunch
40
40
 
41
41
  def upsert(data)
42
42
  if data
43
- rec = @dataset.where(id: data[@id_key])
43
+ rec = @dataset.where(@id_key => data[@id_key])
44
44
  if 1 != rec.update(data)
45
45
  insert(data)
46
46
  end
@@ -1,3 +1,3 @@
1
1
  module Metacrunch
2
- VERSION = "3.0.2"
2
+ VERSION = "3.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metacrunch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - René Sprotte