dryad-cluster 1.0.0 → 1.0.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/cluster.rb +0 -1
- data/lib/dryad/cluster/version.rb +1 -1
- metadata +6 -7
- data/lib/dryad/cluster/railtie.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8fd45bcfbd26933d504e288d423714c6bdc44999e2f0ada2b229ef871b5374e
|
4
|
+
data.tar.gz: ef3c7bd1242df7b566daa8ad3ee0a4e0cc5b41ccb48fce20aff2a1e04f26b5aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d308a809da8afe6b078739fbc2908c230130a16933e6c8437d199679d850890395173591089313d2e2fe32fa3cc06701b4f5da4cff893f1ca591d907af52063f
|
7
|
+
data.tar.gz: cf12e9bc11cd13703d7287ea775cff28f5431563bf788b5b1cf4a15de2615abc396ae15ad36ff7ed0497df2b7aa2705dd900d35e4498e4f371b9e08df71eb0e3
|
data/lib/dryad/cluster.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryad-cluster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.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-07-
|
11
|
+
date: 2019-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dryad-core
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.
|
19
|
+
version: 1.0.1
|
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: 1.0.
|
26
|
+
version: 1.0.1
|
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: 1.0.
|
33
|
+
version: 1.0.1
|
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: 1.0.
|
40
|
+
version: 1.0.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: concurrent-ruby
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,7 +118,6 @@ files:
|
|
118
118
|
- bin/setup
|
119
119
|
- dryad-cluster.gemspec
|
120
120
|
- lib/dryad/cluster.rb
|
121
|
-
- lib/dryad/cluster/railtie.rb
|
122
121
|
- lib/dryad/cluster/round_robin.rb
|
123
122
|
- lib/dryad/cluster/service_observer.rb
|
124
123
|
- lib/dryad/cluster/version.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
require "rails"
|
2
|
-
require "dryad"
|
3
|
-
|
4
|
-
module Dryad
|
5
|
-
module Cluster
|
6
|
-
class Railtie < Rails::Railtie
|
7
|
-
initializer "dryad_cluster.set_config" do
|
8
|
-
ActiveSupport.on_load(:dryad_cluster) do
|
9
|
-
Dryad::Cluster.configuration = Dryad.configuration
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
ActiveSupport.run_load_hooks(:dryad_cluster, Cluster)
|
15
|
-
end
|