ftpd 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +33 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +5 -0
- data/README.md +29 -30
- data/VERSION +1 -1
- data/config/cucumber.yml +2 -0
- data/doc/benchmarks.md +92 -0
- data/doc/references.md +39 -12
- data/doc/rfc-compliance.md +6 -6
- data/examples/example.rb +21 -0
- data/features/ftp_server/command_errors.feature +0 -1
- data/features/ftp_server/logging.feature +11 -0
- data/features/ftp_server/port.feature +15 -0
- data/features/ftp_server/status.feature +19 -0
- data/features/ftp_server/step_definitions/logging.rb +8 -0
- data/features/ftp_server/step_definitions/test_server.rb +19 -2
- data/features/ftp_server/timeout.feature +26 -0
- data/features/step_definitions/error_replies.rb +5 -0
- data/features/step_definitions/status.rb +17 -0
- data/features/step_definitions/timeout.rb +11 -0
- data/features/support/test_client.rb +13 -1
- data/features/support/test_server.rb +23 -9
- data/ftpd.gemspec +18 -5
- data/lib/ftpd.rb +3 -0
- data/lib/ftpd/ftp_server.rb +52 -18
- data/lib/ftpd/null_logger.rb +22 -0
- data/lib/ftpd/server.rb +11 -2
- data/lib/ftpd/session.rb +71 -25
- data/lib/ftpd/telnet.rb +119 -0
- data/rake_tasks/cucumber.rake +0 -1
- data/spec/null_logger_spec.rb +24 -0
- data/spec/telnet_spec.rb +75 -0
- metadata +32 -6
- data/features/ftp_server/debug.feature +0 -17
- data/features/ftp_server/step_definitions/debug.rb +0 -8
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ftpd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: memoizer
|
@@ -59,6 +59,22 @@ dependencies:
|
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: fuubar-cucumber
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
79
|
name: jeweler
|
64
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,7 +172,7 @@ dependencies:
|
|
156
172
|
- !ruby/object:Gem::Version
|
157
173
|
version: '0'
|
158
174
|
description: ftpd is a pure Ruby FTP server library. It supports implicit and explicit
|
159
|
-
TLS, passive and active mode, and
|
175
|
+
TLS, passive and active mode, and is unconditionally complaint per RFC-1123. It
|
160
176
|
an be used as part of a test fixture or embedded in a program.
|
161
177
|
email: wconrad@yagni.com
|
162
178
|
executables: []
|
@@ -173,6 +189,8 @@ files:
|
|
173
189
|
- README.md
|
174
190
|
- Rakefile
|
175
191
|
- VERSION
|
192
|
+
- config/cucumber.yml
|
193
|
+
- doc/benchmarks.md
|
176
194
|
- doc/references.md
|
177
195
|
- doc/rfc-compliance.md
|
178
196
|
- examples/example.rb
|
@@ -186,7 +204,6 @@ files:
|
|
186
204
|
- features/ftp_server/cdup.feature
|
187
205
|
- features/ftp_server/command_errors.feature
|
188
206
|
- features/ftp_server/concurrent_sessions.feature
|
189
|
-
- features/ftp_server/debug.feature
|
190
207
|
- features/ftp_server/delete.feature
|
191
208
|
- features/ftp_server/directory_navigation.feature
|
192
209
|
- features/ftp_server/file_structure.feature
|
@@ -197,6 +214,7 @@ files:
|
|
197
214
|
- features/ftp_server/invertability.feature
|
198
215
|
- features/ftp_server/list.feature
|
199
216
|
- features/ftp_server/list_tls.feature
|
217
|
+
- features/ftp_server/logging.feature
|
200
218
|
- features/ftp_server/login_auth_level_account.feature
|
201
219
|
- features/ftp_server/login_auth_level_password.feature
|
202
220
|
- features/ftp_server/login_auth_level_user.feature
|
@@ -212,10 +230,12 @@ files:
|
|
212
230
|
- features/ftp_server/quit.feature
|
213
231
|
- features/ftp_server/rename.feature
|
214
232
|
- features/ftp_server/rmdir.feature
|
215
|
-
- features/ftp_server/
|
233
|
+
- features/ftp_server/status.feature
|
234
|
+
- features/ftp_server/step_definitions/logging.rb
|
216
235
|
- features/ftp_server/step_definitions/test_server.rb
|
217
236
|
- features/ftp_server/syntax_errors.feature
|
218
237
|
- features/ftp_server/syst.feature
|
238
|
+
- features/ftp_server/timeout.feature
|
219
239
|
- features/ftp_server/type.feature
|
220
240
|
- features/step_definitions/append.rb
|
221
241
|
- features/step_definitions/client.rb
|
@@ -245,9 +265,11 @@ files:
|
|
245
265
|
- features/step_definitions/rename.rb
|
246
266
|
- features/step_definitions/rmdir.rb
|
247
267
|
- features/step_definitions/server_files.rb
|
268
|
+
- features/step_definitions/status.rb
|
248
269
|
- features/step_definitions/stop_server.rb
|
249
270
|
- features/step_definitions/success_replies.rb
|
250
271
|
- features/step_definitions/system.rb
|
272
|
+
- features/step_definitions/timeout.rb
|
251
273
|
- features/step_definitions/type.rb
|
252
274
|
- features/support/env.rb
|
253
275
|
- features/support/example_server.rb
|
@@ -273,9 +295,11 @@ files:
|
|
273
295
|
- lib/ftpd/insecure_certificate.rb
|
274
296
|
- lib/ftpd/list_format/eplf.rb
|
275
297
|
- lib/ftpd/list_format/ls.rb
|
298
|
+
- lib/ftpd/null_logger.rb
|
276
299
|
- lib/ftpd/read_only_disk_file_system.rb
|
277
300
|
- lib/ftpd/server.rb
|
278
301
|
- lib/ftpd/session.rb
|
302
|
+
- lib/ftpd/telnet.rb
|
279
303
|
- lib/ftpd/temp_dir.rb
|
280
304
|
- lib/ftpd/tls_server.rb
|
281
305
|
- lib/ftpd/translate_exceptions.rb
|
@@ -292,7 +316,9 @@ files:
|
|
292
316
|
- spec/file_system_error_translator_spec.rb
|
293
317
|
- spec/list_format/eplf_spec.rb
|
294
318
|
- spec/list_format/ls_spec.rb
|
319
|
+
- spec/null_logger_spec.rb
|
295
320
|
- spec/spec_helper.rb
|
321
|
+
- spec/telnet_spec.rb
|
296
322
|
- spec/translate_exceptions_spec.rb
|
297
323
|
homepage: http://github.com/wconrad/ftpd
|
298
324
|
licenses:
|
@@ -309,7 +335,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
309
335
|
version: '0'
|
310
336
|
segments:
|
311
337
|
- 0
|
312
|
-
hash:
|
338
|
+
hash: 824130867
|
313
339
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
314
340
|
none: false
|
315
341
|
requirements:
|
@@ -1,17 +0,0 @@
|
|
1
|
-
Feature: Debug
|
2
|
-
|
3
|
-
As a client
|
4
|
-
I want to see debug output
|
5
|
-
So that I can fix FTP protocol problems
|
6
|
-
|
7
|
-
Scenario: Debug enabled
|
8
|
-
Given the test server has debug enabled
|
9
|
-
And the test server is started
|
10
|
-
And a successful login
|
11
|
-
Then the server should have written debug output
|
12
|
-
|
13
|
-
Scenario: Debug disabled
|
14
|
-
Given the test server has debug disabled
|
15
|
-
And the test server is started
|
16
|
-
And a successful login
|
17
|
-
Then the server should have written no debug output
|