red_cross 0.2.6 → 0.2.7

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: eb9ba5a9da7b6610c021076cee4178dde6ea9935
4
- data.tar.gz: e1a9f7b463ec887af0ab15b39f9d1dc01788e32c
3
+ metadata.gz: 4b1d776661a89ad9f7eb6d0c59f8aecb11cd36f6
4
+ data.tar.gz: 9528d65193ab657560be5527413caa9231e39457
5
5
  SHA512:
6
- metadata.gz: c3d62205eeba06b2eddfad65f28643f118ec7e93f6f1c6ee26ef9b12a35dcb1bb47307fc9285fe6df8e93528cdf87e8a189fad309e038f22fa774bd4ace6bc95
7
- data.tar.gz: acae8033bd796bc8496d5590e1e64f2b0a2cfb4c3729ed05aa78b77e4a6ef511938c99e5d74481ec500f1403e0b3fbb74c5f6c9e33fdf6a04d8ec3996abb727b
6
+ metadata.gz: d31748feb72554b02708fd9a82a605493b10d2f4e94f396d1910743d3aec774c59487a3d9241ad853fd0b08327a8029577813136167b68c28059d2ac6e1aa01b
7
+ data.tar.gz: c125b0e77c839d7453a855968f4293c3337afcb52ff4591b14b8d7d9c2405525810f9dc8a010b014791c08b896ed3fa25bca37db5850e940e1655b07c1415995
@@ -3,7 +3,8 @@ module RedCross
3
3
  class MonitorTracker < RedCross::Trackers::Base
4
4
  attr_accessor :client
5
5
 
6
- def initialize(database = 'test', host = 'localhost', port = 8086)
6
+ def initialize(database = 'test', host = 'localhost', port = 8086, logger = false)
7
+ InfluxDB::Logging.logger = logger
7
8
  @client = InfluxDB::Client.new database,
8
9
  host: host,
9
10
  port: port,
@@ -1,3 +1,3 @@
1
1
  module RedCross
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red_cross
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronbarab
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: analytics-ruby