Thibault Jouan
d481398980
Fix typo in features and specs (exists -> exist)
2015-04-04 23:14:05 +00:00
Thibault Jouan
0ba12bfb90
Implement `yaml_write' action
2014-10-11 00:47:16 +00:00
Thibault Jouan
6276720137
Fix wording in specs
2014-10-09 20:15:40 +00:00
Thibault Jouan
3cc52bb1a8
Fail when `sh' misses arguments
2014-10-09 20:14:44 +00:00
Thibault Jouan
3f82b923b7
Fail when `mkdir' misses arguments
2014-10-09 20:12:44 +00:00
Thibault Jouan
fdfd5df26f
Fail when `file_replace_content' misses arguments
2014-10-09 20:06:15 +00:00
Thibault Jouan
58f3a7223e
Declare arguments explicitly in actions specs
2014-10-09 20:05:31 +00:00
Thibault Jouan
5549ebc676
Fail when `file_append' misses some arguments
2014-10-09 19:47:52 +00:00
Thibault Jouan
61c262a9f1
Fail when `file_write' misses some arguments
2014-10-09 19:11:16 +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
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
52dcfcedd3
Refactor specs
2014-09-27 12:20:24 +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
429b9f9ad2
Refactor mkdir action
2014-09-25 20:35:30 +00:00
Thibault Jouan
db91eb06cd
Forward standard error stream from remote execution
2014-07-24 17:38:13 +00:00
Thibault Jouan
94f6bbb4aa
Accept mode as argument in `mkdir' action
2014-04-25 00:33:27 +00:00
Thibault Jouan
5cb6296057
Accept mode as argument in `file_write' action
2014-04-25 00:33:24 +00:00
Thibault Jouan
3610427c74
Improve `file_append' when file doesn't exist
2014-04-23 20:39:19 +00:00
Thibault Jouan
bf25b05adb
Remote extra record separator from `sh' task action
2014-03-05 06:45:56 +00:00
Thibault Jouan
387f37f3f5
Implement `file_append' task action
2014-03-05 02:41:28 +00:00
Thibault Jouan
d22b023ff4
Implement `file_replace_content' task action
2014-03-05 02:02:52 +00:00
Thibault Jouan
fcba1a5c0b
Implement rspec TestEnvHelpers:
...
Allow use of our test environment, with a mocked remote and convenient
methods to write more concise expectations.
#env, builds and returns a memoized test environment (with mocked
remote)
#output, returns env output as a string
#remote_fs, returns env remote fs
#expect_execution, setup a remote command execution expectation
2014-03-04 23:24:05 +00:00
Thibault Jouan
4624a81100
Refactor actions specs with shared examples
2014-02-10 16:49:17 +00:00
Thibault Jouan
48a9da9365
Fix coding standards (module nesting) in specs
2014-02-08 17:59:33 +00:00
Thibault Jouan
7a75db3583
Remove extra empty line in specs
2014-01-23 16:49:32 +00:00
Thibault Jouan
7f5d1a4085
Implement `mkdir' task action
2014-01-21 15:50:07 +00:00
Thibault Jouan
f147ce7d65
Fix some indentation in FileWriter spec
2014-01-21 15:49:36 +00:00
Thibault Jouan
cdc3128727
Implement Action#remote (delegates to remote.fs)
2014-01-09 00:51:16 +00:00
Thibault Jouan
29c26ab961
Implement Action#remote (delegates to env.remote)
2014-01-09 00:45:26 +00:00
Thibault Jouan
e567c61e4e
Implement Action#output (delegates to env.output)
2014-01-09 00:43:01 +00:00
Thibault Jouan
d670d5dbdd
Replace env.output interface with an IO like object
2013-12-23 23:31:15 +00:00
Thibault Jouan
892a9862fc
Implement `file_write' action
2013-12-20 06:26:21 +00:00
Thibault Jouan
fe1eb5bc1a
Simplify actions specs
2013-12-19 20:37:49 +00:00
Thibault Jouan
856e78245f
Remove extra empty line in echo action spec
2013-08-22 00:21:43 +00:00
Thibault Jouan
a675c9c910
Implement `echo' task action
2013-08-14 23:43:36 +00:00
Thibault Jouan
ec44d01c36
Fix coding standards in shell command action spec
2013-08-10 14:46:31 +00:00
Thibault Jouan
f10914c7d7
Implement basic `sh' task action feature:
...
* Executes a command on the remote host;
* Forwards remote standard output.
2013-08-07 16:16:40 +00:00