Thibault Jouan
05331d334d
Implement Remote::FS#file_read
2014-01-23 16:37:02 +00:00
Thibault Jouan
39b3796aa0
Fix Remote::FS#file_write spec:
...
* Fix file double name;
* Remove uneeded .as_null_object calls on doubles.
2014-01-23 16:36:04 +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
5662bb723e
Simplify Remote::Environment.new_from_string spec
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
22dd5fbdf9
Refactor Remote::Environment spec with described_class
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
188ca2e08d
Fix coding standards in Remote::FS specs
2013-12-20 00:11:05 +00:00
Thibault Jouan
921fc8d3f9
Refactor Remote::Environment spec
2013-12-19 22:49:20 +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
868c502531
Remove multibyte char from Remote::FS spec
2013-09-26 01:00:06 +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