net-sftp 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/LICENSE-BSD +27 -0
- data/doc/LICENSE-GPL +280 -0
- data/doc/LICENSE-RUBY +56 -0
- data/examples/asynchronous.rb +57 -0
- data/examples/ssh-service.rb +31 -0
- data/examples/synchronous.rb +120 -0
- data/lib/net/sftp.rb +39 -0
- data/lib/net/sftp/errors.rb +25 -0
- data/lib/net/sftp/operations/abstract.rb +103 -0
- data/lib/net/sftp/operations/close.rb +31 -0
- data/lib/net/sftp/operations/errors.rb +76 -0
- data/lib/net/sftp/operations/fsetstat.rb +36 -0
- data/lib/net/sftp/operations/fstat.rb +32 -0
- data/lib/net/sftp/operations/lstat.rb +31 -0
- data/lib/net/sftp/operations/mkdir.rb +33 -0
- data/lib/net/sftp/operations/open.rb +32 -0
- data/lib/net/sftp/operations/opendir.rb +32 -0
- data/lib/net/sftp/operations/read.rb +84 -0
- data/lib/net/sftp/operations/readdir.rb +55 -0
- data/lib/net/sftp/operations/realpath.rb +37 -0
- data/lib/net/sftp/operations/remove.rb +31 -0
- data/lib/net/sftp/operations/rename.rb +32 -0
- data/lib/net/sftp/operations/rmdir.rb +31 -0
- data/lib/net/sftp/operations/services.rb +42 -0
- data/lib/net/sftp/operations/setstat.rb +33 -0
- data/lib/net/sftp/operations/stat.rb +31 -0
- data/lib/net/sftp/operations/write.rb +63 -0
- data/lib/net/sftp/protocol/01/attributes.rb +146 -0
- data/lib/net/sftp/protocol/01/impl.rb +251 -0
- data/lib/net/sftp/protocol/01/packet-assistant.rb +82 -0
- data/lib/net/sftp/protocol/01/services.rb +47 -0
- data/lib/net/sftp/protocol/02/impl.rb +39 -0
- data/lib/net/sftp/protocol/02/packet-assistant.rb +32 -0
- data/lib/net/sftp/protocol/02/services.rb +44 -0
- data/lib/net/sftp/protocol/03/impl.rb +42 -0
- data/lib/net/sftp/protocol/03/packet-assistant.rb +35 -0
- data/lib/net/sftp/protocol/03/services.rb +44 -0
- data/lib/net/sftp/protocol/04/attributes.rb +227 -0
- data/lib/net/sftp/protocol/04/impl.rb +134 -0
- data/lib/net/sftp/protocol/04/packet-assistant.rb +51 -0
- data/lib/net/sftp/protocol/04/services.rb +44 -0
- data/lib/net/sftp/protocol/05/services.rb +44 -0
- data/lib/net/sftp/protocol/constants.rb +60 -0
- data/lib/net/sftp/protocol/driver.rb +232 -0
- data/lib/net/sftp/protocol/packet-assistant.rb +84 -0
- data/lib/net/sftp/protocol/services.rb +55 -0
- data/lib/net/sftp/session.rb +215 -0
- data/lib/net/sftp/version.rb +25 -0
- data/test/ALL-TESTS.rb +21 -0
- data/test/operations/tc_abstract.rb +124 -0
- data/test/operations/tc_close.rb +40 -0
- data/test/operations/tc_fsetstat.rb +48 -0
- data/test/operations/tc_fstat.rb +40 -0
- data/test/operations/tc_lstat.rb +40 -0
- data/test/operations/tc_mkdir.rb +48 -0
- data/test/operations/tc_open.rb +42 -0
- data/test/operations/tc_opendir.rb +40 -0
- data/test/operations/tc_read.rb +103 -0
- data/test/operations/tc_readdir.rb +88 -0
- data/test/operations/tc_realpath.rb +54 -0
- data/test/operations/tc_remove.rb +40 -0
- data/test/operations/tc_rmdir.rb +40 -0
- data/test/operations/tc_setstat.rb +48 -0
- data/test/operations/tc_stat.rb +40 -0
- data/test/operations/tc_write.rb +91 -0
- data/test/protocol/01/tc_attributes.rb +138 -0
- data/test/protocol/01/tc_impl.rb +294 -0
- data/test/protocol/01/tc_packet_assistant.rb +81 -0
- data/test/protocol/02/tc_impl.rb +41 -0
- data/test/protocol/02/tc_packet_assistant.rb +31 -0
- data/test/protocol/03/tc_impl.rb +48 -0
- data/test/protocol/03/tc_packet_assistant.rb +34 -0
- data/test/protocol/04/tc_attributes.rb +174 -0
- data/test/protocol/04/tc_impl.rb +102 -0
- data/test/protocol/04/tc_packet_assistant.rb +41 -0
- data/test/protocol/tc_driver.rb +219 -0
- metadata +137 -0
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.1
|
3
|
+
specification_version: 1
|
4
|
+
name: net-sftp
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.5.0
|
7
|
+
date: 2004-12-01
|
8
|
+
summary: Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
author: Jamis Buck
|
12
|
+
email: jgb3@email.byu.edu
|
13
|
+
homepage: http://net-ssh.rubyforge.org/sftp
|
14
|
+
rubyforge_project:
|
15
|
+
description:
|
16
|
+
autorequire: net/sftp
|
17
|
+
default_executable:
|
18
|
+
bindir: bin
|
19
|
+
has_rdoc: true
|
20
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
|
+
requirements:
|
22
|
+
-
|
23
|
+
- ">"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 0.0.0
|
26
|
+
version:
|
27
|
+
platform: ruby
|
28
|
+
files:
|
29
|
+
- doc/LICENSE-RUBY
|
30
|
+
- doc/LICENSE-BSD
|
31
|
+
- doc/LICENSE-GPL
|
32
|
+
- lib/net
|
33
|
+
- lib/net/sftp
|
34
|
+
- lib/net/sftp.rb
|
35
|
+
- lib/net/sftp/operations
|
36
|
+
- lib/net/sftp/session.rb
|
37
|
+
- lib/net/sftp/protocol
|
38
|
+
- lib/net/sftp/version.rb
|
39
|
+
- lib/net/sftp/errors.rb
|
40
|
+
- lib/net/sftp/operations/close.rb
|
41
|
+
- lib/net/sftp/operations/read.rb
|
42
|
+
- lib/net/sftp/operations/rmdir.rb
|
43
|
+
- lib/net/sftp/operations/realpath.rb
|
44
|
+
- lib/net/sftp/operations/stat.rb
|
45
|
+
- lib/net/sftp/operations/readdir.rb
|
46
|
+
- lib/net/sftp/operations/lstat.rb
|
47
|
+
- lib/net/sftp/operations/setstat.rb
|
48
|
+
- lib/net/sftp/operations/abstract.rb
|
49
|
+
- lib/net/sftp/operations/mkdir.rb
|
50
|
+
- lib/net/sftp/operations/services.rb
|
51
|
+
- lib/net/sftp/operations/open.rb
|
52
|
+
- lib/net/sftp/operations/opendir.rb
|
53
|
+
- lib/net/sftp/operations/rename.rb
|
54
|
+
- lib/net/sftp/operations/remove.rb
|
55
|
+
- lib/net/sftp/operations/fsetstat.rb
|
56
|
+
- lib/net/sftp/operations/write.rb
|
57
|
+
- lib/net/sftp/operations/fstat.rb
|
58
|
+
- lib/net/sftp/operations/errors.rb
|
59
|
+
- lib/net/sftp/protocol/01
|
60
|
+
- lib/net/sftp/protocol/02
|
61
|
+
- lib/net/sftp/protocol/03
|
62
|
+
- lib/net/sftp/protocol/04
|
63
|
+
- lib/net/sftp/protocol/05
|
64
|
+
- lib/net/sftp/protocol/driver.rb
|
65
|
+
- lib/net/sftp/protocol/constants.rb
|
66
|
+
- lib/net/sftp/protocol/packet-assistant.rb
|
67
|
+
- lib/net/sftp/protocol/services.rb
|
68
|
+
- lib/net/sftp/protocol/01/attributes.rb
|
69
|
+
- lib/net/sftp/protocol/01/packet-assistant.rb
|
70
|
+
- lib/net/sftp/protocol/01/services.rb
|
71
|
+
- lib/net/sftp/protocol/01/impl.rb
|
72
|
+
- lib/net/sftp/protocol/02/packet-assistant.rb
|
73
|
+
- lib/net/sftp/protocol/02/services.rb
|
74
|
+
- lib/net/sftp/protocol/02/impl.rb
|
75
|
+
- lib/net/sftp/protocol/03/packet-assistant.rb
|
76
|
+
- lib/net/sftp/protocol/03/services.rb
|
77
|
+
- lib/net/sftp/protocol/03/impl.rb
|
78
|
+
- lib/net/sftp/protocol/04/attributes.rb
|
79
|
+
- lib/net/sftp/protocol/04/packet-assistant.rb
|
80
|
+
- lib/net/sftp/protocol/04/services.rb
|
81
|
+
- lib/net/sftp/protocol/04/impl.rb
|
82
|
+
- lib/net/sftp/protocol/05/services.rb
|
83
|
+
- examples/ssh-service.rb
|
84
|
+
- examples/synchronous.rb
|
85
|
+
- examples/asynchronous.rb
|
86
|
+
- test/operations
|
87
|
+
- test/ALL-TESTS.rb
|
88
|
+
- test/protocol
|
89
|
+
- test/operations/tc_write.rb
|
90
|
+
- test/operations/tc_fstat.rb
|
91
|
+
- test/operations/tc_close.rb
|
92
|
+
- test/operations/tc_abstract.rb
|
93
|
+
- test/operations/tc_opendir.rb
|
94
|
+
- test/operations/tc_rmdir.rb
|
95
|
+
- test/operations/tc_open.rb
|
96
|
+
- test/operations/tc_remove.rb
|
97
|
+
- test/operations/tc_read.rb
|
98
|
+
- test/operations/tc_fsetstat.rb
|
99
|
+
- test/operations/tc_lstat.rb
|
100
|
+
- test/operations/tc_readdir.rb
|
101
|
+
- test/operations/tc_mkdir.rb
|
102
|
+
- test/operations/tc_realpath.rb
|
103
|
+
- test/operations/tc_stat.rb
|
104
|
+
- test/operations/tc_setstat.rb
|
105
|
+
- test/protocol/01
|
106
|
+
- test/protocol/02
|
107
|
+
- test/protocol/03
|
108
|
+
- test/protocol/04
|
109
|
+
- test/protocol/tc_driver.rb
|
110
|
+
- test/protocol/01/tc_packet_assistant.rb
|
111
|
+
- test/protocol/01/tc_attributes.rb
|
112
|
+
- test/protocol/01/tc_impl.rb
|
113
|
+
- test/protocol/02/tc_packet_assistant.rb
|
114
|
+
- test/protocol/02/tc_impl.rb
|
115
|
+
- test/protocol/03/tc_packet_assistant.rb
|
116
|
+
- test/protocol/03/tc_impl.rb
|
117
|
+
- test/protocol/04/tc_packet_assistant.rb
|
118
|
+
- test/protocol/04/tc_attributes.rb
|
119
|
+
- test/protocol/04/tc_impl.rb
|
120
|
+
test_files:
|
121
|
+
- test/ALL-TESTS.rb
|
122
|
+
rdoc_options: []
|
123
|
+
extra_rdoc_files: []
|
124
|
+
executables: []
|
125
|
+
extensions: []
|
126
|
+
requirements: []
|
127
|
+
dependencies:
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: net-ssh
|
130
|
+
version_requirement:
|
131
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
132
|
+
requirements:
|
133
|
+
-
|
134
|
+
- ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 0.6.0
|
137
|
+
version:
|