rake_factory 0.2.0 → 0.3.0

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
  SHA256:
3
- metadata.gz: b4cc6dab3125b027d5564b1c84f28c1c5332b2a8b44d290d9a74ed5855bdc94b
4
- data.tar.gz: 6d7f3f724bae833ab50637c93cb88d8f20b411329d28ac013d967635b65d30d3
3
+ metadata.gz: 57739795aa12c87fafd2662d8045267d84865a275d35593ef8225aec1f674d8c
4
+ data.tar.gz: e307aa6fee5d779f386ef345caba8bd71e90aeffcb1cdf562538df11c18d07cc
5
5
  SHA512:
6
- metadata.gz: 0d97d94b11a07d4a7b6c0f88cc079345d2a7e71ea9496476aac00298db3fab6d4118547eb22d8509705adbabdb52ee6bef0cd971bbcaaddee7efd85bd8daa271
7
- data.tar.gz: 6c7225f60a59df1644e7442670e1465189e745a7adce65cc0af3799e9d71756df27396401f8b0484c79c12eb79d33030f93c25197378fc02aa73ff92ae1ca46e
6
+ metadata.gz: 0ee43f8b276a8a7e90e8b91d6573d6183cea13338ed0d5c27878a9c86fd01952befac2c95b20ce40942c8b459b14a8e6a940d5f412f7cea82f8cde3aa7cab8a8
7
+ data.tar.gz: 77eedef7b498349a05e6d92e7a3c6ff0d4ba5a2a77c2c414fd570f7c6700185227fd727cd07f5e063f63f921b53daf38c3f905806e6424d131ce7209520a7e1b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_factory (0.2.0)
4
+ rake_factory (0.3.0)
5
5
  activesupport (~> 5.2)
6
6
  rake (~> 13.0)
7
7
 
data/TODO.md CHANGED
@@ -1,2 +1 @@
1
- * Allow lambdas instead of values for lazy evaluation for all parameters
2
1
  * Create TaskSet base class
@@ -55,7 +55,7 @@ module RakeFactory
55
55
 
56
56
  def invoke_actions(args)
57
57
  self.class.actions.each do |action|
58
- action.call(*[self, args].slice(0, action.arity))
58
+ self.instance_exec(*[self, args].slice(0, action.arity), &action)
59
59
  end
60
60
  end
61
61
 
@@ -1,3 +1,3 @@
1
1
  module RakeFactory
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson