gscholar 0.1.2 → 0.1.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: 0047fbe5829780a79736d8f0b849e61d314929cd
4
- data.tar.gz: 99571a14ae6d328906b50c94a8efd6f31189c216
3
+ metadata.gz: bd34a4f6359401e63d32a8dd3159a779aa3c22f4
4
+ data.tar.gz: c32e9db22b0202a768154dda78bf03a7f25bd476
5
5
  SHA512:
6
- metadata.gz: 599c32cca6a7741eeec6a5af5090137eaea9eea0e9cc0512ffaf698626f67e588abab77392272e50633c32fe55a885b7e887f366933f839500c9dc780b29681a
7
- data.tar.gz: 7c0c7ac8c63fed1e8ce6a6bbfadacb3858f63cf0c2c94807cb3d1d1ac4b58dc5d3542433dc46ab05f8ef4679f6fd9ee5d56b933b05968d517617e456a7b3a33e
6
+ metadata.gz: b60061252434e68a3d7f96a450ac3dd27906f53f53e4405980ec5edc0b7bf5b21c40d938885992cbd0749481d54d686e6fd1e8077a318a911f024fd9320bac41
7
+ data.tar.gz: ca965b3d5a4c89e42e8a65699af4e9b459c2cee2bc08ebdc2ae1de31ea4548af6f59cb381eaa08219989a6d744d9a5081befa311ec975399dcd6746df8ac03b8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/gscholar.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gscholar"
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
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"]
12
- s.date = "2014-01-02"
12
+ s.date = "2014-01-08"
13
13
  s.description = "A library for fetching author, paper and citation information for Google Scholar"
14
14
  s.email = "soariez@gmail.com"
15
15
  s.extra_rdoc_files = [
data/lib/gscholar.rb CHANGED
@@ -1,3 +1,9 @@
1
1
  require 'gscholar/utils'
2
2
  require 'gscholar/citation'
3
3
  require 'gscholar/paper'
4
+
5
+ module GScholar
6
+ def self.reset
7
+ Utils.reset_fetcher
8
+ end
9
+ end
@@ -8,5 +8,9 @@ module GScholar
8
8
  @fetcher ||= Fetcher.new
9
9
  @fetcher.fetch(url)
10
10
  end
11
+
12
+ def self.reset_fetcher
13
+ @fetcher = nil
14
+ end
11
15
  end
12
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gscholar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zifei Tong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-02 00:00:00.000000000 Z
11
+ date: 2014-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize