cryptum 0.0.417 → 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: aa81a409506c509908e316873a1965571e7610b81e38d890c39b6e1f319a22fe
4
- data.tar.gz: d2cb59535f2ab8cb1d73ef2633183c753b4ba249def50440139c48c54c5b077f
3
+ metadata.gz: 1194d686064fa1e4c7906950a981e019d8605dae8d6967eb7fe10c75c21c65a8
4
+ data.tar.gz: a36d28c78ca595d5b4c30120e99545a69acd7729777d716b65f40bbe928ec74e
5
5
  SHA512:
6
- metadata.gz: 22ec326616988473187161ba90e8e8e317564ab63c8304d1a4ad1e7c6a01652db6d2ad98272423d4754d4b40c5be69f7fb029f4a94b1b2eab19b692c87007438
7
- data.tar.gz: 5685b197ec1ccf75e7cea6c4ed6c45fb7a63486f0c88a1b43680160341e112ddffa6c98e5c2f6c9fe8239e3efec645cd6b1cc40a9a86cd9e21da37d9a788ceda
6
+ metadata.gz: 969df8619653a0478488d693ea799439c7bca09848e7a75828110a96f2021633ac34c267f93cacf6242ba2112630c38eca372024bd549eb52df1b2db18586e2a
7
+ data.tar.gz: f04d28105dc1a201f303f01668b7bc3061663f3c14dc9645136fd66c5c07a7fcc7d2e0289cbb1f8a93b09d1c25c98cb9ebbef19c217d6a7e84983e1471785101
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ AllCops:
2
2
  UseCache: false
3
3
  NewCops: enable
4
4
  Layout/LineLength:
5
- Max: 250
5
+ Max: 293
6
6
  Lint/UselessRescue:
7
7
  Enabled: false
8
8
  Metrics/AbcSize:
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.417'
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.417
4
+ version: 0.0.419
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.