has_uuid 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,10 +6,15 @@ has_uuid
6
6
  It depends on the [uuidtools](http://uuidtools.rubyforge.org/) gem.
7
7
 
8
8
  This is a fork - full credits for the source code go to [has_uuid](http://github.com/norbert/has_uuid).
9
+
9
10
  What I changed:
11
+
10
12
  a) Made it rails 3.1 compatible.
13
+
11
14
  b) Bundler'ized it - you can now use and manage it as a gem, not as a rails plugin.
12
15
 
16
+ c) Added generate_uuid as a class method
17
+
13
18
  Installation
14
19
  ------------
15
20
 
@@ -51,6 +56,8 @@ Usage
51
56
  # check if the current UUID is valid
52
57
  @post.uuid_valid?
53
58
 
59
+ # Generate a UUID to use it later
60
+ Post.generate_uuid
54
61
 
55
62
  Credits
56
63
  -------
@@ -1,3 +1,3 @@
1
1
  module HasUuid
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: has_uuid
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Timo R\xC3\xB6\xC3\x9Fner"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-07 00:00:00 +02:00
13
+ date: 2011-08-11 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -92,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- hash: 450426991
95
+ hash: 1063335265
96
96
  segments:
97
97
  - 0
98
98
  version: "0"
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - ">="
103
103
  - !ruby/object:Gem::Version
104
- hash: 450426991
104
+ hash: 1063335265
105
105
  segments:
106
106
  - 0
107
107
  version: "0"