enhanced_marc 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -2
- data/VERSION +1 -1
- data/enhanced_marc.gemspec +3 -2
- data/lib/enhanced_marc/leader.rb +5 -5
- data/lib/enhanced_marc/record.rb +1 -1
- data/pkg/enhanced_marc-0.1.5.gem +0 -0
- data/pkg/enhanced_marc-0.1/README +2 -2
- metadata +3 -2
data/README
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Enhanced MARC is a set of classes, modules and methods that sit on top of ruby-marc (http://rubyforge.org/projects/marc) to help parse the contents of MARC records more easily and conveniently.
|
2
2
|
Installation:
|
3
|
-
gem sources -a http://
|
4
|
-
sudo gem install
|
3
|
+
gem sources -a http://gemcutter.org
|
4
|
+
sudo gem install enhanced_marc
|
5
5
|
|
6
6
|
Usage:
|
7
7
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
data/enhanced_marc.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{enhanced_marc}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ross Singer"]
|
12
|
-
s.date = %q{2009-11-
|
12
|
+
s.date = %q{2009-11-17}
|
13
13
|
s.description = %q{A set of enhancements to ruby-marc to make parsing MARC data easier}
|
14
14
|
s.email = %q{rossfsinger@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -47,6 +47,7 @@ Gem::Specification.new do |s|
|
|
47
47
|
"lib/enhanced_marc/visual_record.rb",
|
48
48
|
"lib/enhanced_marc/visual_type.rb",
|
49
49
|
"lib/enhanced_marc/xmlreader.rb",
|
50
|
+
"pkg/enhanced_marc-0.1.5.gem",
|
50
51
|
"pkg/enhanced_marc-0.1.gem",
|
51
52
|
"pkg/enhanced_marc-0.1.tgz",
|
52
53
|
"pkg/enhanced_marc-0.1.zip",
|
data/lib/enhanced_marc/leader.rb
CHANGED
@@ -70,12 +70,12 @@ module MARC
|
|
70
70
|
rec_types = {
|
71
71
|
'BKS' => { :type => /[at]{1}/, :blvl => /[acdm]{1}/ },
|
72
72
|
'SER' => { :type => /[a]{1}/, :blvl => /[bs]{1}/ },
|
73
|
-
'VIS' => { :type => /[gkro]{1}/, :blvl => /[
|
73
|
+
'VIS' => { :type => /[gkro]{1}/, :blvl => /[abcdims]{1}/ },
|
74
74
|
'MIX' => { :type => /[p]{1}/, :blvl => /[cd]{1}/ },
|
75
|
-
'MAP' => { :type => /[ef]{1}/, :blvl => /[
|
76
|
-
'SCO' => { :type => /[cd]{1}/, :blvl => /[
|
77
|
-
'REC' => { :type => /[ij]{1}/, :blvl => /[
|
78
|
-
'COM' => { :type => /[m]{1}/, :blvl => /[
|
75
|
+
'MAP' => { :type => /[ef]{1}/, :blvl => /[abcdims]{1}/ },
|
76
|
+
'SCO' => { :type => /[cd]{1}/, :blvl => /[abcdims]{1}/ },
|
77
|
+
'REC' => { :type => /[ij]{1}/, :blvl => /[abcdims]{1}/ },
|
78
|
+
'COM' => { :type => /[m]{1}/, :blvl => /[abcdims]{1}/ }
|
79
79
|
}
|
80
80
|
|
81
81
|
rec_types.each_key { | type |
|
data/lib/enhanced_marc/record.rb
CHANGED
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Enhanced MARC is a set of classes, modules and methods that sit on top of ruby-marc (http://rubyforge.org/projects/marc) to help parse the contents of MARC records more easily and conveniently.
|
2
2
|
Installation:
|
3
|
-
gem sources -a http://
|
4
|
-
sudo gem install
|
3
|
+
gem sources -a http://gemcutter.org
|
4
|
+
sudo gem install enhanced_marc
|
5
5
|
|
6
6
|
Usage:
|
7
7
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enhanced_marc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ross Singer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-17 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- lib/enhanced_marc/visual_record.rb
|
73
73
|
- lib/enhanced_marc/visual_type.rb
|
74
74
|
- lib/enhanced_marc/xmlreader.rb
|
75
|
+
- pkg/enhanced_marc-0.1.5.gem
|
75
76
|
- pkg/enhanced_marc-0.1.gem
|
76
77
|
- pkg/enhanced_marc-0.1.tgz
|
77
78
|
- pkg/enhanced_marc-0.1.zip
|