Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added new features to Changelog

  • Loading branch information...
commit 36d55d60eceb5832f6fde029e85f24e1a8d51069 1 parent 72734e1
@rymai rymai authored
Showing with 10 additions and 0 deletions.
  1. +7 −0 CHANGELOG.markdown
  2. +3 −0  lib/guard/dsl.rb
View
7 CHANGELOG.markdown
@@ -1,3 +1,10 @@
+### New features:
+
+- Pull request [#55](https://github.com/guard/guard/issues/55): It is now possible to pass `:guardfile` (a Guardfile path) or `:guardfile_contents` (the content of a Guardfile). Hence this allows to use Guard::Dsl.evaluate_guardfile in a programmatic manner. ([@anithri](https://github.com/anithri), improved by ([@rymai](https://github.com/rymai))
+
+
+## 0.3.4 - April 24, 2011
+
### Bugs fixes:
- Issue [#41](https://github.com/guard/guard/issues/41): Removed useless Bundler requirement. ([@thibaudgg](https://github.com/thibaudgg))
View
3  lib/guard/dsl.rb
@@ -2,6 +2,9 @@ module Guard
class Dsl
class << self
+ # TODO: Add documentation to explain that it is possible to pass `:guardfile` (a Guardfile path)
+ # or `:guardfile_contents` (the content of a Guardfile). Hence this allows to use Guard::Dsl.evaluate_guardfile
+ # in a programmatic manner
def evaluate_guardfile(options = {})
options.is_a?(Hash) or raise ArgumentError.new("evaluate_guardfile not passed a Hash!")
Please sign in to comment.
Something went wrong with that request. Please try again.