dryad-core 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dryad/configuration.rb +3 -2
- data/lib/dryad/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe374a0833bbf882f8df412c7262d69df70974c6d2ffd8106323b44c8adc53ba
|
4
|
+
data.tar.gz: 1f028f675abec8bd4e320488621e0b342641e7fa419e4d54171e1c38587cbb26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e8bd7b93906b8141176884f90c57f22d2b43e2004dd2508281decb539a26a2723858521682bc4e7865685ffca9cbb123c6d5c8de95a9d92bc5b0cb652d62fc
|
7
|
+
data.tar.gz: 9dbb7e2701d4156ffda3e2a2452ad2cb4e2d53ae319d7d5740022898cd23f4f9bf79c42c88f9b99e190288795a40b99177085848da120cbb06b4fc54212f8943
|
data/lib/dryad/configuration.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
module Dryad
|
2
2
|
class Configuration
|
3
|
-
attr_accessor :consul, :namespace, :group, :registry, :service
|
3
|
+
attr_accessor :consul, :namespace, :group, :registry, :provider, :service
|
4
4
|
|
5
5
|
DEFAULT_OPTIONS = {
|
6
6
|
consul: {
|
7
|
-
host: '
|
7
|
+
host: '127.0.0.1',
|
8
8
|
port: 8500
|
9
9
|
},
|
10
10
|
service: {}
|
@@ -16,6 +16,7 @@ module Dryad
|
|
16
16
|
@namespace = opts[:namespace]
|
17
17
|
@group = opts[:group]
|
18
18
|
@registry = opts[:registry]
|
19
|
+
@provider = opts[:provider]
|
19
20
|
@service = opts[:service]
|
20
21
|
end
|
21
22
|
end
|
data/lib/dryad/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryad-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pan Jie
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|