diffbot 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/diffbot.gemspec +1 -1
- data/lib/diffbot/article.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a92d92e8d757b552284ab617b521c62d206328fe
|
|
4
|
+
data.tar.gz: 45d9c03628cfca2b3b48802f8e363d138c7621e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baacea6d58b9c6106ae778c4103f6457254325fc531f42d332dfb3a9b628f125fe752bccb66a010e5085e0fa35454167a0a08274bbc807bf47f4dd9a28517ff2
|
|
7
|
+
data.tar.gz: bd646a20aae0a7723bf326b61ab6f52487d5a49c4be49fda182f47e6ad043740761344d02b5654dd5858e0a37f0119e2fcba778dc20d972e9a34ee6f25441820
|
data/Gemfile.lock
CHANGED
data/diffbot.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "diffbot"
|
|
3
|
-
s.version = "0.1.
|
|
3
|
+
s.version = "0.1.6"
|
|
4
4
|
s.description = "Diffbot provides a concise API for analyzing and extracting semantic information from web pages using Diffbot (http://www.diffbot.com)."
|
|
5
5
|
s.summary = "Ruby interface to the Diffbot API "
|
|
6
6
|
s.authors = ["Nicolas Sanguinetti", "Roman Greshny"]
|
data/lib/diffbot/article.rb
CHANGED
|
@@ -101,7 +101,7 @@ module Diffbot
|
|
|
101
101
|
# caption - Diffbot-determined best caption for the image, if detected.
|
|
102
102
|
# primary - Returns "true" if image is identified as primary.
|
|
103
103
|
property :images
|
|
104
|
-
coerce_property :images,
|
|
104
|
+
coerce_property :images, collection: ImageItem
|
|
105
105
|
|
|
106
106
|
# Public: The raw text of the article, without formatting.
|
|
107
107
|
property :text
|
|
@@ -148,7 +148,7 @@ module Diffbot
|
|
|
148
148
|
# pixel_width - Video width, in pixels, if accessible.
|
|
149
149
|
# primary - Returns "true" if the video is identified as primary.
|
|
150
150
|
property :videos
|
|
151
|
-
coerce_property :videos,
|
|
151
|
+
coerce_property :videos, collection: VideoItem
|
|
152
152
|
|
|
153
153
|
class Stats < Hashie::Trash
|
|
154
154
|
property :fetch_time, from: :fetchTime
|