obf 0.9.8.37 → 0.9.9.0
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 +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a69fdd5e4096eb1801dcfa04abe1d091abfcca98aab6c8170bab7bb3ae93375d
|
4
|
+
data.tar.gz: 2d09ffd7e75aedc26c1b764fe2d442c8d527f484d44d678c7757117b46565629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d9a0f073fa2028b6f967caed39687d67b21d82c7cd8f37e06f26a8c7e42d99d2a1a76b474a674bea4893325ad1dbf49d2ae38f07f7bdccc22cf1b4514c2c34f
|
7
|
+
data.tar.gz: a8015113cbb3c8e2f3fcf79283e645dd96fb2dd67a3c7623e430301f8d5338898057c4a2b6e2d6b48d1b4daad93dfeddcf646ca325bb995b30559c735d40431e
|
data/lib/obf/utils.rb
CHANGED
@@ -153,7 +153,7 @@ module OBF::Utils
|
|
153
153
|
image['content_type'] ||= attrs['content_type']
|
154
154
|
end
|
155
155
|
end
|
156
|
-
return nil unless image
|
156
|
+
return nil unless image && image['data']
|
157
157
|
str = "data:" + image['content_type']
|
158
158
|
str += ";base64," + Base64.strict_encode64(image['data'])
|
159
159
|
str
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: obf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Whitmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -184,8 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
|
-
|
188
|
-
rubygems_version: 2.7.6
|
187
|
+
rubygems_version: 3.2.3
|
189
188
|
signing_key:
|
190
189
|
specification_version: 4
|
191
190
|
summary: Open Board Format
|