uniq_identifier 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/uniq_identifier/hook.rb +5 -1
- data/lib/uniq_identifier/version.rb +1 -1
- data/lib/uniq_identifier.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6f678939241bfd79c27206043c3b38e5648f62e
|
4
|
+
data.tar.gz: 72c0accd976c83691a8e334544248fb0e3ed62bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 295c8d6342cd8245aa181a6554bd2dc67423db8b47c063c9a3b9da3010de76be646665a770b0a521957ee1f80616a3c34ecea4d8a926fb9aa82468baa7e951ff
|
7
|
+
data.tar.gz: 99e228f69121f1869745e48420111f3cef260d7a8b74d33d3e0f0c42a49fa1cd224958d13d669b71d41ca2b4eaa409a60ab3deaf6256a138b415ae43a4959fd3
|
data/CHANGELOG.md
CHANGED
data/lib/uniq_identifier/hook.rb
CHANGED
@@ -8,7 +8,11 @@ module UniqIdentifier
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def set_uniq_identifier
|
11
|
-
self.
|
11
|
+
if self.respond_to?(:uuid)
|
12
|
+
unless self.uuid?
|
13
|
+
self.send(:uuid=, UniqIdentifier.configuration.generator.uuid)
|
14
|
+
end
|
15
|
+
end
|
12
16
|
end
|
13
17
|
end
|
14
18
|
end
|
data/lib/uniq_identifier.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uniq_identifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel AZEMAR
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
|
-
rubygems_version: 2.4.
|
88
|
+
rubygems_version: 2.4.6
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: Add an uniq identifier
|