zen_slug 0.0.1 → 0.0.2alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zen_slug.rb +3 -1
- data/lib/zen_slug/version.rb +1 -1
- metadata +5 -8
data/lib/zen_slug.rb
CHANGED
@@ -21,8 +21,10 @@ module ZenSlug
|
|
21
21
|
validates :slug, :presence => true, :uniqueness => true
|
22
22
|
#, :format => {:with => /\A[^0-9].*/}
|
23
23
|
class_eval <<-EOV
|
24
|
-
include
|
24
|
+
include ZenSlug::Overrides
|
25
25
|
EOV
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
29
|
+
|
30
|
+
ActiveRecord::Base.send :include, ZenSlug
|
data/lib/zen_slug/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zen_slug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.0.
|
4
|
+
prerelease: 5
|
5
|
+
version: 0.0.2alpha
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Sergey Prikhodko
|
@@ -69,19 +69,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
69
|
requirements:
|
70
70
|
- - ! '>='
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
hash:
|
72
|
+
hash: 3638132751592736707
|
73
73
|
segments:
|
74
74
|
- 0
|
75
75
|
version: '0'
|
76
76
|
none: false
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - ! '
|
79
|
+
- - ! '>'
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
|
82
|
-
segments:
|
83
|
-
- 0
|
84
|
-
version: '0'
|
81
|
+
version: 1.3.1
|
85
82
|
none: false
|
86
83
|
requirements: []
|
87
84
|
rubyforge_project:
|