wikipedia-client 1.6.2 → 1.6.3

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: 4627596258c90098e74ad178255a16d25d58e2e5
4
- data.tar.gz: 4fabc78ed70d973802c85ba22e82b527cb962e95
3
+ metadata.gz: bc643a753689499852495f809ef17e63ecdc968b
4
+ data.tar.gz: 5c6271d1b84337745ffa2379e375adb1d55e5f82
5
5
  SHA512:
6
- metadata.gz: 6112ad939242930a1d5f540e6eb69fdd56708c485be301530fb54affc75d31160772d55356b6dfb4fd4b2a03bc9c16a323d96407c5489b8d6e0bbfdbc6230e7d
7
- data.tar.gz: 0ac56419cbbe45854e05b692b17aad80ea999cc977e33c5a4d8228c6f290742b4a9c6b79a054a879c68cd2de5bc863d4c2c0dc0d2a0eaea23de0318ef6d18efd
6
+ metadata.gz: 162151de9346486e71d8c2e531141a5cb13b8efab0813681f673f0b3024145ece60d53470936a9e93d079988831f92918b8197f92a3d7c7ade7bf6cacaf55c50
7
+ data.tar.gz: 38482ca139a614462b2b55cff1e9bb69e17a4ba45cc0befb9ffd5171eb5ab20b2966d9e40a77cf2b2bdd290c4e48f3914e48a32c142497747d6b98ff17341244
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wikipedia-client (1.6.2)
4
+ wikipedia-client (1.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -71,4 +71,4 @@ DEPENDENCIES
71
71
  wikipedia-client!
72
72
 
73
73
  BUNDLED WITH
74
- 1.11.2
74
+ 1.10.5
@@ -1,6 +1,6 @@
1
1
  h1. Wikipedia
2
2
 
3
- !https://travis-ci.org/kenpratt/wikipedia-client.svg?branch=master!:https://travis-ci.org/kenpratt/wikipedia-client
3
+ !https://badge.fury.io/rb/wikipedia-client.svg!:https://badge.fury.io/rb/wikipedia-client !https://travis-ci.org/kenpratt/wikipedia-client.svg?branch=master!:https://travis-ci.org/kenpratt/wikipedia-client
4
4
 
5
5
  Allows you to get wikipedia content through their API. This uses the
6
6
  alpha API, not the deprecated query.php API type
@@ -45,7 +45,7 @@ module Wikipedia
45
45
  end
46
46
 
47
47
  def summary
48
- (page['extract'].split("=="))[0].strip
48
+ (page['extract'].split("=="))[0].strip if page['extract']
49
49
  end
50
50
 
51
51
  def categories
@@ -1,3 +1,3 @@
1
1
  module Wikipedia
2
- VERSION = "1.6.2"
2
+ VERSION = "1.6.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wikipedia-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril David
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2016-04-07 00:00:00.000000000 Z
16
+ date: 2016-10-08 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake