ftpd 0.2.2 → 0.3.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/Changelog.md +31 -3
- data/Gemfile +1 -0
- data/Gemfile.lock +2 -0
- data/README.md +0 -8
- data/VERSION +1 -1
- data/doc/references.md +7 -0
- data/examples/example.rb +7 -0
- data/features/example/eplf.feature +14 -0
- data/features/example/step_definitions/example_server.rb +9 -1
- data/features/ftp_server/list.feature +8 -1
- data/features/ftp_server/name_list.feature +1 -1
- data/features/step_definitions/list.rb +10 -0
- data/features/support/example_server.rb +3 -2
- data/features/support/test_server.rb +0 -8
- data/ftpd.gemspec +12 -2
- data/lib/ftpd.rb +5 -0
- data/lib/ftpd/command_sequence_checker.rb +3 -2
- data/lib/ftpd/disk_file_system.rb +62 -74
- data/lib/ftpd/file_info.rb +115 -0
- data/lib/ftpd/ftp_server.rb +8 -0
- data/lib/ftpd/list_format/eplf.rb +74 -0
- data/lib/ftpd/list_format/ls.rb +154 -0
- data/lib/ftpd/session.rb +31 -7
- data/spec/disk_file_system_spec.rb +69 -70
- data/spec/file_info_spec.rb +59 -0
- data/spec/list_format/eplf_spec.rb +62 -0
- data/spec/list_format/ls_spec.rb +270 -0
- data/spec/spec_helper.rb +3 -0
- metadata +26 -3
data/spec/spec_helper.rb
CHANGED
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.3.1
|
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-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: memoizer
|
@@ -123,6 +123,22 @@ dependencies:
|
|
123
123
|
- - ! '>='
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: timecop
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
126
142
|
- !ruby/object:Gem::Dependency
|
127
143
|
name: yard
|
128
144
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,6 +176,7 @@ files:
|
|
160
176
|
- doc/rfc-compliance.md
|
161
177
|
- examples/example.rb
|
162
178
|
- examples/hello_world.rb
|
179
|
+
- features/example/eplf.feature
|
163
180
|
- features/example/example.feature
|
164
181
|
- features/example/step_definitions/example_server.rb
|
165
182
|
- features/ftp_server/allo.feature
|
@@ -242,9 +259,12 @@ files:
|
|
242
259
|
- lib/ftpd/error.rb
|
243
260
|
- lib/ftpd/exception_translator.rb
|
244
261
|
- lib/ftpd/exceptions.rb
|
262
|
+
- lib/ftpd/file_info.rb
|
245
263
|
- lib/ftpd/file_system_error_translator.rb
|
246
264
|
- lib/ftpd/ftp_server.rb
|
247
265
|
- lib/ftpd/insecure_certificate.rb
|
266
|
+
- lib/ftpd/list_format/eplf.rb
|
267
|
+
- lib/ftpd/list_format/ls.rb
|
248
268
|
- lib/ftpd/server.rb
|
249
269
|
- lib/ftpd/session.rb
|
250
270
|
- lib/ftpd/temp_dir.rb
|
@@ -259,7 +279,10 @@ files:
|
|
259
279
|
- spec/command_sequence_checker_spec.rb
|
260
280
|
- spec/disk_file_system_spec.rb
|
261
281
|
- spec/exception_translator_spec.rb
|
282
|
+
- spec/file_info_spec.rb
|
262
283
|
- spec/file_system_error_translator_spec.rb
|
284
|
+
- spec/list_format/eplf_spec.rb
|
285
|
+
- spec/list_format/ls_spec.rb
|
263
286
|
- spec/spec_helper.rb
|
264
287
|
- spec/translate_exceptions_spec.rb
|
265
288
|
homepage: http://github.com/wconrad/ftpd
|
@@ -277,7 +300,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
277
300
|
version: '0'
|
278
301
|
segments:
|
279
302
|
- 0
|
280
|
-
hash:
|
303
|
+
hash: -1023046255
|
281
304
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
282
305
|
none: false
|
283
306
|
requirements:
|