bookland 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ pkg
3
+
data/LICENSE ADDED
@@ -0,0 +1,31 @@
1
+ Copyright (c) 2008, Keiichirou SHIKANO <k16.shikano@gmail.com> and
2
+ shamelessly hacked by folks at Paper Cavalier in the year of the
3
+ Lord 2010.
4
+
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions
9
+ are met:
10
+
11
+ * Redistributions of source code must retain the above copyright
12
+ notice,this list of conditions and the following disclaimer.
13
+ * Redistributions in binary form must reproduce the above
14
+ copyright notice, this list of conditions and the following
15
+ disclaimer in the documentation and/or other materials provided
16
+ with the distribution.
17
+ * Neither the name of the Keiichirou SHIKANO nor the names of its
18
+ contributors may be used to endorse or promote products derived
19
+ from this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
27
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
28
+ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
29
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md ADDED
@@ -0,0 +1,15 @@
1
+ ![ISBN](http://upload.wikimedia.org/wikipedia/commons/thumb/2/28/EAN-13-ISBN-13.svg/900px-EAN-13-ISBN-13.svg.png)
2
+
3
+ Bookland provides a simple ISBN class in Ruby.
4
+
5
+ $ irb -r "bookland"
6
+ >> include Bookland
7
+ >> book = ISBN.new("0262011530")
8
+ >> book.to_isbn13
9
+ => 9780262011532
10
+ >> book.to_s(1,3,5)
11
+ => "0-262-01153-0"
12
+ >> ISBN.new("9780262011532") == book
13
+ => true
14
+ >> ISBN.new("0262011531") # This is an invalid ISBN
15
+ Bookland::ISBNError: ISBN not valid...
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ begin
2
+ require 'jeweler'
3
+ Jeweler::Tasks.new do |gemspec|
4
+ gemspec.name = "bookland"
5
+ gemspec.summary = "A simple ISBN class in Ruby"
6
+ gemspec.description = "A simple ISBN class in Ruby"
7
+ gemspec.email = "code@papercavalier.com"
8
+ gemspec.homepage = "http://github.com/papercavalier/bookland"
9
+ gemspec.authors = ["Hakan Ensari", "Piotr Laszewski"]
10
+ end
11
+ Jeweler::GemcutterTasks.new
12
+ rescue LoadError
13
+ puts "Jeweler not available. Install it with: gem install jeweler"
14
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/lib/bookland.rb ADDED
@@ -0,0 +1,78 @@
1
+ module Bookland
2
+ class ISBN
3
+ def initialize(seed)
4
+ @raw = seed.gsub(/[^Xx0-9]/, '').split(//) rescue @raw = []
5
+ raise ISBNError unless valid?
6
+ end
7
+
8
+ def inspect
9
+ to_s
10
+ end
11
+
12
+ def to_isbn10
13
+ if isbn13?
14
+ raw = @raw[3..11]
15
+ ISBN.new((raw << cd10(raw)).to_s)
16
+ else
17
+ self.dup
18
+ end
19
+ end
20
+
21
+ def to_isbn13
22
+ if isbn10?
23
+ raw = @raw[0..8].unshift('9', '7', '8')
24
+ ISBN.new((raw << cd13(raw)).to_s)
25
+ else
26
+ self.dup
27
+ end
28
+ end
29
+
30
+ def ==(other)
31
+ self.to_isbn13.to_s == other.to_isbn13.to_s
32
+ end
33
+
34
+ def to_s(*blocks)
35
+ raw = @raw.dup
36
+ blocks.any? ? (blocks.map { |i| raw.shift(i).to_s } << raw.to_s).delete_if(&:empty?).join('-') : raw.to_s
37
+ end
38
+
39
+ private
40
+
41
+ def cd10(raw)
42
+ cd = 11 - [10, 9, 8, 7, 6, 5, 4, 3, 2].zip(raw[0..8].map(&:to_i)).map { |n,m| n * m }.inject(0) { |i,j| i + j } % 11
43
+ case cd
44
+ when 0..9 then cd.to_s
45
+ when 10 then 'X'
46
+ when 11 then '0'
47
+ end
48
+ end
49
+
50
+ def cd13(raw)
51
+ ((10 - [1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3].zip(raw[0..11].map(&:to_i)).map { |n,m| n * m }.inject(0) { |i,j| i + j } % 10) % 10).to_s
52
+ end
53
+
54
+ def isbn10?
55
+ @raw.length == 10
56
+ end
57
+
58
+ def isbn13?
59
+ @raw.length == 13
60
+ end
61
+
62
+ def valid?
63
+ if isbn10?
64
+ @raw[9] == cd10(@raw)
65
+ elsif isbn13?
66
+ @raw[12] == cd13(@raw)
67
+ else
68
+ false
69
+ end
70
+ end
71
+ end
72
+
73
+ class ISBNError < StandardError
74
+ def initialize(msg='ISBN not valid')
75
+ super
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,73 @@
1
+ require "spec_helper"
2
+
3
+ module Bookland
4
+ describe ISBN do
5
+ it "should convert an ISBN-10 to ISBN-13" do
6
+ isbns do |isbn10, isbn13|
7
+ ISBN.new(isbn10).to_isbn13.should == ISBN.new(isbn13)
8
+ end
9
+ end
10
+
11
+ it "should convert an ISBN-13 to ISBN-10" do
12
+ isbns do |isbn10, isbn13|
13
+ ISBN.new(isbn13).to_isbn10.should == ISBN.new(isbn10)
14
+ end
15
+ end
16
+
17
+ it "should equate ISBN-10 and ISBN-13" do
18
+ isbns do |isbn10, isbn13|
19
+ ISBN.new(isbn10).should == ISBN.new(isbn13)
20
+ end
21
+ end
22
+
23
+ it "should validate ISBN-10s" do
24
+ isbns do |isbn10, isbn13|
25
+ lambda { ISBN.new(isbn10) }.should_not raise_error
26
+ end
27
+ end
28
+
29
+ it "should validate ISBN-13s" do
30
+ isbns do |isbn10, isbn13|
31
+ lambda { ISBN.new(isbn13) }.should_not raise_error
32
+ end
33
+ end
34
+
35
+ it "should not validate if seed looks like an ISBN-13 but has an invalid check digit" do
36
+ isbns do |isbn10, isbn13|
37
+ inv = isbn13.gsub(/(.)$/, "#{(isbn13.split(//).last.to_i - 2) % 10}")
38
+ lambda { ISBN.new(inv) }.should raise_error ISBNError
39
+ end
40
+ end
41
+
42
+ it "should not validate if seed looks like an ISBN-10 but has an invalid check digit" do
43
+ isbns do |isbn10, isbn13|
44
+ inv = isbn10.gsub(/(.)$/, "#{(isbn10.split(//).last.to_i - 2) % 10}")
45
+ lambda { ISBN.new(inv) }.should raise_error ISBNError
46
+ end
47
+ end
48
+
49
+ it "should not validate if seed is not an ISBN" do
50
+ %w{foo 1}.each { |seed| lambda { ISBN.new(seed) }.should raise_error ISBNError }
51
+ end
52
+
53
+ it "should not validate if seed is blank" do
54
+ lambda { ISBN.new('') }.should raise_error ISBNError
55
+ end
56
+
57
+ it "should not validate if seed is nil" do
58
+ lambda { ISBN.new(nil) }.should raise_error ISBNError
59
+ end
60
+
61
+ it "should cast as string" do
62
+ Bookland::ISBN.new('0262011530').to_s.should == '0262011530'
63
+ end
64
+
65
+ it "should cast as string and hyphenate an ISBN-13" do
66
+ ISBN.new("9780485113358").to_s(3, 10).should == '978-0485113358'
67
+ end
68
+
69
+ it "should cast as string and hyphenate an ISBN-10" do
70
+ ISBN.new("048511335X").to_s(1, 3, 5, 1).should == '0-485-11335-X'
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,1000 @@
1
+ 0802409431 9780802409430
2
+ 1891595245 9781891595240
3
+ 0897876253 9780897876254
4
+ 0300091893 9780300091892
5
+ 5887021454 9785887021454
6
+ 9879960165 9789879960165
7
+ 0764422790 9780764422799
8
+ 0534264956 9780534264956
9
+ 0517568438 9780517568439
10
+ 286537792X 9782865377923
11
+ 3110175754 9783110175752
12
+ 0732274680 9780732274689
13
+ 9682978734 9789682978739
14
+ 1420102761 9781420102765
15
+ 091433655X 9780914336556
16
+ 0538140208 9780538140201
17
+ 1557666296 9781557666291
18
+ 0439897513 9780439897518
19
+ 0310607108 9780310607106
20
+ 8484566056 9788484566052
21
+ 0471614475 9780471614470
22
+ 0548573611 9780548573617
23
+ 0716789019 9780716789017
24
+ 0548693714 9780548693711
25
+ 354078439X 9783540784395
26
+ 1592964729 9781592964727
27
+ 0606028471 9780606028479
28
+ 0559649762 9780559649769
29
+ 0451129563 9780451129567
30
+ 0295956194 9780295956190
31
+ 0252014626 9780252014628
32
+ 0548879745 9780548879740
33
+ 1420878840 9781420878844
34
+ 0882293826 9780882293820
35
+ 1580330061 9781580330060
36
+ 1434304159 9781434304155
37
+ 1605975990 9781605975993
38
+ 0884964086 9780884964087
39
+ 0976425629 9780976425625
40
+ 142415152X 9781424151523
41
+ 0756400074 9780756400071
42
+ 1604537876 9781604537871
43
+ 0573691983 9780573691980
44
+ 9871081073 9789871081073
45
+ 1412094054 9781412094054
46
+ 0720472288 9780720472288
47
+ 8480181125 9788480181129
48
+ 9683644236 9789683644237
49
+ 0941451763 9780941451765
50
+ 1591607663 9781591607663
51
+ 0911307761 9780911307764
52
+ 0376042982 9780376042989
53
+ 1556551525 9781556551529
54
+ 0891168605 9780891168607
55
+ 8301027592 9788301027599
56
+ 0141316098 9780141316093
57
+ 8430021779 9788430021772
58
+ 0859676900 9780859676908
59
+ 3854206933 9783854206934
60
+ 0976096706 9780976096702
61
+ 5808400783 9785808400788
62
+ 1421977281 9781421977287
63
+ 0811842177 9780811842174
64
+ 0892060794 9780892060795
65
+ 0687300304 9780687300303
66
+ 052167638X 9780521676380
67
+ 0883183889 9780883183885
68
+ 1604743530 9781604743531
69
+ 0877596468 9780877596462
70
+ 0516204424 9780516204420
71
+ 0613753895 9780613753890
72
+ 0153402873 9780153402876
73
+ 1883717272 9781883717278
74
+ 0965916456 9780965916455
75
+ 0030746671 9780030746673
76
+ 3718603101 9783718603107
77
+ 0078820901 9780078820908
78
+ 1877059161 9781877059162
79
+ 1841210137 9781841210131
80
+ 0805724052 9780805724059
81
+ 0387074287 9780387074283
82
+ 1597711225 9781597711227
83
+ 1600142702 9781600142703
84
+ 9290221941 9789290221944
85
+ 1558963677 9781558963672
86
+ 1933662034 9781933662039
87
+ 970902261X 9789709022612
88
+ 0870658425 9780870658426
89
+ 1401876625 9781401876623
90
+ 9793285036 9789793285030
91
+ 8991331998 9788991331990
92
+ 3453059085 9783453059085
93
+ 0774814438 9780774814430
94
+ 1559144637 9781559144636
95
+ 088646191X 9780886461911
96
+ 3880201994 9783880201996
97
+ 0850668514 9780850668513
98
+ 0387978399 9780387978390
99
+ 0340977744 9780340977743
100
+ 0325006849 9780325006840
101
+ 0320054497 9780320054495
102
+ 388985270X 9783889852700
103
+ 0801057140 9780801057144
104
+ 0824059379 9780824059378
105
+ 0449446336 9780449446331
106
+ 0307110540 9780307110541
107
+ 0671744771 9780671744779
108
+ 0520227670 9780520227675
109
+ 0671554816 9780671554811
110
+ 0700706461 9780700706464
111
+ 1420853481 9781420853483
112
+ 1553675576 9781553675570
113
+ 3902053054 9783902053053
114
+ 9759546507 9789759546502
115
+ 9715502946 9789715502948
116
+ 3810722685 9783810722683
117
+ 0977637123 9780977637126
118
+ 9660213581 9789660213586
119
+ 1427074992 9781427074997
120
+ 9684116462 9789684116467
121
+ 0809118904 9780809118908
122
+ 0802794513 9780802794512
123
+ 0787661503 9780787661502
124
+ 9632085280 9789632085289
125
+ 8420448168 9788420448169
126
+ 0803945450 9780803945456
127
+ 0976728303 9780976728306
128
+ 9179003087 9789179003081
129
+ 188388425X 9781883884253
130
+ 3876270162 9783876270166
131
+ 0781710138 9780781710138
132
+ 0952000407 9780952000402
133
+ 055471437X 9780554714370
134
+ 0686178106 9780686178101
135
+ 4770015348 9784770015341
136
+ 8435504301 9788435504300
137
+ 0966245415 9780966245417
138
+ 0688164994 9780688164997
139
+ 2708700871 9782708700871
140
+ 078766992X 9780787669928
141
+ 1875943250 9781875943258
142
+ 0824076753 9780824076757
143
+ 8834812433 9788834812433
144
+ 0852700598 9780852700594
145
+ 3908450322 9783908450320
146
+ 0123875609 9780123875600
147
+ 0528860666 9780528860669
148
+ 0451522486 9780451522481
149
+ 9022308758 9789022308752
150
+ 0345018796 9780345018793
151
+ 4582841961 9784582841961
152
+ 0548887454 9780548887455
153
+ 0920576834 9780920576830
154
+ 7536717725 9787536717725
155
+ 0801982812 9780801982811
156
+ 0064405109 9780064405102
157
+ 0881955108 9780881955101
158
+ 9781421665 9789781421662
159
+ 0333150988 9780333150986
160
+ 2717816976 9782717816976
161
+ 0521056772 9780521056779
162
+ 1441907165 9781441907165
163
+ 9507100458 9789507100451
164
+ 1873410247 9781873410240
165
+ 0844659444 9780844659442
166
+ 0160450489 9780160450488
167
+ 0768835976 9780768835977
168
+ 1557731306 9781557731302
169
+ 0793827620 9780793827626
170
+ 0143001353 9780143001355
171
+ 0590448900 9780590448901
172
+ 193045550X 9781930455504
173
+ 0814471986 9780814471982
174
+ 0933979150 9780933979154
175
+ 1894020839 9781894020831
176
+ 8439349750 9788439349754
177
+ 0662265955 9780662265955
178
+ 0822201992 9780822201991
179
+ 1103984284 9781103984282
180
+ 8481746436 9788481746433
181
+ 0712621539 9780712621533
182
+ 0160526582 9780160526589
183
+ 081210823X 9780812108231
184
+ 3923120001 9783923120000
185
+ 0786137568 9780786137565
186
+ 8813261845 9788813261849
187
+ 1841151386 9781841151380
188
+ 0884020649 9780884020646
189
+ 0865680612 9780865680616
190
+ 0761471715 9780761471714
191
+ 8496515028 9788496515024
192
+ 0471079960 9780471079965
193
+ 3639114205 9783639114201
194
+ 1585790273 9781585790272
195
+ 0898700450 9780898700459
196
+ 8750347586 9788750347583
197
+ 1891438018 9781891438011
198
+ 1563052474 9781563052477
199
+ 0805080236 9780805080230
200
+ 0870001159 9780870001154
201
+ 3475520974 9783475520976
202
+ 0559253907 9780559253904
203
+ 0030000645 9780030000645
204
+ 9872060401 9789872060404
205
+ 0061012092 9780061012099
206
+ 111030403X 9781110304035
207
+ 1556709838 9781556709838
208
+ 0522840175 9780522840179
209
+ 0809302195 9780809302192
210
+ 1581742444 9781581742442
211
+ 0536609136 9780536609137
212
+ 3878763123 9783878763123
213
+ 0553542265 9780553542264
214
+ 0899709400 9780899709406
215
+ 1555036929 9781555036928
216
+ 0862644518 9780862644512
217
+ 1559391448 9781559391443
218
+ 0895245221 9780895245229
219
+ 1602833044 9781602833043
220
+ 3351011709 9783351011703
221
+ 0613210956 9780613210959
222
+ 9879395328 9789879395325
223
+ 0812575628 9780812575620
224
+ 0230602258 9780230602250
225
+ 3060061203 9783060061204
226
+ 1880399334 9781880399330
227
+ 1401084656 9781401084653
228
+ 8301105399 9788301105396
229
+ 8487641288 9788487641282
230
+ 5767100802 9785767100804
231
+ 0590333224 9780590333221
232
+ 0958190534 9780958190534
233
+ 1426452004 9781426452000
234
+ 089925635X 9780899256351
235
+ 1413711278 9781413711271
236
+ 0837368057 9780837368054
237
+ 0340734868 9780340734865
238
+ 0763114421 9780763114428
239
+ 1428007644 9781428007642
240
+ 159311057X 9781593110574
241
+ 8474967333 9788474967333
242
+ 1740593685 9781740593687
243
+ 0006380433 9780006380436
244
+ 0967989604 9780967989600
245
+ 1428624554 9781428624559
246
+ 0764319337 9780764319334
247
+ 0896086291 9780896086296
248
+ 8475660150 9788475660158
249
+ 8431502665 9788431502669
250
+ 0458961000 9780458961009
251
+ 0595281826 9780595281824
252
+ 0825416051 9780825416057
253
+ 0921057636 9780921057635
254
+ 0606005048 9780606005043
255
+ 089236467X 9780892364671
256
+ 0825422973 9780825422973
257
+ 1592133657 9781592133659
258
+ 1426430361 9781426430367
259
+ 8846407504 9788846407504
260
+ 1598699903 9781598699906
261
+ 0716304171 9780716304173
262
+ 1581979452 9781581979459
263
+ 9745971545 9789745971547
264
+ 0913153036 9780913153031
265
+ 155642292X 9781556422928
266
+ 1905042280 9781905042289
267
+ 8466754466 9788466754460
268
+ 0768206340 9780768206340
269
+ 0195423232 9780195423235
270
+ 8486047234 9788486047238
271
+ 0706370082 9780706370089
272
+ 185475176X 9781854751768
273
+ 5835403011 9785835403011
274
+ 006046903X 9780060469030
275
+ 0554904195 9780554904191
276
+ 1600610935 9781600610936
277
+ 0768602874 9780768602876
278
+ 156432088X 9781564320889
279
+ 079239657X 9780792396574
280
+ 9994282956 9789994282951
281
+ 8446007371 9788446007371
282
+ 0896361489 9780896361485
283
+ 0764507842 9780764507847
284
+ 0813123755 9780813123752
285
+ 052827631X 9780528276316
286
+ 045160220X 9780451602206
287
+ 0704401800 9780704401808
288
+ 1404104240 9781404104242
289
+ 0521391172 9780521391177
290
+ 0415485061 9780415485067
291
+ 0668023368 9780668023368
292
+ 0905118359 9780905118352
293
+ 085334051X 9780853340515
294
+ 1104403536 9781104403539
295
+ 0314988122 9780314988126
296
+ 0030131367 9780030131363
297
+ 0738501921 9780738501925
298
+ 8822237064 9788822237064
299
+ 0688138071 9780688138073
300
+ 1555231365 9781555231361
301
+ 0691024316 9780691024318
302
+ 1560440260 9781560440260
303
+ 0520251156 9780520251151
304
+ 1561592706 9781561592708
305
+ 9794594709 9789794594704
306
+ 1847611133 9781847611130
307
+ 0446768898 9780446768894
308
+ 8460487601 9788460487609
309
+ 0853621160 9780853621164
310
+ 0818904615 9780818904615
311
+ 1104405105 9781104405106
312
+ 0915869004 9780915869008
313
+ 0950097519 9780950097510
314
+ 142590937X 9781425909376
315
+ 1419665855 9781419665851
316
+ 1877967076 9781877967078
317
+ 0817264353 9780817264352
318
+ 0321537114 9780321537119
319
+ 2051015759 9782051015752
320
+ 0690016956 9780690016956
321
+ 0697345351 9780697345356
322
+ 0941845087 9780941845083
323
+ 8450048583 9788450048582
324
+ 0803733453 9780803733459
325
+ 0201586339 9780201586336
326
+ 0812042190 9780812042191
327
+ 0697168093 9780697168092
328
+ 5288019800 9785288019807
329
+ 0756746124 9780756746124
330
+ 0192111930 9780192111937
331
+ 0823217752 9780823217755
332
+ 0307038076 9780307038074
333
+ 0470150564 9780470150566
334
+ 0787228001 9780787228002
335
+ 0397504039 9780397504039
336
+ 4476072232 9784476072235
337
+ 1426914598 9781426914591
338
+ 0471487066 9780471487067
339
+ 0849303982 9780849303982
340
+ 1420834576 9781420834574
341
+ 012369535X 9780123695352
342
+ 2879390079 9782879390079
343
+ 0760108803 9780760108802
344
+ 0380975661 9780380975662
345
+ 0966480635 9780966480634
346
+ 0852342705 9780852342701
347
+ 0446342440 9780446342445
348
+ 2864182262 9782864182269
349
+ 0852312105 9780852312100
350
+ 8588787016 9788588787018
351
+ 0521833914 9780521833912
352
+ 097240225X 9780972402255
353
+ 0738515639 9780738515632
354
+ 0681417102 9780681417106
355
+ 2902402899 9782902402892
356
+ 0435901559 9780435901554
357
+ 0021642702 9780021642700
358
+ 3642053270 9783642053276
359
+ 8186030611 9788186030615
360
+ 1558501029 9781558501027
361
+ 0887294227 9780887294228
362
+ 1560114045 9781560114048
363
+ 1583880429 9781583880425
364
+ 1852916001 9781852916008
365
+ 0816517738 9780816517732
366
+ 0716500531 9780716500537
367
+ 0936388935 9780936388939
368
+ 0375946764 9780375946769
369
+ 3540897836 9783540897835
370
+ 0821772139 9780821772133
371
+ 1853715492 9781853715495
372
+ 8427304811 9788427304819
373
+ 0939513439 9780939513437
374
+ 3814401719 9783814401713
375
+ 0486437388 9780486437385
376
+ 9264137793 9789264137790
377
+ 1401025668 9781401025663
378
+ 1933087366 9781933087368
379
+ 3865219128 9783865219121
380
+ 0892871326 9780892871322
381
+ 2760513092 9782760513099
382
+ 0917734246 9780917734243
383
+ 8440092768 9788440092762
384
+ 155868641X 9781558686410
385
+ 0811208354 9780811208352
386
+ 0934385823 9780934385824
387
+ 3428072146 9783428072149
388
+ 0521215943 9780521215947
389
+ 0441049125 9780441049127
390
+ 9173840149 9789173840149
391
+ 0606054693 9780606054690
392
+ 0415033845 9780415033848
393
+ 9053565760 9789053565766
394
+ 0780339134 9780780339132
395
+ 0256069263 9780256069266
396
+ 3201013102 9783201013109
397
+ 0761471898 9780761471899
398
+ 014022324X 9780140223248
399
+ 0939314363 9780939314362
400
+ 1551642123 9781551642123
401
+ 0548577064 9780548577066
402
+ 9211262321 9789211262322
403
+ 8430621903 9788430621903
404
+ 031287488X 9780312874889
405
+ 0753196557 9780753196557
406
+ 0641577834 9780641577833
407
+ 1439505845 9781439505847
408
+ 1413789366 9781413789362
409
+ 0304936154 9780304936151
410
+ 0398018200 9780398018207
411
+ 8484564851 9788484564850
412
+ 0671739824 9780671739829
413
+ 0495130397 9780495130390
414
+ 8885148441 9788885148444
415
+ 9544452230 9789544452230
416
+ 1417737824 9781417737826
417
+ 9654932989 9789654932981
418
+ 0199230277 9780199230273
419
+ 0951375725 9780951375723
420
+ 0833540432 9780833540430
421
+ 1591912431 9781591912439
422
+ 0689102526 9780689102523
423
+ 0613441729 9780613441728
424
+ 2921556723 9782921556729
425
+ 0822339579 9780822339571
426
+ 8171431895 9788171431892
427
+ 0313255296 9780313255298
428
+ 0471549894 9780471549895
429
+ 1421967278 9781421967271
430
+ 1103825097 9781103825097
431
+ 0898839785 9780898839784
432
+ 0766179419 9780766179417
433
+ 002665590X 9780026655903
434
+ 0801825407 9780801825408
435
+ 015304991X 9780153049910
436
+ 082541038X 9780825410383
437
+ 0951214039 9780951214039
438
+ 078794789X 9780787947897
439
+ 9630932024 9789630932028
440
+ 1594538727 9781594538728
441
+ 0554494000 9780554494005
442
+ 1902588002 9781902588001
443
+ 0903729954 9780903729956
444
+ 006097270X 9780060972707
445
+ 0194315851 9780194315852
446
+ 155870129X 9781558701298
447
+ 0963425714 9780963425713
448
+ 0844731978 9780844731971
449
+ 0752859773 9780752859774
450
+ 0471172170 9780471172178
451
+ 1901414108 9781901414103
452
+ 0750529482 9780750529488
453
+ 0817616438 9780817616434
454
+ 0827384726 9780827384729
455
+ 0724102558 9780724102556
456
+ 0007170564 9780007170562
457
+ 1404366903 9781404366909
458
+ 8820488280 9788820488284
459
+ 9688054135 9789688054130
460
+ 0559104235 9780559104237
461
+ 0774027770 9780774027779
462
+ 1877295817 9781877295812
463
+ 3150096413 9783150096413
464
+ 051765010X 9780517650103
465
+ 1432673637 9781432673635
466
+ 1566392144 9781566392143
467
+ 1564962652 9781564962652
468
+ 187832702X 9781878327024
469
+ 206003471X 9782060034713
470
+ 0345277023 9780345277022
471
+ 0553207954 9780553207958
472
+ 1904303552 9781904303558
473
+ 0387193820 9780387193823
474
+ 0314934502 9780314934505
475
+ 0947183124 9780947183127
476
+ 3883756091 9783883756097
477
+ 013452831X 9780134528311
478
+ 0812817575 9780812817577
479
+ 0804809720 9780804809726
480
+ 1556224184 9781556224188
481
+ 0440219914 9780440219910
482
+ 0607920831 9780607920833
483
+ 0275982246 9780275982249
484
+ 142505515X 9781425055158
485
+ 1608762912 9781608762910
486
+ 7306000322 9787306000323
487
+ 1565545508 9781565545502
488
+ 0871011905 9780871011909
489
+ 9062651976 9789062651979
490
+ 1595434712 9781595434715
491
+ 0735526494 9780735526495
492
+ 3404920589 9783404920587
493
+ 8450022053 9788450022056
494
+ 0323016111 9780323016117
495
+ 0312170084 9780312170080
496
+ 0914019589 9780914019589
497
+ 1439231079 9781439231074
498
+ 0873064917 9780873064910
499
+ 1403917388 9781403917386
500
+ 1104410192 9781104410193
501
+ 0226104451 9780226104454
502
+ 0810101610 9780810101616
503
+ 8427002017 9788427002012
504
+ 929044682X 9789290446828
505
+ 0963416006 9780963416001
506
+ 2738473288 9782738473288
507
+ 9848684352 9789848684351
508
+ 1437079369 9781437079364
509
+ 0762000414 9780762000418
510
+ 0754818578 9780754818571
511
+ 0586037306 9780586037300
512
+ 2718801107 9782718801100
513
+ 1857110145 9781857110142
514
+ 0811867617 9780811867610
515
+ 9060007808 9789060007808
516
+ 0252061039 9780252061035
517
+ 8473988809 9788473988803
518
+ 0559233213 9780559233210
519
+ 3499143917 9783499143915
520
+ 0852244975 9780852244975
521
+ 0160376440 9780160376443
522
+ 0837310326 9780837310329
523
+ 030637725X 9780306377259
524
+ 8450565642 9788450565645
525
+ 039440548X 9780394405483
526
+ 1432566237 9781432566234
527
+ 0300125836 9780300125832
528
+ 3905455196 9783905455199
529
+ 0737300272 9780737300277
530
+ 155366244X 9781553662440
531
+ 0415953340 9780415953344
532
+ 3701172048 9783701172047
533
+ 3260050086 9783260050084
534
+ 8487583288 9788487583285
535
+ 0894558684 9780894558689
536
+ 0078262402 9780078262401
537
+ 0910110379 9780910110372
538
+ 2729112731 9782729112738
539
+ 8493052442 9788493052447
540
+ 9681212487 9789681212483
541
+ 0938922041 9780938922049
542
+ 0373672861 9780373672868
543
+ 0136416055 9780136416050
544
+ 0851704042 9780851704043
545
+ 9549090442 9789549090444
546
+ 0963884921 9780963884923
547
+ 9771331205 9789771331209
548
+ 0817982221 9780817982225
549
+ 0803214278 9780803214279
550
+ 0030369339 9780030369339
551
+ 0968153054 9780968153055
552
+ 3597101097 9783597101091
553
+ 959080411X 9789590804113
554
+ 1891859560 9781891859564
555
+ 0756717612 9780756717612
556
+ 0769516378 9780769516370
557
+ 0559304625 9780559304620
558
+ 1408009226 9781408009222
559
+ 0452263212 9780452263215
560
+ 0883290367 9780883290361
561
+ 8870147711 9788870147711
562
+ 0396004695 9780396004691
563
+ 8485354087 9788485354085
564
+ 076370086X 9780763700867
565
+ 0936384360 9780936384368
566
+ 085440421X 9780854404216
567
+ 9514423232 9789514423239
568
+ 0849215374 9780849215377
569
+ 1587798441 9781587798443
570
+ 968167412X 9789681674120
571
+ 5340012425 9785340012425
572
+ 0751531626 9780751531626
573
+ 8520301479 9788520301470
574
+ 0198249071 9780198249078
575
+ 0345364708 9780345364708
576
+ 0525246657 9780525246657
577
+ 8474908000 9788474908008
578
+ 8798677209 9788798677208
579
+ 1550411985 9781550411980
580
+ 0737725656 9780737725650
581
+ 1103726714 9781103726714
582
+ 8817014710 9788817014717
583
+ 0872911659 9780872911659
584
+ 080185525X 9780801855252
585
+ 1432566644 9781432566647
586
+ 9711000288 9789711000288
587
+ 7800709639 9787800709630
588
+ 2729887377 9782729887377
589
+ 3406346219 9783406346217
590
+ 8436809505 9788436809503
591
+ 1417699922 9781417699926
592
+ 156758960X 9781567589603
593
+ 9210612736 9789210612739
594
+ 2844660568 9782844660565
595
+ 0471502847 9780471502845
596
+ 0806134399 9780806134390
597
+ 1404335412 9781404335417
598
+ 1561563064 9781561563067
599
+ 0803923376 9780803923379
600
+ 2911606701 9782911606700
601
+ 0713446250 9780713446258
602
+ 0061814342 9780061814341
603
+ 8477400660 9788477400660
604
+ 0716717514 9780716717515
605
+ 0963968505 9780963968500
606
+ 2873170344 9782873170349
607
+ 0451179374 9780451179371
608
+ 2907150227 9782907150224
609
+ 9781328339 9789781328336
610
+ 3540625550 9783540625551
611
+ 0691116954 9780691116952
612
+ 014077033X 9780140770339
613
+ 0713721685 9780713721683
614
+ 9155023568 9789155023560
615
+ 1103796011 9781103796014
616
+ 0714843806 9780714843803
617
+ 0669909777 9780669909777
618
+ 9974779308 9789974779303
619
+ 0198610750 9780198610755
620
+ 5270006049 9785270006044
621
+ 0907305393 9780907305392
622
+ 929118070X 9789291180707
623
+ 0497260638 9780497260637
624
+ 9715013252 9789715013253
625
+ 007022157X 9780070221574
626
+ 0159290201 9780159290200
627
+ 0836891139 9780836891133
628
+ 3506767828 9783506767820
629
+ 8186385436 9788186385432
630
+ 1878569678 9781878569677
631
+ 8871230876 9788871230870
632
+ 0807822566 9780807822562
633
+ 0897110099 9780897110099
634
+ 0613437977 9780613437974
635
+ 9684092091 9789684092099
636
+ 0974407801 9780974407807
637
+ 0439782481 9780439782487
638
+ 987974988X 9789879749883
639
+ 0126407401 9780126407402
640
+ 0373766467 9780373766468
641
+ 193247269X 9781932472691
642
+ 9264044493 9789264044494
643
+ 360891014X 9783608910148
644
+ 8431501057 9788431501051
645
+ 0613172019 9780613172011
646
+ 0824776461 9780824776466
647
+ 0395264286 9780395264287
648
+ 9559570102 9789559570103
649
+ 9687155116 9789687155111
650
+ 1557045445 9781557045447
651
+ 1581804350 9781581804355
652
+ 0772610576 9780772610577
653
+ 059020601X 9780590206013
654
+ 1421824213 9781421824215
655
+ 072040701X 9780720407013
656
+ 0896861813 9780896861817
657
+ 1602190070 9781602190078
658
+ 1566919223 9781566919227
659
+ 0471899631 9780471899631
660
+ 1559636009 9781559636001
661
+ 0873648226 9780873648226
662
+ 0759243999 9780759243996
663
+ 0613165292 9780613165297
664
+ 0533134900 9780533134908
665
+ 8586611271 9788586611278
666
+ 0387564764 9780387564760
667
+ 5713304027 9785713304027
668
+ 1853675008 9781853675003
669
+ 0521589878 9780521589871
670
+ 0719070465 9780719070464
671
+ 0300105290 9780300105292
672
+ 0312493185 9780312493189
673
+ 0911378901 9780911378900
674
+ 1437813003 9781437813005
675
+ 0573605742 9780573605741
676
+ 8487146597 9788487146596
677
+ 842045706X 9788420457062
678
+ 9138049481 9789138049488
679
+ 968615406X 9789686154061
680
+ 0028605721 9780028605722
681
+ 155275023X 9781552750230
682
+ 1891643029 9781891643026
683
+ 1874105596 9781874105596
684
+ 0613060954 9780613060950
685
+ 0030555744 9780030555749
686
+ 0160840872 9780160840876
687
+ 043942982X 9780439429825
688
+ 1928893023 9781928893028
689
+ 0854563644 9780854563647
690
+ 0373752458 9780373752454
691
+ 0965850889 9780965850889
692
+ 1417673036 9781417673032
693
+ 1564962210 9781564962218
694
+ 0747586128 9780747586128
695
+ 9507823573 9789507823572
696
+ 0133319423 9780133319422
697
+ 1606991469 9781606991466
698
+ 159525000X 9781595250001
699
+ 0521085195 9780521085199
700
+ 1437522580 9781437522587
701
+ 006501037X 9780065010374
702
+ 8486072042 9788486072049
703
+ 0415763843 9780415763844
704
+ 0871319993 9780871319999
705
+ 0788302566 9780788302565
706
+ 2070406954 9782070406951
707
+ 016079997X 9780160799976
708
+ 0822937794 9780822937791
709
+ 0684106027 9780684106021
710
+ 0521095069 9780521095068
711
+ 9517352913 9789517352918
712
+ 913806684X 9789138066843
713
+ 1576751295 9781576751299
714
+ 082630219X 9780826302199
715
+ 0333001222 9780333001226
716
+ 0340883952 9780340883952
717
+ 8495787296 9788495787293
718
+ 0915948052 9780915948055
719
+ 0679785914 9780679785910
720
+ 0757613292 9780757613296
721
+ 0958107300 9780958107303
722
+ 0313302464 9780313302466
723
+ 0893758779 9780893758776
724
+ 0440143780 9780440143789
725
+ 0903983591 9780903983594
726
+ 1566440629 9781566440622
727
+ 159156185X 9781591561859
728
+ 9810531419 9789810531416
729
+ 080790175X 9780807901755
730
+ 8974424177 9788974424176
731
+ 5900536211 9785900536217
732
+ 0762413085 9780762413089
733
+ 9027725527 9789027725523
734
+ 0937986402 9780937986400
735
+ 1841101923 9781841101927
736
+ 0135020964 9780135020968
737
+ 0862999014 9780862999018
738
+ 014007676X 9780140076769
739
+ 1581630336 9781581630336
740
+ 1401226035 9781401226039
741
+ 088332301X 9780883323014
742
+ 0613133404 9780613133401
743
+ 080276021X 9780802760210
744
+ 0441791379 9780441791378
745
+ 0917724925 9780917724923
746
+ 8877418478 9788877418470
747
+ 155806141X 9781558061415
748
+ 0962538809 9780962538803
749
+ 0399502521 9780399502521
750
+ 0595431631 9780595431632
751
+ 0892433345 9780892433346
752
+ 1417775955 9781417775958
753
+ 1590362411 9781590362419
754
+ 9978860738 9789978860731
755
+ 1884363024 9781884363023
756
+ 0671853384 9780671853389
757
+ 0120595680 9780120595686
758
+ 0684162865 9780684162867
759
+ 0943403065 9780943403069
760
+ 3412094943 9783412094942
761
+ 0815400314 9780815400318
762
+ 0870553917 9780870553912
763
+ 0754800512 9780754800514
764
+ 0559065930 9780559065934
765
+ 1594076979 9781594076978
766
+ 2215042036 9782215042037
767
+ 0548678715 9780548678718
768
+ 0123391075 9780123391070
769
+ 3880428026 9783880428027
770
+ 9681645820 9789681645823
771
+ 0802409946 9780802409942
772
+ 0382094840 9780382094842
773
+ 159084615X 9781590846155
774
+ 1568939590 9781568939599
775
+ 0852951000 9780852951002
776
+ 0811667510 9780811667517
777
+ 1852427825 9781852427825
778
+ 8450501865 9788450501865
779
+ 0873150651 9780873150651
780
+ 0404648568 9780404648565
781
+ 1402742118 9781402742118
782
+ 0516534858 9780516534855
783
+ 0554286467 9780554286464
784
+ 0415146089 9780415146081
785
+ 0403000467 9780403000463
786
+ 0671738283 9780671738280
787
+ 013153646X 9780131536463
788
+ 078643855X 9780786438556
789
+ 089689231X 9780896892316
790
+ 0262032635 9780262032636
791
+ 038797640X 9780387976402
792
+ 0316080608 9780316080606
793
+ 0497259753 9780497259754
794
+ 1841582565 9781841582566
795
+ 093464196X 9780934641968
796
+ 1560520957 9781560520955
797
+ 9004094407 9789004094406
798
+ 1418041831 9781418041830
799
+ 0799326771 9780799326772
800
+ 1600132987 9781600132988
801
+ 038920823X 9780389208235
802
+ 5898320415 9785898320416
803
+ 0131347616 9780131347618
804
+ 8485498828 9788485498826
805
+ 0634048945 9780634048944
806
+ 0870239066 9780870239069
807
+ 0939001624 9780939001620
808
+ 1887354379 9781887354370
809
+ 0821403745 9780821403747
810
+ 0946719322 9780946719327
811
+ 0877450226 9780877450221
812
+ 1843625318 9781843625315
813
+ 1401094295 9781401094294
814
+ 0060531274 9780060531270
815
+ 0883363488 9780883363485
816
+ 1413301975 9781413301977
817
+ 0821710761 9780821710760
818
+ 3788308249 9783788308247
819
+ 0094586101 9780094586109
820
+ 0879470755 9780879470753
821
+ 1425047297 9781425047290
822
+ 0394726995 9780394726991
823
+ 8489727600 9788489727601
824
+ 3492228070 9783492228077
825
+ 1425946380 9781425946388
826
+ 1566194954 9781566194952
827
+ 1843091550 9781843091554
828
+ 0830501037 9780830501038
829
+ 0820465747 9780820465746
830
+ 0553200720 9780553200720
831
+ 9211482194 9789211482195
832
+ 978291777X 9789782917775
833
+ 0023316950 9780023316951
834
+ 0844265152 9780844265155
835
+ 0313235147 9780313235146
836
+ 0964681714 9780964681712
837
+ 1420073419 9781420073416
838
+ 0030204348 9780030204340
839
+ 8185394415 9788185394411
840
+ 0385261225 9780385261227
841
+ 1551419777 9781551419770
842
+ 5224031710 9785224031719
843
+ 3820454098 9783820454093
844
+ 1575884267 9781575884264
845
+ 0310258804 9780310258803
846
+ 0765608359 9780765608352
847
+ 0323019870 9780323019873
848
+ 8132006321 9788132006329
849
+ 1599692317 9781599692319
850
+ 0807825077 9780807825075
851
+ 0980226201 9780980226201
852
+ 0853087970 9780853087977
853
+ 0899920233 9780899920238
854
+ 1891134280 9781891134289
855
+ 031604296X 9780316042963
856
+ 0816638594 9780816638598
857
+ 2130358314 9782130358312
858
+ 0385246773 9780385246774
859
+ 1890540951 9781890540951
860
+ 8185041091 9788185041094
861
+ 1880835002 9781880835005
862
+ 1860741789 9781860741784
863
+ 0809323850 9780809323852
864
+ 3795209382 9783795209384
865
+ 0415051894 9780415051897
866
+ 0824015118 9780824015114
867
+ 1420841882 9781420841886
868
+ 3290100138 9783290100131
869
+ 0811420841 9780811420846
870
+ 963564311X 9789635643110
871
+ 1599903288 9781599903286
872
+ 0030767814 9780030767814
873
+ 0231102550 9780231102551
874
+ 0769241727 9780769241722
875
+ 310043921X 9783100439215
876
+ 3770811518 9783770811519
877
+ 3359014006 9783359014003
878
+ 0709935137 9780709935131
879
+ 0963682938 9780963682932
880
+ 044488646X 9780444886460
881
+ 0415967430 9780415967433
882
+ 0970016409 9780970016409
883
+ 1879924064 9781879924062
884
+ 1596370572 9781596370579
885
+ 0312922345 9780312922344
886
+ 4893280104 9784893280107
887
+ 1595406433 9781595406439
888
+ 0840734409 9780840734402
889
+ 9576687977 9789576687976
890
+ 0971700923 9780971700925
891
+ 0061317144 9780061317149
892
+ 0920814646 9780920814642
893
+ 9984922146 9789984922140
894
+ 9782043427 9789782043429
895
+ 0399144161 9780399144165
896
+ 1562865927 9781562865924
897
+ 0741418037 9780741418036
898
+ 0548688109 9780548688106
899
+ 3222122938 9783222122934
900
+ 0679408614 9780679408611
901
+ 1433106434 9781433106439
902
+ 1433005972 9781433005978
903
+ 0020069502 9780020069508
904
+ 1855349051 9781855349056
905
+ 1903300924 9781903300923
906
+ 0915274914 9780915274918
907
+ 0312592388 9780312592387
908
+ 2710805057 9782710805052
909
+ 0824517083 9780824517083
910
+ 0824809742 9780824809744
911
+ 0500016259 9780500016251
912
+ 0380429454 9780380429455
913
+ 1850570655 9781850570653
914
+ 1416401091 9781416401094
915
+ 1592967078 9781592967070
916
+ 0310928575 9780310928577
917
+ 0752437380 9780752437385
918
+ 8471336243 9788471336248
919
+ 1900621975 9781900621977
920
+ 2870770960 9782870770962
921
+ 0900542446 9780900542442
922
+ 0961832215 9780961832216
923
+ 0908575750 9780908575756
924
+ 3829760299 9783829760294
925
+ 0742544826 9780742544826
926
+ 1556525125 9781556525124
927
+ 0929648013 9780929648019
928
+ 3884232738 9783884232736
929
+ 0877782202 9780877782209
930
+ 9879853024 9789879853023
931
+ 1416514708 9781416514701
932
+ 0307580555 9780307580559
933
+ 9635080220 9789635080229
934
+ 9512923459 9789512923458
935
+ 3590021918 9783590021914
936
+ 0807825026 9780807825020
937
+ 0807027553 9780807027554
938
+ 0890300666 9780890300664
939
+ 1425546064 9781425546069
940
+ 4816903127 9784816903120
941
+ 5901685881 9785901685884
942
+ 0877702713 9780877702719
943
+ 520102498X 9785201024987
944
+ 0819421847 9780819421845
945
+ 9681848780 9789681848781
946
+ 186039020X 9781860390203
947
+ 0823031624 9780823031627
948
+ 078512246X 9780785122463
949
+ 0030990882 9780030990885
950
+ 0807061484 9780807061480
951
+ 0963265504 9780963265500
952
+ 1417734035 9781417734030
953
+ 8820725460 9788820725464
954
+ 8420465895 9788420465890
955
+ 074519785X 9780745197852
956
+ 0878451072 9780878451074
957
+ 0313289921 9780313289927
958
+ 0135480655 9780135480656
959
+ 0888666241 9780888666246
960
+ 0964584476 9780964584471
961
+ 8741815432 9788741815435
962
+ 188335501X 9781883355012
963
+ 3805570635 9783805570633
964
+ 1423103432 9781423103431
965
+ 3484304065 9783484304062
966
+ 4569540767 9784569540764
967
+ 9875187801 9789875187801
968
+ 1604534613 9781604534610
969
+ 0933273452 9780933273450
970
+ 4312100136 9784312100139
971
+ 0824092252 9780824092252
972
+ 4533004563 9784533004568
973
+ 9993019844 9789993019848
974
+ 2246075327 9782246075325
975
+ 0307290107 9780307290106
976
+ 079181680X 9780791816806
977
+ 072343073X 9780723430735
978
+ 0312342241 9780312342241
979
+ 1558321640 9781558321649
980
+ 0335199674 9780335199679
981
+ 0387344020 9780387344027
982
+ 1413489966 9781413489965
983
+ 0802862926 9780802862921
984
+ 2940075034 9782940075034
985
+ 0912724056 9780912724058
986
+ 0843900016 9780843900019
987
+ 2847341552 9782847341553
988
+ 0312021275 9780312021276
989
+ 0345505220 9780345505224
990
+ 818223333X 9788182233331
991
+ 842367763X 9788423677634
992
+ 0907099637 9780907099635
993
+ 0733913687 9780733913686
994
+ 1430432691 9781430432692
995
+ 0821318993 9780821318997
996
+ 0806517964 9780806517964
997
+ 184747411X 9781847474117
998
+ 0964133229 9780964133228
999
+ 8481093939 9788481093933
1000
+ 0253328543 9780253328540
@@ -0,0 +1,9 @@
1
+ require File.expand_path("../../lib/bookland", __FILE__)
2
+
3
+ require "yaml"
4
+
5
+ def isbns
6
+ File.open(File.expand_path("../fixtures/isbn", __FILE__)).each do |line|
7
+ yield line.split
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,73 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bookland
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Hakan Ensari
13
+ - Piotr Laszewski
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-04-22 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: A simple ISBN class in Ruby
23
+ email: code@papercavalier.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - LICENSE
30
+ - README.md
31
+ files:
32
+ - .gitignore
33
+ - LICENSE
34
+ - README.md
35
+ - Rakefile
36
+ - VERSION
37
+ - lib/bookland.rb
38
+ - spec/bookland_spec.rb
39
+ - spec/fixtures/isbn
40
+ - spec/spec_helper.rb
41
+ has_rdoc: true
42
+ homepage: http://github.com/papercavalier/bookland
43
+ licenses: []
44
+
45
+ post_install_message:
46
+ rdoc_options:
47
+ - --charset=UTF-8
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 0
56
+ version: "0"
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ segments:
62
+ - 0
63
+ version: "0"
64
+ requirements: []
65
+
66
+ rubyforge_project:
67
+ rubygems_version: 1.3.6
68
+ signing_key:
69
+ specification_version: 3
70
+ summary: A simple ISBN class in Ruby
71
+ test_files:
72
+ - spec/bookland_spec.rb
73
+ - spec/spec_helper.rb