Commit Graph
100 Commits
Author SHA1 Message Date
Thibault Jouan 770f4df51e Output all arguments in `echo' action 2014-10-09 19:44:07 +00:00
Thibault Jouan 61c262a9f1 Fail when `file_write' misses some arguments 2014-10-09 19:11:16 +00:00
Thibault Jouan ef7259fab2 Move #to_s spec from shared actions to Action 2014-10-09 19:10:51 +00:00
Thibault Jouan b6fb9bd811 Fix incorrect method names in actions specs 2014-10-09 14:40:58 +00:00
Thibault Jouan 3c4bcc1a4b Refactor actions with Action#setup 2014-10-09 01:06:42 +00:00
Thibault Jouan 336b43aaa7 Implement Action post-initialize hook 2014-10-09 00:20:52 +00:00
Thibault Jouan e7a46cecd1 Remove shared action specs on attr_reader 2014-10-08 23:43:08 +00:00
Thibault Jouan c4006416e4 Support `file_write' status attributes 2014-10-08 22:36:32 +00:00
Thibault Jouan a84b34b7ca Support `mkdir' status attributes 2014-10-08 22:36:27 +00:00
Thibault Jouan 6f2ff17b94 Bump minor version 2014-10-08 10:19:01 +00:00
Thibault Jouan 2e6625d444 Simplify Actions::Mkdir#apply 2014-10-08 08:44:25 +00:00
Thibault Jouan f7aa853a88 Bump version 2014-10-02 03:20:40 +00:00
Thibault Jouan 9bc5c2aeec Implement `composed_macro' recipe keyword 2014-10-02 03:20:12 +00:00
Thibault Jouan 295fac40e1 Bump version 2014-09-28 14:34:01 +00:00
Thibault Jouan 6cd294a0b8 Implement `template' task keyword 2014-09-28 14:33:35 +00:00
Thibault Jouan ff0287b545 Refactor Remote#execute 2014-09-27 13:12:02 +00:00
Thibault Jouan 52dcfcedd3 Refactor specs 2014-09-27 12:20:24 +00:00
Thibault Jouan 52e8338a7d Fix coding standards 2014-09-27 12:15:53 +00:00
Thibault Jouan 2543fdeb00 Implement `file_match' condition keyword 2014-09-27 12:14:16 +00:00
Thibault Jouan 1f84b484bd Bump version 2014-09-26 19:06:25 +00:00
Thibault Jouan 7a7c8379ff Improve CLI usage:
* Rewrite arguments parsing with OptionParser;
* Allow processing of multiple recipes.
2014-09-26 19:06:10 +00:00
Thibault Jouan 85ee79ab88 Indent logging output on nested tasks 2014-09-26 10:26:00 +00:00
Thibault Jouan 2d4e04b2e5 Fail when accessing registry with invalid key 2014-09-26 00:24:19 +00:00
Thibault Jouan ff30b7474c Bump version 2014-09-25 21:36:33 +00:00
Thibault Jouan 25935f8302 Improve mkdir so that permissions will be forced:
SFTP will honor umask on server side, and new directories won't get
expected permissions. We need to explicitly set permissions metadata for
new entries.
2014-09-25 21:35:06 +00:00
Thibault Jouan bd66ec25e4 Allow `mkdir' action to work recursively 2014-09-25 21:28:12 +00:00
Thibault Jouan 1e3cd696c8 Use a verifying double for remote FS in specs 2014-09-25 20:55:13 +00:00
Thibault Jouan 429b9f9ad2 Refactor mkdir action 2014-09-25 20:35:30 +00:00
Thibault Jouan b11d0b6950 Allow `target' recipe keyword to return target 2014-09-25 14:57:27 +00:00
Thibault Jouan eba719941d Bump version 2014-09-25 02:48:00 +00:00
Thibault Jouan 42e29cc1fe Implement `target' condition keyword 2014-09-25 01:34:44 +00:00
Thibault Jouan a7b2c4abea Implement `target' recipe keyword 2014-09-25 01:24:25 +00:00
Thibault Jouan 8fd387b41f Bump version 2014-09-25 00:28:44 +00:00
Thibault Jouan 3dc414f188 Declare macro in tasks 2014-09-25 00:27:46 +00:00
Thibault Jouan 8ce8c2f054 Refactor Recipe 2014-09-25 00:18:51 +00:00
Thibault Jouan da26619026 Bump version 2014-09-25 00:01:39 +00:00
Thibault Jouan 77582ef843 Allow access to registry from conditions 2014-09-25 00:01:03 +00:00
Thibault Jouan d335abce57 Bump version 2014-09-24 22:59:24 +00:00
Thibault Jouan 638f8320bc Implement nested tasks 2014-09-24 22:26:29 +00:00
Thibault Jouan ede9ea7111 Bump version 2014-09-22 22:04:53 +00:00
Thibault Jouan 52ecf4899b Implement Recipe{.,#}compose_macro 2014-09-22 22:04:46 +00:00
Thibault Jouan a60140a1d4 Fix coding standards 2014-09-22 21:37:37 +00:00
Thibault Jouan 0f5f64d5fc Bump version 2014-09-22 20:46:45 +00:00
Thibault Jouan 675871c3f5 Improve cucumber feature for negated test prefix 2014-09-22 20:20:37 +00:00
Thibault Jouan 6b6107895e Simplify Recipe#test_macro prototype 2014-09-22 19:43:43 +00:00
Thibault Jouan 3b28045340 Merge Condition::DSL into Condition 2014-09-22 19:43:43 +00:00
Thibault Jouan 2c335b2437 Merge Task::DSL into Task 2014-09-22 19:43:36 +00:00
Thibault Jouan 166dae681c Merge Recipe::DSL into Recipe 2014-09-22 19:43:30 +00:00
Thibault Jouan 4c0077d14d Bump version to 0.3.0 2014-09-22 13:14:23 +00:00
Thibault Jouan 42cb27f7ea Bump version 2014-09-22 13:13:26 +00:00
Thibault Jouan 52e183b277 Refactor CLI 2014-09-22 13:00:50 +00:00
Thibault Jouan ea6875e9ee Refactor CLI 2014-09-22 12:30:50 +00:00
Thibault Jouan 9cefb62f15 Bump version 2014-09-22 08:26:40 +00:00
Thibault Jouan 4a83e8c71a Implement `file_eq' condition keyword 2014-09-22 08:25:50 +00:00
Thibault Jouan 9e70e9aec4 Bump version 2014-09-21 22:21:53 +00:00
Thibault Jouan 245e131808 Implement Recipe::DSL.define_macro 2014-09-21 22:21:41 +00:00
Thibault Jouan a5a2997154 Bump version 2014-09-17 00:24:40 +00:00
Thibault Jouan 563bf9cccf Implement action arguments logging 2014-09-17 00:24:31 +00:00
Thibault Jouan 3cb195c9a0 Update rspec to last version 2014-09-16 21:15:25 +00:00
Thibault Jouan d11ae6c2d5 Bump version to 0.2.11 2014-07-24 17:39:30 +00:00
Thibault Jouan db91eb06cd Forward standard error stream from remote execution 2014-07-24 17:38:13 +00:00
Thibault Jouan a033e19583 Refactor features 2014-07-18 12:23:17 +00:00
Thibault Jouan 959ffca4e9 Bump version to 0.2.10 2014-07-01 20:06:08 +00:00
Thibault Jouan 8375890c1b Simplify Remote::Environment 2014-07-01 20:02:35 +00:00
Thibault Jouan 336003d2d7 Close SSH session before exiting 2014-07-01 19:54:33 +00:00
Thibault Jouan 9359f2e595 Bump version to 0.2.9 2014-07-01 18:17:22 +00:00
Thibault Jouan 1188b2008f Print a warning when in dry run mode 2014-07-01 18:15:55 +00:00
Thibault Jouan aac5f603e3 Bump version to 0.2.8 2014-07-01 17:32:33 +00:00
Thibault Jouan 44a5b20e14 Improve verbose output 2014-07-01 17:32:13 +00:00
Thibault Jouan 519178cb41 Fix wording in features 2014-07-01 17:15:53 +00:00
Thibault Jouan a866d2a42f Update TestEnvHelpers for rspec 2.99.x 2014-07-01 16:59:49 +00:00
Thibault Jouan 0abb5f7ecd Fix CLI usage 2014-06-27 17:40:14 +00:00
Thibault Jouan a778322aa1 Bump version to 0.2.7 2014-06-27 17:35:29 +00:00
Thibault Jouan e6ee3d5f77 Implement `-t' CLI option switch to specify target 2014-06-27 17:32:42 +00:00
Thibault Jouan e423a66d5c Fix coding standards in spec 2014-06-27 17:32:03 +00:00
Thibault Jouan adca6dd9b2 Fix cucumber-sshd fast mode usage 2014-06-05 15:24:24 +00:00
Thibault Jouan 9eed0a8ef8 Replace all raise ruby keyword with fail 2014-06-05 12:37:42 +00:00
Thibault Jouan 6a396ae8c0 Bump version to 0.2.6 2014-06-03 16:28:37 +00:00
Thibault Jouan 3c46c5bc61 Implement `test_macro' recipe keyword 2014-06-03 16:27:59 +00:00
Thibault Jouan 18b835b10e Improve test suite performance with aruba wrapper:
* Implement ArubaProgramWrapper in cucumber env;
* Tag a few features to not use the wrapper as aruba doesn't support yet
  interactive testing with in process mode, and reported program name
  will not be the correct one;
* Assign required standard streams to CLI and Env classes.
2014-05-30 23:14:00 +00:00
Thibault Jouan 55f18d30bf Increase default aruba timeout 2014-05-30 23:09:42 +00:00
Thibault Jouan 2ee3b5dbaf Improve CLI spec examples sort order 2014-05-30 23:09:42 +00:00
Thibault Jouan 17ad00a81a Refactor registry feature 2014-05-30 19:16:51 +00:00
Thibault Jouan 2fecb4bde4 Refactor and fix features 2014-05-30 19:16:51 +00:00
Thibault Jouan 237e6db740 Remove features checking ruby evaluation 2014-05-30 19:16:51 +00:00
Thibault Jouan bff6b85e8e Flatten features directory tree 2014-05-30 19:16:39 +00:00
Thibault Jouan d4d1657a4a Simplify CLI 2014-05-26 00:46:39 +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 0db2d90b72 Show command when remote execution fail 2014-05-25 15:51:33 +00:00
Thibault Jouan 8168e68a2d Freeze contants 2014-05-25 14:20:54 +00:00
Thibault Jouan 7ecd22c63b Dump patch version 2014-05-25 13:47:31 +00:00
Thibault Jouan f6c261f2a4 Bump patch version 2014-05-25 13:47:06 +00:00
Thibault Jouan 778816dd68 Merge branch 'cli-options'
Implement first CLI options switches and related features:

  * -v enable verbose mode
  * -n enable dry run mode
2014-05-25 13:40:27 +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 8291f1bcfd Implement verbose mode 2014-05-25 12:14:22 +00:00
Thibault Jouan 2b86bbf112 Implement Task#to_s 2014-05-25 12:12:09 +00:00
Thibault Jouan 7cffa34442 Attach our env to the worker from the CLI 2014-05-25 12:12:09 +00:00
Thibault Jouan 024ab7eba0 Integrate a logger attached to our env 2014-05-25 12:12:09 +00:00
Thibault Jouan 4e6e92bf36 Bump patch version 2014-04-25 00:33:27 +00:00