diffbot_simple 0.0.3 → 0.0.4

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: 25486e768597bc81f971624d2c26575f8c4a787e
4
- data.tar.gz: 57f2933c6f76d5c2e1c61144d86be56f1d4645fd
3
+ metadata.gz: 5858d1e4c275759f39cdb4ec782fa2e7e69e18bd
4
+ data.tar.gz: 62eab98cb5df667fa5d47f7bcee6968774a3f14c
5
5
  SHA512:
6
- metadata.gz: 6effb80f0a1d27ded4133eb17287335f0a4e0203b63453745bd48cde2ba5c50a9a47805d015a96279cfd280a7b56d9131dfa15a7cc7c23cf7cbcfa39ea972ea7
7
- data.tar.gz: 205b68c3ef70977c1570c8511324390edfe021d24e2cbcdf723fa65e77298e2055a22e8ad3645a118118cbd9600beb6506c1918d071b44b54ee67cdd8022ff2f
6
+ metadata.gz: 10a2d414f7332febb4b96b4fb0e394463ee1f42b36e93cb328282e6015020d7f302707b33da354e410783322248a70f9d2fb22f4e5ade402bcce2cd5d1cfa64a
7
+ data.tar.gz: 8804c3d2c4371cdf4757a7e36d09b015e4539b8a0e22cb1fa255f60252574fd4d7d76fbae34144e0393413d37d4ff30ca4012b22039c28f2dda47bbebeb339c2
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  [![Coverage Status](https://coveralls.io/repos/larskrantz/diffbot_simple/badge.png)](https://coveralls.io/r/larskrantz/diffbot_simple)
2
2
  [![Build Status](https://travis-ci.org/larskrantz/diffbot_simple.png?branch=master)](https://travis-ci.org/larskrantz/diffbot_simple)
3
3
  [![Code Climate](https://codeclimate.com/github/larskrantz/diffbot_simple.png)](https://codeclimate.com/github/larskrantz/diffbot_simple)
4
+ [![Gem Version](https://badge.fury.io/rb/diffbot_simple.png)](http://badge.fury.io/rb/diffbot_simple)
4
5
 
5
6
  DiffbotSimple
6
7
  =============
@@ -1,5 +1,4 @@
1
1
  module DiffbotSimple::V2
2
- # Complies to http://www.diffbot.com/dev/docs/crawl/
3
2
  module ApiHelper
4
3
  include DiffbotSimple::Symbolize
5
4
  def initialize api_client: nil, token: nil
@@ -61,9 +61,9 @@ module DiffbotSimple::V2
61
61
 
62
62
  # Get the crawl-result (downloadJson from diffbot crawl)
63
63
  #
64
- # @name [String] name of the crawl to restart
64
+ # @name [String] name of the crawl to get
65
65
  # @return [Array] of results (hashes)
66
- def result name: name
66
+ def result name: nil
67
67
  crawl = single_crawl name: name
68
68
  download_url = crawl[:downloadJson]
69
69
  response = api_client.get download_url
@@ -1,3 +1,3 @@
1
1
  module DiffbotSimple
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffbot_simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Krantz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-25 00:00:00.000000000 Z
11
+ date: 2014-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler