copperegg 0.6.1.pre2 → 0.6.1.pre3
Sign up to get free protection for your applications and to get access to all the features.
- data/copperegg-0.6.1.pre3.gem +0 -0
- data/lib/copperegg/metric_group.rb +1 -1
- data/lib/copperegg/ver.rb +1 -1
- metadata +3 -3
- data/copperegg-0.6.1.pre.gem +0 -0
File without changes
|
@@ -64,7 +64,7 @@ module CopperEgg
|
|
64
64
|
json = JSON.parse(response.body)
|
65
65
|
metric_group = self.class.new(json)
|
66
66
|
@id = self.name
|
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
|
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 {|m| m["name"]}.sort
|
68
68
|
if needs_update
|
69
69
|
self.class.request(self.to_hash.merge(:id => @id, :request_type => "put", :show_hidden => true))
|
70
70
|
else
|
data/lib/copperegg/ver.rb
CHANGED
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.
|
4
|
+
version: 0.6.1.pre3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|
@@ -34,7 +34,7 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- ./CHANGELOG.md
|
37
|
-
- ./copperegg-0.6.1.
|
37
|
+
- ./copperegg-0.6.1.pre3.gem
|
38
38
|
- ./copperegg.gemspec
|
39
39
|
- ./Gemfile
|
40
40
|
- ./Gemfile.lock
|
data/copperegg-0.6.1.pre.gem
DELETED
Binary file
|