gscholar 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: 2669d1d2d695b3bcb6d1b88e2016e2d0b02e311c
4
- data.tar.gz: 14ac8268773ef4e9d21235a91022a10be3516421
3
+ metadata.gz: 25553002722db90afdfbbe461dc9a3ec0275ee60
4
+ data.tar.gz: d4ee92e093c6226862e301ea6f0d0479bc85b72d
5
5
  SHA512:
6
- metadata.gz: 115852d9045539ee449b8ac9891404a9b17f2f58b94833aa646a8248ae8c9dfd2f6c0a333641f99046e99096589ed7bb52e1317ea903928d94c5fc023078bb9e
7
- data.tar.gz: 0336f2bcbe1f17ecfd0e7e23a31314cf2b77d58f5759d95c8ba08af1d9f402255b6fffef83c79a16edb634d0eb2d63f00c84451ee91bff5d680eb987a89b098f
6
+ metadata.gz: 5d86f2900b6db1d04e66afdeb51cc7c85a09e59871c42b93796702e4f585a4e6af3df7a115ee060c7e5df3a72a8624d189ce708f91995ae8a5bc64dd34d0e6bc
7
+ data.tar.gz: 6212063829bb9703cd098ce7133e5c00bc87fe0684dd4875fe1313c803b27e774a981e68756db2cb2d3c949ea3020e8e99d5136bd56273f4d14e2f271bf53bcd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gscholar"
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Zifei Tong"]
@@ -23,7 +23,7 @@ module GScholar
23
23
  @cache[url] ||= @agent.get(url)
24
24
  rescue Mechanize::ResponseCodeError => e
25
25
  case e.response_code
26
- when 403
26
+ when '403'
27
27
  reset
28
28
  retry
29
29
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gscholar
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
  - Zifei Tong