cryptum 0.0.335 → 0.0.336

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: 2e7aaa092e4bed9f901e33220f92b8c265967a232d65c10f7552fb568724bbdc
4
- data.tar.gz: 52cb04ca782b3ff1fd86093b63542ba2a08f3e49faa048f07b4e91bdb08b6095
3
+ metadata.gz: f676ca3db2faa2f0f18f6b961bcd45593a8d1ff029279b51288e0cbc597e5bad
4
+ data.tar.gz: '08518777bc78f39bbe2a5b26187154139d045a637b52c8d27d760ed3dae513ef'
5
5
  SHA512:
6
- metadata.gz: 528dc2029f683179d4b355472fc23be687d63fef3cdd87d6203f307b5baf1643d2721d24956474f20ff6826d8e779d54419139e4696db2e5e538da0d347f700a
7
- data.tar.gz: 48d45e80779b3f436ce285e1fdabd458ae6f57bc5d3e2da585a46b0df134002a8dd52472835e9af08e24fbf92ec4d1d46228512ed117da5640fcc82340bdf3b5
6
+ metadata.gz: 47ece1954a33fee963dd69fe69b2fc35dbc751e24bc94e2c234cd00971233aa4585be4bf889b4194ce0a5be48016b5538502f919d511a1aabc63511a0e251a82
7
+ data.tar.gz: 1d60bab0284f85bc3fad4c78a9cb295f6f1fad07e3ea9aca4b7fa5bf6b858d41f5b9bb6685d59002e00591e840109106e27feddcf256570b08dea6f42146a2e0
@@ -34,12 +34,14 @@ module Cryptum
34
34
 
35
35
  if last_sequence + 1 < sequence
36
36
  sequence_diff = sequence - last_sequence
37
- f.puts Time.now.strftime('%Y-%m-%d %H:%M:%S.%N %z')
38
- f.puts "Module: #{self}"
39
- f.puts 'Messages likely dropped:'
40
- f.puts "This Sequence: #{sequence}"
41
- f.puts "Last Sequence: #{last_sequence}"
42
- f.puts "Sequence Diff: #{sequence_diff}\n\n\n"
37
+ File.open('/tmp/cryptum-errors.txt', 'a') do |f|
38
+ f.puts Time.now.strftime('%Y-%m-%d %H:%M:%S.%N %z')
39
+ f.puts "Module: #{self}"
40
+ f.puts 'Messages likely dropped:'
41
+ f.puts "This Sequence: #{sequence}"
42
+ f.puts "Last Sequence: #{last_sequence}"
43
+ f.puts "Sequence Diff: #{sequence_diff}\n\n\n"
44
+ end
43
45
  end
44
46
  # raise "ERROR: Sequence Order Mismatch - #{last_sequence} #{sequence}" unless sequence >= last_sequence
45
47
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.335'
4
+ VERSION = '0.0.336'
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.335
4
+ version: 0.0.336
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.