graphite_graph 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/graphite_graph/version.rb +1 -1
- data/lib/graphite_graph.rb +3 -1
- metadata +4 -4
data/lib/graphite_graph.rb
CHANGED
|
@@ -261,7 +261,7 @@ class GraphiteGraph
|
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
url_parts << "areaMode=#{properties[:area]}" if properties[:area]
|
|
264
|
-
url_parts << "hideLegend=#{properties[:hide_legend]}"
|
|
264
|
+
url_parts << "hideLegend=#{properties[:hide_legend]}" unless properties[:hide_legend].nil?
|
|
265
265
|
url_parts << "hideGrid=#{properties[:hide_grid]}" if properties[:hide_grid]
|
|
266
266
|
url_parts << "yMin=#{properties[:ymin]}" if properties[:ymin]
|
|
267
267
|
url_parts << "yMax=#{properties[:ymax]}" if properties[:ymax]
|
|
@@ -301,6 +301,8 @@ class GraphiteGraph
|
|
|
301
301
|
graphite_target = "aliasByNode(#{graphite_target},#{target[:alias_by_node]})"
|
|
302
302
|
elsif target[:alias]
|
|
303
303
|
graphite_target = "alias(#{graphite_target},\"#{target[:alias]}\")"
|
|
304
|
+
elsif target[:no_alias]
|
|
305
|
+
graphite_target = graphite_target # no-op
|
|
304
306
|
else
|
|
305
307
|
graphite_target = "alias(#{graphite_target},\"#{name.to_s.capitalize}\")"
|
|
306
308
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphite_graph
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- R.I.Pienaar
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2012-
|
|
19
|
+
date: 2012-05-29 00:00:00 +01:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies: []
|
|
22
22
|
|