grafana-rb 0.15.0 → 0.16.0

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: 0e6c02cb82164ba72d54f357f7666261006ce9f8
4
- data.tar.gz: 777d42766e7c1fcce465b5f019cc5a8afe61825f
3
+ metadata.gz: 70ddf2dd82729cc72261c84cc240faec0b1c5767
4
+ data.tar.gz: 75fa610a07f3b3b43d4b96b5a6149d14f779de35
5
5
  SHA512:
6
- metadata.gz: 64a23476e8a9ea937fe249474a9773a448347e3c222adf5b39a2ff99a88be5bb5fecaebc07fa3ab19e05ed61bfccf100e0cc23b710405334339270767071ba95
7
- data.tar.gz: 89c5539c887a303761e40868c8f9577d0b0cb8cfa939277631b0afbdb7ebe1b62d57ca4af392b4c18df05a1ea223d3cbfc0158636bd79a1fe200a94e8231d6f5
6
+ metadata.gz: a5a882c1ae0a9c787dc0adbe5b9fca99639f4811bd9ce9a3384889f4b2727794221ddc37064f2d649e1de693b206574a58aa25e5536a4363da24bfe6f54eaacc
7
+ data.tar.gz: 6948e993ab8e8c50d97d396968ced26020eee861375a9674288dffccc5fd8620471efd388422daba9ddf10b49a77abe01ebdfffe415dee39bde3322177adf158
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ .ruby-version
@@ -1,3 +1,7 @@
1
+ ## Grafana-rb 0.16.0 (April 12, 2017) ##
2
+
3
+ * Fix gem on ruby 2.1.5.
4
+
1
5
  ## Grafana-rb 0.15.0 (April 11, 2017) ##
2
6
 
3
7
  * Support of multiple datasources and notifications.
@@ -178,12 +178,12 @@ module GrafanaRb
178
178
  def gen_panel(id, datasource_id, notif_id, desc)
179
179
  if desc["type"] == "text"
180
180
  {
181
- "content": desc["content"].to_s,
182
- "id": id,
183
- "mode": "markdown",
184
- "span": desc["span"] || 2,
185
- "title": desc["title"].to_s,
186
- "type": "text"
181
+ content: desc["content"].to_s,
182
+ id: id,
183
+ mode: "markdown",
184
+ span: desc["span"] || 2,
185
+ title: desc["title"].to_s,
186
+ type: "text"
187
187
  }
188
188
 
189
189
  elsif desc["type"] == "memory"
@@ -278,7 +278,7 @@ module GrafanaRb
278
278
  executionErrorState: "alerting",
279
279
  frequency: "30s",
280
280
  name: desc["expr"],
281
- notifications: (notif_id ? [{"id": notif_id}] : [])
281
+ notifications: (notif_id ? [{id: notif_id}] : [])
282
282
  }
283
283
  }))))
284
284
 
@@ -1,3 +1,3 @@
1
1
  module GrafanaRb
2
- VERSION = "0.15.0"
2
+ VERSION = "0.16.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grafana-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Vakhov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-11 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.5.2
101
+ rubygems_version: 2.2.2
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Grafana dashboards tool