cryptum 0.0.393 → 0.0.394

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
  SHA256:
3
- metadata.gz: ca637e5a3a716df2681e8b1b5596c179eef4a83664d387edfc71d19a088dc4d0
4
- data.tar.gz: ee4e852ed2cbaccfc985f9f0ac5b1fab3e0e9e9e028da55e315476163e51e1f2
3
+ metadata.gz: 4a5b4776548e4f8f6027d5661f9634a6bea22112921ce1b169fac655c98bb555
4
+ data.tar.gz: 2e36f3a30d983f9dab8f65ebc4f0b8d2304ad2c988053b4bf20a8767cd31da27
5
5
  SHA512:
6
- metadata.gz: 004ea17a91df64ef33f9aef8a62cce6b9d558a06f8f46b98ccd473cc4ec4e81ee306ba9734149bbabac7078a59773eb104d1baef1dd76dda566b89a0aebc1ffe
7
- data.tar.gz: 269567118f7ff64cc9ed35d615b7fe65598a8b3f82bea963241b293132558523c6005794823093ed6bc00cb80adea516a97c06c7af299a73490deb3d21df9d28
6
+ metadata.gz: 7939b9976a526e568746f1c1bb666edb9ea92e518fae246a6c7adf99fad5d549bb60862221115cd6ba25fe42efec0140815fde861b7410fc32d63d7dab598927
7
+ data.tar.gz: f5faa02f8418f7ff940b773e3abc56a751dc7fd62d836cec74f7c132417136ecaf47c6c6eb998ca6d857ee9a55b9af8bb4af9f4524f335fed244200dc08e91fa
data/lib/cryptum/log.rb CHANGED
@@ -54,8 +54,10 @@ module Cryptum
54
54
  log_event = event_history.order_book[:path] if event_history.respond_to?('order_book')
55
55
  if msg.instance_of?(Interrupt)
56
56
  log_event += ' => CTRL+C Detected...Exiting Session.'
57
+ logger.level = Logger::WARN
58
+ exit_gracefully = true
57
59
  else
58
- log_event += " => #{msg}"
60
+ log_event += "=> #{msg}"
59
61
  end
60
62
 
61
63
  logger.add(logger.level, log_event, which_self)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.393'
4
+ VERSION = '0.0.394'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.393
4
+ version: 0.0.394
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.