obf 0.6.28 → 0.6.29

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/external.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9021540fe4fd1a5cc720dd97fa2df31bfcef423
4
- data.tar.gz: 0e2e3778ee1109325afff79f712fcd93035faf61
3
+ metadata.gz: fb28de2c0b80cad68df21fd3a3a775919612e0ec
4
+ data.tar.gz: c3494f0256523fa5c657c9c530f7b2b68b4a5367
5
5
  SHA512:
6
- metadata.gz: 914a79d9a01aa5c294d068c8c443e74ced76baeb2d93c21f5e385d10e0b1446d6fd192cfdde6b7020f6b03e137f1cd593399ca6dcebf7339f0ddc47fb86019d6
7
- data.tar.gz: 6aaf40ba2561302004f617d3026b97de3751e41b7d72247eea7df5d9c07511444f269baee2c011f5478f3f42bccfbb481a6a775ba48300f42f764de94a0135c2
6
+ metadata.gz: 1769142acdfcf9fd289d1c6b219600975bb25ce8413b92347e4ddba30e52de4e3d417b72411b001d7d966e63a1ce18da438eeee11ff384afea84ef6f65c518d4
7
+ data.tar.gz: 2f4ba3dd445f35bb78029a0871c8fcb3e5e814d6db8ab3204cb94cd656287791986a2b7c57c70960da0e0b071bf0f69b41809732b9ee2aa58c88c8ef47692f3c
@@ -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['url'] || image['data'])
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.28
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-03-30 00:00:00.000000000 Z
11
+ date: 2015-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json