miniharvest 0.1.9 → 0.2.1

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: 791be58e05aa79cdfdb62221fde70d7fce93bed9
4
- data.tar.gz: 3373ff3347f32cd77c8799e7d9ac5c94ff699e09
3
+ metadata.gz: e4955ba05d180433a72c0803946af7bb2491788f
4
+ data.tar.gz: 4d65121fc8a42de9460d395e5e6b74fac39776e5
5
5
  SHA512:
6
- metadata.gz: a1859ee9734e1c3daffbc457e0b3da322bd24dda9e4df8fef89bbccb37b3e72f8aba07f7d1960f0eef4342b78f9025129cbcdc96d5400d3c4784904b491ce7a6
7
- data.tar.gz: a273abf2e4ad986a458187bfae60102a7b41f4e08f4b0735951dc4f527280846acab4e2faecea92643e6b2452bbda9124f36a710ae01108487d6f9e7fb56e0ee
6
+ metadata.gz: 0c7154492c62e18d561d261477bf24ce0207f35cee1fb174bbe98dab7dd50eb74eab28e484b3e676a36133a838908671af3cde862d8a74153afcc78fe39ae6a7
7
+ data.tar.gz: a818891b150915c3ae5e47d481ca330ae025eceaec2761ccff59361a8f9593f835d746054a30ad0614f9e9887b82750902388b5c4781983314efe9f32344d088
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.1
5
- before_install: gem install bundler -v 1.12.5
4
+ - 2.2.0
5
+ before_install: gem install bundler
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # MiniHarvest
2
2
 
3
+ [![Build Status](https://travis-ci.org/little9/miniharvest.svg?branch=master)](https://travis-ci.org/little9/miniharvest) [![Coverage Status](https://coveralls.io/repos/github/little9/miniharvest/badge.svg?branch=master)](https://coveralls.io/github/little9/miniharvest?branch=master)
4
+
3
5
  MiniHarvest is used to harvest sets of MARCXML records from an OAI-PMH endpoint.The records are appended to a single MARCXML file that can be ingested with SolrMarc or other used with other sofware.
4
6
 
5
7
  ## Installation
@@ -23,8 +25,10 @@ Or install it yourself as:
23
25
  On the command line:
24
26
 
25
27
  ```bash
26
- miniharvest http://oai-pmh/endpoint/ setname > marc.xml
28
+ miniharvest http://oai-pmh/endpoint/ setname 201607 marc.xml
27
29
  ```
30
+ The first argument is the OAI-PMH endpoint, the second is the set you want to harvest, the third is a from date, and the
31
+ last is the file to write the output to.
28
32
 
29
33
  ## License
30
34
 
@@ -1,3 +1,3 @@
1
1
  module MiniHarvest
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.1"
3
3
  end
data/miniharvest.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = "A Gem to harvest OAI-PMH repositories"
13
13
  spec.description = ""
14
- spec.homepage = ""
14
+ spec.homepage = "https://github.com/little9/miniharvest"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "bundler", "~> 1.12"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest", "~> 5.0"
25
- spec.add_development_dependency "webmock"
26
-
25
+ spec.add_development_dependency "coveralls"
26
+
27
27
  spec.add_runtime_dependency "nokogiri"
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miniharvest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Little
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-02 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: webmock
56
+ name: coveralls
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -102,7 +102,7 @@ files:
102
102
  - lib/miniharvest.rb
103
103
  - lib/miniharvest/version.rb
104
104
  - miniharvest.gemspec
105
- homepage: ''
105
+ homepage: https://github.com/little9/miniharvest
106
106
  licenses:
107
107
  - MIT
108
108
  metadata: {}