net-sftp 1.1.0 → 1.1.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.
@@ -60,56 +60,56 @@
60
60
  <h1>Net::SFTP FAQ</h1>
61
61
  <div class="faq-list">
62
62
  <ul>
63
- <li><a href='#2254408'>What is Net::SFTP?</a></li>
63
+ <li><a href='#3145900'>What is Net::SFTP?</a></li>
64
64
  <li>How do I&#8230;
65
65
  <ul>
66
66
  <li>...connect to an <span class="caps">SFTP</span> server?
67
67
  <ul>
68
- <li><a href='#2254328'>I&#8217;d like to connect without first getting a Net::SSH connection&#8230;</a></li>
69
- <li><a href='#2254288'>I already have an open Net::SSH connection&#8230;</a></li>
68
+ <li><a href='#3145750'>I&#8217;d like to connect without first getting a Net::SSH connection&#8230;</a></li>
69
+ <li><a href='#3145670'>I already have an open Net::SSH connection&#8230;</a></li>
70
70
  </ul>
71
71
  </li>
72
72
  <li>...upload data?
73
73
  <ul>
74
- <li><a href='#2254198'>I want to upload an entire file on disk&#8230;</a></li>
75
- <li><a href='#2254138'>I want to upload bytes from a string or other object&#8230;</a></li>
74
+ <li><a href='#3145440'>I want to upload an entire file on disk&#8230;</a></li>
75
+ <li><a href='#3145310'>I want to upload bytes from a string or other object&#8230;</a></li>
76
76
  </ul>
77
77
  </li>
78
78
  <li>...download data?
79
79
  <ul>
80
- <li><a href='#2254048'>I want to download directly to a local file&#8230;</a></li>
81
- <li><a href='#2253998'>I want to download to a string in memory&#8230;</a></li>
82
- <li><a href='#2253958'>I want to be notified of the progress of the download&#8230;</a></li>
80
+ <li><a href='#3145130'>I want to download directly to a local file&#8230;</a></li>
81
+ <li><a href='#3142470'>I want to download to a string in memory&#8230;</a></li>
82
+ <li><a href='#3142380'>I want to be notified of the progress of the download&#8230;</a></li>
83
83
  </ul>
84
84
  </li>
85
85
  <li>...manage file permissions?
86
86
  <ul>
87
- <li><a href='#2253878'>I want to query a file&#8217;s permissions&#8230;</a></li>
88
- <li><a href='#2253828'>I want to change a file&#8217;s permissions&#8230;</a></li>
89
- <li><a href='#2253788'>I already have an open handle for the remote file&#8230;</a></li>
87
+ <li><a href='#3142190'>I want to query a file&#8217;s permissions&#8230;</a></li>
88
+ <li><a href='#3142110'>I want to change a file&#8217;s permissions&#8230;</a></li>
89
+ <li><a href='#3142040'>I already have an open handle for the remote file&#8230;</a></li>
90
90
  </ul>
91
91
  </li>
92
92
  <li>...manage directories?
93
93
  <ul>
94
- <li><a href='#2253688'>I want to query the contents of a directory&#8230;</a></li>
95
- <li><a href='#2253648'>I want to create a directory&#8230;</a></li>
96
- <li><a href='#2253608'>I want to remove a directory&#8230;</a></li>
94
+ <li><a href='#3141850'>I want to query the contents of a directory&#8230;</a></li>
95
+ <li><a href='#3141770'>I want to create a directory&#8230;</a></li>
96
+ <li><a href='#3141690'>I want to remove a directory&#8230;</a></li>
97
97
  </ul>
98
98
  </li>
99
- <li><a href='#2253538'>...delete a file?</a></li>
100
- <li><a href='#2253498'>...rename a file?</a></li>
99
+ <li><a href='#3141560'>...delete a file?</a></li>
100
+ <li><a href='#3141480'>...rename a file?</a></li>
101
101
  </ul>
102
102
  </li>
103
103
  </ul>
104
104
  </div>
105
- <a name='2254408'></a>
105
+ <a name='3145900'></a>
106
106
  <div class='faq-title'>What is Net::SFTP?</div>
107
107
  <div class='faq-answer'><p>Net::SFTP is a pure-Ruby implementation of the <span class="caps">SFTP</span> protocol. That&#8217;s
108
108
  &#8220;SFTP&#8221; as in &#8220;Secure File Transfer Protocol&#8221;, as defined as an adjuct to the
109
109
  <span class="caps">SSH</span> specification. <em>Not</em> &#8220;SFTP&#8221; as in &#8220;Secure <span class="caps">FTP</span>&#8221; (a <em>completely</em> different
110
110
  beast). Nor is it an implementation of the &#8220;Simple File Transfer Protocol&#8221;
111
111
  (which is in no way secure).</p></div>
112
- <a name='2254328'></a>
112
+ <a name='3145750'></a>
113
113
  <div class='faq-title'>How do I&#8230; ...connect to an <span class="caps">SFTP</span> server? I&#8217;d like to connect without first getting a Net::SSH connection&#8230;</div>
114
114
  <div class='faq-answer'><p>Something like this:</p>
115
115
 
@@ -124,7 +124,7 @@ beast). Nor is it an implementation of the &#8220;Simple File Transfer Protocol&
124
124
 
125
125
  <p><code>Net::SFTP.start</code> accepts the same parameters as <code>Net::SSH.start</code>,
126
126
  so I&#8217;ll direct you to that documentation for all the particulars.</p></div>
127
- <a name='2254288'></a>
127
+ <a name='3145670'></a>
128
128
  <div class='faq-title'>How do I&#8230; ...connect to an <span class="caps">SFTP</span> server? I already have an open Net::SSH connection&#8230;</div>
129
129
  <div class='faq-answer'><p>You can piggy-back an <span class="caps">SFTP</span> connection on an existing Net::SSH
130
130
  connection, which can be useful if you&#8217;ve already got an <span class="caps">SSH</span>
@@ -143,7 +143,7 @@ connection that you&#8217;re using for port forwarding or whatever.</p>
143
143
  ...
144
144
  end
145
145
  </pre></code></div>
146
- <a name='2254198'></a>
146
+ <a name='3145440'></a>
147
147
  <div class='faq-title'>How do I&#8230; ...upload data? I want to upload an entire file on disk&#8230;</div>
148
148
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
149
149
 
@@ -151,7 +151,7 @@ connection that you&#8217;re using for port forwarding or whatever.</p>
151
151
  <code><pre>
152
152
  sftp.put_file "/path/to/local.file", "/path/to/remote.file"
153
153
  </pre></code></div>
154
- <a name='2254138'></a>
154
+ <a name='3145310'></a>
155
155
  <div class='faq-title'>How do I&#8230; ...upload data? I want to upload bytes from a string or other object&#8230;</div>
156
156
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection, and your data is stored
157
157
  in a string named <code>data</code>:</p>
@@ -174,7 +174,7 @@ without, but be sure to call <code>close_handle</code> when you&#8217;re done:</
174
174
  puts result.code # the result of the operation
175
175
  sftp.close_handle(handle)
176
176
  </pre></code></div>
177
- <a name='2254048'></a>
177
+ <a name='3145130'></a>
178
178
  <div class='faq-title'>How do I&#8230; ...download data? I want to download directly to a local file&#8230;</div>
179
179
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
180
180
 
@@ -182,7 +182,7 @@ without, but be sure to call <code>close_handle</code> when you&#8217;re done:</
182
182
  <code><pre>
183
183
  sftp.get_file "/path/to/remote.file", "/path/to/local.file"
184
184
  </pre></code></div>
185
- <a name='2253998'></a>
185
+ <a name='3142470'></a>
186
186
  <div class='faq-title'>How do I&#8230; ...download data? I want to download to a string in memory&#8230;</div>
187
187
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
188
188
 
@@ -193,7 +193,7 @@ without, but be sure to call <code>close_handle</code> when you&#8217;re done:</
193
193
  data = sftp.read(handle)
194
194
  end
195
195
  </pre></code></div>
196
- <a name='2253958'></a>
196
+ <a name='3142380'></a>
197
197
  <div class='faq-title'>How do I&#8230; ...download data? I want to be notified of the progress of the download&#8230;</div>
198
198
  <div class='faq-answer'><p>You can specify both a &#8220;chunk size&#8221; and a &#8220;progress callback&#8221;. The
199
199
  callback will be invoked for every &#8220;chunk size&#8221; bytes that are
@@ -212,7 +212,7 @@ received:</p>
212
212
  end
213
213
  end
214
214
  </pre></code></div>
215
- <a name='2253878'></a>
215
+ <a name='3142190'></a>
216
216
  <div class='faq-title'>How do I&#8230; ...manage file permissions? I want to query a file&#8217;s permissions&#8230;</div>
217
217
  <div class='faq-answer'><p>File permissions are one of the <code>stat</code> attributes of files and
218
218
  directories:</p>
@@ -221,7 +221,7 @@ directories:</p>
221
221
  <code><pre>
222
222
  p sftp.stat("/path/to/remote.file").permissions
223
223
  </pre></code></div>
224
- <a name='2253828'></a>
224
+ <a name='3142110'></a>
225
225
  <div class='faq-title'>How do I&#8230; ...manage file permissions? I want to change a file&#8217;s permissions&#8230;</div>
226
226
  <div class='faq-answer'><p>Just use <code>setstat</code> to change the permissions of an existing file:</p>
227
227
 
@@ -229,7 +229,7 @@ directories:</p>
229
229
  <code><pre>
230
230
  sftp.setstat("/path/to/remote.file", :permissions =&gt; 0644)
231
231
  </pre></code></div>
232
- <a name='2253788'></a>
232
+ <a name='3142040'></a>
233
233
  <div class='faq-title'>How do I&#8230; ...manage file permissions? I already have an open handle for the remote file&#8230;</div>
234
234
  <div class='faq-answer'><p>If you have a handle for the remote file, you can use <code>fstat</code> and
235
235
  <code>fsetstat</code> to query and set the permissions:</p>
@@ -241,7 +241,7 @@ directories:</p>
241
241
  sftp.fsetstat(handle, :permissions =&gt; permissions | 0444)
242
242
  end
243
243
  </pre></code></div>
244
- <a name='2253688'></a>
244
+ <a name='3141850'></a>
245
245
  <div class='faq-title'>How do I&#8230; ...manage directories? I want to query the contents of a directory&#8230;</div>
246
246
  <div class='faq-answer'><p>You query the contents of a directory by calling <code>opendir</code> to obtain
247
247
  a handle to the directory, and then using <code>readdir</code> on the handle to
@@ -259,7 +259,7 @@ you&#8217;re done:</p>
259
259
  end
260
260
  sftp.close_handle(handle)
261
261
  </pre></code></div>
262
- <a name='2253648'></a>
262
+ <a name='3141770'></a>
263
263
  <div class='faq-title'>How do I&#8230; ...manage directories? I want to create a directory&#8230;</div>
264
264
  <div class='faq-answer'><p>Use <code>mkdir</code>:</p>
265
265
 
@@ -267,7 +267,7 @@ you&#8217;re done:</p>
267
267
  <code><pre>
268
268
  sftp.mkdir("/path/to/remote/dir", :permissions =&gt; 0500)
269
269
  </pre></code></div>
270
- <a name='2253608'></a>
270
+ <a name='3141690'></a>
271
271
  <div class='faq-title'>How do I&#8230; ...manage directories? I want to remove a directory&#8230;</div>
272
272
  <div class='faq-answer'><p>Use <code>rmdir</code>:</p>
273
273
 
@@ -275,7 +275,7 @@ you&#8217;re done:</p>
275
275
  <code><pre>
276
276
  sftp.rmdir("/path/to/remote/dir")
277
277
  </pre></code></div>
278
- <a name='2253538'></a>
278
+ <a name='3141560'></a>
279
279
  <div class='faq-title'>How do I&#8230; ...delete a file?</div>
280
280
  <div class='faq-answer'><p>Use <code>remove</code>:</p>
281
281
 
@@ -283,7 +283,7 @@ you&#8217;re done:</p>
283
283
  <code><pre>
284
284
  sftp.remove("/path/to/remote.file")
285
285
  </pre></code></div>
286
- <a name='2253498'></a>
286
+ <a name='3141480'></a>
287
287
  <div class='faq-title'>How do I&#8230; ...rename a file?</div>
288
288
  <div class='faq-answer'><p>Use <code>rename</code>:</p>
289
289
 
@@ -14,6 +14,12 @@
14
14
  # =============================================================================
15
15
  #++
16
16
 
17
+ begin
18
+ require 'rubygems'
19
+ gem "net-ssh", "< 1.99.0"
20
+ rescue LoadError
21
+ end
22
+
17
23
  require 'net/ssh'
18
24
  require 'net/sftp/session'
19
25
 
@@ -250,6 +250,7 @@ module Net ; module SFTP
250
250
  # superclass' implementation of #method_missing.
251
251
  def method_missing( sym, *args, &block )
252
252
  if @operations.has_key?( sym )
253
+ connect
253
254
  @operations[ sym ].execute( *args, &block )
254
255
  else
255
256
  super
@@ -18,7 +18,7 @@ module Net ; module SFTP ; module Version
18
18
 
19
19
  MAJOR = 1
20
20
  MINOR = 1
21
- TINY = 0
21
+ TINY = 1
22
22
 
23
23
  STRING = [MAJOR,MINOR,TINY].join('.')
24
24
 
@@ -14,6 +14,8 @@
14
14
  # =============================================================================
15
15
  #++
16
16
 
17
+ gem "flexmock", "< 0.1"
18
+
17
19
  $:.unshift "../lib"
18
20
 
19
21
  $run_integration_tests = ARGV.include?( "-i" )
metadata CHANGED
@@ -1,154 +1,168 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
3
- specification_version: 1
4
2
  name: net-sftp
5
3
  version: !ruby/object:Gem::Version
6
- version: 1.1.0
7
- date: 2006-01-02 00:00:00 -07:00
8
- summary: Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.
9
- require_paths:
10
- - lib
11
- email: jamis@jamisbuck.org
12
- homepage: http://net-ssh.rubyforge.org/sftp
13
- rubyforge_project:
14
- description:
4
+ version: 1.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Jamis Buck
15
8
  autorequire: net/sftp
16
- default_executable:
17
9
  bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-02-25 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: net-ssh
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.0
23
+ - - <
24
+ - !ruby/object:Gem::Version
25
+ version: 1.99.0
26
+ version:
27
+ description:
28
+ email: jamis@jamisbuck.org
29
+ executables: []
30
+
31
+ extensions: []
32
+
33
+ extra_rdoc_files: []
34
+
35
+ files:
36
+ - doc/faq
37
+ - doc/faq/faq.html
38
+ - doc/faq/faq.rb
39
+ - doc/faq/faq.yml
40
+ - doc/LICENSE-BSD
41
+ - doc/LICENSE-GPL
42
+ - doc/LICENSE-RUBY
43
+ - lib/net
44
+ - lib/net/sftp
45
+ - lib/net/sftp/errors.rb
46
+ - lib/net/sftp/operations
47
+ - lib/net/sftp/operations/abstract.rb
48
+ - lib/net/sftp/operations/close.rb
49
+ - lib/net/sftp/operations/errors.rb
50
+ - lib/net/sftp/operations/fsetstat.rb
51
+ - lib/net/sftp/operations/fstat.rb
52
+ - lib/net/sftp/operations/lstat.rb
53
+ - lib/net/sftp/operations/mkdir.rb
54
+ - lib/net/sftp/operations/open.rb
55
+ - lib/net/sftp/operations/opendir.rb
56
+ - lib/net/sftp/operations/read.rb
57
+ - lib/net/sftp/operations/readdir.rb
58
+ - lib/net/sftp/operations/realpath.rb
59
+ - lib/net/sftp/operations/remove.rb
60
+ - lib/net/sftp/operations/rename.rb
61
+ - lib/net/sftp/operations/rmdir.rb
62
+ - lib/net/sftp/operations/services.rb
63
+ - lib/net/sftp/operations/setstat.rb
64
+ - lib/net/sftp/operations/stat.rb
65
+ - lib/net/sftp/operations/write.rb
66
+ - lib/net/sftp/protocol
67
+ - lib/net/sftp/protocol/01
68
+ - lib/net/sftp/protocol/01/attributes.rb
69
+ - lib/net/sftp/protocol/01/impl.rb
70
+ - lib/net/sftp/protocol/01/packet-assistant.rb
71
+ - lib/net/sftp/protocol/01/services.rb
72
+ - lib/net/sftp/protocol/02
73
+ - lib/net/sftp/protocol/02/impl.rb
74
+ - lib/net/sftp/protocol/02/packet-assistant.rb
75
+ - lib/net/sftp/protocol/02/services.rb
76
+ - lib/net/sftp/protocol/03
77
+ - lib/net/sftp/protocol/03/impl.rb
78
+ - lib/net/sftp/protocol/03/packet-assistant.rb
79
+ - lib/net/sftp/protocol/03/services.rb
80
+ - lib/net/sftp/protocol/04
81
+ - lib/net/sftp/protocol/04/attributes.rb
82
+ - lib/net/sftp/protocol/04/impl.rb
83
+ - lib/net/sftp/protocol/04/packet-assistant.rb
84
+ - lib/net/sftp/protocol/04/services.rb
85
+ - lib/net/sftp/protocol/05
86
+ - lib/net/sftp/protocol/05/impl.rb
87
+ - lib/net/sftp/protocol/05/packet-assistant.rb
88
+ - lib/net/sftp/protocol/05/services.rb
89
+ - lib/net/sftp/protocol/constants.rb
90
+ - lib/net/sftp/protocol/driver.rb
91
+ - lib/net/sftp/protocol/packet-assistant.rb
92
+ - lib/net/sftp/protocol/services.rb
93
+ - lib/net/sftp/session.rb
94
+ - lib/net/sftp/version.rb
95
+ - lib/net/sftp.rb
96
+ - lib/uri
97
+ - lib/uri/open-sftp.rb
98
+ - lib/uri/sftp.rb
99
+ - examples/asynchronous.rb
100
+ - examples/get-put.rb
101
+ - examples/sftp-open-uri.rb
102
+ - examples/ssh-service.rb
103
+ - examples/synchronous.rb
104
+ - test/ALL-TESTS.rb
105
+ - test/operations
106
+ - test/operations/tc_abstract.rb
107
+ - test/operations/tc_close.rb
108
+ - test/operations/tc_fsetstat.rb
109
+ - test/operations/tc_fstat.rb
110
+ - test/operations/tc_lstat.rb
111
+ - test/operations/tc_mkdir.rb
112
+ - test/operations/tc_open.rb
113
+ - test/operations/tc_opendir.rb
114
+ - test/operations/tc_read.rb
115
+ - test/operations/tc_readdir.rb
116
+ - test/operations/tc_realpath.rb
117
+ - test/operations/tc_remove.rb
118
+ - test/operations/tc_rmdir.rb
119
+ - test/operations/tc_setstat.rb
120
+ - test/operations/tc_stat.rb
121
+ - test/operations/tc_write.rb
122
+ - test/protocol
123
+ - test/protocol/01
124
+ - test/protocol/01/tc_attributes.rb
125
+ - test/protocol/01/tc_impl.rb
126
+ - test/protocol/01/tc_packet_assistant.rb
127
+ - test/protocol/02
128
+ - test/protocol/02/tc_impl.rb
129
+ - test/protocol/02/tc_packet_assistant.rb
130
+ - test/protocol/03
131
+ - test/protocol/03/tc_impl.rb
132
+ - test/protocol/03/tc_packet_assistant.rb
133
+ - test/protocol/04
134
+ - test/protocol/04/tc_attributes.rb
135
+ - test/protocol/04/tc_impl.rb
136
+ - test/protocol/04/tc_packet_assistant.rb
137
+ - test/protocol/05
138
+ - test/protocol/05/tc_impl.rb
139
+ - test/protocol/05/tc_packet_assistant.rb
140
+ - test/protocol/tc_driver.rb
18
141
  has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
142
+ homepage: http://net-ssh.rubyforge.org/sftp
143
+ post_install_message:
144
+ rdoc_options: []
145
+
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
20
149
  requirements:
21
- -
22
- - ">"
23
- - !ruby/object:Gem::Version
24
- version: 0.0.0
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: "0"
25
153
  version:
26
- platform: ruby
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: "0"
159
+ version:
160
+ requirements: []
161
+
162
+ rubyforge_project:
163
+ rubygems_version: 1.0.0
27
164
  signing_key:
28
- cert_chain:
29
- authors:
30
- - Jamis Buck
31
- files:
32
- - doc/faq
33
- - doc/LICENSE-BSD
34
- - doc/LICENSE-GPL
35
- - doc/LICENSE-RUBY
36
- - doc/faq/faq.html
37
- - doc/faq/faq.rb
38
- - doc/faq/faq.yml
39
- - lib/net
40
- - lib/uri
41
- - lib/net/sftp
42
- - lib/net/sftp.rb
43
- - lib/net/sftp/errors.rb
44
- - lib/net/sftp/operations
45
- - lib/net/sftp/protocol
46
- - lib/net/sftp/session.rb
47
- - lib/net/sftp/version.rb
48
- - lib/net/sftp/operations/abstract.rb
49
- - lib/net/sftp/operations/close.rb
50
- - lib/net/sftp/operations/errors.rb
51
- - lib/net/sftp/operations/fsetstat.rb
52
- - lib/net/sftp/operations/fstat.rb
53
- - lib/net/sftp/operations/lstat.rb
54
- - lib/net/sftp/operations/mkdir.rb
55
- - lib/net/sftp/operations/open.rb
56
- - lib/net/sftp/operations/opendir.rb
57
- - lib/net/sftp/operations/read.rb
58
- - lib/net/sftp/operations/readdir.rb
59
- - lib/net/sftp/operations/realpath.rb
60
- - lib/net/sftp/operations/remove.rb
61
- - lib/net/sftp/operations/rename.rb
62
- - lib/net/sftp/operations/rmdir.rb
63
- - lib/net/sftp/operations/services.rb
64
- - lib/net/sftp/operations/setstat.rb
65
- - lib/net/sftp/operations/stat.rb
66
- - lib/net/sftp/operations/write.rb
67
- - lib/net/sftp/protocol/01
68
- - lib/net/sftp/protocol/02
69
- - lib/net/sftp/protocol/03
70
- - lib/net/sftp/protocol/04
71
- - lib/net/sftp/protocol/05
72
- - lib/net/sftp/protocol/constants.rb
73
- - lib/net/sftp/protocol/driver.rb
74
- - lib/net/sftp/protocol/packet-assistant.rb
75
- - lib/net/sftp/protocol/services.rb
76
- - lib/net/sftp/protocol/01/attributes.rb
77
- - lib/net/sftp/protocol/01/impl.rb
78
- - lib/net/sftp/protocol/01/packet-assistant.rb
79
- - lib/net/sftp/protocol/01/services.rb
80
- - lib/net/sftp/protocol/02/impl.rb
81
- - lib/net/sftp/protocol/02/packet-assistant.rb
82
- - lib/net/sftp/protocol/02/services.rb
83
- - lib/net/sftp/protocol/03/impl.rb
84
- - lib/net/sftp/protocol/03/packet-assistant.rb
85
- - lib/net/sftp/protocol/03/services.rb
86
- - lib/net/sftp/protocol/04/attributes.rb
87
- - lib/net/sftp/protocol/04/impl.rb
88
- - lib/net/sftp/protocol/04/packet-assistant.rb
89
- - lib/net/sftp/protocol/04/services.rb
90
- - lib/net/sftp/protocol/05/impl.rb
91
- - lib/net/sftp/protocol/05/packet-assistant.rb
92
- - lib/net/sftp/protocol/05/services.rb
93
- - lib/uri/open-sftp.rb
94
- - lib/uri/sftp.rb
95
- - examples/asynchronous.rb
96
- - examples/get-put.rb
97
- - examples/sftp-open-uri.rb
98
- - examples/ssh-service.rb
99
- - examples/synchronous.rb
100
- - test/ALL-TESTS.rb
101
- - test/operations
102
- - test/protocol
103
- - test/operations/tc_abstract.rb
104
- - test/operations/tc_close.rb
105
- - test/operations/tc_fsetstat.rb
106
- - test/operations/tc_fstat.rb
107
- - test/operations/tc_lstat.rb
108
- - test/operations/tc_mkdir.rb
109
- - test/operations/tc_open.rb
110
- - test/operations/tc_opendir.rb
111
- - test/operations/tc_read.rb
112
- - test/operations/tc_readdir.rb
113
- - test/operations/tc_realpath.rb
114
- - test/operations/tc_remove.rb
115
- - test/operations/tc_rmdir.rb
116
- - test/operations/tc_setstat.rb
117
- - test/operations/tc_stat.rb
118
- - test/operations/tc_write.rb
119
- - test/protocol/01
120
- - test/protocol/02
121
- - test/protocol/03
122
- - test/protocol/04
123
- - test/protocol/05
124
- - test/protocol/tc_driver.rb
125
- - test/protocol/01/tc_attributes.rb
126
- - test/protocol/01/tc_impl.rb
127
- - test/protocol/01/tc_packet_assistant.rb
128
- - test/protocol/02/tc_impl.rb
129
- - test/protocol/02/tc_packet_assistant.rb
130
- - test/protocol/03/tc_impl.rb
131
- - test/protocol/03/tc_packet_assistant.rb
132
- - test/protocol/04/tc_attributes.rb
133
- - test/protocol/04/tc_impl.rb
134
- - test/protocol/04/tc_packet_assistant.rb
135
- - test/protocol/05/tc_impl.rb
136
- - test/protocol/05/tc_packet_assistant.rb
165
+ specification_version: 2
166
+ summary: Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.
137
167
  test_files:
138
- - test/ALL-TESTS.rb
139
- rdoc_options: []
140
- extra_rdoc_files: []
141
- executables: []
142
- extensions: []
143
- requirements: []
144
- dependencies:
145
- - !ruby/object:Gem::Dependency
146
- name: net-ssh
147
- version_requirement:
148
- version_requirements: !ruby/object:Gem::Version::Requirement
149
- requirements:
150
- -
151
- - ">="
152
- - !ruby/object:Gem::Version
153
- version: 1.0.0
154
- version:
168
+ - test/ALL-TESTS.rb