luban-nginx 0.1.8 → 0.1.9

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: 309535e2de19839495411250fdad22c040cfbde6
4
- data.tar.gz: 23b43556bd81595b1f9428d7853041f0610a6f83
3
+ metadata.gz: e7f2202fae1872a60b785100cac8150f84c06a53
4
+ data.tar.gz: 33a9a163b909c38c1facbca189178a6b6ab4a4db
5
5
  SHA512:
6
- metadata.gz: 5e57795747932879ffd0327d7cf5000da68dd40c3abe63b3ee7a80a997043bd4b3f6ccf1b158b59ee401438e6064697c535b729f9804f237b9a84660bf12b8de
7
- data.tar.gz: d2838986375267f0b64d0d17264650a46d41fdd78aa43c032c60fe550c64e8cd94d0aba934734a1fbc2a84e53e07daac7fc0443c28742777a7d31e274bca47b5
6
+ metadata.gz: 6598d0a0b1d3ee56ea8d4132710c2ca0c9434b5de6d4a2b513247dda1c973270ab7b569a79d0c751c78b9948eb24d0331c3950345524ca32fad7775a91226184
7
+ data.tar.gz: 226401ddfc7b127a468d648f8975ee5775f3b017527043e0748e78ee8827a40699b25cee83cb24b9b532725f685493cb6394c54d4fd9a247ffc0ce0470bab3fe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.1.9 (Aug 05, 2016)
4
+
5
+ Bug fixes:
6
+ * Changed mechanism for adding default templates path in order to handle templates paths inheritance
7
+ * As a result, updated gem dependency on Luban to version 0.6.8
8
+
3
9
  ## Version 0.1.8 (Aug 02, 2016)
4
10
 
5
11
  Bug fixes:
@@ -9,16 +9,16 @@ module Luban
9
9
  end
10
10
  end
11
11
 
12
- def default_templates_path
13
- @default_templates_path ||= base_templates_path(__FILE__)
14
- end
15
-
16
12
  %i(config_test quit_process reload_process reopen_logs).each do |action|
17
13
  service_action action, dispatch_to: :controller
18
14
  end
19
15
 
20
16
  protected
21
17
 
18
+ def include_default_templates_path
19
+ default_templates_paths.unshift(base_templates_path(__FILE__))
20
+ end
21
+
22
22
  def compose_task_options(opts)
23
23
  super.tap do |opts|
24
24
  opts.merge!(proxy_app: find_application(opts[:proxy_to])) if opts[:proxy_to]
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Nginx
5
- VERSION = '0.1.8'
5
+ VERSION = '0.1.9'
6
6
  end
7
7
  end
8
8
  end
data/luban-nginx.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.6.7"
23
+ spec.add_dependency 'luban', ">= 0.6.8"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.11"
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-nginx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
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-02 00:00:00.000000000 Z
11
+ date: 2016-08-05 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.6.7
19
+ version: 0.6.8
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.6.7
26
+ version: 0.6.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement