multiforecast-client 0.80.0.0 → 0.80.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: ffce1422daba32f3f6f0587f39b5865b59b236e2
4
- data.tar.gz: 822d590d5a4b72658d7b88f3e05cb515b9600ce5
3
+ metadata.gz: 0f3ff190a2dcae55cf761b76617bfa61215eecfc
4
+ data.tar.gz: 18b80b8eda5635555fb26464c27ece3036b1a7f2
5
5
  SHA512:
6
- metadata.gz: 336b2eafe9162be3e215176abddb74d8b2e8b1c7ed4d41ed93dc306185600f30363770c0627a4c0852995eb8eb77a2d2348371985956aba6ceab1571e2b75386
7
- data.tar.gz: e8007e0f32e18ec90c3daddf9a541ab80e1c784cbfa6333fb1a2df01ae2719d40748876dee5e318052f98886b31deb98e17b0d5038bd23b7a5e68fd709cb1a33
6
+ metadata.gz: 0c903900bcff9705f2143e3ba2cd0d7e86d4662fe7c4a246ffefa8a7baae8198d0c8865cdbd162e2e7e27e7030dfcefda8c39d3b86456b8a007299dc2525d9db
7
+ data.tar.gz: 39eee4322bb3e203c366d1477f9c4d4f9c17f5b69ded6cc11f4cb93cae1e575fdb5f6160cff8dcde3ae452157140343bae7ad5486a5d46a940557c979ad74681
@@ -1,3 +1,9 @@
1
+ # 0.80.0.1 (2014/03/04)
2
+
3
+ Fixes
4
+
5
+ * Fix `debug_dev=` is not working
6
+
1
7
  # 0.80.0.0 (2014/02/03)
2
8
 
3
9
  Changes
data/README.md CHANGED
@@ -83,6 +83,20 @@ See help for more:
83
83
  $ multiforecast help
84
84
  ```
85
85
 
86
+ ## Tips
87
+
88
+ ### Debug Print
89
+
90
+ Following codes print http requests and resposes to STDOUT
91
+
92
+ ```ruby
93
+ client = MultiForecast::Client.new('mapping' => {
94
+ 'foo/' => 'http://localhost:5125',
95
+ '' => 'http://localhost:5000'
96
+ })
97
+ client.debug_dev = STDOUT # IO object
98
+ ```
99
+
86
100
  ## INSIDE: How to treat graphs of more than 3 levels
87
101
 
88
102
  Although GrowthForecast can treat only graphs of 3 leveled path, MultiForecast can handle graphs of more than 3 levels.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.80.0.0
1
+ 0.80.0.1
@@ -37,7 +37,7 @@ module MultiForecast
37
37
  # @param [IO] debug_dev such as STDOUT
38
38
  def debug_dev=(debug_dev)
39
39
  @debug_dev = debug_dev
40
- @clients.each {|c| c.debug_dev = debug_dev }
40
+ @clients.each {|path, c| c.debug_dev = debug_dev }
41
41
  end
42
42
 
43
43
  def clients(base_path = nil)
@@ -20,6 +20,11 @@ describe MultiForecast::Client do
20
20
  end
21
21
  end
22
22
 
23
+ context "#debug_dev" do
24
+ subject { MultiForecast::Client.new('mapping' => {'app1/' => 'http://localhost:5125'}) }
25
+ it { expect { subject.debug_dev = STDOUT }.not_to raise_error }
26
+ end
27
+
23
28
  context "#list_graph" do
24
29
  include_context "stub_list_graph" if ENV['MOCK'] == 'on'
25
30
  subject { graphs }
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.80.0.0
4
+ version: 0.80.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: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: growthforecast-client