marc4j4r 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +4 -0
- data/Rakefile +2 -3
- data/VERSION +1 -1
- data/jars/javamarc.jar +0 -0
- data/jars/marc4j-extra-readers-writers.jar +0 -0
- data/spec/alephsequentialreader_spec.rb +4 -4
- metadata +5 -5
data/CHANGES
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
1.4.0
|
2
|
+
Update to use newest version of marc4j_extra_readers_writers.jar; before I wasn't
|
3
|
+
correctly turning '^' into ' ' in leaders and control fields.
|
4
|
+
|
1
5
|
1.3.0
|
2
6
|
Updated to use jlogger; added logging #nextRecord (also used by #each) to
|
3
7
|
AlephSequentialReader and PermissiveStreamReader
|
data/Rakefile
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
|
-
# require 'ftools'
|
4
3
|
|
5
4
|
begin
|
6
5
|
require 'jeweler'
|
@@ -12,7 +11,7 @@ begin
|
|
12
11
|
gem.homepage = "http://github.com/billdueber/javamarc/tree/master/ruby/marc4j4r/"
|
13
12
|
gem.authors = ["BillDueber"]
|
14
13
|
|
15
|
-
gem.add_dependency "jlogger", ">= 0.0.
|
14
|
+
gem.add_dependency "jlogger", ">= 0.0.4"
|
16
15
|
gem.add_development_dependency "bacon", ">= 0"
|
17
16
|
gem.add_development_dependency "yard", ">= 0"
|
18
17
|
|
@@ -33,7 +32,7 @@ JAVAJAR = '../../javamarc.jar'
|
|
33
32
|
|
34
33
|
|
35
34
|
file LOCALJAR => JAVAJAR do |t|
|
36
|
-
|
35
|
+
FileUtils.cp(JAVAJAR, LOCALJAR)
|
37
36
|
end
|
38
37
|
|
39
38
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
data/jars/javamarc.jar
CHANGED
Binary file
|
Binary file
|
@@ -37,13 +37,13 @@ describe "MarcAlephSequentialReader record construction" do
|
|
37
37
|
# Note that marc4j deals with teh length as an integer,
|
38
38
|
# so leading non-numerics get turned into zeros.
|
39
39
|
it "deals with leaders" do
|
40
|
-
@recs[0].leader.should.equal '00000nam
|
41
|
-
@recs[1].leader.should.equal '00000nam
|
42
|
-
@recs[2].leader.should.equal '00000nam
|
40
|
+
@recs[0].leader.should.equal '00000nam a22003011 4500'
|
41
|
+
@recs[1].leader.should.equal '00000nam a22002771 4500'
|
42
|
+
@recs[2].leader.should.equal '00000nam a22003251 4500'
|
43
43
|
end
|
44
44
|
|
45
45
|
it "deals with control fields" do
|
46
|
-
@recs[0]['008'].value.should.equal '880715r19721939nyua
|
46
|
+
@recs[0]['008'].value.should.equal '880715r19721939nyua b 00100 eng '
|
47
47
|
end
|
48
48
|
|
49
49
|
it "gets correct indicators" do
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
-
-
|
7
|
+
- 4
|
8
8
|
- 0
|
9
|
-
version: 1.
|
9
|
+
version: 1.4.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- BillDueber
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-11-01 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -27,8 +27,8 @@ dependencies:
|
|
27
27
|
segments:
|
28
28
|
- 0
|
29
29
|
- 0
|
30
|
-
-
|
31
|
-
version: 0.0.
|
30
|
+
- 4
|
31
|
+
version: 0.0.4
|
32
32
|
type: :runtime
|
33
33
|
version_requirements: *id001
|
34
34
|
- !ruby/object:Gem::Dependency
|