Thibault Jouan
2acb57254f
Fix a few coding standards issues:
...
* Remove extra empty lines before private keyword usages.
specs:
* Fix one long line;
* use proc keyword instead of Proc.new.
2013-08-01 00:01:20 +00:00
Thibault Jouan
fa2f55e516
Improve cucumber readability in guard (quiet option)
2013-08-01 00:01:19 +00:00
Thibault Jouan
3792f60a5c
Improve source recipe keyword feature:
...
* Improve error reporting from sourced recipe;
* Extract cucumber feature from recipe one.
2013-08-01 00:01:19 +00:00
Thibault Jouan
b1c99dbeeb
Extract task DSL code and spec
2013-08-01 00:01:19 +00:00
Thibault Jouan
2939123574
Extract recipe DSL code and spec
2013-08-01 00:01:19 +00:00
Thibault Jouan
e12dd5c0e7
Implement recipe error reporting feature
2013-08-01 00:01:15 +00:00
Thibault Jouan
f6d9dd2c90
Change ConditionNotMetError superclass
2013-07-30 15:57:03 +00:00
Thibault Jouan
a1e92893ad
Refactor CLI#run! method
2013-07-30 15:19:34 +00:00
Thibault Jouan
71ef5fcd29
Fix missing specs for Recipe#evaluate
2013-07-30 14:48:07 +00:00
Thibault Jouan
10bfe17c56
Remove extra #each call in Recipe#evaluate
2013-07-30 14:48:07 +00:00
Thibault Jouan
d199ba56fd
Add Env class
2013-07-30 14:47:56 +00:00
Thibault Jouan
30e1930719
Implement Recipe::DSL#evaluate method:
...
Move recipe DSL evaluation in a dedicated #evaluate method, instead of
evaluating the code during the DSL instantiation.
2013-07-30 14:46:27 +00:00
Thibault Jouan
37e17d1030
Implement Recipe#filepath method:
...
Returns the filepath of the recipe when it is built from a file.
2013-07-30 14:46:27 +00:00
Thibault Jouan
0ac6217245
Improve Recipe::DSL#task spec readability
2013-07-30 14:46:01 +00:00
Thibault Jouan
c642584c95
Fix task DSL spec:
...
* Use explicit named subject;
* Fix description for Task::DSL#condition when condition is not met.
2013-07-30 14:36:33 +00:00
Thibault Jouan
080ef063c0
Improve recipe spec:
...
* Use explicit named subject for Recipe::DSL;
* Fix Recipe::DSL#source example description.
2013-07-30 14:35:52 +00:00
Thibault Jouan
ead09c2118
Test exact exit status in CLI spec
2013-07-28 23:25:58 +00:00
Thibault Jouan
d146566411
Implement tasks condition feature
2013-07-28 22:56:08 +00:00
Thibault Jouan
16134bf827
Fix incorrect class name in recipe spec
2013-07-28 22:03:01 +00:00
Thibault Jouan
00f6284a2d
Fix wrong method name in recipe spec
2013-07-28 21:54:37 +00:00
Thibault Jouan
baaa957e9e
Implement task evaluation feature
2013-07-28 19:18:53 +00:00
Thibault Jouan
c7295fb977
Implement source keyword feature for recipes
2013-07-28 18:38:00 +00:00
Thibault Jouan
65643e065e
Fix fixtures path in rspec fixtures helpers
2013-07-28 18:36:04 +00:00
Thibault Jouan
8e4f670fbf
Introduce Recipe::DSL to eval recipe DSL code
2013-07-28 18:08:16 +00:00
Thibault Jouan
e5d5fc0a41
Refactor recipe spec
2013-07-28 16:11:12 +00:00
Thibault Jouan
7b4b2872fc
Replace autoload with explicit require calls
2013-07-28 16:07:58 +00:00
Thibault Jouan
0921be9ab0
Implement recipe evaluation feature
2013-07-27 18:20:45 +00:00
Thibault Jouan
f0d90c96e9
Add rspec fixtures helpers
2013-07-27 18:20:44 +00:00
Thibault Jouan
a6cfd4d7cb
Implement CLI usage feature
2013-07-27 13:04:30 +00:00
Thibault Jouan
46f992fdb2
Add Guardfile
2013-07-27 13:04:23 +00:00
Thibault Jouan
c01389fa43
Add custom Gemfile evaling
2013-07-27 13:04:23 +00:00
Thibault Jouan
929e82cd55
Add monkey patch to fix cucumber docstrings:
...
Cucumber chomp the last \n from multiline strings (docstrings), this
monkey patch modify Cucumber::Ast::DocString constructor to add the
missing ending new line character and
Cucumber::Formatter::Pretty#doc_string to remove it from the output.
2013-07-27 13:04:23 +00:00
Thibault Jouan
9a726dc389
Add monkey patch to hack aruba steps (must, should)
2013-07-27 13:04:23 +00:00
Thibault Jouan
b380e02e30
Add test dependencies
2013-07-27 13:04:16 +00:00
Thibault Jouan
c31bcf71ad
Initial commit
2013-07-26 15:52:49 +00:00