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.
- checksums.yaml +4 -4
- data/bin/heitt +15 -15
- data/lib/heitt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aaae42753b6fd3c04375200d118517b8b3f45eb42d0bf6b4fddc9b08c64e5af7
|
|
4
|
+
data.tar.gz: ed0b83ef1116ebc291b000985784107a709156df68be16443598d2a41ae59853
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
156
|
+
# def decode(text, decoders)
|
|
157
157
|
#Check if result is printable ascii after decoding
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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