open_calais 0.4.1 → 0.4.2

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
  SHA256:
3
- metadata.gz: d4b330acabd2eb3abb0bb859c5dadc45983a1e6fc8d51cf948ff185f83bb720e
4
- data.tar.gz: 86abb32abf7cb2cb58e4d64475aa6d36b4e8c39b2e56c82c84f1a7c4c5351db9
3
+ metadata.gz: 5124fa084d725c52838fdf7e5e18322945bf2c96401b2dbadf80ab968e7b4068
4
+ data.tar.gz: e3d1b1209d652df0e5b46e2c743ca9569ea23b74cc31a9becbefba5db181d6b6
5
5
  SHA512:
6
- metadata.gz: f5511997370864eb6e6d476b0cef3f21329c33a0437eba8ce474d95f6d22d73b4b385ede8a1ed4d74be2470b8a4f1ced863655085c833a6a2c65ea500f49c1eb
7
- data.tar.gz: 783d84b688f6281de0403dbbf5e07e304fe67e28b618322891c0e79e873670523890416de999ab3724385bdeb072d50c9a04d678c085673fb833ddf9bbe99bc6
6
+ metadata.gz: b0f606b87803a27e740d08c5a1974abfc2c14c3e4fb468ab3ba76f7611a65113bf606be930d8e37628df6e219729ccb0412d1827121a9a85f08c50397af0508d
7
+ data.tar.gz: e22336a48b7f6467872bf4b4c530b8d8e3f29f1b5754f8391f82600d9890519c1b295db44d4b372e427df2331a653d7f65a6e398d094e22b7701fbbcd2eca780
@@ -103,7 +103,7 @@ module OpenCalais
103
103
  end
104
104
 
105
105
  def set_location_info(item, v)
106
- return item if v.resolutions.empty?
106
+ return item if v.resolutions.nil? || v.resolutions.empty?
107
107
 
108
108
  r = v.resolutions.first
109
109
  item[:name] = r.shortname || r.name
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module OpenCalais
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_calais
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kuklewicz
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-25 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -193,7 +193,7 @@ homepage: https://github.com/PRX/open_calais
193
193
  licenses:
194
194
  - MIT
195
195
  metadata: {}
196
- post_install_message:
196
+ post_install_message:
197
197
  rdoc_options: []
198
198
  require_paths:
199
199
  - lib
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  requirements: []
211
211
  rubygems_version: 3.1.2
212
- signing_key:
212
+ signing_key:
213
213
  specification_version: 4
214
214
  summary: This is a gem to call the OpenCalais improved REST API.
215
215
  test_files: