luban-monit 0.2.4 → 0.2.5

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: 68468611008e497bc3344da2a782a7f19f7b7ccd
4
- data.tar.gz: 5a6f8e646155111209249abc12f025862f48d1fa
3
+ metadata.gz: 9a71315f94723462847395ad405ba19c0b67757f
4
+ data.tar.gz: 587244ddcfadf3f2f2ccff51fcfa55d030a4933b
5
5
  SHA512:
6
- metadata.gz: 8fd3eb1682b2d6af4d465568a01d2677214a8366f0075afe4c0889ef203681388667d06846d6741624e3ca03805a1fad5605e9610383eb74d2bcb79d28d4d4bb
7
- data.tar.gz: 091e3e7171a422788b5746519a10c78a98efee3a5d66c31b5d0f2ff8804cd1fcfb9ca0d2c99a1cb8a55081cd03c239eb37db2e57c89cafba0a63a7c046da38d9
6
+ metadata.gz: 91c969fa300170979a1388969f025f1352eb69825875beb2701961bfd2616d31960df990742e7d2f879ad45e7942b802249c463ebbbc505fb94e12d214e606d6
7
+ data.tar.gz: 8b36d85febed7cc815e5c27a3ca784aa016ddb5920d9b48b7709d82aeb72fe4af467eda6826012a8c58b98a0d7110bc98783d34a850bbfd403a7e2aef7467a3a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.5 (Sept 28, 2016)
4
+
5
+ Minor enhancements:
6
+ * Applied subcommand grouping for better clarity
7
+ * As a result, bump up gem dependency of Luban to version 0.8.8
8
+
3
9
  ## Version 0.2.4 (Sept 21, 2016)
4
10
 
5
11
  Minor enhancements:
@@ -19,41 +19,43 @@ module Luban
19
19
  default_templates_paths.unshift(base_templates_path(__FILE__))
20
20
  end
21
21
 
22
- def setup_install_tasks
22
+ def setup_provision_tasks
23
23
  super
24
- commands[:install].switch :without_pam, "Disable PAM support"
25
- commands[:install].option :openssl, "OpenSSL version"
24
+ provision_tasks[:install].switch :without_pam, "Disable PAM support"
25
+ provision_tasks[:install].option :openssl, "OpenSSL version"
26
26
  end
27
27
 
28
28
  def setup_control_tasks
29
29
  super
30
30
 
31
- task :config_test do
32
- desc "Syntax check on control file"
33
- action! :config_test
34
- end
31
+ commands[:control].alter do
32
+ task :config_test do
33
+ desc "Syntax check on control file"
34
+ action! :config_test
35
+ end
35
36
 
36
- task :reload do
37
- desc "Reload process"
38
- action! :reload_process
39
- end
37
+ task :reload do
38
+ desc "Reload process"
39
+ action! :reload_process
40
+ end
40
41
 
41
- task :match do
42
- desc "Match process"
43
- argument :pattern, "Regex for process match"
44
- action! :match_process
45
- end
42
+ task :match do
43
+ desc "Match process"
44
+ argument :pattern, "Regex for process match"
45
+ action! :match_process
46
+ end
46
47
 
47
- task :monitor do
48
- desc "Enable monitoring"
49
- argument :service_entry, "Servie entry name"
50
- action! :monitor_process
51
- end
48
+ task :monitor do
49
+ desc "Enable monitoring"
50
+ argument :service_entry, "Servie entry name"
51
+ action! :monitor_process
52
+ end
52
53
 
53
- task :unmonitor do
54
- desc "Disable monitoring"
55
- argument :service_entry, "Servie entry name"
56
- action! :unmonitor_process
54
+ task :unmonitor do
55
+ desc "Disable monitoring"
56
+ argument :service_entry, "Servie entry name"
57
+ action! :unmonitor_process
58
+ end
57
59
  end
58
60
  end
59
61
  end
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Monit
5
- VERSION = '0.2.4'
5
+ VERSION = '0.2.5'
6
6
  end
7
7
  end
8
8
  end
data/luban-monit.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.8.1"
23
+ spec.add_dependency 'luban', ">= 0.8.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-monit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
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-09-21 00:00:00.000000000 Z
11
+ date: 2016-09-27 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.8.1
19
+ version: 0.8.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.8.1
26
+ version: 0.8.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement