flydata 0.6.8 → 0.6.9

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: f6e8720b9ddefaf9b9e82c04d4fe4a9507af9626
4
- data.tar.gz: c978a8cc67846795fa8da315e2af784c4b69a0bd
3
+ metadata.gz: 16f0956a2f93fb80b343aad9cc666b31be940fff
4
+ data.tar.gz: c93ace41da167ae076f34d2af86f7e8327c09e33
5
5
  SHA512:
6
- metadata.gz: 69f58a4d4f5b36a6946d6d088b24cdf3e3d4e0bcc020331460ac01635f291ce7fc2b374b895ce6c93aedb1cc6ce643fb2cf4ee4f61ff9c86f796c3fe60aec5cc
7
- data.tar.gz: ad31dd015097ed93398d015a6a5b074e453c20746abeb96c66edae45b4963a59a10219888688c146ebd29daa620ab66dfd0996a4c7792933387481423fed931c
6
+ metadata.gz: 843824aae08e0cfc4131b27d16fbfaaeeacb284c45a4457c9d64f7b9a3b3c870317a13b3b89f077210b7c36a8b600cb1b4a8b5bbb4fab7483639071e066f935e
7
+ data.tar.gz: cf33ab366fc6c25f3d92e76a216ae725af0e5b1b5aea277132b73bdd53d2e83dcf9b797f063fc1cc6c16f0d05e62d0293f31a0db9c2e587b16fb138eb72b286c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.8
1
+ 0.6.9
data/flydata.gemspec CHANGED
Binary file
@@ -192,11 +192,14 @@ EOF
192
192
  raise "Somthing has gone wrong... Please try setup command again."
193
193
  end
194
194
  def wait_until_client_stop(options = {})
195
- retry_count = 10
195
+ retry_count = 120
196
+ show_message_at_retry = 4
196
197
  1.upto(retry_count) do |i|
197
198
  return true unless process_exist?
198
- log_info_stdout("Waiting for the client to stop... (#{i}/#{retry_count})") unless options[:quiet]
199
- Kernel.sleep 3
199
+ Kernel.sleep 5
200
+ if i % show_message_at_retry == 0
201
+ log_info_stdout("Waiting for the client to stop...") unless options[:quiet]
202
+ end
200
203
  end
201
204
  false
202
205
  end
@@ -228,8 +228,8 @@ EOS
228
228
  begin
229
229
  @kodama_client.stop_request
230
230
  if wait_till_safe_to_stop
231
- $log.info "Killing Kodama client"
232
- Thread.kill(@thread)
231
+ @thread.join
232
+ $log.info "Kodama has stopped successfully"
233
233
  else
234
234
  $log.error "Unable to stop Kodama"
235
235
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flydata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koichi Fujikawa
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-02-19 00:00:00.000000000 Z
15
+ date: 2016-02-20 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rest-client