em-ftpd-memory 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fd32c31bff6d70f1558c6909462a3edb19d675a
4
- data.tar.gz: 99a62b6e7e4cdac319b33b813d2d1f26660a8fe7
3
+ metadata.gz: 0744dde341febc22360dc49fb92b41909272e8ea
4
+ data.tar.gz: 0cde755aab1c955576c8225eed23622bfc111aa1
5
5
  SHA512:
6
- metadata.gz: 5d2ac6295de54b6b0bc471203b4988b15f66fefa3bdd012a3369811beacd4a2190c5dd1babfd582a26bfed58fd9d5886380aa11de26ab06498f8c2a8bce148cd
7
- data.tar.gz: 49c64f601a8dc2201e2237fe1847ad22f2168533261970d1f94c10d6139c0642c01a4cf53ee47b8866be9b3ac4b06e1bbd42a9d8ab5ff764e3f66516502253e5
6
+ metadata.gz: c2d9b81bfbefa1c169245ba6debb3cd3d1d3041217b5f670c894cf27efb028dc4ca057c41ec261f04dc97c0de01efa603378aff56d873f7476ec6aecb8915353
7
+ data.tar.gz: b531295f70b050fdc1b0f630587632260b2549853332d4ff703ca9ec3471d2fd9f8ba1bf56102666bba2295924ee49d6deead724992fe78cf0948425fee16ef7
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "em-ftpd-memory"
7
- spec.version = "0.0.2"
7
+ spec.version = "0.0.3"
8
8
  spec.authors = ["chrislee35"]
9
9
  spec.email = ["rubygems@chrislee.dhs.org"]
10
10
  spec.summary = %q{Memory-based backing store for em-ftpd}
@@ -36,8 +36,8 @@ module EM::FTPD::Memory
36
36
  is_dir(path) || is_file(path)
37
37
  end
38
38
 
39
- def chdir(path, user = nil)
40
- is_dir(path) && use_allowed(path, :list, user)
39
+ def change_dir(path, user = nil)
40
+ is_dir(path) && use_allowed?(path, :list, user)
41
41
  end
42
42
 
43
43
  def list_files(path, user = nil)
@@ -28,7 +28,7 @@ class TestFTPDMemory < Minitest::Test
28
28
 
29
29
  EM.run {
30
30
  EventMachine::start_server("0.0.0.0", 2021, EM::FTPD::Server, EM::FTPD::Memory::Driver, options)
31
- EM::Timer.new(0.1) do
31
+ EM::Timer.new(100) do
32
32
  EM.stop
33
33
  end
34
34
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-ftpd-memory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrislee35