temping 3.0.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/temping.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65a3f1a397492b5391a9c15ee4d949e11fd0ff79
4
- data.tar.gz: b6a1c2a76f0895b153713b742fed3b5918ae40f2
3
+ metadata.gz: 3483110409e07ee15a4db1e47c575234e8edbf37
4
+ data.tar.gz: 409586ab2121140fbcb267dcb635a5a71e3d2107
5
5
  SHA512:
6
- metadata.gz: ff26020fb0e39f88a15a7fee63fe15b818d1ea0d37dc53ffcf7144deda0f9dd65f1306dd024df867a59d7dcdb5594d4166f60ca4d62bb1e6022766aacfabb627
7
- data.tar.gz: fa42c7de5b6ffcb3221ddd18e98af6763660df3e8ecdba2b60206cf011eebaff9177a15990016ec554fc09ec7f008a2c932e0a17d6bac5c64af7846d05284510
6
+ metadata.gz: 764cfd69d39dff72449c68714c969c73d197c4cac78ea1b1a8367371714bdf207c5b5b182a7df37488df76cb88f55f6959f4b74fc1e41053eeca8bbf6ce54633
7
+ data.tar.gz: de8e5bcb6a7813d321aa8ffa1e8b5f80ed2b4cec481a59ab15ee3f05748f6009f5db2626c6ba9f5c386a7369743db470377f5c280084e08487dfc3d909cabb89
@@ -29,6 +29,7 @@ class Temping
29
29
  Class.new(ActiveRecord::Base).tap do |klass|
30
30
  Object.const_set(@model_name, klass)
31
31
 
32
+ klass.primary_key = :id
32
33
  create_table
33
34
  add_methods
34
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temping
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Pignata