luban-mysql 0.1.1 → 0.1.2

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: 1f4219d7824191d369f361e5235b8f06aa68684e
4
- data.tar.gz: d72a91e284cf3d5c3aa8a1e466142f3da4cd4033
3
+ metadata.gz: 6d7d86319f6258ece397574e242b280418b08ad8
4
+ data.tar.gz: 0caa9c361236e3bbdf6c49a33f1e703bd4efecd8
5
5
  SHA512:
6
- metadata.gz: 31bb8a99338e741bea4124a432ec5a5107aaff429e7177584592a72daa0f606c22cf25a92ded1d5cf07e4eda4b65731429aa5f8c1a8fb407dbf3a6bef68792e7
7
- data.tar.gz: 6507360fb5c9ac69e4b80006ba7fbfa4083bb15fdf31feda1e6a33448e030e37b68e20e64b79ab7a3da0920beb1ccdecf7ecf542169e9ddc235a7939702842cd
6
+ metadata.gz: 19a355ad86c19814fb4de98f09e414982ba5ded2ecff4952c36fc7f96813db641d9f54caeaf3a66a6386cc834d774629b332adb3ecbf73c1ec99a575a04d86c9
7
+ data.tar.gz: f5b4fd44a20cf713036658ab9f273bb7e9d101c8203ec9a754c0abb2cdedc4100bc3e88b83c6d3a4f588a4b381535f2981189937eb76e1cf04e79af7ba46db66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.1.2 (Jun 17, 2016)
4
+
5
+ Bug fixes:
6
+ * Fixed process matching pattern to grep the correct service process
7
+
3
8
  ## Version 0.1.1 (Jun 17, 2016)
4
9
 
5
10
  Bug fixes:
@@ -7,6 +7,7 @@ module Luban
7
7
  def self.included(base)
8
8
  base.define_executable 'mysqld_safe'
9
9
  base.define_executable 'mysqladmin'
10
+ base.define_executable 'mysqld'
10
11
  end
11
12
 
12
13
  def mysqld_safe_command
@@ -17,8 +18,11 @@ module Luban
17
18
  @mysqldadmin_command ||= "#{mysqladmin_executable} --defaults-file=#{admin_control_file_path}"
18
19
  end
19
20
 
21
+ def process_pattern
22
+ @process_pattern ||= "^#{mysqld_executable} --defaults-file=#{control_file_path}"
23
+ end
24
+
20
25
  alias_method :start_command, :mysqld_safe_command
21
- alias_method :process_pattern, :mysqld_safe_command
22
26
 
23
27
  def start_command
24
28
  @start_command ||= "#{mysqld_safe_command}"
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Mysql
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi