Jack Nagel 452e79cf68 Allow satisfied? to be specified in a block
Instead of overriding #satisfied?, Requirement subclasses can specify
the condition in a block:

  satisfy do
    some_condition?
  end

The contents of the block are evaluated in the context of the instance,
and so have access to instance variables and instance methods as before.
Additionally, it is wrapped in an ENV.with_build_environment block. This
can be disabled by passing :build_env => false to satisfy:

  satisfy :build_env => false do
    some_condition?
  end
2013-01-21 17:24:12 -06:00
..
2012-06-16 11:43:43 -05:00
2010-04-06 08:27:10 -07:00
2012-11-17 22:59:06 -06:00
2012-11-17 22:59:06 -06:00
2012-07-04 22:47:34 -05:00
2012-12-01 14:42:30 -06:00
2013-01-21 17:24:10 -06:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00
2013-01-17 22:29:20 -06:00
2012-10-23 17:10:12 -05:00
2012-08-30 00:10:02 -05:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00