zoom 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ /record.dat/1.1/Fri Jul 6 16:17:58 2007//
2
+ /record.txt/1.1/Fri Jul 6 15:51:46 2007//
3
+ /search_test.rb/1.2/Tue Jul 10 13:13:31 2007//
4
+ D
@@ -0,0 +1 @@
1
+ ruby-zoom/test
@@ -0,0 +1 @@
1
+ :ext:esummers@rubyforge.org:/var/cvs/ruby-zoom
@@ -0,0 +1 @@
1
+ 01109cam 2200277 a 450000100070000000500170000700800410002403500210006590600450008695501090013101000170024002000280025704000180028505000240030308200140032724501100034126000530045130000510050450400510055565000150060670000270062170000320064892000390068099100500071999100620076970896419980710092633.8970604s1997 inuab b 001 0 eng  9(DLC) 97023698 a7bcbccorignewd1eocipf19gy-gencatlg apc16 to ja00 06-04-97; jd25 06-05-97; jd99 06-05-97; jd11 06-06-97;aa05 06-10-97; CIP ver. pv08 11-05-97 a 97023698  a0253333490 (alk. paper) aDLCcDLCdDLC00aQE862.D5bC697 199700a567.922104aThe complete dinosaur /cedited by James O. Farlow and M.K. Brett-Surman ; art editor, Robert F. Walters. aBloomington :bIndiana University Press,cc1997. axi, 752 p. :bill. (some col.), maps ;c26 cm. aIncludes bibliographical references and index. 0aDinosaurs.1 aFarlow, James Orville.2 aBrett-Surman, M. K.,d1950- a**LC HAS REQ'D # OF SHELF COPIES** bc-GenCollhQE862.D5iC697 1997tCopy 1wBOOKS br-SciRRhQE862.D5iC697 1997tCopy 1wGenBib bi 98-003434
@@ -0,0 +1,22 @@
1
+ 01109cam 2200277 a 4500
2
+ 001 708964
3
+ 005 19980710092633.8
4
+ 008 970604s1997 inuab b 001 0 eng
5
+ 035 $9 (DLC) 97023698
6
+ 906 $a 7 $b cbc $c orignew $d 1 $e ocip $f 19 $g y-gencatlg
7
+ 955 $a pc16 to ja00 06-04-97; jd25 06-05-97; jd99 06-05-97; jd11 06-06-97;aa05 06-10-97; CIP ver. pv08 11-05-97
8
+ 010 $a 97023698
9
+ 020 $a 0253333490 (alk. paper)
10
+ 040 $a DLC $c DLC $d DLC
11
+ 050 00 $a QE862.D5 $b C697 1997
12
+ 082 00 $a 567.9 $2 21
13
+ 245 04 $a The complete dinosaur / $c edited by James O. Farlow and M.K. Brett-Surman ; art editor, Robert F. Walters.
14
+ 260 $a Bloomington : $b Indiana University Press, $c c1997.
15
+ 300 $a xi, 752 p. : $b ill. (some col.), maps ; $c 26 cm.
16
+ 504 $a Includes bibliographical references and index.
17
+ 650 0 $a Dinosaurs.
18
+ 700 1 $a Farlow, James Orville.
19
+ 700 2 $a Brett-Surman, M. K., $d 1950-
20
+ 920 $a **LC HAS REQ'D # OF SHELF COPIES**
21
+ 991 $b c-GenColl $h QE862.D5 $i C697 1997 $t Copy 1 $w BOOKS
22
+ 991 $b r-SciRR $h QE862.D5 $i C697 1997 $t Copy 1 $w GenBib bi 98-003434
@@ -0,0 +1,14 @@
1
+ class SearchTest < Test::Unit::TestCase
2
+
3
+ def test_search_results
4
+ ZOOM::Connection.open('z3950.loc.gov', 7090) do |conn|
5
+ conn.database_name = 'Voyager'
6
+ conn.preferred_record_syntax = 'USMARC'
7
+ result_set = conn.search('@attr 1=7 0253333490')
8
+ assert_equal 1, result_set.length
9
+ assert_equal File.read('test/record.txt'), result_set[0].to_s
10
+ assert_equal File.read('test/record.dat'), result_set[0].raw
11
+ end
12
+ end
13
+
14
+ end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.4
3
+ specification_version: 1
4
+ name: zoom
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.3.0
7
+ date: 2007-07-10 00:00:00 -04:00
8
+ summary: Ruby/ZOOM provides a Ruby binding to the Z40.50 Object-Orientation Model (ZOOM), an abstract object-oriented programming interface to a subset of the services specified by the Z39.50 standard, also known as the international standard ISO 23950.
9
+ require_paths:
10
+ - lib
11
+ email:
12
+ homepage: http://ruby-zoom.rubyforge.org
13
+ rubyforge_project:
14
+ description:
15
+ autorequire: zoom
16
+ default_executable:
17
+ bindir: bin
18
+ has_rdoc: false
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ post_install_message:
29
+ authors: []
30
+
31
+ files:
32
+ - src/rbzoom.c
33
+ - src/rbzoomoptions.c
34
+ - src/rbzoomquery.c
35
+ - src/rbzoomresultset.c
36
+ - src/rbzoomrecord.c
37
+ - src/rbzoomconnection.c
38
+ - src/rbzoom.h
39
+ - src/extconf.rb
40
+ - test/search_test.rb
41
+ - test/record.dat
42
+ - test/CVS
43
+ - test/record.txt
44
+ - test/CVS/Entries
45
+ - test/CVS/Root
46
+ - test/CVS/Repository
47
+ - sample/needle.rb
48
+ - sample/CVS
49
+ - sample/hello.rb
50
+ - sample/CVS/Entries
51
+ - sample/CVS/Root
52
+ - sample/CVS/Repository
53
+ - README
54
+ - ChangeLog
55
+ - Rakefile
56
+ test_files: []
57
+
58
+ rdoc_options: []
59
+
60
+ extra_rdoc_files: []
61
+
62
+ executables: []
63
+
64
+ extensions:
65
+ - src/extconf.rb
66
+ requirements: []
67
+
68
+ dependencies: []
69
+