influxdb_setup 1.1.0 → 1.1.1

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: 3f8f561855ababe643437b7264f70405452ada8f
4
- data.tar.gz: 0f678a8b91a45b3417eb5da6fb6ca9847c995002
3
+ metadata.gz: a66d18ae09fc31e9ffa8a50b37b8e3af9f0daab5
4
+ data.tar.gz: 0eef62d09f5300a134ee5b113771fbb4bbf903c1
5
5
  SHA512:
6
- metadata.gz: e0cc6b05a40dc0970d44af0b4cf158f20f8651874fe421f4599027d54005a98a2a88a43d3ddea560b3343e7c978e1b9a448ee016495824fc07b702417b429a64
7
- data.tar.gz: 820639ba9e660591ae6f069e34b33bde93575e6dafd5200b19e9d449db8d284e762af3dbbeb9f7a75b52f82a2defb56f4c6133f6d79a3fb791c2049dc3100669
6
+ metadata.gz: 442c13dbc98d745d8ed691f44f3f2a870417691c861fca55045f2bb06cbaa63b45ca70917034b4410931b7232522e8a8d13b637c9ec63dc616b8417609838097
7
+ data.tar.gz: 7e1d9034d3c6927eefea7b47b1e669fe0bf56df03224e2b2bb2dfd4fddb13a5f114b67b5e2afca6d2d61e11f19dfad0586352bddc86d5e3affe5d2c2772a70e2
data/.travis.yml CHANGED
@@ -1,4 +1,12 @@
1
1
  language: ruby
2
+ sudo: required
3
+
4
+ services:
5
+ - docker
6
+
2
7
  rvm:
3
8
  - 2.2.3
4
- before_install: gem install bundler -v 1.10.6
9
+
10
+ before_install:
11
+ - gem install bundler -v 1.10.6
12
+ - docker run -d -p 8083:8083 -p 8086:8086 tutum/influxdb
data/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@ CHANGELOG inspiration from http://keepachangelog.com/.
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## [1.1.1] - August 22, 2016
9
+ * Fix bug in CreateRetentionPolicy when no policies configured in YAML.
10
+
8
11
  ## [1.1.0] - August 8, 2016
9
12
  * Support configuration of retention policies
10
13
  * Support specifying config file instead of using the default one
@@ -1,8 +1,10 @@
1
1
  module InfluxdbSetup
2
2
  class CreateRetentionPolicy < Command
3
3
  def call
4
- db = @config.db_name
5
4
  retention_policies = @config.retention_policies
5
+ return if retention_policies.nil?
6
+
7
+ db = @config.db_name
6
8
 
7
9
  root = @config.build_client
8
10
  rcs = root.list_retention_policies(db).map { |row| row["name"] }
@@ -1,3 +1,3 @@
1
1
  module InfluxdbSetup
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: influxdb_setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donald Plummer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-08 00:00:00.000000000 Z
11
+ date: 2016-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: influxdb