wikipedia-client 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -5
- data/Gemfile.lock +3 -3
- data/lib/wikipedia/client.rb +1 -1
- data/lib/wikipedia/version.rb +1 -1
- data/spec/lib/client_spec.rb +3 -3
- data/wikipedia-client.gemspec +1 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07e7dbcd9e8fd92afb079f75a87a928740dbb2427ec6a26e115cb67473f6dba9
|
4
|
+
data.tar.gz: 64a2a3cd7bf9d74b1496af48d8a2aa73366ccf4339c79d3297813d6fdb282d45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c98ab9206724951d38d97b56bc2ef9890179971c6abcf816ae7f1a89264681b3b73d76e4d2ff1bb9ce186eb9392a6a8220e63fe6a90bbb951e803020b68a064
|
7
|
+
data.tar.gz: 4f7dc758853e41b3ea56542fa66ec4e5fc4ad013a9a75f91a6292ca790e7bda64abc020537e599245433b3f57a91c28b98783515695e771e509337935f5a9320
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
wikipedia-client (1.
|
4
|
+
wikipedia-client (1.12.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -97,7 +97,7 @@ PLATFORMS
|
|
97
97
|
|
98
98
|
DEPENDENCIES
|
99
99
|
jeweler (~> 2.0)
|
100
|
-
pry
|
100
|
+
pry (~> 0.14)
|
101
101
|
rake (~> 13.0)
|
102
102
|
rdoc (~> 6.0)
|
103
103
|
rspec (~> 3.0)
|
@@ -106,4 +106,4 @@ DEPENDENCIES
|
|
106
106
|
wikipedia-client!
|
107
107
|
|
108
108
|
BUNDLED WITH
|
109
|
-
|
109
|
+
2.0.2
|
data/lib/wikipedia/client.rb
CHANGED
data/lib/wikipedia/version.rb
CHANGED
data/spec/lib/client_spec.rb
CHANGED
@@ -163,7 +163,7 @@ describe Wikipedia::Client, '.find page (Edsger_Dijkstra)' do
|
|
163
163
|
[
|
164
164
|
'/commons/5/57/Dijkstra_Animation.gif',
|
165
165
|
'/commons/c/c9/Edsger_Dijkstra_1994.jpg',
|
166
|
-
'/commons/d/d9/Edsger_Wybe_Dijkstra.jpg'
|
166
|
+
'/commons/d/d9/Edsger_Wybe_Dijkstra.jpg'
|
167
167
|
].each do |image|
|
168
168
|
expect(@page.image_urls).to include('https://upload.wikimedia.org/wikipedia' + image)
|
169
169
|
end
|
@@ -175,7 +175,7 @@ describe Wikipedia::Client, '.find page (Edsger_Dijkstra)' do
|
|
175
175
|
[
|
176
176
|
'/commons/thumb/5/57/Dijkstra_Animation.gif/200px-Dijkstra_Animation.gif',
|
177
177
|
'/commons/thumb/c/c9/Edsger_Dijkstra_1994.jpg/200px-Edsger_Dijkstra_1994.jpg',
|
178
|
-
'/commons/thumb/d/d9/Edsger_Wybe_Dijkstra.jpg/200px-Edsger_Wybe_Dijkstra.jpg'
|
178
|
+
'/commons/thumb/d/d9/Edsger_Wybe_Dijkstra.jpg/200px-Edsger_Wybe_Dijkstra.jpg'
|
179
179
|
].each do |image|
|
180
180
|
expect(@page.image_thumburls).to include('https://upload.wikimedia.org/wikipedia' + image)
|
181
181
|
end
|
@@ -187,7 +187,7 @@ describe Wikipedia::Client, '.find page (Edsger_Dijkstra)' do
|
|
187
187
|
[
|
188
188
|
'/commons/thumb/5/57/Dijkstra_Animation.gif/100px-Dijkstra_Animation.gif',
|
189
189
|
'/commons/thumb/c/c9/Edsger_Dijkstra_1994.jpg/100px-Edsger_Dijkstra_1994.jpg',
|
190
|
-
'/commons/thumb/d/d9/Edsger_Wybe_Dijkstra.jpg/100px-Edsger_Wybe_Dijkstra.jpg'
|
190
|
+
'/commons/thumb/d/d9/Edsger_Wybe_Dijkstra.jpg/100px-Edsger_Wybe_Dijkstra.jpg'
|
191
191
|
].each do |image|
|
192
192
|
expect(@page.image_thumburls(100)).to include('https://upload.wikimedia.org/wikipedia' + image)
|
193
193
|
end
|
data/wikipedia-client.gemspec
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.email = 'ken@kenpratt.net'
|
20
20
|
|
21
21
|
s.homepage = 'http://github.com/kenpratt/wikipedia-client'
|
22
|
-
s.rubygems_version = '1.11.0'
|
23
22
|
s.summary = 'Ruby client for the Wikipedia API'
|
24
23
|
s.platform = Gem::Platform::RUBY
|
25
24
|
s.files = `git ls-files`.split("\n")
|
@@ -32,7 +31,7 @@ Gem::Specification.new do |s|
|
|
32
31
|
s.require_paths << 'lib'
|
33
32
|
s.rdoc_options << '--title' << 'wikipedia-client' << '--main' << '-ri'
|
34
33
|
|
35
|
-
s.add_development_dependency('pry')
|
34
|
+
s.add_development_dependency('pry', '~> 0.14')
|
36
35
|
s.add_development_dependency('rake', '~> 13.0')
|
37
36
|
s.add_development_dependency('rspec', '~> 3.0')
|
38
37
|
s.add_development_dependency('rdoc', '~> 6.0')
|
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.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril David
|
@@ -19,16 +19,16 @@ dependencies:
|
|
19
19
|
name: pry
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
21
21
|
requirements:
|
22
|
-
- - "
|
22
|
+
- - "~>"
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '0'
|
24
|
+
version: '0.14'
|
25
25
|
type: :development
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
28
|
requirements:
|
29
|
-
- - "
|
29
|
+
- - "~>"
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '0'
|
31
|
+
version: '0.14'
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: rake
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|