growthforecast-client 0.82.3 → 0.82.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62c91e2c0134074675e206a974920e78f007b397
4
- data.tar.gz: d4443209188a3b81a2eb28163d7e11e00194069a
3
+ metadata.gz: 5b3280f3998917bc24978e82e87c0946a8eb59c7
4
+ data.tar.gz: fc799d6507200b816b14aa224947b7e1eae7987d
5
5
  SHA512:
6
- metadata.gz: bf3f6b11580d9b6afe6b94f2772cc7b92a06ff4629b05a15d20b9e33777f51155c3dca228ac6bcb26744e19396517361e8a43922a9ac1d1eeb0f8d19826cb7c8
7
- data.tar.gz: 69f14af6f9f228170478bb2a461555d5b622a9325b3ea6472e3d569cb8091ec166b12ec3c356a7892b2a62881a013e1f63ddd866c567e8b299bbc22fac9a3cd8
6
+ metadata.gz: e28a4ada7a5e80d44adc8c2ff84b621a5b5e336aff9d7374326801591a9f3b5b30305c8fd76d0a1ea6bb70e96b97da8a27475d81610dcd1c101b6f6459f06f44
7
+ data.tar.gz: f3f8df49f1970806525b6c11dc726c59188b3db0b552f929556ae5a98440973141aba7d56fa0ff633b66bba2d6ce242b0fe891fcee16f2a13f7627f69c8ee3ac
@@ -1,3 +1,9 @@
1
+ # 0.82.4 (2014/06/10)
2
+
3
+ Fixes:
4
+
5
+ - Rescue exception on `bench` command
6
+
1
7
  # 0.82.3 (2014/06/10)
2
8
 
3
9
  Enhancement:
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'growthforecast-client'
6
- gem.version = '0.82.3'
6
+ gem.version = '0.82.4'
7
7
  gem.authors = ["Naotoshi Seo"]
8
8
  gem.email = ["sonots@gmail.com"]
9
9
  gem.homepage = "https://github.com/sonots/growthforecast-client"
@@ -112,7 +112,11 @@ class GrowthForecast::CLI < Thor
112
112
  start = Time.now
113
113
  Parallel.each_with_index(paths, :in_processes => concurrency) do |path, i|
114
114
  puts "Completed #{i} requests" if i % 1000 == 0 and i > 0
115
- @client.post_graph(path[0], path[1], path[2], { "number" => rand(1000) }) rescue nil
115
+ begin
116
+ @client.post_graph(path[0], path[1], path[2], { "number" => rand(1000) })
117
+ rescue => e
118
+ $stderr.puts "#{e.class} #{e.message}"
119
+ end
116
120
  end
117
121
  puts "Completed #{requests} requests"
118
122
  duration = (Time.now - start).to_f
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growthforecast-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.3
4
+ version: 0.82.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo