zooniverse_social 1.0.5 → 1.0.6

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: f4d215c74175b558797c0702e8ef7fe2f565fcea
4
- data.tar.gz: 192016dff12f2b0d9fb3e93357e227f7ee3b2b73
3
+ metadata.gz: cc7791659fe17dad465effffea31ef8a0ada684b
4
+ data.tar.gz: 0dd72bbcbf86703df386520ba7c7ddbc81d0dde2
5
5
  SHA512:
6
- metadata.gz: 7e336fce806f80d2525c2b672abe4030cf480ab33d86144cf0e23d890b0b3f50b2d70a867ed6edf16d750725d0f2cc006105863d9f05c8f0bf0c800da9b73623
7
- data.tar.gz: 8641d89aee9f1f85cb586b6ba4da22dce167dd23de3a20ad84d548a85db4b61587ae09741c238d6af28493ce3ac5172316a0ee68c1acf8d43ffa1483a5e2ca05
6
+ metadata.gz: a34dbf3ed524b9979bcf9484eae41e6863f71bea770cc1addb635ba440306de773dc6456963caa5ef5cc5e5e88c58b3394e325c6946a112b0c2715118d1ff3c8
7
+ data.tar.gz: 1d0b11317427744a0070f8a8f89c79c2cb242d6de421ae1650fbc5e1a8b98a7e662280f1df15d2fa19c6f95901de4f27f8124c39ce432e23056c9ab30944735f
@@ -18,14 +18,15 @@ module ZooniverseSocial
18
18
  end
19
19
 
20
20
  def _update(updater)
21
- response = updater.update number: 3, fields: 'ID,URL,title,excerpt,date'
21
+ response = updater.update number: 3, fields: 'ID,URL,title,excerpt,date,featured_image'
22
22
  response.fetch('posts', []).collect do |post|
23
23
  {
24
24
  id: post['ID'],
25
25
  title: remove_entities(post['title']),
26
26
  excerpt: remove_entities(post['excerpt']),
27
27
  created_at: post['date'],
28
- link: post['URL']
28
+ link: post['URL'],
29
+ image: post['featured_image']
29
30
  }
30
31
  end
31
32
  end
@@ -1,3 +1,3 @@
1
1
  module ZooniverseSocial
2
- VERSION = '1.0.5'
2
+ VERSION = '1.0.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zooniverse_social
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Parrish
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2017-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puma
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  requirements: []
241
241
  rubyforge_project:
242
- rubygems_version: 2.5.1
242
+ rubygems_version: 2.6.11
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: Social media aggregation service for the Zooniverse