dryad 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/dryad.gemspec +2 -0
- data/lib/dryad/version.rb +1 -1
- metadata +8 -81
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.travis.yml +0 -19
- data/dryad-cluster/.gitignore +0 -11
- data/dryad-cluster/.rspec +0 -3
- data/dryad-cluster/Gemfile +0 -4
- data/dryad-cluster/Gemfile.lock +0 -50
- data/dryad-cluster/LICENSE +0 -19
- data/dryad-cluster/README.md +0 -35
- data/dryad-cluster/Rakefile +0 -6
- data/dryad-cluster/bin/console +0 -14
- data/dryad-cluster/bin/setup +0 -8
- data/dryad-cluster/dryad-cluster.gemspec +0 -31
- data/dryad-cluster/lib/dryad/cluster.rb +0 -40
- data/dryad-cluster/lib/dryad/cluster/railtie.rb +0 -15
- data/dryad-cluster/lib/dryad/cluster/round_robin.rb +0 -22
- data/dryad-cluster/lib/dryad/cluster/version.rb +0 -5
- data/dryad-cluster/spec/dryad/cluster/round_robin_spec.rb +0 -21
- data/dryad-cluster/spec/dryad/cluster_spec.rb +0 -42
- data/dryad-cluster/spec/spec_helper.rb +0 -16
- data/dryad-consul/.gitignore +0 -11
- data/dryad-consul/.rspec +0 -3
- data/dryad-consul/Gemfile +0 -4
- data/dryad-consul/Gemfile.lock +0 -45
- data/dryad-consul/LICENSE +0 -19
- data/dryad-consul/README.md +0 -35
- data/dryad-consul/Rakefile +0 -6
- data/dryad-consul/bin/console +0 -14
- data/dryad-consul/bin/setup +0 -8
- data/dryad-consul/dryad-consul.gemspec +0 -30
- data/dryad-consul/lib/dryad/consul.rb +0 -23
- data/dryad-consul/lib/dryad/consul/config_provider.rb +0 -16
- data/dryad-consul/lib/dryad/consul/key_value_client.rb +0 -19
- data/dryad-consul/lib/dryad/consul/railtie.rb +0 -28
- data/dryad-consul/lib/dryad/consul/service.rb +0 -33
- data/dryad-consul/lib/dryad/consul/service_client.rb +0 -15
- data/dryad-consul/lib/dryad/consul/service_registry.rb +0 -46
- data/dryad-consul/lib/dryad/consul/version.rb +0 -5
- data/dryad-consul/spec/dryad/consul/config_provider_spec.rb +0 -18
- data/dryad-consul/spec/dryad/consul/key_value_client_spec.rb +0 -22
- data/dryad-consul/spec/dryad/consul/service_client_spec.rb +0 -6
- data/dryad-consul/spec/dryad/consul/service_registry_spec.rb +0 -33
- data/dryad-consul/spec/dryad/consul/service_spec.rb +0 -23
- data/dryad-consul/spec/dryad/consul_spec.rb +0 -11
- data/dryad-consul/spec/spec_helper.rb +0 -14
- data/dryad-core/.gitignore +0 -11
- data/dryad-core/.rspec +0 -3
- data/dryad-core/.travis.yml +0 -7
- data/dryad-core/Gemfile +0 -4
- data/dryad-core/Gemfile.lock +0 -35
- data/dryad-core/LICENSE +0 -19
- data/dryad-core/README.md +0 -35
- data/dryad-core/Rakefile +0 -6
- data/dryad-core/bin/console +0 -14
- data/dryad-core/bin/setup +0 -8
- data/dryad-core/dryad-core.gemspec +0 -27
- data/dryad-core/lib/dryad/core.rb +0 -15
- data/dryad-core/lib/dryad/core/config_desc.rb +0 -13
- data/dryad-core/lib/dryad/core/config_provider.rb +0 -9
- data/dryad-core/lib/dryad/core/load_balancing.rb +0 -8
- data/dryad-core/lib/dryad/core/portal.rb +0 -21
- data/dryad-core/lib/dryad/core/schema.rb +0 -9
- data/dryad-core/lib/dryad/core/service.rb +0 -39
- data/dryad-core/lib/dryad/core/service_instance.rb +0 -14
- data/dryad-core/lib/dryad/core/version.rb +0 -5
- data/dryad-core/spec/dryad/core/config_desc_spec.rb +0 -11
- data/dryad-core/spec/dryad/core/load_balancing_spec.rb +0 -6
- data/dryad-core/spec/dryad/core/portal_spec.rb +0 -13
- data/dryad-core/spec/dryad/core/schema_spec.rb +0 -7
- data/dryad-core/spec/dryad/core/service_instance_spec.rb +0 -7
- data/dryad-core/spec/dryad/core/service_spec.rb +0 -14
- data/dryad-core/spec/dryad/core_spec.rb +0 -14
- data/dryad-core/spec/spec_helper.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abd23b5cda25ddb3b4e479a28aa2db1236605336d121199a07193e4c82a78151
|
4
|
+
data.tar.gz: 25a148ac25dd2c7c216cf3b8b56986e8f2ee8425e2086e885b773b72ae377491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d355e7b2a866fa0f984160ccfe4265f94611066480092fdafea827b8cc07213d96f9187373015752603ec0d7addfddf53333e2d26f88f857e5c430c5069e600e
|
7
|
+
data.tar.gz: 45d2745e28b8adcc00c129befc3c69ebcd0217618242446fd7e53cd0df844f3c9a0b87190be38b722d234e3230715dde30405f6a757d1a5f39a17fd7d2304725
|
data/Gemfile.lock
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dryad (0.2.
|
5
|
-
dryad-cluster (= 0.2.
|
6
|
-
dryad-consul (= 0.2.
|
7
|
-
dryad-core (= 0.2.
|
8
|
-
dryad-cluster (0.2.
|
4
|
+
dryad (0.2.6)
|
5
|
+
dryad-cluster (= 0.2.6)
|
6
|
+
dryad-consul (= 0.2.6)
|
7
|
+
dryad-core (= 0.2.6)
|
8
|
+
dryad-cluster (0.2.6)
|
9
9
|
concurrent-ruby (~> 1.1, >= 1.1.5)
|
10
|
-
dryad-consul (= 0.2.
|
11
|
-
dryad-core (= 0.2.
|
12
|
-
dryad-consul (0.2.
|
10
|
+
dryad-consul (= 0.2.6)
|
11
|
+
dryad-core (= 0.2.6)
|
12
|
+
dryad-consul (0.2.6)
|
13
13
|
diplomat (~> 2.2, >= 2.2.4)
|
14
|
-
dryad-core (= 0.2.
|
15
|
-
dryad-core (0.2.
|
14
|
+
dryad-core (= 0.2.6)
|
15
|
+
dryad-core (0.2.6)
|
16
16
|
|
17
17
|
GEM
|
18
18
|
remote: https://rubygems.org/
|
data/dryad.gemspec
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require "dryad/version"
|
5
|
+
require "rake"
|
5
6
|
|
6
7
|
Gem::Specification.new do |spec|
|
7
8
|
spec.name = "dryad"
|
@@ -20,6 +21,7 @@ Gem::Specification.new do |spec|
|
|
20
21
|
spec.bindir = "exe"
|
21
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
23
|
spec.require_paths = ["lib"]
|
24
|
+
spec.files = FileList['lib/**/*.rb', '*'].to_a
|
23
25
|
|
24
26
|
spec.add_dependency "dryad-core", Dryad::VERSION
|
25
27
|
spec.add_dependency "dryad-consul", Dryad::VERSION
|
data/lib/dryad/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
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-06-
|
11
|
+
date: 2019-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dryad-core
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.6
|
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.2.
|
26
|
+
version: 0.2.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dryad-consul
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.
|
33
|
+
version: 0.2.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.
|
40
|
+
version: 0.2.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dryad-cluster
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.2.
|
47
|
+
version: 0.2.6
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.2.
|
54
|
+
version: 0.2.6
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,84 +102,11 @@ executables: []
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
-
- ".gitignore"
|
106
|
-
- ".rspec"
|
107
|
-
- ".travis.yml"
|
108
105
|
- Gemfile
|
109
106
|
- Gemfile.lock
|
110
107
|
- LICENSE
|
111
108
|
- README.md
|
112
109
|
- Rakefile
|
113
|
-
- dryad-cluster/.gitignore
|
114
|
-
- dryad-cluster/.rspec
|
115
|
-
- dryad-cluster/Gemfile
|
116
|
-
- dryad-cluster/Gemfile.lock
|
117
|
-
- dryad-cluster/LICENSE
|
118
|
-
- dryad-cluster/README.md
|
119
|
-
- dryad-cluster/Rakefile
|
120
|
-
- dryad-cluster/bin/console
|
121
|
-
- dryad-cluster/bin/setup
|
122
|
-
- dryad-cluster/dryad-cluster.gemspec
|
123
|
-
- dryad-cluster/lib/dryad/cluster.rb
|
124
|
-
- dryad-cluster/lib/dryad/cluster/railtie.rb
|
125
|
-
- dryad-cluster/lib/dryad/cluster/round_robin.rb
|
126
|
-
- dryad-cluster/lib/dryad/cluster/version.rb
|
127
|
-
- dryad-cluster/spec/dryad/cluster/round_robin_spec.rb
|
128
|
-
- dryad-cluster/spec/dryad/cluster_spec.rb
|
129
|
-
- dryad-cluster/spec/spec_helper.rb
|
130
|
-
- dryad-consul/.gitignore
|
131
|
-
- dryad-consul/.rspec
|
132
|
-
- dryad-consul/Gemfile
|
133
|
-
- dryad-consul/Gemfile.lock
|
134
|
-
- dryad-consul/LICENSE
|
135
|
-
- dryad-consul/README.md
|
136
|
-
- dryad-consul/Rakefile
|
137
|
-
- dryad-consul/bin/console
|
138
|
-
- dryad-consul/bin/setup
|
139
|
-
- dryad-consul/dryad-consul.gemspec
|
140
|
-
- dryad-consul/lib/dryad/consul.rb
|
141
|
-
- dryad-consul/lib/dryad/consul/config_provider.rb
|
142
|
-
- dryad-consul/lib/dryad/consul/key_value_client.rb
|
143
|
-
- dryad-consul/lib/dryad/consul/railtie.rb
|
144
|
-
- dryad-consul/lib/dryad/consul/service.rb
|
145
|
-
- dryad-consul/lib/dryad/consul/service_client.rb
|
146
|
-
- dryad-consul/lib/dryad/consul/service_registry.rb
|
147
|
-
- dryad-consul/lib/dryad/consul/version.rb
|
148
|
-
- dryad-consul/spec/dryad/consul/config_provider_spec.rb
|
149
|
-
- dryad-consul/spec/dryad/consul/key_value_client_spec.rb
|
150
|
-
- dryad-consul/spec/dryad/consul/service_client_spec.rb
|
151
|
-
- dryad-consul/spec/dryad/consul/service_registry_spec.rb
|
152
|
-
- dryad-consul/spec/dryad/consul/service_spec.rb
|
153
|
-
- dryad-consul/spec/dryad/consul_spec.rb
|
154
|
-
- dryad-consul/spec/spec_helper.rb
|
155
|
-
- dryad-core/.gitignore
|
156
|
-
- dryad-core/.rspec
|
157
|
-
- dryad-core/.travis.yml
|
158
|
-
- dryad-core/Gemfile
|
159
|
-
- dryad-core/Gemfile.lock
|
160
|
-
- dryad-core/LICENSE
|
161
|
-
- dryad-core/README.md
|
162
|
-
- dryad-core/Rakefile
|
163
|
-
- dryad-core/bin/console
|
164
|
-
- dryad-core/bin/setup
|
165
|
-
- dryad-core/dryad-core.gemspec
|
166
|
-
- dryad-core/lib/dryad/core.rb
|
167
|
-
- dryad-core/lib/dryad/core/config_desc.rb
|
168
|
-
- dryad-core/lib/dryad/core/config_provider.rb
|
169
|
-
- dryad-core/lib/dryad/core/load_balancing.rb
|
170
|
-
- dryad-core/lib/dryad/core/portal.rb
|
171
|
-
- dryad-core/lib/dryad/core/schema.rb
|
172
|
-
- dryad-core/lib/dryad/core/service.rb
|
173
|
-
- dryad-core/lib/dryad/core/service_instance.rb
|
174
|
-
- dryad-core/lib/dryad/core/version.rb
|
175
|
-
- dryad-core/spec/dryad/core/config_desc_spec.rb
|
176
|
-
- dryad-core/spec/dryad/core/load_balancing_spec.rb
|
177
|
-
- dryad-core/spec/dryad/core/portal_spec.rb
|
178
|
-
- dryad-core/spec/dryad/core/schema_spec.rb
|
179
|
-
- dryad-core/spec/dryad/core/service_instance_spec.rb
|
180
|
-
- dryad-core/spec/dryad/core/service_spec.rb
|
181
|
-
- dryad-core/spec/dryad/core_spec.rb
|
182
|
-
- dryad-core/spec/spec_helper.rb
|
183
110
|
- dryad.gemspec
|
184
111
|
- lib/dryad.rb
|
185
112
|
- lib/dryad/configuration.rb
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sudo: false
|
3
|
-
language: ruby
|
4
|
-
cache: bundler
|
5
|
-
rvm:
|
6
|
-
- 2.6.3
|
7
|
-
env:
|
8
|
-
- CONSUL_VERSION=1.4.4
|
9
|
-
before_install:
|
10
|
-
- gem install bundler -v 2.0.1
|
11
|
-
- curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
|
12
|
-
- unzip consul.zip
|
13
|
-
- mkdir -p ~/bin
|
14
|
-
- mv consul ~/bin
|
15
|
-
- export PATH="~/bin:$PATH"
|
16
|
-
- consul version
|
17
|
-
- consul agent -dev >/dev/null 2>&1 &
|
18
|
-
script:
|
19
|
-
- bundle exec rake spec
|
data/dryad-cluster/.gitignore
DELETED
data/dryad-cluster/.rspec
DELETED
data/dryad-cluster/Gemfile
DELETED
data/dryad-cluster/Gemfile.lock
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
dryad-cluster (0.2.5)
|
5
|
-
concurrent-ruby (~> 1.1, >= 1.1.5)
|
6
|
-
dryad-consul (= 0.2.5)
|
7
|
-
dryad-core (= 0.2.5)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
concurrent-ruby (1.1.5)
|
13
|
-
deep_merge (1.2.1)
|
14
|
-
diff-lcs (1.3)
|
15
|
-
diplomat (2.2.5)
|
16
|
-
deep_merge (~> 1.0, >= 1.0.1)
|
17
|
-
faraday (~> 0.9)
|
18
|
-
dryad-consul (0.2.5)
|
19
|
-
diplomat (~> 2.2, >= 2.2.4)
|
20
|
-
dryad-core (= 0.2.5)
|
21
|
-
dryad-core (0.2.5)
|
22
|
-
faraday (0.15.4)
|
23
|
-
multipart-post (>= 1.2, < 3)
|
24
|
-
multipart-post (2.1.1)
|
25
|
-
rake (10.5.0)
|
26
|
-
rspec (3.8.0)
|
27
|
-
rspec-core (~> 3.8.0)
|
28
|
-
rspec-expectations (~> 3.8.0)
|
29
|
-
rspec-mocks (~> 3.8.0)
|
30
|
-
rspec-core (3.8.0)
|
31
|
-
rspec-support (~> 3.8.0)
|
32
|
-
rspec-expectations (3.8.3)
|
33
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.8.0)
|
35
|
-
rspec-mocks (3.8.0)
|
36
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.8.0)
|
38
|
-
rspec-support (3.8.0)
|
39
|
-
|
40
|
-
PLATFORMS
|
41
|
-
ruby
|
42
|
-
|
43
|
-
DEPENDENCIES
|
44
|
-
bundler (~> 2.0)
|
45
|
-
dryad-cluster!
|
46
|
-
rake (~> 10.0)
|
47
|
-
rspec (~> 3.0)
|
48
|
-
|
49
|
-
BUNDLED WITH
|
50
|
-
2.0.1
|
data/dryad-cluster/LICENSE
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
5
|
-
in the Software without restriction, including without limitation the rights
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
8
|
-
furnished to do so, subject to the following conditions:
|
9
|
-
|
10
|
-
The above copyright notice and this permission notice shall be included in
|
11
|
-
all copies or substantial portions of the Software.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
-
THE SOFTWARE.
|
data/dryad-cluster/README.md
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
# Dryad::Cluster
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/dryad/cluster`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'dryad-cluster'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install dryad-cluster
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dryad-cluster.
|
data/dryad-cluster/Rakefile
DELETED
data/dryad-cluster/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "dryad/cluster"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/dryad-cluster/bin/setup
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "dryad/cluster/version"
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "dryad-cluster"
|
8
|
-
spec.version = Dryad::Cluster::VERSION
|
9
|
-
spec.authors = ["Pan Jie"]
|
10
|
-
spec.email = ["panjie@growingio.com"]
|
11
|
-
|
12
|
-
spec.summary = %q{Dryad cluster library.}
|
13
|
-
spec.description = %q{Use cluster for service discovery. Use round robin to process scheduling.}
|
14
|
-
spec.homepage = "https://github.com/jack0pan/dryad.rb"
|
15
|
-
spec.license = "MIT"
|
16
|
-
|
17
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
18
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
-
end
|
20
|
-
spec.bindir = "exe"
|
21
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
-
spec.require_paths = ["lib"]
|
23
|
-
|
24
|
-
spec.add_dependency "dryad-core", Dryad::Cluster::VERSION
|
25
|
-
spec.add_dependency "dryad-consul", Dryad::Cluster::VERSION
|
26
|
-
spec.add_dependency "concurrent-ruby", "~> 1.1", ">= 1.1.5"
|
27
|
-
|
28
|
-
spec.add_development_dependency "bundler", "~> 2.0"
|
29
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
30
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
31
|
-
end
|