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 +4 -4
- data/lib/zooniverse_social/posts.rb +3 -2
- data/lib/zooniverse_social/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc7791659fe17dad465effffea31ef8a0ada684b
|
4
|
+
data.tar.gz: 0dd72bbcbf86703df386520ba7c7ddbc81d0dde2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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:
|
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.
|
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
|