Thibault Jouan
5cb6296057
Accept mode as argument in `file_write' action
2014-04-25 00:33:24 +00:00
Thibault Jouan
f45d0b5a20
Modify Remote::FS interface:
...
* Accept SFTP session in FS constructor;
* Modify Remote to build the session required by FS;
* Change TestEnvHelpers#build_remote in order to provided a test double
as the remote FS.
2014-03-05 00:07:59 +00:00
Thibault Jouan
bdd09b6ea9
Regroup all require calls in lib source files
2014-02-08 01:24:34 +00:00
Thibault Jouan
05331d334d
Implement Remote::FS#file_read
2014-01-23 16:37:02 +00:00
Thibault Jouan
65ceb9e741
Refactor forwardable require calls
2014-01-22 21:33:05 +00:00
Thibault Jouan
7f5d1a4085
Implement `mkdir' task action
2014-01-21 15:50:07 +00:00
Thibault Jouan
9d7af04d28
Implement Remote::FS#dir?
2014-01-21 15:01:27 +00:00
Thibault Jouan
b6ec8ed468
Implement Remote::Environment#[]
2014-01-20 01:47:19 +00:00
Thibault Jouan
b1e182cc93
Add Remote::FS#remote attribute reader
2014-01-20 01:47:19 +00:00
Thibault Jouan
705774f8ef
Add Remote::Environment#variables attribute reader
2014-01-20 01:47:19 +00:00
Thibault Jouan
103b9d1230
Rename Remote::FS#{has_,}file?
2014-01-08 22:30:52 +00:00
Thibault Jouan
19b091a15c
Rename Remote::Environment#{has_,}key?
2014-01-08 22:28:23 +00:00
Thibault Jouan
012c776880
Simplify Remote::Environment with factory method:
...
* Implement .new_from_string factory class method;
* Rename private method #parse_from_string as class method
.string_to_hash;
* Remove argument kind detection logic in constructor.
2013-12-21 03:08:01 +00:00
Thibault Jouan
892a9862fc
Implement `file_write' action
2013-12-20 06:26:21 +00:00
Thibault Jouan
3492382968
Implement Remote::FS#has_file?
2013-09-26 00:28:40 +00:00
Thibault Jouan
99710b0df9
Implement Remote::FS#sftp
2013-09-26 00:28:40 +00:00
Thibault Jouan
d240df0281
Add Remote::FS class
2013-09-26 00:28:40 +00:00
Thibault Jouan
513ba4eedb
Implement basic Remote::Environment class:
...
Represent a registry for remote environment variables, will follow an
API similar to Hash except the constructor. Currently only #has_key? is
implemented.
2013-08-20 02:13:54 +00:00