gleborator 0.1.1.3 → 0.1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gleborator/setup.rb +2 -2
- data/lib/gleborator/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: 16d813aa868415177ac49e74a04a44ed23dd68a3
|
4
|
+
data.tar.gz: 75cbf1b520751ec4adc3ae89b2655e78c83b4d9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786afe9a897b8b00b8cd9604bad4f8620525c4885e1483c869b16bf00862b84d33d49391ad3683e6b3e24b38884d789c9d07caa9158805304795c380a427c230
|
7
|
+
data.tar.gz: 11cd82d2190c6d82cfa1713fb66ecf48ac9c76a5f9161dd1d735fc35babe39d089889034ea8023998a553935fba895cf26a2e83adbc356ad8a0579452c011b95
|
data/lib/gleborator/setup.rb
CHANGED
@@ -14,10 +14,10 @@ module Gleborator
|
|
14
14
|
module ClassMethods
|
15
15
|
def decorate
|
16
16
|
begin
|
17
|
-
decorator_class = "#{self.
|
17
|
+
decorator_class = "#{self.name}Decorator".constantize
|
18
18
|
decorate_class.decorate_collection(self)
|
19
19
|
rescue NameError => e
|
20
|
-
raise "Couldn't find decorator #{self.
|
20
|
+
raise "Couldn't find decorator #{self.name}Decorator"
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
data/lib/gleborator/version.rb
CHANGED