effective_slugs 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/acts_as_sluggable.rb +2 -6
- data/lib/effective_slugs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22ef1ecc2ccc4117be79389a9cebfd1fb913d2db
|
4
|
+
data.tar.gz: d7dd2719ae9d4939663f33a976ed854a5d519de4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c34cc9af3e85ca221ae08c6992cd094ff746bcf79e0aec84357d961bdf3f694a0f4c9a8e79f273cc40e97d232551f3934144ff6ebea887ea19a4ad0f9fe2ca8b
|
7
|
+
data.tar.gz: 7e701e9b040a7259718f0e63d59fe2c6ddc543bab266a5b9276d8517cd7571b1b6c85b1aef5e4724f3a350c0ca25256b43b924f26eba124bae23076ab1c2f75c
|
@@ -109,10 +109,8 @@ module ActsAsSluggable
|
|
109
109
|
end
|
110
110
|
|
111
111
|
module ClassMethods
|
112
|
-
|
113
|
-
|
114
|
-
super.tap { |relation| relation.extend(FinderMethods) }
|
115
|
-
end
|
112
|
+
def relation
|
113
|
+
super.tap { |relation| relation.extend(FinderMethods) }
|
116
114
|
end
|
117
115
|
end
|
118
116
|
|
@@ -135,7 +133,5 @@ module ActsAsSluggable
|
|
135
133
|
args.first.is_a?(Array) || args.first.to_i > 0
|
136
134
|
end
|
137
135
|
end
|
138
|
-
|
139
|
-
|
140
136
|
end
|
141
137
|
|