marcspec 1.5.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@ describe "SolrFieldSpec" do
26
26
  it "works with a single fieldspec" do
27
27
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
28
28
  sfs << @titleAC
29
- sfs.marc_values(@one).should.equal [@titleACValue]
29
+ sfs.marc_values(@one).should == [@titleACValue]
30
30
  end
31
31
 
32
32
 
@@ -34,14 +34,14 @@ describe "SolrFieldSpec" do
34
34
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
35
35
  sfs << @titleAC
36
36
  sfs << @twosixtyC
37
- sfs.marc_values(@one).should.equal [@titleACValue, @twosixtyCValue]
37
+ sfs.marc_values(@one).should == [@titleACValue, @twosixtyCValue]
38
38
  end
39
39
 
40
40
  it "preserves order" do
41
41
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
42
42
  sfs << @twosixtyC
43
43
  sfs << @titleAC
44
- sfs.marc_values(@one).should.equal [@twosixtyCValue, @titleACValue]
44
+ sfs.marc_values(@one).should == [@twosixtyCValue, @titleACValue]
45
45
  end
46
46
 
47
47
 
@@ -50,20 +50,20 @@ describe "SolrFieldSpec" do
50
50
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
51
51
  sfs << @titleAC
52
52
  sfs << @twosixtyC
53
- sfs.marc_values(@one).should.equal [@titleACValue]
53
+ sfs.marc_values(@one).should == [@titleACValue]
54
54
  end
55
55
 
56
56
  it "returns nothing where there are no matches" do
57
57
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
58
58
  sfs << @nonmatchingSpec
59
- sfs.marc_values(@one).should.equal []
59
+ sfs.marc_values(@one).should == []
60
60
  end
61
61
 
62
62
  it "works with a default" do
63
63
  @opts[:default] = @default
64
64
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
65
65
  sfs << @nonmatchingSpec
66
- sfs.marc_values(@one).should.equal [@default]
66
+ sfs.marc_values(@one).should == [@default]
67
67
  end
68
68
  end
69
69
 
@@ -96,7 +96,7 @@ describe "Solr Field Specs and maps" do
96
96
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
97
97
  sfs << @titleAC
98
98
  sfs << @twosixtyC
99
- sfs.marc_values(@one).should.equal [@mapValue]
99
+ sfs.marc_values(@one).should == [@mapValue]
100
100
  end
101
101
 
102
102
  it "works with a KV Map and just a map default" do
@@ -105,7 +105,7 @@ describe "Solr Field Specs and maps" do
105
105
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
106
106
  sfs << @titleAC # not in map, get noMapKeyDefault
107
107
  sfs << @twosixtyC # in map, get mapValue
108
- sfs.marc_values(@one).should.equal [@noMapKeyDefault, @mapValue]
108
+ sfs.marc_values(@one).should == [@noMapKeyDefault, @mapValue]
109
109
  end
110
110
 
111
111
  it "works with a KV Map and returns default value correctly" do
@@ -114,7 +114,7 @@ describe "Solr Field Specs and maps" do
114
114
  @opts[:noMapKeyDefault] = @noMapKeyDefault
115
115
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
116
116
  sfs << @nonmatchingSpec
117
- sfs.marc_values(@one).should.equal [@default]
117
+ sfs.marc_values(@one).should == [@default]
118
118
  end
119
119
 
120
120
  it "returns multiple values from a kv map when appropriate" do
@@ -122,7 +122,7 @@ describe "Solr Field Specs and maps" do
122
122
  @opts[:map] = @map
123
123
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
124
124
  sfs << @twosixtyC
125
- sfs.marc_values(@one).sort.should.equal ['one', 'two']
125
+ sfs.marc_values(@one).sort.should == ['one', 'two']
126
126
  end
127
127
 
128
128
  it "flattens things out when getting multiple values from a kv map" do
@@ -132,7 +132,7 @@ describe "Solr Field Specs and maps" do
132
132
  sfs = MARCSpec::SolrFieldSpec.new(@opts)
133
133
  sfs << @twosixtyC
134
134
  sfs << @titleAC
135
- sfs.marc_values(@one).sort.should.equal ['one', 'two', 'three', 'four'].sort
135
+ sfs.marc_values(@one).sort.should == ['one', 'two', 'three', 'four'].sort
136
136
  end
137
137
 
138
138
 
@@ -145,7 +145,7 @@ describe "Solr Field Specs and maps" do
145
145
 
146
146
  newsfs = MARCSpec::SolrFieldSpec.fromPPString(sfs.asPPString)
147
147
  newsfs.map = @map
148
- sfs.should.equal newsfs
148
+ sfs.should == newsfs
149
149
  end
150
150
  end
151
151
 
@@ -192,38 +192,38 @@ describe "CustomSolrSpec" do
192
192
 
193
193
  it "works with no args or map" do
194
194
  css = MARCSpec::CustomSolrSpec.new(:solrField=>'solrField', :module=>A::B, :functionSymbol=>:titleUp)
195
- css.marc_values(@one).should.equal [@one['245'].value.upcase]
195
+ css.marc_values(@one).should == [@one['245'].value.upcase]
196
196
  end
197
197
 
198
198
  it "accepts nil for no args" do
199
199
  css = MARCSpec::CustomSolrSpec.new(:solrField=>'solrField', :module=>A::B, :functionSymbol=>:titleUp, :functionArgs=>nil)
200
- css.marc_values(@one).should.equal [@one['245'].value.upcase]
200
+ css.marc_values(@one).should == [@one['245'].value.upcase]
201
201
  end
202
202
 
203
203
 
204
204
  it "uses a custom method with args but no map" do
205
205
  css = MARCSpec::CustomSolrSpec.new(:solrField=>'solrField', :module=>A::B, :functionSymbol=>:titleUp, :functionArgs=>[['a', 'c']])
206
- css.marc_values(@one).should.equal [@titleACValue.upcase]
206
+ css.marc_values(@one).should == [@titleACValue.upcase]
207
207
  end
208
208
 
209
209
  it "works with a map" do
210
210
  css = MARCSpec::CustomSolrSpec.new(:solrField=>'solrField', :map=>@map, :module=>A::B, :functionSymbol=>:titleUp, :functionArgs=>[['a', 'c']])
211
- css.marc_values(@one).should.equal [@mapValue]
211
+ css.marc_values(@one).should == [@mapValue]
212
212
  end
213
213
 
214
214
  it "works with a map that has multiple return values" do
215
215
  @map[@titleACValue.upcase] = ['two', 'one']
216
216
  css = MARCSpec::CustomSolrSpec.new(:solrField=>'solrField', :map=>@map, :module=>A::B, :functionSymbol=>:titleUp, :functionArgs=>[['a', 'c']])
217
- css.marc_values(@one).should.equal ['two', 'one']
217
+ css.marc_values(@one).should == ['two', 'one']
218
218
  end
219
219
 
220
220
  it "disallows multispecs with maps or default values" do
221
221
  lambda{
222
222
  css = MARCSpec::CustomSolrSpec.new(:solrField=>['s1', 's2'], :module=>A::B, :functionSymbol=>:titleUp, :map=>@map)
223
- }.should.raise ArgumentError
223
+ }.should raise_error(ArgumentError)
224
224
  lambda{
225
225
  css = MARCSpec::CustomSolrSpec.new(:solrField=>['s1', 's2'], :module=>A::B, :functionSymbol=>:titleUp, :default=>"bill")
226
- }.should.raise ArgumentError
226
+ }.should raise_error(ArgumentError)
227
227
  end
228
228
 
229
229
  end
@@ -231,14 +231,14 @@ end
231
231
  describe "ConstantSolrSpec" do
232
232
  it "sets correct fields" do
233
233
  c = MARCSpec::ConstantSolrSpec.new(:solrField=>"test", :constantValue=>"value")
234
- c.solrField.should.equal 'test'
235
- c.constantValue.should.equal 'value'
234
+ c.solrField.should == 'test'
235
+ c.constantValue.should == 'value'
236
236
  end
237
237
 
238
238
  it "allows array of values" do
239
239
  value = ['a', 'b', 'c']
240
240
  c = MARCSpec::ConstantSolrSpec.new(:solrField=>"test", :constantValue=>value)
241
- c.constantValue.should.equal value
241
+ c.constantValue.should == value
242
242
  end
243
243
 
244
244
  bad = {
@@ -255,7 +255,7 @@ describe "ConstantSolrSpec" do
255
255
  opts = {:solrField=>'test'}
256
256
  opts[k] = v
257
257
  it "raises ArgumentError if given invalid option #{k}" do
258
- lambda{c = MARCSpec::ConstantSolrSpec.new(opts)}.should.raise ArgumentError
258
+ lambda{c = MARCSpec::ConstantSolrSpec.new(opts)}.should raise_error(ArgumentError)
259
259
  end
260
260
  end
261
261
 
@@ -264,6 +264,6 @@ describe "ConstantSolrSpec" do
264
264
  s = StringIO.new
265
265
  s.puts(c.asPPString)
266
266
  d = MARCSpec::ConstantSolrSpec.fromPPString(s.string)
267
- c.should.equal d
267
+ c.should == d
268
268
  end
269
269
  end
data/spec/spec.opts ADDED
@@ -0,0 +1,7 @@
1
+ --colour
2
+ --format profile
3
+ --format specdoc:spec/spec_full_report.txt
4
+ --format failing_examples:spec/spec_failing_examples.txt
5
+ --format html:spec/spec_report.html
6
+ --loadby mtime
7
+ --reverse
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,7 @@
1
1
  require 'rubygems'
2
- require 'bacon'
3
2
  require 'marc4j4r'
4
3
  require 'tempfile'
5
- begin
6
- require 'greeneggs'
7
- rescue LoadError
8
- end
4
+ require 'logger'
9
5
 
10
6
  $LOAD_PATH.unshift(File.dirname(__FILE__))
11
7
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
@@ -13,4 +9,5 @@ require 'marcspec'
13
9
 
14
10
  DIR = File.dirname(__FILE__)
15
11
 
16
- Bacon.summary_on_exit
12
+ Logback::Simple.loglevel = :warn
13
+ Logback::Simple.startConsoleLogger
data/spec/specset_spec.rb CHANGED
@@ -69,22 +69,23 @@ describe "SpecSet Basics" do
69
69
  end
70
70
 
71
71
  it "should get all the specs" do
72
- @ss.solrfieldspecs.size.should.equal 4
72
+ @ss.solrfieldspecs.size.should == 4
73
73
  end
74
74
 
75
75
  it "gets the places field" do
76
- @h['places'].sort.should.equal @places.sort
76
+ @h['places'].sort.should == @places.sort
77
77
  end
78
78
 
79
- correct = {
80
- 'title' => @title,
81
- 'titleA' => @titleA,
82
- 'constantField' => ['A', 'B']
83
- }
84
- correct.each do |k,v|
85
- it "gets correct value for #{k}" do
86
- @h[k].should.equal v
87
- end
79
+ it "gets title" do
80
+ @h['title'].should == @title
81
+ end
82
+
83
+ it "gets title_a" do
84
+ @h['titleA'].should == @titleA
85
+ end
86
+
87
+ it "gets constant" do
88
+ @h['constantField'].should == ['A', 'B']
88
89
  end
89
90
 
90
91
  it "allows customs that reference previous work" do
@@ -92,8 +93,8 @@ describe "SpecSet Basics" do
92
93
  ss = MARCSpec::SpecSet.new
93
94
  ss.buildSpecsFromList(@speclist)
94
95
  h = ss.hash_from_marc @one
95
- h['title'].should.equal @title
96
- h['titleSort'].should.equal @title.map{|a| a.gsub(/\p{Punct}/, ' ').gsub(/\s+/, ' ').strip.downcase}
96
+ h['title'].should == @title
97
+ h['titleSort'].should == @title.map{|a| a.gsub(/\p{Punct}/, ' ').gsub(/\s+/, ' ').strip.downcase}
97
98
  end
98
99
 
99
100
  it "should allow repeated solrFields" do
@@ -103,7 +104,7 @@ describe "SpecSet Basics" do
103
104
  ss = MARCSpec::SpecSet.new
104
105
  ss.buildSpecsFromList(@speclist)
105
106
  h = ss.hash_from_marc @one
106
- h['titleA'].sort.should.equal expected.sort
107
+ h['titleA'].sort.should == expected.sort
107
108
  end
108
109
 
109
110
  it "should allow multi-headed custom fields" do
@@ -114,14 +115,14 @@ describe "SpecSet Basics" do
114
115
  ss = MARCSpec::SpecSet.new
115
116
  ss.buildSpecsFromList(@speclist)
116
117
  h = ss.hash_from_marc @one
117
- h['one'].should.equal [1]
118
- h['two'].should.equal [2]
119
- h['letters'].should.equal ['a', 'b']
118
+ h['one'].should == [1]
119
+ h['two'].should == [2]
120
+ h['letters'].should == ['a', 'b']
120
121
  end
121
122
 
122
123
  it "bails if it can't find a map" do
123
124
  @speclist << {:solrField => 'tst', :mapname=>'nosuch', :specs => [['245']]}
124
- lambda{@ss.buildSpecsFromList(@speclist)}.should.raise SystemExit
125
+ lambda{@ss.buildSpecsFromList(@speclist)}.should raise_error(SystemExit )
125
126
  end
126
127
 
127
128
  end
@@ -159,7 +160,7 @@ describe "Specset Benchmarking" do
159
160
  h = @ss.hash_from_marc(r, true)
160
161
  end
161
162
  @ss.solrfieldspecs.each do |sfs|
162
- @ss.benchmarks[sfs.solrField].real.should.be positive
163
+ @ss.benchmarks[sfs.solrField].real.should be > 0.0
163
164
  end
164
165
 
165
166
  # @ss.benchmarks.each do |k,v|
@@ -26,39 +26,39 @@ describe "VariableFieldSpec" do
26
26
 
27
27
  it "Should get a whole field separated by spaces" do
28
28
  dfs = MARCSpec::VariableFieldSpec.new('260')
29
- dfs.marc_values(@one).should.equal ["Medina, Texas, 1939."]
29
+ dfs.marc_values(@one).should == ["Medina, Texas, 1939."]
30
30
  end
31
31
 
32
32
  it "Should get just the $a" do
33
33
  dfs = MARCSpec::VariableFieldSpec.new('260', 'a')
34
- dfs.marc_values(@one).should.equal ["Medina, Texas,"]
34
+ dfs.marc_values(@one).should == ["Medina, Texas,"]
35
35
  end
36
36
 
37
37
  it "should return separate values for repeated subfields if only one code is specified" do
38
38
  dfs = MARCSpec::VariableFieldSpec.new('651', 'z')
39
- dfs.marc_values(@one).sort.should.equal ['Texas', 'United States of America.']
39
+ dfs.marc_values(@one).sort.should == ['Texas', 'United States of America.']
40
40
  end
41
41
 
42
- it "Should get all fields via several equal routes" do
42
+ it "Should get all fields via several == routes" do
43
43
  a = MARCSpec::VariableFieldSpec.new('260').marc_values(@one)
44
44
  ac = MARCSpec::VariableFieldSpec.new('260', ['a', 'c']).marc_values(@one)
45
45
  ca = MARCSpec::VariableFieldSpec.new('260', ['c', 'a']).marc_values(@one)
46
46
  ca2 = MARCSpec::VariableFieldSpec.new('260', 'ca').marc_values(@one)
47
47
  allrange = MARCSpec::VariableFieldSpec.new('260', 'a'..'z').marc_values(@one)
48
- a.should.equal ac
49
- ac.should.equal ca
50
- ca.should.equal allrange
48
+ a.should == ac
49
+ ac.should == ca
50
+ ca.should == allrange
51
51
  end
52
52
 
53
53
  it "should get all three 700a's" do
54
54
  a = MARCSpec::VariableFieldSpec.new('700', 'a').marc_values(@one)
55
- a.should.equal ["Lomax, John Avery, 1867-1948", "Lomax, Ruby T. (Ruby Terrill)", "Taylor, Beale D."]
55
+ a.should == ["Lomax, John Avery, 1867-1948", "Lomax, Ruby T. (Ruby Terrill)", "Taylor, Beale D."]
56
56
  end
57
57
 
58
58
  it "should round trip" do
59
59
  ac = MARCSpec::VariableFieldSpec.new('260', ['a', 'c'])
60
60
  ac2 = MARCSpec::VariableFieldSpec.fromPPString(ac.asPPString)
61
- ac.should.equal ac2
61
+ ac.should == ac2
62
62
  end
63
63
 
64
64
  end
metadata CHANGED
@@ -1,83 +1,98 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marcspec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
5
4
  prerelease: false
6
5
  segments:
7
- - 1
8
- - 5
9
- - 0
10
- version: 1.5.0
6
+ - 1
7
+ - 6
8
+ - 1
9
+ version: 1.6.1
11
10
  platform: ruby
12
11
  authors:
13
- - BillDueber
12
+ - BillDueber
14
13
  autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-09-20 00:00:00 -04:00
17
+ date: 2010-10-05 00:00:00 -04:00
19
18
  default_executable:
20
19
  dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: bacon
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
33
- type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: yard
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
47
- type: :development
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: marc4j4r
51
- prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 59
58
- segments:
59
- - 0
60
- - 9
61
- - 0
62
- version: 0.9.0
63
- type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: jruby_streaming_update_solr_server
67
- prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 17
74
- segments:
75
- - 0
76
- - 3
77
- - 1
78
- version: 0.3.1
79
- type: :runtime
80
- version_requirements: *id004
20
+ - !ruby/object:Gem::Dependency
21
+ name: rspec
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :development
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: yard
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
42
+ type: :development
43
+ version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: ci_reporter
46
+ prerelease: false
47
+ requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ type: :development
55
+ version_requirements: *id003
56
+ - !ruby/object:Gem::Dependency
57
+ name: marc4j4r
58
+ prerelease: false
59
+ requirement: &id004 !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 1
65
+ - 1
66
+ - 0
67
+ version: 1.1.0
68
+ type: :runtime
69
+ version_requirements: *id004
70
+ - !ruby/object:Gem::Dependency
71
+ name: logback-simple
72
+ prerelease: false
73
+ requirement: &id005 !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ segments:
78
+ - 0
79
+ version: "0"
80
+ type: :runtime
81
+ version_requirements: *id005
82
+ - !ruby/object:Gem::Dependency
83
+ name: jruby_streaming_update_solr_server
84
+ prerelease: false
85
+ requirement: &id006 !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ segments:
90
+ - 0
91
+ - 5
92
+ - 0
93
+ version: 0.5.0
94
+ type: :runtime
95
+ version_requirements: *id006
81
96
  description: Relies on marc4j4r, based on work in solrmarc
82
97
  email: bill@dueber.com
83
98
  executables: []
@@ -85,99 +100,96 @@ executables: []
85
100
  extensions: []
86
101
 
87
102
  extra_rdoc_files:
88
- - LICENSE
89
- - README.rdoc
103
+ - LICENSE
104
+ - README.rdoc
90
105
  files:
91
- - .document
92
- - .gitignore
93
- - CHANGES
94
- - LICENSE
95
- - README.rdoc
96
- - Rakefile
97
- - VERSION
98
- - lib/marcspec.rb
99
- - lib/marcspec/constantspec.rb
100
- - lib/marcspec/controlfieldspec.rb
101
- - lib/marcspec/customspec.rb
102
- - lib/marcspec/dsl.rb
103
- - lib/marcspec/kvmap.rb
104
- - lib/marcspec/leaderspec.rb
105
- - lib/marcspec/map.rb
106
- - lib/marcspec/marcfieldspec.rb
107
- - lib/marcspec/multivaluemap.rb
108
- - lib/marcspec/solrfieldspec.rb
109
- - lib/marcspec/specset.rb
110
- - lib/marcspec/variablefieldspec.rb
111
- - spec/cachespot_spec.rb
112
- - spec/controlfieldspec_spec.rb
113
- - spec/data/batch.dat
114
- - spec/data/one.dat
115
- - spec/data/simplemap.rb
116
- - spec/data/umich/translation_maps/area_map.properties
117
- - spec/data/umich/translation_maps/availability_map_ht.properties
118
- - spec/data/umich/translation_maps/availability_map_umich.properties
119
- - spec/data/umich/translation_maps/callnumber_map.properties
120
- - spec/data/umich/translation_maps/callnumber_subject_map.properties
121
- - spec/data/umich/translation_maps/country_map.properties
122
- - spec/data/umich/translation_maps/format_map.properties
123
- - spec/data/umich/translation_maps/format_map_umich.properties
124
- - spec/data/umich/translation_maps/ht_namespace_map.properties
125
- - spec/data/umich/translation_maps/institution_map.properties
126
- - spec/data/umich/translation_maps/language_map.properties
127
- - spec/data/umich/translation_maps/library_map.properties
128
- - spec/data/umich/translation_maps/location_map.properties
129
- - spec/data/umich/umich_index.properties
130
- - spec/dsl_spec.rb
131
- - spec/leaderspec_spec.rb
132
- - spec/maps_spec.rb
133
- - spec/marcfieldspecs_spec.rb
134
- - spec/solrfieldspec_spec.rb
135
- - spec/spec_helper.rb
136
- - spec/specset_spec.rb
137
- - spec/variablefieldspec_spec.rb
106
+ - .document
107
+ - .gitignore
108
+ - CHANGES
109
+ - LICENSE
110
+ - README.rdoc
111
+ - Rakefile
112
+ - VERSION
113
+ - lib/marcspec.rb
114
+ - lib/marcspec/constantspec.rb
115
+ - lib/marcspec/controlfieldspec.rb
116
+ - lib/marcspec/customspec.rb
117
+ - lib/marcspec/dsl.rb
118
+ - lib/marcspec/kvmap.rb
119
+ - lib/marcspec/leaderspec.rb
120
+ - lib/marcspec/map.rb
121
+ - lib/marcspec/marcfieldspec.rb
122
+ - lib/marcspec/multivaluemap.rb
123
+ - lib/marcspec/solrfieldspec.rb
124
+ - lib/marcspec/specset.rb
125
+ - lib/marcspec/variablefieldspec.rb
126
+ - spec/cachespot_spec.rb
127
+ - spec/controlfieldspec_spec.rb
128
+ - spec/data/batch.dat
129
+ - spec/data/one.dat
130
+ - spec/data/simplemap.rb
131
+ - spec/data/umich/translation_maps/area_map.properties
132
+ - spec/data/umich/translation_maps/availability_map_ht.properties
133
+ - spec/data/umich/translation_maps/availability_map_umich.properties
134
+ - spec/data/umich/translation_maps/callnumber_map.properties
135
+ - spec/data/umich/translation_maps/callnumber_subject_map.properties
136
+ - spec/data/umich/translation_maps/country_map.properties
137
+ - spec/data/umich/translation_maps/format_map.properties
138
+ - spec/data/umich/translation_maps/format_map_umich.properties
139
+ - spec/data/umich/translation_maps/ht_namespace_map.properties
140
+ - spec/data/umich/translation_maps/institution_map.properties
141
+ - spec/data/umich/translation_maps/language_map.properties
142
+ - spec/data/umich/translation_maps/library_map.properties
143
+ - spec/data/umich/translation_maps/location_map.properties
144
+ - spec/data/umich/umich_index.properties
145
+ - spec/dsl_spec.rb
146
+ - spec/leaderspec_spec.rb
147
+ - spec/maps_spec.rb
148
+ - spec/marcfieldspecs_spec.rb
149
+ - spec/solrfieldspec_spec.rb
150
+ - spec/spec.opts
151
+ - spec/spec_helper.rb
152
+ - spec/specset_spec.rb
153
+ - spec/variablefieldspec_spec.rb
138
154
  has_rdoc: true
139
155
  homepage: http://github.com/billdueber/marcspec
140
156
  licenses: []
141
157
 
142
158
  post_install_message:
143
159
  rdoc_options:
144
- - --charset=UTF-8
160
+ - --charset=UTF-8
145
161
  require_paths:
146
- - lib
162
+ - lib
147
163
  required_ruby_version: !ruby/object:Gem::Requirement
148
- none: false
149
164
  requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- hash: 3
153
- segments:
154
- - 0
155
- version: "0"
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ segments:
168
+ - 0
169
+ version: "0"
156
170
  required_rubygems_version: !ruby/object:Gem::Requirement
157
- none: false
158
171
  requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- hash: 3
162
- segments:
163
- - 0
164
- version: "0"
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ segments:
175
+ - 0
176
+ version: "0"
165
177
  requirements: []
166
178
 
167
179
  rubyforge_project:
168
- rubygems_version: 1.3.7
180
+ rubygems_version: 1.3.6
169
181
  signing_key:
170
182
  specification_version: 3
171
183
  summary: Extract data from MARC records and send to Solr
172
184
  test_files:
173
- - spec/cachespot_spec.rb
174
- - spec/controlfieldspec_spec.rb
175
- - spec/data/simplemap.rb
176
- - spec/dsl_spec.rb
177
- - spec/leaderspec_spec.rb
178
- - spec/maps_spec.rb
179
- - spec/marcfieldspecs_spec.rb
180
- - spec/solrfieldspec_spec.rb
181
- - spec/spec_helper.rb
182
- - spec/specset_spec.rb
183
- - spec/variablefieldspec_spec.rb
185
+ - spec/cachespot_spec.rb
186
+ - spec/controlfieldspec_spec.rb
187
+ - spec/dsl_spec.rb
188
+ - spec/leaderspec_spec.rb
189
+ - spec/maps_spec.rb
190
+ - spec/marcfieldspecs_spec.rb
191
+ - spec/solrfieldspec_spec.rb
192
+ - spec/spec_helper.rb
193
+ - spec/specset_spec.rb
194
+ - spec/variablefieldspec_spec.rb
195
+ - spec/data/simplemap.rb