dryad-core 0.2.7 → 0.3.0

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: ded4b0a795c9455c98c59d0822fbeb6150bf822e799e8866e7ef05840aed4ef2
4
- data.tar.gz: 9e88867bfc85531a118def161fc91107e2b0836cc4a0ae2e159f76e415d735ff
3
+ metadata.gz: 8d750583bf946cd92cb385edfab5a06f20ccde9d8aa44fe0ddeb0000e1abb638
4
+ data.tar.gz: f015bd1db8a1ec558ba87ec6e685431c4134eba2af839c45114c919db3b5c29b
5
5
  SHA512:
6
- metadata.gz: 3ece0099d117848dddb5e7921a35f429393825db86e3faee9f9560e05991df1d15e5199f3423fd9a147cd19c25f04741bde4d646d643005a04508378fe508def
7
- data.tar.gz: f2b71ff4b2a54a507df2a29f608658daa20b9087c14d46e9122cced049b46cec0b5888dbc8bc81c1acd9c2675cf838a541300c3bad4b2f970cf985ebb1550fa5
6
+ metadata.gz: b854adbe1dff30146da96b2126c604e40f736b53fc83a86ca00efee97015e0b19312a5c937c11d1a2201fae828277d136275a1a46a8ab01b62476e63b10ee9c2
7
+ data.tar.gz: 6d99ebc40da01ad02c5fac747f04f324bfa797de8e78d9814ee51473195d1698d3cdd113f494b43120fbf78ecddfa7862e4fce1e63ec97f48c407ce976783aa4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dryad-core (0.2.3)
4
+ dryad-core (0.2.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/dryad/core.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require "dryad/core/config_desc"
2
2
  require "dryad/core/config_provider"
3
3
  require "dryad/core/load_balancing"
4
+ require "dryad/core/observer"
4
5
  require "dryad/core/portal"
5
6
  require "dryad/core/schema"
6
7
  require "dryad/core/service_instance"
@@ -1,7 +1,7 @@
1
1
  module Dryad
2
2
  module Core
3
3
  class ConfigProvider
4
- def load
4
+ def load(path, observer = nil)
5
5
  raise "Implement this method"
6
6
  end
7
7
  end
@@ -0,0 +1,9 @@
1
+ module Dryad
2
+ module Core
3
+ class Observer
4
+ def update(time, result, exception)
5
+ raise "Implement this method"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Dryad
2
2
  module Core
3
- VERSION = '0.2.7'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
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.7
4
+ version: 0.3.0
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-06 00:00:00.000000000 Z
11
+ date: 2019-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -74,6 +74,7 @@ files:
74
74
  - lib/dryad/core/config_desc.rb
75
75
  - lib/dryad/core/config_provider.rb
76
76
  - lib/dryad/core/load_balancing.rb
77
+ - lib/dryad/core/observer.rb
77
78
  - lib/dryad/core/portal.rb
78
79
  - lib/dryad/core/schema.rb
79
80
  - lib/dryad/core/service.rb