odania 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 076f9e6cc8156fd5b48d9314b5ef92812952403e
4
- data.tar.gz: 01a39c0afb890af8cf4525619c604fe58bd8f601
3
+ metadata.gz: 715d1bf1052253129dbeb8261b4827e43c5c67c2
4
+ data.tar.gz: 17e9b820fbe61c229d6a271b7edb6dd3d080c0a8
5
5
  SHA512:
6
- metadata.gz: fbf75641da5fef0677b7b6efe0c544772314646870626113cd343efc6f16dcaace2e5d375d7359159735b19a2029329f8e8ac0c5fad91f89314c27a002a4b8d1
7
- data.tar.gz: c215d6fb960f2cf68a8920437e00c51931eded8e4546078de8511f1c9fb91e97fa2f1d5c2cdcf845a94a29af83cc5c0564b5d543891d10ee5b71ecf26b85bc1f
6
+ metadata.gz: 8a8c8c47742f5996a5329d447f3113d0e8822531ec3542b8cd461986377c299d678c117c5b6159f971ed0ebdf00105c2bb0c3992eee2ed77176a09d90015ed88
7
+ data.tar.gz: 9833d75a12e5cfaa069fecaa926a287e3c03ef0fcc44f3c56a8e634d9173c99e939dc6a94dfc18cac2d3a93d299efed8f34d36fac5e894bb0fd91b63030b7dd6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- odania (0.0.3)
4
+ odania (0.0.4)
5
5
  diplomat
6
6
 
7
7
  GEM
data/lib/odania/plugin.rb CHANGED
@@ -25,7 +25,7 @@ module Odania
25
25
  puts "Writing plugin instance config: #{plugin_instance_name}"
26
26
  Diplomat::Kv.put("#{get_plugin_path(plugin_name)}#{plugin_instance_name}", JSON.dump(plugin_config))
27
27
 
28
- Odania.service.add_service(plugin_name, plugin_instance_name, plugin_config['ip'])
28
+ Odania.service.register_service(plugin_name, plugin_instance_name, plugin_config['ip'])
29
29
 
30
30
  Diplomat::Event.fire('updated_plugin_config', "#{plugin_name}|#{plugin_instance_name}")
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module Odania
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odania
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Petersen