tachyon 0.1.2 → 0.1.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: c276d0eee5e5db657eb940399291c313f4d2c484
4
- data.tar.gz: 315611a8944094f2180c5047ab361878a12747c7
3
+ metadata.gz: dd315d416254c5c079380c2ae0d1519133cf4fac
4
+ data.tar.gz: 3e847572348a3b88f6d3a1136764973b9eec9379
5
5
  SHA512:
6
- metadata.gz: ebe9de2b0f4fc089db590d122e0c1367a32937e1ed9cf7d7ebed3490020f883055825770487a48fd0ae8b53c39d063faac63adec8af940729c939825464de849
7
- data.tar.gz: 362fdeb31d82e0bf9d9fb533d07de05835ccad65a444dca07876cc5f2b99a22c5f4dc8637801dceae7e3998a8883d830b488c8f10c8c90fbfd5a948d01bddaa3
6
+ metadata.gz: 7829a117cf4a2efa4e69ed87d5b6a2af87d541a754a6f77cce341e47ba0aba2ae2de2b41f5ee051856edbe905e440fea8df4edc66109b1c96f16327dc3459494
7
+ data.tar.gz: e705045e869b5d93e7aedec43090a1bbcc054d63967842fbe13d4332652052c0862c36308f20a7272f5f06de0765495fd9aa8e5affd6cab36b3ce5936ec38654
@@ -14,8 +14,8 @@ class Tachyon
14
14
 
15
15
  def self.insert_record(klass, data)
16
16
  if klass.has_attribute?(:created_at) && klass.has_attribute?(:updated_at)
17
- defaults = { created_at: Time.now, updated_at: Time.now }
18
- data = defaults.merge(data)
17
+ defaults = { created_at: Time.now, updated_at: Time.now }.with_indifferent_access
18
+ data = defaults.merge(data.with_indifferent_access)
19
19
  end
20
20
 
21
21
  table = klass.arel_table
@@ -1,3 +1,3 @@
1
1
  class Tachyon
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tachyon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Gough