luban-rack 0.2.0 → 0.2.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: 1cc2a9b8d82a3f7b19a886d7764abf720f68af5a
4
- data.tar.gz: 5c0d00834f557af998d748aca309b7833861243e
3
+ metadata.gz: ea13e5a37f9b56a8b1dfe2f174aafda0f1203c09
4
+ data.tar.gz: 6422249762e63456d09496618b969614dc4262bd
5
5
  SHA512:
6
- metadata.gz: 28e1eddb36d0e8905fa6809efa5d688febe92f0c203b22fe87d79c7879019622dfcf77d830b536314c3984636401b5f170cfd270020d692d288f5025072a456b
7
- data.tar.gz: e45cfdbe7242f157b8928929a5da609104fd55fe1323584ee2b0629615291da3c0935253b1c118b052ebb263cfe616979e3162cf55a4d2e00543a22979385283
6
+ metadata.gz: 0c4b899af232c7e531938cc500146b72510fd19095acda952bd03b90594ab6492206ccab86905008349eafcafe3326d422e4538617268fd204864a18c69b1192
7
+ data.tar.gz: 4acc29ff54764af13544a825a760ae9dd047ec3e364a17807666627d0c8b6de005b7080c3f798622ecaaf320fca4c2f9a93095b8fc82e72c3a13e5a82f494c6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.1 (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.2.0 (Aug 02, 2016)
4
10
 
5
11
  New features:
@@ -20,8 +26,6 @@ Minor enhancements:
20
26
  * Rename #set_default_web_server_options to #set_web_server_options for better clarity
21
27
  * Minor code cleanup
22
28
 
23
-
24
-
25
29
  Bug fixes:
26
30
  * Refactored #default_templates_path to fix an inheritance issue
27
31
  * Corrected the process matching regular expressions
@@ -30,10 +30,6 @@ module Luban
30
30
 
31
31
  include Parameters
32
32
 
33
- def default_templates_path
34
- @default_templates_path ||= base_templates_path(__FILE__).join(web_server[:name].to_s)
35
- end
36
-
37
33
  application_action "phased_restart_process", dispatch_to: :controller
38
34
 
39
35
  protected
@@ -44,6 +40,10 @@ module Luban
44
40
  set_default_rack_parameters
45
41
  end
46
42
 
43
+ def include_default_templates_path
44
+ default_templates_paths.unshift(base_templates_path(__FILE__).join(web_server[:name].to_s))
45
+ end
46
+
47
47
  def setup_control_tasks
48
48
  super
49
49
 
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Applications
4
4
  class Rack
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
8
8
  end
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.6.7"
23
+ spec.add_dependency 'luban', ">= 0.6.8"
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.0
4
+ version: 0.2.1
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