dato 0.3.18 → 0.3.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45883210ac90fc2276bd26e334681558f175918f
4
- data.tar.gz: 2a821e2b293057fc1a0675a0df829225f2a3c75b
3
+ metadata.gz: 987b8b8070402b459c3af4c1b22356f6386d4d92
4
+ data.tar.gz: 4fbb0f6216e9ac3dfbe4910b3bf8ba0bfbf32e8f
5
5
  SHA512:
6
- metadata.gz: ba2db4547fc55b31a9baf71098551bc11e9d35ffd39f3ab7b3362eb1e2a9864dc86cb72f25de02bb2f6d54a16f55e8ad4b23486e9fe9af6553dea2d86cde6ab2
7
- data.tar.gz: 5e6b1d9fcfc323182fcbba4d3d17f50762494fb91686bf0d2b502ca4b596ef94c77fa1c312ba7b4db359b36a0f2732573d496875c4acaa090956308e964c8698
6
+ metadata.gz: 950b340073ebb6c099a3ed454c564fea88fafb2054647cb087a8e917b158d09216848e026e587ea085947a0dbb3050467e363cd53cf514fc0b8466919e437c06
7
+ data.tar.gz: 271161ac60abf23153eb317abca4f454953b7674eb2287cbf778663b3c184c29a369a23b45079e0be625d32c0202e18fe73133965c98f6705ed4b75dd0ebff2e
@@ -24,7 +24,8 @@ module Dato
24
24
  .map { |field| item.send(field.api_key) }
25
25
  .compact
26
26
  .find do |image|
27
- image.width >= 200 && image.height >= 200
27
+ image.width && image.height &&
28
+ image.width >= 200 && image.height >= 200
28
29
  end
29
30
  end
30
31
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.3.18'
3
+ VERSION = '0.3.19'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.18
4
+ version: 0.3.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-14 00:00:00.000000000 Z
11
+ date: 2017-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler