runssh 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runssh (0.5.0)
4
+ runssh (0.5.1)
5
5
  highline (~> 1.6.1)
6
6
  trollop (~> 1.16.2)
7
7
 
data/README.rdoc CHANGED
@@ -147,6 +147,9 @@ and there's no going back ...)
147
147
  === 0.5.0
148
148
  * Added scp support.
149
149
 
150
+ === 0.5.1
151
+ * Added example to the documentation.
152
+
150
153
  == TODO for 1.0
151
154
  * Merge configurations.
152
155
 
data/lib/runsshlib/cli.rb CHANGED
@@ -230,6 +230,12 @@ The command:
230
230
  Is equivalent to:
231
231
  scp -r root@some.host:/path/to/remotedirectory /path/to/localdirectory
232
232
 
233
+ The next command is a bit tricky:
234
+ runssh scp some host -- localfile :
235
+ Is equivalent to:
236
+ scp localfile root@some.host:
237
+ (This will copy the file "localfile" to root's home directory on some.host).
238
+
233
239
  Options:
234
240
  EOH
235
241
  opt :login, "Override the login in the configuration.",
@@ -20,7 +20,7 @@ module RunSSHLib
20
20
  module Version
21
21
  MAJOR = 0
22
22
  MINOR = 5
23
- BUILD = 0
23
+ BUILD = 1
24
24
 
25
25
  STRING = [MAJOR, MINOR, BUILD].compact.join('.')
26
26
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runssh
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Haim Ashkenazi