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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0db3cbd897cd5145c8f1261ce24a798f8c6c2f1f7a4fc6f1f85f5e146692574e
4
- data.tar.gz: 240feda3a42cdabef736f36b9776d54e824eaacad20d0d9873959c3a974023e5
3
+ metadata.gz: d8fd45bcfbd26933d504e288d423714c6bdc44999e2f0ada2b229ef871b5374e
4
+ data.tar.gz: ef3c7bd1242df7b566daa8ad3ee0a4e0cc5b41ccb48fce20aff2a1e04f26b5aa
5
5
  SHA512:
6
- metadata.gz: 802b6786733904f184ff4d8f105459ebce7866c3abb612f085ff9bb8feb99fce49cb29d656e3c60dcc0024471a996480d35990e4bfdb96c29eeeedf513ed7cce
7
- data.tar.gz: d3b5691eccaa81fa8fad6c630f06a449329ac6ce257fb6f5e81156314cdf9f83cbffc11628a2ad938ada736264e6acf4ab03fa391fd5e5a392dadcdd905fe0fd
6
+ metadata.gz: d308a809da8afe6b078739fbc2908c230130a16933e6c8437d199679d850890395173591089313d2e2fe32fa3cc06701b4f5da4cff893f1ca591d907af52063f
7
+ data.tar.gz: cf12e9bc11cd13703d7287ea775cff28f5431563bf788b5b1cf4a15de2615abc396ae15ad36ff7ed0497df2b7aa2705dd900d35e4498e4f371b9e08df71eb0e3
@@ -1,7 +1,6 @@
1
1
  require 'concurrent'
2
2
  require "dryad/core"
3
3
  require "dryad/consul"
4
- require "dryad/cluster/railtie" if defined?(Rails)
5
4
  require "dryad/cluster/version"
6
5
  require "dryad/cluster/round_robin"
7
6
  require "dryad/cluster/service_observer"
@@ -1,5 +1,5 @@
1
1
  module Dryad
2
2
  module Cluster
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
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.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-09 00:00:00.000000000 Z
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.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.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.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.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