luban-rack 0.2.17 → 0.2.18

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: 626db6c7b396d14e293e920efe56d3425761ef82
4
- data.tar.gz: a62a72eeb89fd03d1ba6db97d538423fde5ca2e4
3
+ metadata.gz: c7ca36a8297a7ae4b246d02fce5f4a55ecd40f13
4
+ data.tar.gz: 12c246a89db4f7b36ae8cd80be86f9f12a990d0d
5
5
  SHA512:
6
- metadata.gz: 170aa8e0fabb3e51061e634011210820a4e422a6d0d613662991e175f726867e743fc9564629510699907423822986fb6f9d91994d02d4f6ae01f23fe99d0607
7
- data.tar.gz: b86ae5dc78705ec32a35d50f1f9eee07ccde33c170d80482f7f376cdca0fd0f823c555a78c9444c20daf2ec3eb1e11b15e08e48b31a3f7da3ed88abeb0942765
6
+ metadata.gz: 28c4ece91049bbe1a861693b4fa874f9f609908dd86229075d905faba7865111cbbdc09f06c8613ce8ef4bdc225a8b9e0478d01fd6639f8bd863fd08ca9f23b9
7
+ data.tar.gz: 272591e63de8059cc46446f2c1fb175a82e82850780052743b4ed4ca33fe96d977e46dd79aded246c6aea08edf80ffb8e7585d7ce8f85f5f6ac7f660a2c9c7bf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change log
2
2
 
3
- ## Version 0.2.17 (Nov 14, 2016)
3
+ ## Version 0.2.18 (Nov 14, 2016)
4
4
 
5
5
  Minor enhancements:
6
6
  * Added publish callback for web server
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Applications
4
4
  class Rack
5
- VERSION = '0.2.17'
5
+ VERSION = '0.2.18'
6
6
  end
7
7
  end
8
8
  end
@@ -16,7 +16,9 @@ Puma::Plugin.create do
16
16
  @options.instance_variable_set(:@cur, init_options)
17
17
  @options.instance_variable_set(:@set, [init_options])
18
18
  @config.load
19
- @restart_dir = dir if dir = @options[:directory]
19
+ if dir = @options[:directory]
20
+ @restart_dir = dir
21
+ end
20
22
  set_process_title
21
23
  super()
22
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.17
4
+ version: 0.2.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi