ftpmvc 0.9.0 → 0.9.1

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: 99e6b62e7638ae4f505f7c91665ec8eaa095605d
4
- data.tar.gz: dc5cef1794af707277f782d773572b20c46f16de
3
+ metadata.gz: c29e98c7f60c2508d1ff773fd5a369c4b1358369
4
+ data.tar.gz: c214767805debf79026923d463bde4bd368127e5
5
5
  SHA512:
6
- metadata.gz: 9fd37e86b63ff1f728736f66b2190dd4387bc2765164e77c86363ea371d8e8483fa3a259695151a9bd6e5737f240a764a3d2cbbab25369dab815a992833adb05
7
- data.tar.gz: 98b8152bcdf05e8aa4a5b8b983c8720f714ce2ffa26529210505af5fa98f67930cd8a87bde4d4f37532f8ad9dc5ea1e51c20c8540f01fa71b5b103c32238662d
6
+ metadata.gz: 6fd5d700988edf98c98cf7db509d9cdf55495c17bd85fc6de186fbc8f6e6267950e6d04c7ac7795e0712e8beb00d4c4a6837ee2e384f212f5e9729b8d9524354
7
+ data.tar.gz: fafe55baba0b52d80bb1a581a5b2afd88b9471092d582f19ae1de0281dbebd0333be541a3f9435450519be137f4f40e704ddf71ea70e7b639f454e9d0e5af5c9
data/examples/env/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'ftpmvc'
3
+ gem 'ftpmvc', path: '../..'
data/examples/env/env.rb CHANGED
@@ -3,7 +3,7 @@ require './env_directory'
3
3
 
4
4
  app = FTPMVC::Application.new do
5
5
  filesystem do
6
- directory :system do
6
+ directory name: 'system' do
7
7
  directory :env
8
8
  end
9
9
  end
data/lib/ftpmvc/server.rb CHANGED
@@ -17,6 +17,7 @@ module FTPMVC
17
17
  @server.on_exception { |e| application.handle_exception(e) }
18
18
  @server.start
19
19
  @port = @server.bound_port
20
+ %w{ INT TERM }.each { |sig| Signal.trap(sig) { stop } }
20
21
  self
21
22
  end
22
23
 
@@ -1,3 +1,3 @@
1
1
  module FTPMVC
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftpmvc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aizim Kelmanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-02 00:00:00.000000000 Z
11
+ date: 2015-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler