gleborator 0.1.1.1 → 0.1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gleborator/railtie.rb +1 -1
- data/lib/gleborator/setup.rb +8 -0
- 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: cc282fef351346cd79ae182952dbb00375c96204
|
4
|
+
data.tar.gz: f941be218a96c0c6dbb435276987fe649e419faa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65c2657fef9b111f997d8dad01e68d6ccecff1cdcfb7ddf2c874a6a6fb13005175995ae4af6df510462fc40d0df4f8c71ca337622e813de4f4ea206807ae5835
|
7
|
+
data.tar.gz: 1b82177e9dd05280fd0f96d78f69502f7eb171de967efc434b8dd300e699d0b963104e681e7e4a07c520273105245260752c9b826d67f3721bfec2f460c575a6
|
data/lib/gleborator/railtie.rb
CHANGED
data/lib/gleborator/setup.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
module Gleborator
|
2
2
|
module Setup
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
3
5
|
def decorate
|
4
6
|
begin
|
5
7
|
decorator_class = "#{self.class.name}Decorator".constantize
|
@@ -8,5 +10,11 @@ module Gleborator
|
|
8
10
|
raise "Couldn't find decorator #{self.class.name}Decorator"
|
9
11
|
end
|
10
12
|
end
|
13
|
+
|
14
|
+
module ClassMethods
|
15
|
+
def decorate
|
16
|
+
raise 'asdfasdfadsf'
|
17
|
+
end
|
18
|
+
end
|
11
19
|
end
|
12
20
|
end
|
data/lib/gleborator/version.rb
CHANGED