db_memoize 0.1.1 → 0.1.2

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: dfffa2764cf96130f8c5f970af1c4df4569a6863
4
- data.tar.gz: 8f56d6aa555a8de336ddaea74de8ba15a6cc028e
3
+ metadata.gz: eb29e0ed96c1c50d958a68b38522f9b9c89ab871
4
+ data.tar.gz: 1b6c941e80d5994947d73268e2a56702c1cdebf2
5
5
  SHA512:
6
- metadata.gz: a953847cb278bc0c4c323440820cb7747daab3867426bd6519269c4db4e309577c748145cc95044d30375a48ba87748d08a1a2fcf4b3266f983f7d406812883f
7
- data.tar.gz: 614e9b9adb32ee2f0e96e5cc9a628d65c84480747c9ae82ce2b8f901e3b920a52bd2e0debb14bd7a806009bac577b52c2d638d29d190166451d0d4608b20bebf
6
+ metadata.gz: 866010486f596c3698d1610830741832caeeae05d8a54f29a20c7fb15043bb1491038244b84638f3451400c67cb15b08f766ae35cba128e4811700e5896f248e
7
+ data.tar.gz: 0664db322d27c8ba957d8b708733d042b364e1cfce68bb056610866a5203f5b4dfae515cc1dd0584f2591bc419246c544275c1ed317ae11884ea398f778e4949
@@ -4,7 +4,7 @@ module DbMemoize
4
4
  def create_tables(migration)
5
5
  migration.create_table :memoized_values, id: false do |t|
6
6
  t.string :entity_table_name
7
- t.string :entity_id
7
+ t.integer :entity_id
8
8
  t.string :method_name
9
9
  t.string :arguments_hash
10
10
  t.string :custom_key
@@ -1,3 +1,3 @@
1
1
  module DbMemoize
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db_memoize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - johannes-kostas goetzinger