odania 0.0.5 → 0.0.6

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: 8898e664723da738bf3af53220963892b7e8b74f
4
- data.tar.gz: 4e0c261a541c640fd44d35b5a60687480730d7e5
3
+ metadata.gz: 0b7f0eb0f8e98355d2f2c62738b3f0ec6456573a
4
+ data.tar.gz: 43a389d5cb2168f23420a570bb8158cb54181f45
5
5
  SHA512:
6
- metadata.gz: defd5442812bbaa01255998e3a2fa67016993ca4b469064abc86ab80a225189f15cdee5a5b65cabf749d3ca0479f956447990f644f6f9c17bdc5056a11617f3c
7
- data.tar.gz: d0099bad4b25775dc143f00d6690da05c354eecc73177661a9a2d48b112dd1660eb8c8736602f47307895c65ed4f23612765ed27d9b9b4ad3cd2d65e28c44fda
6
+ metadata.gz: d9bc97ed1789ec53522357caff4c091afa3e8b0e9a27b64034c137a9e02693e0f095026564efe015e524cf64537d705cbcd691b28926190468cab7d3cc6a2a3a
7
+ data.tar.gz: fdabd4178a199acfffded9ee9818077981e27e79aff40d7845077eac5f0e2353aa4d5eec8149c552ae40791e9b7393d173f7b8cbef9b05331a74d81ec17b2b3d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- odania (0.0.5)
4
+ odania (0.0.6)
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
- consul_config = Odania.service.consul_service_config(plugin_name, plugin_instance_name, plugin_config['ip'], plugin_config['tags'], plugin_config['port'])
28
+ consul_config = Odania.service.consul_service_config(plugin_name, plugin_instance_name, plugin_config[:ip], plugin_config[:tags], plugin_config[:port])
29
29
  Odania.service.register_service(consul_config)
30
30
 
31
31
  Diplomat::Event.fire('updated_plugin_config', "#{plugin_name}|#{plugin_instance_name}")
@@ -1,3 +1,3 @@
1
1
  module Odania
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Petersen