obf 0.6.28 → 0.6.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/external.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb28de2c0b80cad68df21fd3a3a775919612e0ec
|
4
|
+
data.tar.gz: c3494f0256523fa5c657c9c530f7b2b68b4a5367
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1769142acdfcf9fd289d1c6b219600975bb25ce8413b92347e4ddba30e52de4e3d417b72411b001d7d966e63a1ce18da438eeee11ff384afea84ef6f65c518d4
|
7
|
+
data.tar.gz: 2f4ba3dd445f35bb78029a0871c8fcb3e5e814d6db8ab3204cb94cd656287791986a2b7c57c70960da0e0b071bf0f69b41809732b9ee2aa58c88c8ef47692f3c
|
data/lib/obf/external.rb
CHANGED
@@ -111,7 +111,7 @@ module OBF::External
|
|
111
111
|
image['width'] ||= path_hash['images'][image['id']]['width']
|
112
112
|
image['height'] ||= path_hash['images'][image['id']]['height']
|
113
113
|
else
|
114
|
-
image_fetch = OBF::Utils.image_raw(image['
|
114
|
+
image_fetch = OBF::Utils.image_raw(image['data'] || image['url'])
|
115
115
|
if image_fetch
|
116
116
|
zip_path = "images/image_#{image['id']}#{image_fetch['extension']}"
|
117
117
|
path_hash['images'] ||= {}
|
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.6.
|
4
|
+
version: 0.6.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Whitmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|