obf 0.6.23 → 0.6.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/utils.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f3c7e96df362af96cf087174c168966ffd4a6ab
|
4
|
+
data.tar.gz: e20af5e343433d5904a173e9fe225b21a1df49ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 384045a98a8ec10543edf9420a56119093136a2ec16f502abcfa6a5aa592cffe3fa89863109cb7aff2c0ac96feb18244b626bf684de11707379a2ff34807fde0
|
7
|
+
data.tar.gz: f2458355e5fe943f31244389a9b342584b118302e3a7b784ba59acc01a8e27f4a1ca952c8b9db2beacc20cae9261cd35a8649bfee0bef637a5fb0f5ff46e20f6
|
data/lib/obf/utils.rb
CHANGED
@@ -271,7 +271,7 @@ module OBF::Utils
|
|
271
271
|
|
272
272
|
def self.image_attrs(path)
|
273
273
|
if path.match(/^data:/)
|
274
|
-
raw = Base64.strict_decode64(
|
274
|
+
raw = Base64.strict_decode64(path.split(/\,/, 2)[1])
|
275
275
|
file = Tempfile.new('file')
|
276
276
|
path = file.path
|
277
277
|
file.binmode
|