arxivsync 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91a7b876c915379f07dabedacb1efbe2a48800c0
4
- data.tar.gz: 3fa1194b3a4df9ddf03e2538ce522a5f6478709b
3
+ metadata.gz: e447d1f17eb8279e5c377a48ddf4b95efb88f977
4
+ data.tar.gz: 84a3bbc9d373457921fc06127d139f720a87d124
5
5
  SHA512:
6
- metadata.gz: 1fff8242e326fe57b592b04c2dd9bc1bbe8bfb171b1c1e87b16ae56c4cb3e82d9492971df9d32f0303ef89c536097b73b2e8148b09e8dabfd7bc83b1a98c0af4
7
- data.tar.gz: 6036317d549d1348e9e4d8e599c365ae73a0451e6686be835aca1f71612f9cae1e5f2f44c9954eac4c14e576e40f426a07da24f289d5f01ed092a1e6da266583
6
+ metadata.gz: a4763cf977b63d83347d602cfeafd9617dc10ad0e4b53ba12fc5eb73cfa572e7bd223f2688dc91a0b04240e42f6c6e2621eda2688a19a6a327c2e2b94e283ee9
7
+ data.tar.gz: 71928ce17f7c9815e207a038ec50f56bb176c5399d28c57e5419c1a78a201c8793a6ce6db57b5851e94bcc9010e9fa8c7b94da56032da4a8e961c14634d30fcd
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # arxivsync 0.1.2
1
+ # arxivsync 0.1.3
2
2
 
3
3
  Ruby OAI interface for harvesting the arXiv. Can be used to store and update an XML mirror of paper metadata, and parse the XML into Ruby objects to allow conversion into a friendlier format.
4
4
 
@@ -13,8 +13,8 @@ module ArxivSync
13
13
  end
14
14
  @last_params = nil
15
15
 
16
- target = ENV['ARXIV_EXPORT_URI'] || "http://export.arxiv.org/oai2"
17
- @oai = OAI::Client.new(target)
16
+ domain = ENV['ARXIV_EXPORT_DOMAIN'] || "export.arxiv.org"
17
+ @oai = OAI::Client.new("http://#{domain}/oai2")
18
18
  end
19
19
 
20
20
  def start(&b)
@@ -1,3 +1,3 @@
1
1
  module ArxivSync
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arxivsync
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
  - Jaiden Mispy