multiforecast-client 0.62.0.8 → 0.72.0.1

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: 0b9877d259aaf94156087bbac8bb9aa66694db1c
4
- data.tar.gz: 187c70b320517e6df23d68877d9bd881b5f55c08
3
+ metadata.gz: 58aded27a6f0ce6fa765408ae5357da72306188a
4
+ data.tar.gz: b176e85fa49dddb5f7eed7ff3df8250404bd0e0f
5
5
  SHA512:
6
- metadata.gz: ddc753bd90d278f704fc8aa87ee2e04fe4ce8e1b9aed7d11a21ed94912f17a47df6c98a7999d314261015d84d02f11cda1977341e760d866d8920c8e3ee036ca
7
- data.tar.gz: 0cce09b837eb7a5cd5a1a04dbca59fe69a7cecd58da04d45129e202bca6c5d3cd0f3644fc4e1e315ceb84280697da59013b40f76b1c2b152200f1ec76d9b9e09
6
+ metadata.gz: e1ed49bd8a297c31c2857a15a0c9cfbe938d8d18ec98cc8e3fe562cba1ff7084de94102baf45ab3799447dfeb30b4f47d1738bd61bd281cccfe0665d1f8f3672
7
+ data.tar.gz: d6a4dfe7fefea607a45a54e18e09242809b47fc68e960714d4910d3c9b85bc37125869f1ce9ac0cb0c5a2c09bc4460cd1b825aa119c101d7a8b5c573a2524704
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.72.0.1 (2013/11/27)
2
+
3
+ Fix
4
+
5
+ * Fix the hidden function of mapping to `in_uri` and `out_uri`
6
+
1
7
  # 0.62.0.8 (2013/09/20)
2
8
 
3
9
  Enhancements:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.62.0.8
1
+ 0.72.0.1
@@ -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
- base_uri = uri['in_uri']
29
- out_uri = uri['out_uri']
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
- before(:all) {
13
- multiforecast.delete_graph("app name/host name/<1sec count") rescue nil
14
- multiforecast.delete_graph("app name/host name/<2sec count") rescue nil
15
- multiforecast.post_graph("app name/host name/<1sec count", { 'number' => 0 }) rescue nil
16
- multiforecast.post_graph("app name/host name/<2sec count", { 'number' => 0 }) rescue nil
17
- }
18
- after(:all) {
19
- multiforecast.delete_graph("app name/host name/<1sec count") rescue nil
20
- multiforecast.delete_graph("app name/host name/<2sec count") rescue nil
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.62.0.8
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-09-20 00:00:00.000000000 Z
11
+ date: 2013-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: growthforecast-client