leap 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/leap.gemspec +1 -1
  3. data/lib/leap/subject.rb +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/leap.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{leap}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andy Rossmeissl", "Seamus Abshere"]
data/lib/leap/subject.rb CHANGED
@@ -7,7 +7,7 @@ module Leap
7
7
  def decide(goal, options = {}, &blk)
8
8
  decisions[goal] = ::Leap::Decision.new goal, options
9
9
  Blockenspiel.invoke(blk, decisions[goal])
10
- define_method goal do |considerations|
10
+ define_method goal do |*considerations|
11
11
  self.class.decisions[goal].make send(self.class.decisions[goal].signature_method), considerations
12
12
  end
13
13
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andy Rossmeissl