marc2solr 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +11 -0
- data/VERSION +1 -0
- data/lib/marc2solr/marc2solr_custom.rb +1 -1
- metadata +148 -167
data/CHANGES
ADDED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.3
|
@@ -85,7 +85,7 @@ module MARC2Solr
|
|
85
85
|
# Extract an ISBN from the given subfields of the 020 and provide
|
86
86
|
# both 10-character and 13-digit versions for each
|
87
87
|
|
88
|
-
def self.getISBNS codes=['a', 'z']
|
88
|
+
def self.getISBNS doc, r, codes=['a', 'z']
|
89
89
|
rv = []
|
90
90
|
r.find_by_tag('020').each do |f|
|
91
91
|
f.sub_values(codes).each do |v|
|
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marc2solr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 31
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
version: 0.1.
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
|
-
- BillDueber
|
12
|
+
- BillDueber
|
14
13
|
autorequire:
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
@@ -18,189 +17,171 @@ cert_chain: []
|
|
18
17
|
date: 2010-10-13 00:00:00 -04:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
type: :development
|
130
|
-
version_requirements: *id007
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: yard
|
133
|
-
prerelease: false
|
134
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
135
|
-
none: false
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
hash: 3
|
140
|
-
segments:
|
141
|
-
- 0
|
142
|
-
version: "0"
|
143
|
-
type: :development
|
144
|
-
version_requirements: *id008
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: marc4j4r
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 2
|
30
|
+
- 0
|
31
|
+
version: 1.2.0
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: jruby_streaming_update_solr_server
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
- 5
|
44
|
+
- 2
|
45
|
+
version: 0.5.2
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: marcspec
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 1
|
57
|
+
- 6
|
58
|
+
- 3
|
59
|
+
version: 1.6.3
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: threach
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
- 2
|
72
|
+
- 0
|
73
|
+
version: 0.2.0
|
74
|
+
type: :runtime
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: logback-simple
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
version: "0"
|
86
|
+
type: :runtime
|
87
|
+
version_requirements: *id005
|
88
|
+
- !ruby/object:Gem::Dependency
|
89
|
+
name: library_stdnums
|
90
|
+
prerelease: false
|
91
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
segments:
|
96
|
+
- 0
|
97
|
+
- 2
|
98
|
+
- 0
|
99
|
+
version: 0.2.0
|
100
|
+
type: :runtime
|
101
|
+
version_requirements: *id006
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: rspec
|
104
|
+
prerelease: false
|
105
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
segments:
|
110
|
+
- 1
|
111
|
+
- 2
|
112
|
+
- 9
|
113
|
+
version: 1.2.9
|
114
|
+
type: :development
|
115
|
+
version_requirements: *id007
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: yard
|
118
|
+
prerelease: false
|
119
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
segments:
|
124
|
+
- 0
|
125
|
+
version: "0"
|
126
|
+
type: :development
|
127
|
+
version_requirements: *id008
|
145
128
|
description: Given a file of MARC records, send them to Sorl for indexing based on a set of MARCSpecs
|
146
129
|
email: bill@dueber.com
|
147
130
|
executables:
|
148
|
-
- marc2solr
|
149
|
-
- solrmarc_to_marc2solr
|
150
|
-
- solrmarc_to_marc2solr
|
151
|
-
- marc2solr
|
131
|
+
- marc2solr
|
132
|
+
- solrmarc_to_marc2solr
|
133
|
+
- solrmarc_to_marc2solr
|
134
|
+
- marc2solr
|
152
135
|
extensions: []
|
153
136
|
|
154
137
|
extra_rdoc_files:
|
155
|
-
- LICENSE
|
156
|
-
- README.md
|
138
|
+
- LICENSE
|
139
|
+
- README.md
|
157
140
|
files:
|
158
|
-
- .document
|
159
|
-
- .gitignore
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
166
|
-
-
|
167
|
-
-
|
168
|
-
-
|
169
|
-
- spec/
|
141
|
+
- .document
|
142
|
+
- .gitignore
|
143
|
+
- CHANGES
|
144
|
+
- LICENSE
|
145
|
+
- README.md
|
146
|
+
- Rakefile
|
147
|
+
- VERSION
|
148
|
+
- bin/marc2solr
|
149
|
+
- bin/solrmarc_to_marc2solr
|
150
|
+
- lib/marc2solr.rb
|
151
|
+
- lib/marc2solr/marc2solr_custom.rb
|
152
|
+
- spec/marc2solr_spec.rb
|
153
|
+
- spec/spec.opts
|
154
|
+
- spec/spec_helper.rb
|
170
155
|
has_rdoc: true
|
171
156
|
homepage: http://github.com/billdueber/marc2solr
|
172
157
|
licenses: []
|
173
158
|
|
174
159
|
post_install_message:
|
175
160
|
rdoc_options:
|
176
|
-
- --charset=UTF-8
|
161
|
+
- --charset=UTF-8
|
177
162
|
require_paths:
|
178
|
-
- lib
|
163
|
+
- lib
|
179
164
|
required_ruby_version: !ruby/object:Gem::Requirement
|
180
|
-
none: false
|
181
165
|
requirements:
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
version: "0"
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
segments:
|
169
|
+
- 0
|
170
|
+
version: "0"
|
188
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
|
-
none: false
|
190
172
|
requirements:
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
version: "0"
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
segments:
|
176
|
+
- 0
|
177
|
+
version: "0"
|
197
178
|
requirements: []
|
198
179
|
|
199
180
|
rubyforge_project:
|
200
|
-
rubygems_version: 1.3.
|
181
|
+
rubygems_version: 1.3.6
|
201
182
|
signing_key:
|
202
183
|
specification_version: 3
|
203
184
|
summary: "MARC2Solr: Get MARC into Solr via JRuby"
|
204
185
|
test_files:
|
205
|
-
- spec/marc2solr_spec.rb
|
206
|
-
- spec/spec_helper.rb
|
186
|
+
- spec/marc2solr_spec.rb
|
187
|
+
- spec/spec_helper.rb
|