multiforecast-client 0.62.0.8 → 0.72.0.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/multiforecast/client.rb +2 -2
- data/lib/multiforecast/shared_context/setup.rb +12 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58aded27a6f0ce6fa765408ae5357da72306188a
|
4
|
+
data.tar.gz: b176e85fa49dddb5f7eed7ff3df8250404bd0e0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1ed49bd8a297c31c2857a15a0c9cfbe938d8d18ec98cc8e3fe562cba1ff7084de94102baf45ab3799447dfeb30b4f47d1738bd61bd281cccfe0665d1f8f3672
|
7
|
+
data.tar.gz: d6a4dfe7fefea607a45a54e18e09242809b47fc68e960714d4910d3c9b85bc37125869f1ce9ac0cb0c5a2c09bc4460cd1b825aa119c101d7a8b5c573a2524704
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.72.0.1
|
data/lib/multiforecast/client.rb
CHANGED
@@ -25,8 +25,8 @@ module MultiForecast
|
|
25
25
|
@base_uris = {}
|
26
26
|
@mapping.each do |path, base_uri|
|
27
27
|
if base_uri.kind_of?(Hash)
|
28
|
-
|
29
|
-
|
28
|
+
out_uri = base_uri['out_uri']
|
29
|
+
base_uri = base_uri['in_uri']
|
30
30
|
end
|
31
31
|
@clients[path] = GrowthForecast::Client.new(base_uri)
|
32
32
|
@base_uris[path] = out_uri || base_uri
|
@@ -9,16 +9,18 @@ shared_context "setup_graph" do
|
|
9
9
|
include_context "let_graph"
|
10
10
|
include_context "stub_post_graph" if ENV['MOCK'] == 'on'
|
11
11
|
include_context "stub_delete_graph" if ENV['MOCK'] == 'on'
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
if ENV['MOCK'] == 'off'
|
13
|
+
before(:all) {
|
14
|
+
multiforecast.delete_graph("app name/host name/<1sec count") rescue nil
|
15
|
+
multiforecast.delete_graph("app name/host name/<2sec count") rescue nil
|
16
|
+
multiforecast.post_graph("app name/host name/<1sec count", { 'number' => 0 }) rescue nil
|
17
|
+
multiforecast.post_graph("app name/host name/<2sec count", { 'number' => 0 }) rescue nil
|
18
|
+
}
|
19
|
+
after(:all) {
|
20
|
+
multiforecast.delete_graph("app name/host name/<1sec count") rescue nil
|
21
|
+
multiforecast.delete_graph("app name/host name/<2sec count") rescue nil
|
22
|
+
}
|
23
|
+
end
|
22
24
|
end
|
23
25
|
|
24
26
|
shared_context "let_complex" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multiforecast-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.72.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: growthforecast-client
|