luban 0.10.9 → 0.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f693770075831ae8d6796b7d8d5b6d925e39ebc
4
- data.tar.gz: 55fd8d2f2dea34b41f953f6b63b128cb90d409bb
3
+ metadata.gz: ec92465dae9a1e0e3db3d76bdf6d0a015c6d62d0
4
+ data.tar.gz: 8812d5fe6d6751f6aeb994249dafd0e1f9a3bef5
5
5
  SHA512:
6
- metadata.gz: 52fd3999cec5a1ef7a697814c9295d3762c185df6591ad57c0856122e1c24cd7e66b2ae3c7ce9675c68d63552a7744b35e07e22ef6c1647774f836e8c88cf3ea
7
- data.tar.gz: e378668d5813792bbe82a7751effc796c84f296c3cb78864cca709d349f1fa6a1cd7fbdc996cb14ce840350579c43f86558d1502570ff133286c9d0c8a4e6b58
6
+ metadata.gz: cbdea8891956ed58e7c1c2729968cae060e793e6a8e8fd28b7b5d44f47341595df9a0200b617d6968f783acc1a53e1c5bc83be0f353877d71b28ac513274d576
7
+ data.tar.gz: 5bfcc4fed54770377c773cc39867906ce470917d6fd65447ab12320f1d3a87286c35566696560030f9b2eeb6046bd90afa1c6df980b5d9e29f0226ee1234ccd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.10.10 (Nov 29, 2016)
4
+
5
+ Minor enhancements:
6
+ * Added #control_path to further refractor control file related paths
7
+
3
8
  ## Version 0.10.9 (Nov 28, 2016)
4
9
 
5
10
  Bug fixes:
@@ -66,12 +66,16 @@ module Luban
66
66
  @pid_file_name ||= "#{service_name}.pid"
67
67
  end
68
68
 
69
- def control_file_path
70
- @control_file_path ||= profile_path.join(control_file_dir, control_file_name)
69
+ def control_path
70
+ @control_path ||= profile_path.join(control_file_dir)
71
71
  end
72
72
 
73
73
  def control_file_dir; @control_file_dir ||= ""; end
74
74
 
75
+ def control_file_path
76
+ @control_file_path ||= control_path.join(control_file_name)
77
+ end
78
+
75
79
  def control_file_name
76
80
  @control_file_name ||= "#{service_name}.conf"
77
81
  end
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.10.9"
3
+ VERSION = "0.10.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.9
4
+ version: 0.10.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-28 00:00:00.000000000 Z
11
+ date: 2016-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban-cli