marc2solr 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -0
- data/VERSION +1 -1
- data/bin/marc2solr +3 -1
- data/lib/marc2solr.rb +4 -2
- metadata +90 -97
data/CHANGES
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/bin/marc2solr
CHANGED
data/lib/marc2solr.rb
CHANGED
@@ -2,7 +2,8 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
require 'jlogger'
|
4
4
|
require 'trollop'
|
5
|
-
require 'ftools'
|
5
|
+
# require 'ftools'
|
6
|
+
require 'fileutils'
|
6
7
|
require 'jruby_streaming_update_solr_server'
|
7
8
|
require 'marc4j4r'
|
8
9
|
|
@@ -312,7 +313,8 @@ module MARC2Solr
|
|
312
313
|
if VALIDOPTIONS.has_key? methodSymbol
|
313
314
|
conf = VALIDOPTIONS[methodSymbol]
|
314
315
|
# Zero it out?
|
315
|
-
|
316
|
+
|
317
|
+
if conf[:takesNone] and arg.downcase == 'none'
|
316
318
|
@config[methodSymbol] = nil
|
317
319
|
return nil
|
318
320
|
end
|
metadata
CHANGED
@@ -1,128 +1,126 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: marc2solr
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- BillDueber
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-29 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: marc4j4r
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2157214780 !ruby/object:Gem::Requirement
|
20
17
|
none: false
|
21
|
-
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
24
21
|
version: 1.3.0
|
25
22
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: jruby_streaming_update_solr_server
|
29
23
|
prerelease: false
|
30
|
-
|
24
|
+
version_requirements: *2157214780
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: jruby_streaming_update_solr_server
|
27
|
+
requirement: &2157213620 !ruby/object:Gem::Requirement
|
31
28
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
35
32
|
version: 0.5.2
|
36
33
|
type: :runtime
|
37
|
-
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: marcspec
|
40
34
|
prerelease: false
|
41
|
-
|
35
|
+
version_requirements: *2157213620
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: marcspec
|
38
|
+
requirement: &2157213140 !ruby/object:Gem::Requirement
|
42
39
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
46
43
|
version: 1.6.6
|
47
44
|
type: :runtime
|
48
|
-
version_requirements: *id003
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: jruby_threach
|
51
45
|
prerelease: false
|
52
|
-
|
46
|
+
version_requirements: *2157213140
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: jruby_threach
|
49
|
+
requirement: &2157212660 !ruby/object:Gem::Requirement
|
53
50
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
58
55
|
type: :runtime
|
59
|
-
version_requirements: *id004
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: jlogger
|
62
56
|
prerelease: false
|
63
|
-
|
57
|
+
version_requirements: *2157212660
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: jlogger
|
60
|
+
requirement: &2157212180 !ruby/object:Gem::Requirement
|
64
61
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
68
65
|
version: 0.0.4
|
69
66
|
type: :runtime
|
70
|
-
version_requirements: *id005
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: library_stdnums
|
73
67
|
prerelease: false
|
74
|
-
|
68
|
+
version_requirements: *2157212180
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: library_stdnums
|
71
|
+
requirement: &2157211700 !ruby/object:Gem::Requirement
|
75
72
|
none: false
|
76
|
-
requirements:
|
77
|
-
- -
|
78
|
-
- !ruby/object:Gem::Version
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
79
76
|
version: 0.2.0
|
80
77
|
type: :runtime
|
81
|
-
version_requirements: *id006
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: trollop
|
84
78
|
prerelease: false
|
85
|
-
|
79
|
+
version_requirements: *2157211700
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: trollop
|
82
|
+
requirement: &2157211220 !ruby/object:Gem::Requirement
|
86
83
|
none: false
|
87
|
-
requirements:
|
88
|
-
- -
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version:
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
91
88
|
type: :runtime
|
92
|
-
version_requirements: *id007
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: rspec
|
95
89
|
prerelease: false
|
96
|
-
|
90
|
+
version_requirements: *2157211220
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: rspec
|
93
|
+
requirement: &2157210740 !ruby/object:Gem::Requirement
|
97
94
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
101
98
|
version: 1.2.9
|
102
99
|
type: :development
|
103
|
-
version_requirements: *id008
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: yard
|
106
100
|
prerelease: false
|
107
|
-
|
101
|
+
version_requirements: *2157210740
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: yard
|
104
|
+
requirement: &2157226500 !ruby/object:Gem::Requirement
|
108
105
|
none: false
|
109
|
-
requirements:
|
110
|
-
- -
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version:
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
113
110
|
type: :development
|
114
|
-
|
115
|
-
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *2157226500
|
113
|
+
description: Given a file of MARC records, send them to Sorl for indexing based on
|
114
|
+
a set of MARCSpecs
|
116
115
|
email: bill@dueber.com
|
117
|
-
executables:
|
116
|
+
executables:
|
118
117
|
- marc2solr
|
119
118
|
- solrmarc_to_marc2solr
|
120
119
|
extensions: []
|
121
|
-
|
122
|
-
extra_rdoc_files:
|
120
|
+
extra_rdoc_files:
|
123
121
|
- LICENSE
|
124
122
|
- README.md
|
125
|
-
files:
|
123
|
+
files:
|
126
124
|
- .document
|
127
125
|
- CHANGES
|
128
126
|
- LICENSE
|
@@ -136,33 +134,28 @@ files:
|
|
136
134
|
- spec/marc2solr_spec.rb
|
137
135
|
- spec/spec.opts
|
138
136
|
- spec/spec_helper.rb
|
139
|
-
has_rdoc: true
|
140
137
|
homepage: http://github.com/billdueber/marc2solr
|
141
138
|
licenses: []
|
142
|
-
|
143
139
|
post_install_message:
|
144
140
|
rdoc_options: []
|
145
|
-
|
146
|
-
require_paths:
|
141
|
+
require_paths:
|
147
142
|
- lib
|
148
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
149
144
|
none: false
|
150
|
-
requirements:
|
151
|
-
- -
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version:
|
154
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ! '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
150
|
none: false
|
156
|
-
requirements:
|
157
|
-
- -
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version:
|
151
|
+
requirements:
|
152
|
+
- - ! '>='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
160
155
|
requirements: []
|
161
|
-
|
162
156
|
rubyforge_project:
|
163
|
-
rubygems_version: 1.
|
157
|
+
rubygems_version: 1.8.15
|
164
158
|
signing_key:
|
165
159
|
specification_version: 3
|
166
|
-
summary:
|
160
|
+
summary: ! 'MARC2Solr: Get MARC into Solr via JRuby'
|
167
161
|
test_files: []
|
168
|
-
|