with_uuid 0.1.2 → 0.2.0

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: bb9642c8c8bb5bf5889dc9484c0474ddec605305
4
- data.tar.gz: 649122cc58a2d70e333f864f09eda84735a4d0ac
3
+ metadata.gz: 19c9e7e525da30d46366e98a8eda4ed29dc08288
4
+ data.tar.gz: ad4b419f33296bfc8f9b9cb390e7e878622e8b7f
5
5
  SHA512:
6
- metadata.gz: d5dd1ad095df47e61c6c688506a94ae59b8db614fdd2602d9762b29829e196a5664dddd73e80ce45b2825c283bd12df626bb19db24935f5e486e4a55f3951a35
7
- data.tar.gz: e1185f43899ed56948be28b333bac1ef0b44aece1e2e464b18b571e16fb26187afa088933f39a38384f6e28aa33713ee27950d99a00cc046953e56523657628f
6
+ metadata.gz: 6e9749c08513f138f634a2075a09d6f3a153e09695e750da74ce6c5e547d05a86ede189e3723ee729a1218d1b2c54600738bea978d999fdcbc3af36c49cdcd26
7
+ data.tar.gz: e71eb034ebe4875005e6d2d69e809ae4df821e5282bcd35f297f42dd1e5a83b30b145f242444c45ca4f1b4fd0947c01f798ed0f1ea31460350c00efc8ce2c2db
@@ -9,7 +9,8 @@ module WithUuid
9
9
 
10
10
  self.primary_key = :id
11
11
 
12
- before_validation :set_id
12
+ before_validation :set_id
13
+ before_create :set_id
13
14
 
14
15
  end
15
16
 
@@ -1,3 +1,3 @@
1
1
  module WithUuid
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_uuid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Harrelson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-17 00:00:00.000000000 Z
11
+ date: 2013-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler