luban-elasticsearch 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGLOG.md +7 -0
- data/lib/luban/deployment/packages/elasticsearch/base.rb +4 -18
- data/lib/luban/deployment/packages/elasticsearch/configurator.rb +0 -1
- data/lib/luban/deployment/packages/elasticsearch/controller.rb +0 -1
- data/lib/luban/deployment/packages/elasticsearch/templates/elasticsearch.yml.erb +1 -1
- data/lib/luban/deployment/packages/elasticsearch/version.rb +1 -1
- data/luban-elasticsearch.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3295bb8dbd44372eea73e88fb140ba2f74689650
|
4
|
+
data.tar.gz: fb4e77d1b018ee633920d70d4055a8eff0d73556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3017dc8321b9131af2ee626cd338eebbbee3d6811dbfea748d93b73fbbd975e10b5fc6bd1798ea69c04f29c5183357dc79237c8182310297f13ecd5f0ba1997c
|
7
|
+
data.tar.gz: 7a9d936d99e61b80ffe0c58f3f35fa45ec541c989775dc3fea475b9da0b327761338db95b7f1e07c71330c3f60b8516677daab187e46a1e7bb8084f95a086fcf
|
data/CHANGLOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## Version 0.1.6 (Oct 23, 2016)
|
4
|
+
|
5
|
+
Minor enhancements:
|
6
|
+
* Added a new parameter, #network_host, in Elasticsearch configuration
|
7
|
+
* Cleaned up the design and implementation of app parameters in a deployment project
|
8
|
+
* As a result, bump up gem dependency on Luban to version 0.9.10
|
9
|
+
|
3
10
|
## Version 0.1.5 (Oct 19, 2016)
|
4
11
|
|
5
12
|
Minor enhancements:
|
@@ -12,28 +12,14 @@ module Luban
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
DefaultPort = 9200
|
16
|
+
DefaultNetworkHost = `hostname -f`.chomp
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
protected
|
22
|
-
|
23
|
-
def set_default_elasticsearch_parameters
|
24
|
-
set_default :port, DefaultPort
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
include Parameters
|
18
|
+
parameter :port, default: DefaultPort
|
19
|
+
parameter :network_host, default: DefaultNetworkHost
|
29
20
|
|
30
21
|
protected
|
31
22
|
|
32
|
-
def set_default_parameters
|
33
|
-
super
|
34
|
-
set_default_elasticsearch_parameters
|
35
|
-
end
|
36
|
-
|
37
23
|
def include_default_templates_path
|
38
24
|
default_templates_paths.unshift(base_templates_path(__FILE__))
|
39
25
|
end
|
data/luban-elasticsearch.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.9.
|
23
|
+
spec.add_dependency 'luban', ">= 0.9.10"
|
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-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
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-10-
|
11
|
+
date: 2016-10-23 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.9.
|
19
|
+
version: 0.9.10
|
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.9.
|
26
|
+
version: 0.9.10
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|