teamster 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/teamster/base_module.rb +3 -3
- data/lib/teamster.rb +3 -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: 58ff0d4b5486fe8ef3501955b44d7d194e959bda
|
4
|
+
data.tar.gz: 64b79fea2e60fa4e8be84aa140a37f2dd7597249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1126346b2484ac18fa2d1b0227127f95f8da2f09c52e20ab0383a0736056dbc55c7be8ef233b3d42cadec097fb54dc91a0495fd78aa2a954e8a7f353e1171d1
|
7
|
+
data.tar.gz: c3436c9579eeeb9334430bdf8790f9ed66f9a04c5a78a3650580f8389c98c002270feb9074984b367814d89298f61af4680838ab8ef33398637e99b2320e978c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/teamster/base_module.rb
CHANGED
@@ -6,11 +6,11 @@ module Teamster
|
|
6
6
|
Teamster::Core::App.use_module klass
|
7
7
|
end
|
8
8
|
|
9
|
-
def
|
9
|
+
def has_helpers(*mods)
|
10
10
|
if mods.size > 0
|
11
11
|
instance_eval "def has_helper?; true end"
|
12
|
-
instance_eval "def helper_module; #{
|
13
|
-
helpers mod
|
12
|
+
instance_eval "def helper_module; #{mods} end"
|
13
|
+
mods.each {|mod| helpers mod }
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
data/lib/teamster.rb
CHANGED