traject_alephsequential_reader 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/lib/traject/alephsequential_reader.rb +4 -9
- data/lib/traject/alephsequential_reader/version.rb +1 -1
- data/test/helper.rb +0 -2
- data/traject_alephsequential_reader.gemspec +2 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00ed0fc84032a1f69f779c3b3945fd6ee163dce9
|
4
|
+
data.tar.gz: ddd49fb26a3233c54535e94482547e8a45b01f3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dee25754df7263ca5040f052ac193cc68329c2397d5b0eeaeb5fbced6a3ab6da802221c2de11135b172bafe0c0241d4d6c367c63c65bcb12b66536703923ea49
|
7
|
+
data.tar.gz: 529b98603d0e28ba801aa2d883a35139db5c70182b3e14c5f43723a23e5f06f57fb71c90558e027d6448891536b67d137e7b7cec2bfb34f3bf8352286f6912e7
|
data/.travis.yml
CHANGED
@@ -29,16 +29,11 @@ module Traject
|
|
29
29
|
return enum_for(:each)
|
30
30
|
end
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
@internal_reader.each do |r|
|
33
|
+
if r.is_a? MARC::AlephSequential::ErrorRecord
|
34
|
+
logger.error(r.error)
|
35
|
+
else
|
36
36
|
yield r
|
37
|
-
rescue MARC::AlephSequential::Error => e
|
38
|
-
logger.error(e)
|
39
|
-
next
|
40
|
-
rescue StopIteration
|
41
|
-
break
|
42
37
|
end
|
43
38
|
end
|
44
39
|
end
|
data/test/helper.rb
CHANGED
@@ -18,10 +18,11 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
20
|
gem.add_dependency 'marc', '~>1'
|
21
|
-
gem.add_dependency 'marc_alephsequential', '~>
|
21
|
+
gem.add_dependency 'marc_alephsequential', '~>2'
|
22
22
|
gem.add_dependency 'yell'
|
23
23
|
|
24
24
|
gem.add_development_dependency 'bundler'
|
25
25
|
gem.add_development_dependency 'rake'
|
26
26
|
gem.add_development_dependency 'yard'
|
27
|
+
gem.add_development_dependency 'minitest'
|
27
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: traject_alephsequential_reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Dueber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: marc
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: yell
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: minitest
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
description: A basic traject reader to process Ex Libris's AlephSequential format
|
98
112
|
on input
|
99
113
|
email: bill@dueber.com
|