cryptum 0.0.418 → 0.0.419

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: 4ac64167c106a6469cbbaf4d775c24ab6e56da7c33574708b31446fe874ec273
4
- data.tar.gz: 2d0f68679621b1cb2bc53e07940abf6ace43a68edb42bded3826f4e4bb5efa16
3
+ metadata.gz: 1194d686064fa1e4c7906950a981e019d8605dae8d6967eb7fe10c75c21c65a8
4
+ data.tar.gz: a36d28c78ca595d5b4c30120e99545a69acd7729777d716b65f40bbe928ec74e
5
5
  SHA512:
6
- metadata.gz: 02bcf71d0444f58d14409b0d25e54c411442522c491389df720feb23006f5a45c0099796d2c438124164d209f9544c9b86664406aad8e4b6a765671ec69a5754
7
- data.tar.gz: a2ed0098da2c55cabd6060d0055790493795d0e8591a731a646f29cee42e37d5c91c12ff8cef95ac6fecb239fe49e998f154e79c897544943b64731b326bee6c
6
+ metadata.gz: 969df8619653a0478488d693ea799439c7bca09848e7a75828110a96f2021633ac34c267f93cacf6242ba2112630c38eca372024bd549eb52df1b2db18586e2a
7
+ data.tar.gz: f04d28105dc1a201f303f01668b7bc3061663f3c14dc9645136fd66c5c07a7fcc7d2e0289cbb1f8a93b09d1c25c98cb9ebbef19c217d6a7e84983e1471785101
data/lib/cryptum/log.rb CHANGED
@@ -43,8 +43,8 @@ module Cryptum
43
43
  when :debug
44
44
  logger.level = Logger::DEBUG
45
45
  when :error
46
- exit_gracefully = true
47
46
  logger.level = Logger::ERROR
47
+ exit_gracefully = true unless driver_name == 'cryptum-repl'
48
48
  puts "\nERROR: See #{log_file_path} for more details." if driver_name == 'cryptum-repl'
49
49
  when :fatal
50
50
  # This is reserved for the Cryptum::UI::Exit module
@@ -87,9 +87,9 @@ module Cryptum
87
87
  end
88
88
 
89
89
  if msg.instance_of?(Interrupt)
90
- log_event += ' => CTRL+C Detected...Exiting Session.'
91
90
  logger.level = Logger::WARN
92
- exit_gracefully = true
91
+ log_event += ' => CTRL+C Detected...Exiting Session.'
92
+ exit_gracefully = true unless driver_name == 'cryptum-repl'
93
93
  else
94
94
  log_event += " => #{msg}"
95
95
  if msg.respond_to?('backtrace') && !msg.instance_of?(Errno::ECONNRESET)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.418'
4
+ VERSION = '0.0.419'
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.418
4
+ version: 0.0.419
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.