chaoite 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: 66b2d5c63f111f3c289d29dbd3b2a7b95c259027
4
- data.tar.gz: 03d844109d85a5e889cfbaecd343068a9bad0bff
3
+ metadata.gz: 74bb88f8785ef90ffef71ba3e7e3c07e29f8f9e8
4
+ data.tar.gz: 9544eecc1120c037e652c104e0edcd16e543e30b
5
5
  SHA512:
6
- metadata.gz: cd0f444672b3454e4c5362f52f60a6525f415c919678dc3feb64e276126ff968e9933ff0614e8db41fd95b2cc5a277ee3ab38a15e2c2576dcaf021de5391e041
7
- data.tar.gz: d6db065cea197a81f3fad8931652962f873b1c2e150ffc1cd69ad82b232b5c18d502ca01fc3c979bc637e4b30dd365c521f5717033a44bb2678bf629c12382fe
6
+ metadata.gz: e7145cf221e41e58ffd7ed76cc223a07548e91b4e03cdb243a956ff34bb8d614a4a16d7c96626c4c52cee633e40917ae26cb95d64b25be0468fa0b1de93e2cce
7
+ data.tar.gz: 7f7dafce23226d6df37b963b2cec1d7e55b51be8fc89443515f4e3eb87e0799ce47a6ddb4fe29849de38f1d62cbb83a8c3d1b287d408649a734912d878b24185
@@ -25,7 +25,8 @@ module Chaoite
25
25
  exit
26
26
  end
27
27
  configs = JSON.parse(File.read(options[:config_file]))
28
-
28
+ options[:server] = configs["graphite_host"] if configs["graphite_host"];
29
+ options[:port] = configs["graphite_port"] if configs["graphite_port"];
29
30
  puts "Starting up Chaoite"
30
31
 
31
32
  client = GraphiteAPI.new(:graphite => "#{options[:server]}:#{options[:port]}")
@@ -1,3 +1,3 @@
1
1
  module Chaoite
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chaoite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aswin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-21 00:00:00.000000000 Z
11
+ date: 2015-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json