copperegg 0.6.1.pre → 0.6.1.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/copperegg-0.6.1.pre.gem +0 -0
- data/lib/copperegg/metric_group.rb +1 -1
- data/lib/copperegg/ver.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -55,7 +55,7 @@ metric_group.metrics << {"type"=>"ce_gauge", "name"=>"waiting",
|
|
55
55
|
metric_group.save
|
56
56
|
```
|
57
57
|
|
58
|
-
If a metric group by the same name already exists, that one will rather than creating a new one.
|
58
|
+
If a metric group by the same name already exists, that one will rather than creating a new one. In addition, if the metric group was previously removed it will be restored.
|
59
59
|
|
60
60
|
```ruby
|
61
61
|
metric_group2 = CopperEgg::MetricGroup.new(:name => "my_new_metric_group", :label => "New Group Version 2", :frequency => 60)
|
data/copperegg-0.6.1.pre.gem
CHANGED
Binary file
|
@@ -66,7 +66,7 @@ module CopperEgg
|
|
66
66
|
@id = self.name
|
67
67
|
needs_update = self.label != metric_group.label || self.frequency != metric_group.frequency || self.metrics.length != metric_group.metrics.length || self.metrics.map(&:name).sort != metric_group.metrics.map(&:name).sort
|
68
68
|
if needs_update
|
69
|
-
self.class.request(self.to_hash.merge(:id => @id, :request_type => "put"))
|
69
|
+
self.class.request(self.to_hash.merge(:id => @id, :request_type => "put", :show_hidden => true))
|
70
70
|
else
|
71
71
|
response
|
72
72
|
end
|
data/lib/copperegg/ver.rb
CHANGED