luban-rack 0.2.3 → 0.2.4

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: 4863b9880142f3aeb5124f008571df391948606d
4
- data.tar.gz: ebb4a85d30cd0a30c7921a86b2ac7337da9efd43
3
+ metadata.gz: d2b94d24a261808588fca9aac2dd5995346a2d3a
4
+ data.tar.gz: 41457a67d742b626ddda831c496385d11a4632cd
5
5
  SHA512:
6
- metadata.gz: b4623605b3489d2009ca27863c5e7584f194e733bb1995b6c8a3ca6a78f13f969f6c16622312fe32a6331c317c4d78e59596e3c88b147ad4316893ca1a4e8c70
7
- data.tar.gz: cd3983a37ea2a172d5f5ab55aef4995d96397f9edb96ef0146de90b0a761a518ed600f011e22d96e49c45aa76005473e339d884b6c72d291126b383238e6f3cc
6
+ metadata.gz: 72ed31acaee4770d592211e2fc5fd198ae496097459a1805e60f4d1359907d7e87930f9cf19134cc2774495092d13289acbb13d39c0e3b379f32fe8faac48eff
7
+ data.tar.gz: 39823dae4458b068cedaa2f92f22f9d29ff30af0b2d6c3f3574721a36c1fc38194f6c8cb2fe0b9fd0c5a3de8b353239a3d8322ac254760fe31bf980defbddb4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.4 (Aug 30, 2016)
4
+
5
+ Minor enhancements:
6
+ * Changed linked_dirs/linked_files setup to Publisher
7
+ * As a result, bump up the gem dependency of Luban to version 0.7.5
8
+
3
9
  ## Version 0.2.3 (Aug 22, 2016)
4
10
 
5
11
  Minor enhancements:
@@ -36,8 +36,6 @@ module Luban
36
36
 
37
37
  def set_default_application_parameters
38
38
  super
39
- linked_dirs.push('sockets')
40
- linked_files.push('puma.rb', 'thin.yml')
41
39
  set_default_rack_parameters
42
40
  end
43
41
 
@@ -0,0 +1,22 @@
1
+ module Luban
2
+ module Deployment
3
+ module Applications
4
+ class Rack
5
+ class Publisher < Luban::Deployment::Application::Publisher
6
+ protected
7
+
8
+ def init
9
+ super
10
+ linked_dirs.push('sockets')
11
+ linked_files.push('puma.rb', 'thin.yml')
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+
19
+
20
+
21
+
22
+
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Applications
4
4
  class Rack
5
- VERSION = '0.2.3'
5
+ VERSION = '0.2.4'
6
6
  end
7
7
  end
8
8
  end
@@ -4,4 +4,5 @@ require_relative 'rack/paths'
4
4
  require_relative 'rack/web_server'
5
5
  require_relative 'rack/controller'
6
6
  require_relative 'rack/configurator'
7
+ require_relative 'rack/publisher'
7
8
  require_relative 'rack/version'
data/luban-rack.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.required_ruby_version = ">= 2.1.0"
23
- spec.add_dependency 'luban', ">= 0.7.1"
23
+ spec.add_dependency 'luban', ">= 0.7.5"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.12"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-21 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.1
19
+ version: 0.7.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.7.1
26
+ version: 0.7.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -88,6 +88,7 @@ files:
88
88
  - lib/luban/deployment/applications/rack/configurator.rb
89
89
  - lib/luban/deployment/applications/rack/controller.rb
90
90
  - lib/luban/deployment/applications/rack/paths.rb
91
+ - lib/luban/deployment/applications/rack/publisher.rb
91
92
  - lib/luban/deployment/applications/rack/templates/puma/puma.logrotate.erb
92
93
  - lib/luban/deployment/applications/rack/templates/puma/puma.monitrc.erb
93
94
  - lib/luban/deployment/applications/rack/templates/puma/puma.nginx.http.proxy.conf.erb