copperegg 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/copperegg-0.6.3.gem +0 -0
- data/lib/copperegg/custom_dashboard.rb +2 -2
- data/lib/copperegg/ver.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5054bedeb67b89a9135876f83f23ea041f2f05b
|
4
|
+
data.tar.gz: 4b570e797e1c336d2556cc76d6a8aac079976bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59409bae3cf86c65e1e9ef868a746a9b325395e682974057812d786f94d100d6b415ff19330f45db2a6de8d30323010f0b7ce539b63d66e60e78211068264c53
|
7
|
+
data.tar.gz: a1e10e6be0bf51e1894027e2f261df45db4f8aa60839d1e138a9fa4ee601ab539bb424f4e4918622639d68ede5153ad85475798afbf455ecfcd1209fe0dfdc9d
|
data/copperegg-0.6.3.gem
ADDED
Binary file
|
@@ -8,7 +8,7 @@ module CopperEgg
|
|
8
8
|
|
9
9
|
resource "dashboards"
|
10
10
|
|
11
|
-
attr_accessor :name, :label, :data, :is_database
|
11
|
+
attr_accessor :name, :label, :data, :is_database, :service
|
12
12
|
|
13
13
|
def load_attributes(attributes)
|
14
14
|
@data = {"widgets" => {}, "order" => []}
|
@@ -104,7 +104,7 @@ module CopperEgg
|
|
104
104
|
widget_style = widget_type == "metric" ? "both" : "values"
|
105
105
|
name = options[:name] || "#{metric_group.label} Dashboard"
|
106
106
|
|
107
|
-
dashboard = new(name: name, is_database: (options[:is_database] || false))
|
107
|
+
dashboard = new(name: name, is_database: (options[:is_database] || false), service: (options[:service] || ''))
|
108
108
|
metrics.each.with_index do |metric, i|
|
109
109
|
metric_data = [metric.position, metric.name]
|
110
110
|
metric_data.push("rate") if metric.type == "ce_counter" || metric.type == "ce_counter_f"
|
data/lib/copperegg/ver.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: copperegg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Anderson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_pure
|
@@ -42,6 +42,7 @@ files:
|
|
42
42
|
- "./README.md"
|
43
43
|
- "./Rakefile"
|
44
44
|
- "./copperegg-0.6.2.gem"
|
45
|
+
- "./copperegg-0.6.3.gem"
|
45
46
|
- "./copperegg.gemspec"
|
46
47
|
- "./lib/copperegg.rb"
|
47
48
|
- "./lib/copperegg/api.rb"
|