heitt 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/heitt +15 -15
  3. data/lib/heitt/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4cac48163d051caad98351e1395d1ad624ee01b5bbec6de84e34f85818495f1
4
- data.tar.gz: ac8e59ea2f8bcb08307c3b0393a7a482cdea7bb7e47163eefb2ff6e817074d1f
3
+ metadata.gz: aaae42753b6fd3c04375200d118517b8b3f45eb42d0bf6b4fddc9b08c64e5af7
4
+ data.tar.gz: ed0b83ef1116ebc291b000985784107a709156df68be16443598d2a41ae59853
5
5
  SHA512:
6
- metadata.gz: 3c9acfa3fb59aa5e66f40e87651df940609faf644f4272c57ce277996b07b2ed8a0185d4b7b03a93fac98bd16a72ffa8fef2964eebfb75f9e82d5758abd8cd1d
7
- data.tar.gz: 7f1e6fcd83c8eedf484816a9caa01c050d10e263455948a51a77dcb28bcd6f75bacbf8f4a2a1f5c02713b9e9f769f8d68ccb48119bd23a562158651b7a6b3b7e
6
+ metadata.gz: c4f7ea072d396d4c5ba96f9f65402ab006c1a94856b77cd359417d7ddc26bde65bc81928369f64ad36562aa0d7ce4e7b0efbe4d04edb6d04e467c9df4ce5ab6d
7
+ data.tar.gz: 3a1c7494156de04f10c2a3f132f85337fdd597197883b81cc4d1df934fd3c9d70dcaf89378729837a7e0f086d6cb2d2c75518675e0af56b60e4ee7c3e2f1f804
data/bin/heitt CHANGED
@@ -153,24 +153,24 @@ module HEITT
153
153
  end
154
154
  end
155
155
 
156
- def decode(text, decoders)
156
+ # def decode(text, decoders)
157
157
  #Check if result is printable ascii after decoding
158
- decoders.each do |decoder|
159
- case decoder
160
- when "b64"
161
- text = text.gsub(/[A-Za-z0-9+\/]{4,}={0,2}/) do |match|
162
- current = match
163
- loop do
164
- #until word is non printable ascii continue decoding
165
- decoded = Base64.decode64(word) #rescue break
166
- current = decoded.strip.match?(/\A[[:print:]]+\z/) ? decoded.strip : break
158
+ # decoders.each do |decoder|
159
+ # case decoder
160
+ # when "b64"
161
+ # text = text.gsub(/[A-Za-z0-9+\/]{4,}={0,2}/) do |match|
162
+ # current = match
163
+ # loop do
164
+ # #until word is non printable ascii continue decoding
165
+ # decoded = Base64.decode64(word) #rescue break
166
+ # current = decoded.strip.match?(/\A[[:print:]]+\z/) ? decoded.strip : break
167
167
  #puts "IS PRINTABLE?: #{decoded.match?(/\A[[:print:]]+\z/)}"
168
168
  #puts "RESULT: #{result}"
169
- end
170
- current
171
- end
172
- when "hex"
173
- text = tesxt.gsub(/)
169
+ # end
170
+ # current
171
+ # end
172
+ # when "hex"
173
+ # text = tesxt.gsub(/)
174
174
  end
175
175
  end
176
176
 
data/lib/heitt/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HEITT
4
- VERSION = "0.4.4"
4
+ VERSION = "0.4.5"
5
5
  GITHUB = "https://github.com/jobotow/heitt"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heitt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Botchway Owusu