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 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. For example:
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)
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
@@ -1,3 +1,3 @@
1
1
  module CopperEgg
2
- GEM_VERSION = '0.6.1.pre'
2
+ GEM_VERSION = '0.6.1.pre2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copperegg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1.pre
4
+ version: 0.6.1.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: