db_memoize 0.3.5 → 0.3.6

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
  SHA256:
3
- metadata.gz: 61406f3dffbfb8a0fd1f48bcdff7f73c87e5643a4518d6e60ec009194212dcce
4
- data.tar.gz: 7c33765cc8e76f271a12a70090d980766b1ef11dd973ed1d7af0e5e4dbb82af8
3
+ metadata.gz: a1659eec50470121a2d590b1abef910d5fa5c3888239e75c3249db78f68b87c8
4
+ data.tar.gz: 79f73004fe585ef2f71d39ba95a16f7b2a98e78a9fad4c8ca110e8db9e928819
5
5
  SHA512:
6
- metadata.gz: 437a2f54e4f04570cdbcf2a7cc84e83198512dad73f8afbfdedb8e3fde45ff08b356b35d4dffa3feeb2fa929b2f53d0e667dc1685f790b522231b35c4a82d6fd
7
- data.tar.gz: 28663c8215d91dfe8937bf8ce18501b5f5faac995ff3088e7d16887daa3c278404838bdcb1fe7e39933cb5692fc1a44c6f7a14e3825862747b40c3097c4a2b0e
6
+ metadata.gz: d8682fd173bd5fa2e89345a5df03b2fe833f2ce1dcd9b95596a137a08ad6c71b162f01b5707ce8750f44aecdf3128ec93bf3d44c9c24b8629882ffc49260414f
7
+ data.tar.gz: c5826ed544ce66c21588f210c72fc2825a60fb2c46c03617d46d5ff2d1f6235f8278aa865f99cbd5cb8881e9669a1c22788988dcfb1b02fffe1f0546eabba493
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.5
1
+ 0.3.6
@@ -4,10 +4,10 @@ module DbMemoize
4
4
  def create_tables(migration)
5
5
  migration.execute <<~SQL
6
6
  CREATE TABLE IF NOT EXISTS memoized_values (
7
- entity_table_name varchar,
8
- entity_id integer,
9
- method_name varchar,
10
- created_at timestamp without time zone
7
+ entity_table_name varchar NOT NULL,
8
+ entity_id integer NOT NULL,
9
+ method_name varchar NOT NULL,
10
+ created_at timestamp without time zone NOT NULL
11
11
  );
12
12
 
13
13
  -- entity_id/entity_table_name should have a better chance to be useful, since
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.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - johannes-kostas goetzinger