diffbot 0.1.5 → 0.1.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: 5c0ecd299271e20b33ba733f9a5ee42d970ada5c
4
- data.tar.gz: 00273251dfa8c68affcd332180a28a61c0994ec8
3
+ metadata.gz: a92d92e8d757b552284ab617b521c62d206328fe
4
+ data.tar.gz: 45d9c03628cfca2b3b48802f8e363d138c7621e0
5
5
  SHA512:
6
- metadata.gz: 54b92fcea1708907aac25f67e1fbace1c756b785cbdb28aaf821362426486e2cd479d0abe66bbf5e3760a0d3776edfc53e1a934ed3beb8c8dbaf509a42e26aec
7
- data.tar.gz: 5286e54192b8d4f71ada9dd081e4251c6b7fc3a449d25f79edfda47017e997776ec6b149bea0dd2109dcece920a170d221545d6afbffb5798d9f8ca6a4722324
6
+ metadata.gz: baacea6d58b9c6106ae778c4103f6457254325fc531f42d332dfb3a9b628f125fe752bccb66a010e5085e0fa35454167a0a08274bbc807bf47f4dd9a28517ff2
7
+ data.tar.gz: bd646a20aae0a7723bf326b61ab6f52487d5a49c4be49fda182f47e6ad043740761344d02b5654dd5858e0a37f0119e2fcba778dc20d972e9a34ee6f25441820
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- diffbot (0.1.5)
4
+ diffbot (0.1.6)
5
5
  excon
6
6
  hashie
7
7
  nokogiri (~> 1.5.0)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "diffbot"
3
- s.version = "0.1.5"
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"]
@@ -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, class: ImageItem
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, class: VideoItem
151
+ coerce_property :videos, collection: VideoItem
152
152
 
153
153
  class Stats < Hashie::Trash
154
154
  property :fetch_time, from: :fetchTime
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Sanguinetti