luban-elasticsearch 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: c4643e07c4a5602af3f6324cf9fcd67d80a56410
4
- data.tar.gz: eb7ba3324c1a4d9287d248c5ec646b4807a3de04
3
+ metadata.gz: 4a932dd9de749500779480dcb1057649e997b3ba
4
+ data.tar.gz: 60d4894e6bc619f875dbc502255f62ea3c165859
5
5
  SHA512:
6
- metadata.gz: 22c4bb9b3cb794933d6c2fe6319abc47f3e61ab2da90566a8428446db36e9535408b785e061f68cebf22a8f7bf3ebc8afbc91e24542bdfa82ba3af6cc5c8361f
7
- data.tar.gz: 9dffe3431640f8a55930d77bde32937907702e62c65f3e79a45386c05cb44e9c38ffce104582100764692542100220f8710ec3eff747a88f8153b0637e5aa538
6
+ metadata.gz: 90ba5443767940808a095361713fabafb4491b08959f6904c1d5e2e79d2dae504949bd614d5ead644cb1af7d90783b05ddafd07148492b96d48957a7afe9ab50
7
+ data.tar.gz: c5fbc307f49e2226e5c798e4a2e5b896a1b89e8fea7e7645a937c5373e2db5e57155463e65a2515ca14872b4b76b461c2f46abd73ad328ae7eeca0cb95d42382
data/CHANGLOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.1.9 (Nov 28, 2016)
4
+
5
+ Bug fixes:
6
+ * Provided the correct control path to start command for Elasticsearch
7
+
3
8
  ## Version 0.1.8 (Nov 27, 2016)
4
9
 
5
10
  Minor enhancements:
@@ -5,6 +5,8 @@ module Luban
5
5
  module Paths
6
6
  def control_file_dir; @control_file_dir ||= "config"; end
7
7
 
8
+ def control_path; @control_path ||= profile_path.join(control_file_dir); end
9
+
8
10
  def control_file_name
9
11
  @control_file_name ||= "#{service_name}.yml"
10
12
  end
@@ -13,11 +13,11 @@ module Luban
13
13
  end
14
14
 
15
15
  def process_pattern
16
- @process_pattern ||= "#{profile_path}$"
16
+ @process_pattern ||= "#{control_path}$"
17
17
  end
18
18
 
19
19
  def start_command
20
- @start_command ||= shell_command("PATH=#{java_bin_path}:$PATH #{elasticsearch_executable} -d -p #{pid_file_path} --path.conf=#{profile_path}")
20
+ @start_command ||= shell_command("PATH=#{java_bin_path}:$PATH #{elasticsearch_executable} -d -p #{pid_file_path} --path.conf=#{control_path}")
21
21
  end
22
22
 
23
23
  def stop_command
@@ -1,7 +1,7 @@
1
1
  module Luban
2
2
  module Deployment
3
3
  module Packages
4
- ELASTICSEARCH_VERSION = '0.1.8'
4
+ ELASTICSEARCH_VERSION = '0.1.9'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-elasticsearch
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-11-26 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban