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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31fe5f08b7b2e18ee3b279819a41b410a85d25db
4
- data.tar.gz: 102e58c39d40010a4ef841af55836185ed3596ed
3
+ metadata.gz: 58ff0d4b5486fe8ef3501955b44d7d194e959bda
4
+ data.tar.gz: 64b79fea2e60fa4e8be84aa140a37f2dd7597249
5
5
  SHA512:
6
- metadata.gz: a057df2cc328a392bf078af65308647385a843289992368b2fe61d19d7a8383f8b325e813255a8536bd8e3788df801f33aadec39c70e5d6cc4206ee2d8dc9a95
7
- data.tar.gz: 81451c525899acdfc062030ad55b9b9eb25e8115c860903be5623db8764f9eb841d5c02488d3e39ac7ba14414fa99ec1f46f30fde33191f1784d7b713372f94a
6
+ metadata.gz: f1126346b2484ac18fa2d1b0227127f95f8da2f09c52e20ab0383a0736056dbc55c7be8ef233b3d42cadec097fb54dc91a0495fd78aa2a954e8a7f353e1171d1
7
+ data.tar.gz: c3436c9579eeeb9334430bdf8790f9ed66f9a04c5a78a3650580f8389c98c002270feb9074984b367814d89298f61af4680838ab8ef33398637e99b2320e978c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -6,11 +6,11 @@ module Teamster
6
6
  Teamster::Core::App.use_module klass
7
7
  end
8
8
 
9
- def has_helper(*mods)
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; #{mod} end"
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
@@ -80,7 +80,9 @@ module Teamster
80
80
  end
81
81
  teamster_module.helpers GeneralHelper
82
82
  if teamster_module.has_helper?
83
- helpers teamster_module.helper_module
83
+ teamster_module.helper_module.each do |mod|
84
+ helpers mod
85
+ end
84
86
  end
85
87
  use teamster_module
86
88
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teamster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nur Muhammad Bin Sirat