vidibus-uuid 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +0 -5
- data/VERSION +1 -1
- data/config/{locale → locales}/en.yml +0 -0
- data/lib/vidibus-uuid.rb +6 -1
- data/spec/spec_helper.rb +1 -1
- data/vidibus-uuid.gemspec +3 -3
- metadata +5 -5
data/README.rdoc
CHANGED
|
@@ -63,8 +63,3 @@ To verfify that custom attributes are formatted as UUID, add the uuid validator
|
|
|
63
63
|
== Copyright
|
|
64
64
|
|
|
65
65
|
Copyright (c) 2010 Andre Pankratz. See LICENSE for details.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
== Thank you!
|
|
69
|
-
|
|
70
|
-
The development of this gem was sponsored by Käuferportal: http://www.kaeuferportal.de
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.6
|
|
File without changes
|
data/lib/vidibus-uuid.rb
CHANGED
|
@@ -2,5 +2,10 @@ require "vidibus/uuid"
|
|
|
2
2
|
require "vidibus/validate_uuid"
|
|
3
3
|
require "vidibus/uuid/mongoid"
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
if defined?(Rails)
|
|
6
|
+
module Vidibus::Uuid
|
|
7
|
+
class Engine < ::Rails::Engine; end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
|
|
6
11
|
ActiveModel::Validations.send(:include, Vidibus::ValidateUuid)
|
data/spec/spec_helper.rb
CHANGED
data/vidibus-uuid.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{vidibus-uuid}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Andre Pankratz"]
|
|
12
|
-
s.date = %q{2010-08-
|
|
12
|
+
s.date = %q{2010-08-11}
|
|
13
13
|
s.description = %q{Provides UUID generation for Mongoid models. It includes a validator for UUIDs.}
|
|
14
14
|
s.email = %q{andre@vidibus.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
|
23
23
|
"README.rdoc",
|
|
24
24
|
"Rakefile",
|
|
25
25
|
"VERSION",
|
|
26
|
-
"config/
|
|
26
|
+
"config/locales/en.yml",
|
|
27
27
|
"lib/vidibus-uuid.rb",
|
|
28
28
|
"lib/vidibus/uuid.rb",
|
|
29
29
|
"lib/vidibus/uuid/mongoid.rb",
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vidibus-uuid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.3.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Andre Pankratz
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-08-
|
|
18
|
+
date: 2010-08-11 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -80,7 +80,7 @@ files:
|
|
|
80
80
|
- README.rdoc
|
|
81
81
|
- Rakefile
|
|
82
82
|
- VERSION
|
|
83
|
-
- config/
|
|
83
|
+
- config/locales/en.yml
|
|
84
84
|
- lib/vidibus-uuid.rb
|
|
85
85
|
- lib/vidibus/uuid.rb
|
|
86
86
|
- lib/vidibus/uuid/mongoid.rb
|