kalibro_gatekeeper_client 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f58932a69bb0c13bacc55af23ff726c7ae9f8443
|
4
|
+
data.tar.gz: 00b1ee7fc44561501e75847b9f90314e81570511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12ccfe4abd93b984bd62d3a7c52a6f54e2da63fd63a039ce4f52a379b635589bfae356604fd9b06d77e55fa45fc9a781b195534833296c6a88be345118839d4b
|
7
|
+
data.tar.gz: c6851cde7ac55737ce13cd03ddfa3ea8357df73413354289666b472033ec7bc69914371cddb5ce636860f7949138cce5cdd21617f4a7053c476e2339eb01139e
|
@@ -19,7 +19,7 @@ require "kalibro_gatekeeper_client/entities/model"
|
|
19
19
|
module KalibroGatekeeperClient
|
20
20
|
module Entities
|
21
21
|
class MetricConfigurationSnapshot < Model
|
22
|
-
attr_accessor :code, :weight, :aggregation_form, :metric, :
|
22
|
+
attr_accessor :code, :weight, :aggregation_form, :metric, :metric_collector_name, :range
|
23
23
|
|
24
24
|
def weight=(value)
|
25
25
|
@weight = value.to_f
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# it under the terms of the GNU General Public License as published by
|
6
6
|
# the Free Software Foundation, either version 3 of the License, or
|
7
7
|
# (at your option) any later version.
|
8
|
-
#
|
8
|
+
#
|
9
9
|
# This program is distributed in the hope that it will be useful,
|
10
10
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
11
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
@@ -16,11 +16,11 @@
|
|
16
16
|
|
17
17
|
FactoryGirl.define do
|
18
18
|
factory :metric_configuration_snapshot, class: KalibroGatekeeperClient::Entities::MetricConfigurationSnapshot do
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
end
|
19
|
+
code "code"
|
20
|
+
weight "1.0"
|
21
|
+
aggregation_form 'AVERAGE'
|
22
|
+
metric {FactoryGirl.build(:metric)}
|
23
|
+
metric_collector_name "Analizo"
|
24
|
+
range {FactoryGirl.build(:range_snapshot)}
|
25
|
+
end
|
26
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kalibro_gatekeeper_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego Araújo Martinez
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-09-
|
14
|
+
date: 2014-09-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|