Thibault Jouan
e22d0039e1
Implement CLI debug option
2014-10-12 23:45:01 +00:00
Thibault Jouan
2d4e04b2e5
Fail when accessing registry with invalid key
2014-09-26 00:24:19 +00:00
Thibault Jouan
db91eb06cd
Forward standard error stream from remote execution
2014-07-24 17:38:13 +00:00
Thibault Jouan
336003d2d7
Close SSH session before exiting
2014-07-01 19:54:33 +00:00
Thibault Jouan
1188b2008f
Print a warning when in dry run mode
2014-07-01 18:15:55 +00:00
Thibault Jouan
39427c35c3
Refactor and simplify CLI and Env:
...
* Do not modify Env logger from CLI;
* Add verbose attribute to Env;
* Implement Env#verbose?;
* Remove Env#log_level and Env#log_level=;
* Refactor related specs, improve some wording.
2014-05-25 17:44:24 +00:00
Thibault Jouan
87a3ead082
Implement dry run mode
2014-05-25 13:38:47 +00:00
Thibault Jouan
332bb1a416
Improve verbose mode output formatting
2014-05-25 12:14:25 +00:00
Thibault Jouan
024ab7eba0
Integrate a logger attached to our env
2014-05-25 12:12:09 +00:00
Thibault Jouan
88036f0389
Allow Env constructor to accept a remote instance
2014-03-04 04:58:26 +00:00
Thibault Jouan
00d9b074cd
Fix Env spec, verify identity instead of equality
2014-02-14 18:33:58 +00:00
Thibault Jouan
154ee8d534
Implement a key/value registry at env level
2014-01-21 17:10:42 +00:00
Thibault Jouan
a871bb4009
Implement input handling in Env
2014-01-20 22:27:55 +00:00
Thibault Jouan
3360356e49
Simplify Env spec:
...
* Remove #ouput examples;
* Use described_class where useful.
2014-01-20 01:47:19 +00:00
Thibault Jouan
22613059f1
Change Env#output as read-only attribute
2014-01-09 01:22:43 +00:00
Thibault Jouan
d670d5dbdd
Replace env.output interface with an IO like object
2013-12-23 23:31:15 +00:00
Thibault Jouan
653a630645
Improve Env#target spec
2013-12-19 23:25:34 +00:00
Thibault Jouan
ef0307fbb5
Improve small details in specs:
...
* Fix coding standards;
* Simplify some expectations (eq instead of be matcher);
* Expect identity on block instead of calling;
* Change some before call as oneliners;
* Avoid shadowing variable names;
* Improve wording where needed.
2013-12-19 22:46:56 +00:00
Thibault Jouan
f5224c7569
Improve wording in Env#initialize specs
2013-12-19 21:00:11 +00:00
Thibault Jouan
53db841b2d
Remove Env#current_recipe attribute
2013-08-13 01:36:33 +00:00
Thibault Jouan
dff95b2c4b
Fix coding standards in Env spec
2013-08-07 01:22:12 +00:00
Thibault Jouan
d552c698de
Improve Env#output spec:
...
Test the receiving output object state instead of expecting that it
will receive a specific message.
2013-08-06 20:12:02 +00:00
Thibault Jouan
31b9e68026
Improve Env#initialize spec:
...
Test that #current_recipe returns exactly the assigned recipe
(argument given to the constructor).
2013-08-06 20:07:39 +00:00
Thibault Jouan
863155b61d
Improve wording in Env#initialize spec
2013-08-06 20:06:05 +00:00
Thibault Jouan
9875a4ae7b
Make remote available to env
2013-08-05 20:05:58 +00:00
Thibault Jouan
ad63164d60
Fix coding standards in Env spec
2013-08-05 14:32:23 +00:00
Thibault Jouan
0cccbc8dde
Add Env#output with $stdout as default
2013-08-04 21:29:13 +00:00
Thibault Jouan
8e455fc4d5
Improve Env constructor
2013-08-04 15:45:08 +00:00
Thibault Jouan
a3bba6d4da
Implement target recipe keyword feature
2013-08-03 23:42:47 +00:00
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
d199ba56fd
Add Env class
2013-07-30 14:47:56 +00:00