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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/obf/utils.rb +1 -1
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e9c05fbc1eb76aca00e0b2bda343ed7d2309ef8350d494eee7c07b1806013e4
4
- data.tar.gz: 0b13491784c9dae969e7cf9344f7c5d171b63ab6251a37d57ce0261ae78106da
3
+ metadata.gz: a69fdd5e4096eb1801dcfa04abe1d091abfcca98aab6c8170bab7bb3ae93375d
4
+ data.tar.gz: 2d09ffd7e75aedc26c1b764fe2d442c8d527f484d44d678c7757117b46565629
5
5
  SHA512:
6
- metadata.gz: 9459a448663ae43c120ed92d1d223efa5402895665919df8ba2d1ac2c8a52276724f6b4157a71f6c1abe7fafa26029118467a1646f1f0ea2083320dc5c8fcc45
7
- data.tar.gz: 8847fd9594814bb7789178f89584811f63c4726982307a1e4ff432cb9537e9a2beff69c684d4218a04d398116128bab6efc7e87eadc07f24a0a6d09f64aedffa
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.8.37
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: 2021-02-22 00:00:00.000000000 Z
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
- rubyforge_project:
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