Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Gemify.

  • Loading branch information...
commit dbfa77b4b97162dc63e1183dafb213f4c5a07a2e 1 parent 6aa8054
Akinori MUSHA authored December 26, 2011

Showing 272 changed files with 242 additions and 163 deletions. Show diff stats Hide diff stats

  1. 5  .document
  2. 65  .gitignore
  3. 4  Changes
  4. 13  Gemfile
  5. 21  Gemfile.lock
  6. 3  LICENSE.txt
  7. 69  README.en
  8. 76  README.md
  9. 65  Rakefile
  10. 1  VERSION
  11. 0  {src → ext/bdb}/bdb.c
  12. 0  {src → ext/bdb}/bdb.h
  13. 0  {src → ext/bdb}/common.c
  14. 0  {src → ext/bdb}/cursor.c
  15. 0  {src → ext/bdb}/delegator.c
  16. 0  {src → ext/bdb}/env.c
  17. 0  {src → ext/bdb}/extconf.rb
  18. 0  {src → ext/bdb}/features.rb
  19. 0  {src → ext/bdb}/lock.c
  20. 0  {src → ext/bdb}/log.c
  21. 0  {src → ext/bdb}/recnum.c
  22. 0  {src → ext/bdb}/sequence.c
  23. 0  {src → ext/bdb}/transaction.c
  24. 0  { → ext}/bdbxml1/Changes
  25. 0  { → ext}/bdbxml1/README.en
  26. 0  { → ext}/bdbxml1/b.rb
  27. 0  { → ext}/bdbxml1/bdbxml.cc
  28. 0  { → ext}/bdbxml1/bdbxml.h
  29. 0  { → ext}/bdbxml1/bdbxml.rd
  30. 0  { → ext}/bdbxml1/docs/bdbxml.rb
  31. 0  { → ext}/bdbxml1/docs/container.rb
  32. 0  { → ext}/bdbxml1/docs/container.rd
  33. 0  { → ext}/bdbxml1/docs/context.rb
  34. 0  { → ext}/bdbxml1/docs/context.rd
  35. 0  { → ext}/bdbxml1/docs/document.rb
  36. 0  { → ext}/bdbxml1/docs/document.rd
  37. 0  { → ext}/bdbxml1/docs/index.rb
  38. 0  { → ext}/bdbxml1/docs/index.rd
  39. 0  { → ext}/bdbxml1/docs/modify.rb
  40. 0  { → ext}/bdbxml1/docs/modify.rd
  41. 0  { → ext}/bdbxml1/docs/results.rb
  42. 0  { → ext}/bdbxml1/docs/results.rd
  43. 0  { → ext}/bdbxml1/examples/dbxml/README
  44. 0  { → ext}/bdbxml1/examples/dbxml/a.sh
  45. 0  { → ext}/bdbxml1/examples/dbxml/add_index.rb
  46. 0  { → ext}/bdbxml1/examples/dbxml/build_db.rb
  47. 0  { → ext}/bdbxml1/examples/dbxml/context.rb
  48. 0  { → ext}/bdbxml1/examples/dbxml/delete.rb
  49. 0  { → ext}/bdbxml1/examples/dbxml/delete_index.rb
  50. 0  { → ext}/bdbxml1/examples/dbxml/document.rb
  51. 0  { → ext}/bdbxml1/examples/dbxml/load.rb
  52. 0  { → ext}/bdbxml1/examples/dbxml/loadex.rb
  53. 0  { → ext}/bdbxml1/examples/dbxml/metadata.rb
  54. 0  { → ext}/bdbxml1/examples/dbxml/names.rb
  55. 0  { → ext}/bdbxml1/examples/dbxml/query.rb
  56. 0  { → ext}/bdbxml1/examples/dbxml/replace_index.rb
  57. 0  { → ext}/bdbxml1/examples/dbxml/retrieve_db.rb
  58. 0  { → ext}/bdbxml1/examples/dbxml/update.rb
  59. 0  { → ext}/bdbxml1/examples/index.rb
  60. 0  { → ext}/bdbxml1/examples/transaction.rb
  61. 0  { → ext}/bdbxml1/extconf.rb
  62. 0  { → ext}/bdbxml1/glossary/README
  63. 0  { → ext}/bdbxml1/glossary/abstract_data_type
  64. 0  { → ext}/bdbxml1/glossary/associative_array
  65. 0  { → ext}/bdbxml1/glossary/awk
  66. 0  { → ext}/bdbxml1/glossary/big_endian
  67. 0  { → ext}/bdbxml1/glossary/block
  68. 0  { → ext}/bdbxml1/glossary/bug
  69. 0  { → ext}/bdbxml1/glossary/built-in_class
  70. 0  { → ext}/bdbxml1/glossary/byte_order
  71. 0  { → ext}/bdbxml1/glossary/class
  72. 0  { → ext}/bdbxml1/glossary/class_method
  73. 0  { → ext}/bdbxml1/glossary/coerce
  74. 0  { → ext}/bdbxml1/glossary/constant
  75. 0  { → ext}/bdbxml1/glossary/data
  76. 0  { → ext}/bdbxml1/glossary/defined?
  77. 0  { → ext}/bdbxml1/glossary/destructive
  78. 0  { → ext}/bdbxml1/glossary/dictionary
  79. 0  { → ext}/bdbxml1/glossary/document
  80. 0  { → ext}/bdbxml1/glossary/dynamic_binding
  81. 0  { → ext}/bdbxml1/glossary/eiffel
  82. 0  { → ext}/bdbxml1/glossary/encapsulation
  83. 0  { → ext}/bdbxml1/glossary/end
  84. 0  { → ext}/bdbxml1/glossary/env
  85. 0  { → ext}/bdbxml1/glossary/environment_variable
  86. 0  { → ext}/bdbxml1/glossary/exception
  87. 0  { → ext}/bdbxml1/glossary/faq
  88. 0  { → ext}/bdbxml1/glossary/function
  89. 0  { → ext}/bdbxml1/glossary/global_variable
  90. 0  { → ext}/bdbxml1/glossary/goto
  91. 0  { → ext}/bdbxml1/glossary/hash
  92. 0  { → ext}/bdbxml1/glossary/immediate_value
  93. 0  { → ext}/bdbxml1/glossary/inheritance
  94. 0  { → ext}/bdbxml1/glossary/initialize
  95. 0  { → ext}/bdbxml1/glossary/instance
  96. 0  { → ext}/bdbxml1/glossary/instance_variable
  97. 0  { → ext}/bdbxml1/glossary/iterator
  98. 0  { → ext}/bdbxml1/glossary/japanese_(language)
  99. 0  { → ext}/bdbxml1/glossary/little_endian
  100. 0  { → ext}/bdbxml1/glossary/local_variable
  101. 0  { → ext}/bdbxml1/glossary/main
  102. 0  { → ext}/bdbxml1/glossary/matchingdata
  103. 0  { → ext}/bdbxml1/glossary/matz
  104. 0  { → ext}/bdbxml1/glossary/method
  105. 0  { → ext}/bdbxml1/glossary/mix-in
  106. 0  { → ext}/bdbxml1/glossary/module_function
  107. 0  { → ext}/bdbxml1/glossary/non-local_exit
  108. 0  { → ext}/bdbxml1/glossary/object
  109. 0  { → ext}/bdbxml1/glossary/object-oriented
  110. 0  { → ext}/bdbxml1/glossary/object-oriented_analysis
  111. 0  { → ext}/bdbxml1/glossary/object-oriented_design
  112. 0  { → ext}/bdbxml1/glossary/object-oriented_programming
  113. 0  { → ext}/bdbxml1/glossary/override
  114. 0  { → ext}/bdbxml1/glossary/paradigm
  115. 0  { → ext}/bdbxml1/glossary/perl
  116. 0  { → ext}/bdbxml1/glossary/polymorphism
  117. 0  { → ext}/bdbxml1/glossary/python
  118. 0  { → ext}/bdbxml1/glossary/receiver
  119. 0  { → ext}/bdbxml1/glossary/redefinition
  120. 0  { → ext}/bdbxml1/glossary/reference
  121. 0  { → ext}/bdbxml1/glossary/ruby
  122. 0  { → ext}/bdbxml1/glossary/sather
  123. 0  { → ext}/bdbxml1/glossary/script
  124. 0  { → ext}/bdbxml1/glossary/scripting_language
  125. 0  { → ext}/bdbxml1/glossary/self
  126. 0  { → ext}/bdbxml1/glossary/singleton_class
  127. 0  { → ext}/bdbxml1/glossary/singleton_method
  128. 0  { → ext}/bdbxml1/glossary/smalltalk
  129. 0  { → ext}/bdbxml1/glossary/sort
  130. 0  { → ext}/bdbxml1/glossary/super
  131. 0  { → ext}/bdbxml1/glossary/thread
  132. 0  { → ext}/bdbxml1/glossary/undef
  133. 0  { → ext}/bdbxml1/glossary/variable
  134. 0  { → ext}/bdbxml1/myconfig
  135. 0  { → ext}/bdbxml1/tests/data.e
  136. 0  { → ext}/bdbxml1/tests/data.t
  137. 0  { → ext}/bdbxml1/tests/runit_.rb
  138. 0  { → ext}/bdbxml1/tests/xml.rb
  139. 0  { → ext}/bdbxml2/Changes
  140. 0  { → ext}/bdbxml2/README.en
  141. 0  { → ext}/bdbxml2/bdbxml.cc
  142. 0  { → ext}/bdbxml2/bdbxml.h
  143. 0  { → ext}/bdbxml2/bdbxml.rd
  144. 0  { → ext}/bdbxml2/docs/bdbxml.rb
  145. 0  { → ext}/bdbxml2/docs/container.rb
  146. 0  { → ext}/bdbxml2/docs/container.rd
  147. 0  { → ext}/bdbxml2/docs/context.rb
  148. 0  { → ext}/bdbxml2/docs/context.rd
  149. 0  { → ext}/bdbxml2/docs/document.rb
  150. 0  { → ext}/bdbxml2/docs/document.rd
  151. 0  { → ext}/bdbxml2/docs/event_reader.rb
  152. 0  { → ext}/bdbxml2/docs/event_reader.rd
  153. 0  { → ext}/bdbxml2/docs/event_writer.rb
  154. 0  { → ext}/bdbxml2/docs/event_writer.rd
  155. 0  { → ext}/bdbxml2/docs/index.rb
  156. 0  { → ext}/bdbxml2/docs/index.rd
  157. 0  { → ext}/bdbxml2/docs/indexlookup.rb
  158. 0  { → ext}/bdbxml2/docs/indexlookup.rd
  159. 0  { → ext}/bdbxml2/docs/manager.rb
  160. 0  { → ext}/bdbxml2/docs/manager.rd
  161. 0  { → ext}/bdbxml2/docs/modify.rb
  162. 0  { → ext}/bdbxml2/docs/modify.rd
  163. 0  { → ext}/bdbxml2/docs/results.rb
  164. 0  { → ext}/bdbxml2/docs/results.rd
  165. 0  { → ext}/bdbxml2/docs/value.rb
  166. 0  { → ext}/bdbxml2/docs/value.rd
  167. 0  { → ext}/bdbxml2/examples/create.rb
  168. 0  { → ext}/bdbxml2/examples/dbxml/README
  169. 0  { → ext}/bdbxml2/examples/dbxml/a.sh
  170. 0  { → ext}/bdbxml2/examples/dbxml/add_index.rb
  171. 0  { → ext}/bdbxml2/examples/dbxml/build_db.rb
  172. 0  { → ext}/bdbxml2/examples/dbxml/context.rb
  173. 0  { → ext}/bdbxml2/examples/dbxml/delete.rb
  174. 0  { → ext}/bdbxml2/examples/dbxml/delete_index.rb
  175. 0  { → ext}/bdbxml2/examples/dbxml/document.rb
  176. 0  { → ext}/bdbxml2/examples/dbxml/load.rb
  177. 0  { → ext}/bdbxml2/examples/dbxml/loadex.rb
  178. 0  { → ext}/bdbxml2/examples/dbxml/metadata.rb
  179. 0  { → ext}/bdbxml2/examples/dbxml/names.rb
  180. 0  { → ext}/bdbxml2/examples/dbxml/query.rb
  181. 0  { → ext}/bdbxml2/examples/dbxml/replace_index.rb
  182. 0  { → ext}/bdbxml2/examples/dbxml/retrieve_db.rb
  183. 0  { → ext}/bdbxml2/examples/dbxml/update.rb
  184. 0  { → ext}/bdbxml2/examples/event_reader.rb
  185. 0  { → ext}/bdbxml2/examples/event_writer.rb
  186. 0  { → ext}/bdbxml2/examples/index.rb
  187. 0  { → ext}/bdbxml2/examples/indexlookup.rb
  188. 0  { → ext}/bdbxml2/examples/modify.rb
  189. 0  { → ext}/bdbxml2/examples/transaction.rb
  190. 0  { → ext}/bdbxml2/extconf.rb
  191. 0  { → ext}/bdbxml2/features.rb
  192. 0  { → ext}/bdbxml2/glossary/README
  193. 0  { → ext}/bdbxml2/glossary/abstract_data_type
  194. 0  { → ext}/bdbxml2/glossary/associative_array
  195. 0  { → ext}/bdbxml2/glossary/awk
  196. 0  { → ext}/bdbxml2/glossary/big_endian
  197. 0  { → ext}/bdbxml2/glossary/block
  198. 0  { → ext}/bdbxml2/glossary/bug
  199. 0  { → ext}/bdbxml2/glossary/built-in_class
  200. 0  { → ext}/bdbxml2/glossary/byte_order
  201. 0  { → ext}/bdbxml2/glossary/class
  202. 0  { → ext}/bdbxml2/glossary/class_method
  203. 0  { → ext}/bdbxml2/glossary/coerce
  204. 0  { → ext}/bdbxml2/glossary/constant
  205. 0  { → ext}/bdbxml2/glossary/data
  206. 0  { → ext}/bdbxml2/glossary/defined?
  207. 0  { → ext}/bdbxml2/glossary/destructive
  208. 0  { → ext}/bdbxml2/glossary/dictionary
  209. 0  { → ext}/bdbxml2/glossary/document
  210. 0  { → ext}/bdbxml2/glossary/dynamic_binding
  211. 0  { → ext}/bdbxml2/glossary/eiffel
  212. 0  { → ext}/bdbxml2/glossary/encapsulation
  213. 0  { → ext}/bdbxml2/glossary/end
  214. 0  { → ext}/bdbxml2/glossary/env
  215. 0  { → ext}/bdbxml2/glossary/environment_variable
  216. 0  { → ext}/bdbxml2/glossary/exception
  217. 0  { → ext}/bdbxml2/glossary/faq
  218. 0  { → ext}/bdbxml2/glossary/function
  219. 0  { → ext}/bdbxml2/glossary/global_variable
  220. 0  { → ext}/bdbxml2/glossary/goto
  221. 0  { → ext}/bdbxml2/glossary/hash
  222. 0  { → ext}/bdbxml2/glossary/immediate_value
  223. 0  { → ext}/bdbxml2/glossary/inheritance
  224. 0  { → ext}/bdbxml2/glossary/initialize
  225. 0  { → ext}/bdbxml2/glossary/instance
  226. 0  { → ext}/bdbxml2/glossary/instance_variable
  227. 0  { → ext}/bdbxml2/glossary/iterator
  228. 0  { → ext}/bdbxml2/glossary/japanese_(language)
  229. 0  { → ext}/bdbxml2/glossary/little_endian
  230. 0  { → ext}/bdbxml2/glossary/local_variable
  231. 0  { → ext}/bdbxml2/glossary/main
  232. 0  { → ext}/bdbxml2/glossary/matchingdata
  233. 0  { → ext}/bdbxml2/glossary/matz
  234. 0  { → ext}/bdbxml2/glossary/method
  235. 0  { → ext}/bdbxml2/glossary/mix-in
  236. 0  { → ext}/bdbxml2/glossary/module_function
  237. 0  { → ext}/bdbxml2/glossary/non-local_exit
  238. 0  { → ext}/bdbxml2/glossary/object
  239. 0  { → ext}/bdbxml2/glossary/object-oriented
  240. 0  { → ext}/bdbxml2/glossary/object-oriented_analysis
  241. 0  { → ext}/bdbxml2/glossary/object-oriented_design
  242. 0  { → ext}/bdbxml2/glossary/object-oriented_programming
  243. 0  { → ext}/bdbxml2/glossary/override
  244. 0  { → ext}/bdbxml2/glossary/paradigm
  245. 0  { → ext}/bdbxml2/glossary/perl
  246. 0  { → ext}/bdbxml2/glossary/polymorphism
  247. 0  { → ext}/bdbxml2/glossary/python
  248. 0  { → ext}/bdbxml2/glossary/receiver
  249. 0  { → ext}/bdbxml2/glossary/redefinition
  250. 0  { → ext}/bdbxml2/glossary/reference
  251. 0  { → ext}/bdbxml2/glossary/ruby
  252. 0  { → ext}/bdbxml2/glossary/sather
  253. 0  { → ext}/bdbxml2/glossary/script
  254. 0  { → ext}/bdbxml2/glossary/scripting_language
  255. 0  { → ext}/bdbxml2/glossary/self
  256. 0  { → ext}/bdbxml2/glossary/singleton_class
  257. 0  { → ext}/bdbxml2/glossary/singleton_method
  258. 0  { → ext}/bdbxml2/glossary/smalltalk
  259. 0  { → ext}/bdbxml2/glossary/sort
  260. 0  { → ext}/bdbxml2/glossary/super
  261. 0  { → ext}/bdbxml2/glossary/thread
  262. 0  { → ext}/bdbxml2/glossary/undef
  263. 0  { → ext}/bdbxml2/glossary/variable
  264. 0  { → ext}/bdbxml2/myconfig
  265. 0  { → ext}/bdbxml2/myconfig-2.2
  266. 0  { → ext}/bdbxml2/myconfig-2.3
  267. 0  { → ext}/bdbxml2/myconfig-2.4
  268. 0  { → ext}/bdbxml2/tests/data.e
  269. 0  { → ext}/bdbxml2/tests/data.t
  270. 0  { → ext}/bdbxml2/tests/runit_.rb
  271. 0  { → ext}/bdbxml2/tests/xml.rb
  272. 83  extconf.rb
5  .document
... ...
@@ -0,0 +1,5 @@
  1
+lib/**/*.rb
  2
+bin/*
  3
+- 
  4
+features/**/*.feature
  5
+LICENSE.txt
65  .gitignore
... ...
@@ -1,11 +1,54 @@
1  
-*.html
2  
-Makefile
3  
-bdbxml2/bdbxml_features.h
4  
-bdbxml[12]/*.html
5  
-bdbxml[12]/*.so
6  
-bdbxml[12]/docs/*.html
7  
-docs/*.html
8  
-src/Makefile
9  
-src/bdb.so
10  
-src/bdb_features.h
11  
-src/mkmf.log
  1
+# rcov generated
  2
+coverage
  3
+
  4
+# rdoc generated
  5
+rdoc
  6
+
  7
+# yard generated
  8
+doc
  9
+.yardoc
  10
+
  11
+# bundler
  12
+.bundle
  13
+
  14
+# jeweler generated
  15
+pkg
  16
+
  17
+# rake-compiler generated
  18
+tmp
  19
+
  20
+# We have no files under lib at the moment.
  21
+lib
  22
+
  23
+# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore: 
  24
+#
  25
+# * Create a file at ~/.gitignore
  26
+# * Include files you want ignored
  27
+# * Run: git config --global core.excludesfile ~/.gitignore
  28
+#
  29
+# After doing this, these files will be ignored in all your git projects,
  30
+# saving you from having to 'pollute' every project you touch with them
  31
+#
  32
+# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
  33
+#
  34
+# For MacOS:
  35
+#
  36
+#.DS_Store
  37
+
  38
+# For TextMate
  39
+#*.tmproj
  40
+#tmtags
  41
+
  42
+# For emacs:
  43
+#*~
  44
+#\#*
  45
+#.\#*
  46
+
  47
+# For vim:
  48
+#*.swp
  49
+
  50
+# For redcar:
  51
+#.redcar
  52
+
  53
+# For rubinius:
  54
+#*.rbc
4  Changes
@@ -289,3 +289,7 @@
289 289
 --- 0.6.6
290 290
 
291 291
 * ruby 1.9 support
  292
+
  293
+--- 0.6.7
  294
+
  295
+* gemified.
13  Gemfile
... ...
@@ -0,0 +1,13 @@
  1
+source "http://rubygems.org"
  2
+# Add dependencies required to use your gem here.
  3
+# Example:
  4
+#   gem "activesupport", ">= 2.3.5"
  5
+
  6
+# Add dependencies to develop your gem here.
  7
+# Include everything needed to run rake, tests, features, etc.
  8
+group :development do
  9
+  gem "bundler", "~> 1.0.0"
  10
+  gem "jeweler", "~> 1.6.4"
  11
+  gem "rcov", ">= 0"
  12
+  gem "rake-compiler", ">= 0.7.9"
  13
+end
21  Gemfile.lock
... ...
@@ -0,0 +1,21 @@
  1
+GEM
  2
+  remote: http://rubygems.org/
  3
+  specs:
  4
+    git (1.2.5)
  5
+    jeweler (1.6.4)
  6
+      bundler (~> 1.0)
  7
+      git (>= 1.2.5)
  8
+      rake
  9
+    rake (0.9.2.2)
  10
+    rake-compiler (0.7.9)
  11
+      rake
  12
+    rcov (0.9.11)
  13
+
  14
+PLATFORMS
  15
+  ruby
  16
+
  17
+DEPENDENCIES
  18
+  bundler (~> 1.0.0)
  19
+  jeweler (~> 1.6.4)
  20
+  rake-compiler (>= 0.7.9)
  21
+  rcov
3  LICENSE.txt
... ...
@@ -0,0 +1,3 @@
  1
+Copyright (c) 2011 Akinori MUSHA
  2
+
  3
+You can redistribute it and/or modify it under the same term as Ruby.
69  README.en
... ...
@@ -1,69 +0,0 @@
1  
-
2  
- This is an interface to Berkeley DB, distributed by Sleepycat
3  
- (http://www.sleepycat.com/)
4  
-
5  
-* Prerequisite
6  
-
7  
-  db >= 2 (some functionnality like join are not available with db < 2.6)
8  
-
9  
-  For Berkeley DB 1.85 and 1.86 see bdb1
10  
-
11  
-* Installation
12  
- 
13  
-   ruby extconf.rb
14  
-   make
15  
-   make install
16  
- 
17  
- You may need to specify :
18  
-
19  
-  --with-db-include=<include file directory for bdb>
20  
-
21  
-  --with-db-lib=<library directory for bdb>
22  
-
23  
-  --with-db-dir=<prefix for library and include of bdb>
24  
-
25  
-  --enable-db-xml
26  
-
27  
-  --help
28  
-
29  
- Example :
30  
- 
31  
-  ruby extconf.rb --with-db-dir=/home/ts/local
32  
-
33  
-* WARNING
34  
-
35  
-  With bdb >= 0.5.5 `nil' is stored as an empty string (when marshal is not
36  
-  used).
37  
-
38  
-  Open the database with
39  
-
40  
-     "store_nil_as_null" => true
41  
-
42  
-  if you want the old behavior (`nil' stored as `\000')
43  
-
44  
-
45  
-* examples 
46  
-
47  
-  examples/basic.rb        simple access method
48  
-  examples/recno.rb        access to flat file
49  
-  examples/cursor.rb       direct cursor access
50  
-  examples/txn.rb          transaction
51  
-  examples/join.rb         join (need db >= 2.6)
52  
-  examples/log.rb          log file
53  
-
54  
-* Documentation : see bdb.rd and bdb.html
55  
-
56  
-* Tests : if you have rubyunit, or testunit
57  
-
58  
-   make test
59  
- 
60  
-* Copying
61  
- 
62  
- This extension module is copyrighted free software by Guy Decoux
63  
- 
64  
- You can redistribute it and/or modify it under the same term as
65  
- Ruby.
66  
-
67  
- 
68  
- 
69  
-Guy Decoux <ts@moulon.inra.fr>
76  README.md
Source Rendered
... ...
@@ -0,0 +1,76 @@
  1
+bdb1
  2
+====
  3
+
  4
+Synopsis
  5
+--------
  6
+
  7
+A Ruby interface to Berkeley DB distributed by Oracle
  8
+
  9
+Prerequisite
  10
+============
  11
+
  12
+* db >= 2 (some functionnality like join are not available with db < 2.6)
  13
+
  14
+For Berkeley DB 1.85 and 1.86 see bdb1
  15
+
  16
+Examples
  17
+--------
  18
+
  19
+See the `examples` directory for code examples.
  20
+
  21
+Installation
  22
+------------
  23
+
  24
+You can install this module simply by:
  25
+
  26
+	gem install bdb
  27
+
  28
+Use the `--with-db-dir=$prefix` option to specify with which libdb
  29
+this extension should be linked.
  30
+
  31
+Notes
  32
+=====
  33
+
  34
+With bdb >= 0.5.5 `nil' is stored as an empty string (when marshal is
  35
+not used).
  36
+
  37
+Open the database with
  38
+
  39
+    "store_nil_as_null" => true
  40
+
  41
+if you want the old behavior (`nil' stored as `\000').
  42
+
  43
+Examples
  44
+========
  45
+
  46
+* examples/basic.rb
  47
+
  48
+  simple access method
  49
+
  50
+* examples/recno.rb
  51
+
  52
+  access to flat file
  53
+
  54
+* examples/cursor.rb
  55
+
  56
+  direct cursor access
  57
+
  58
+* examples/txn.rb
  59
+
  60
+  transaction
  61
+
  62
+* examples/join.rb
  63
+
  64
+  join (need db >= 2.6)
  65
+
  66
+* examples/log.rb
  67
+
  68
+  log file
  69
+
  70
+License
  71
+-------
  72
+
  73
+Copyright (c) 2000-2008 Guy Decoux
  74
+Copyright (c) 2008-2011 Akinori MUSHA
  75
+
  76
+You can redistribute it and/or modify it under the same term as Ruby.
65  Rakefile
... ...
@@ -0,0 +1,65 @@
  1
+# encoding: utf-8
  2
+
  3
+require 'rubygems'
  4
+require 'bundler'
  5
+begin
  6
+  Bundler.setup(:default, :development)
  7
+rescue Bundler::BundlerError => e
  8
+  $stderr.puts e.message
  9
+  $stderr.puts "Run `bundle install` to install missing gems"
  10
+  exit e.status_code
  11
+end
  12
+require 'rake'
  13
+
  14
+require 'jeweler'
  15
+Jeweler::Tasks.new do |gem|
  16
+  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  17
+  gem.name = "bdb"
  18
+  gem.homepage = "http://github.com/knu/ruby-bdb"
  19
+  gem.license = "Ruby's"
  20
+  gem.summary = %Q{A Ruby interface to Berkeley DB >= 2.0}
  21
+  gem.description = %Q{This is a Ruby interface to Berkeley DB >= 2.0.}
  22
+  gem.email = "knu@idaemons.org"
  23
+  gem.authors = ["Guy Decoux", "Akinori MUSHA"]
  24
+  # dependencies defined in Gemfile
  25
+end
  26
+Jeweler::RubygemsDotOrgTasks.new
  27
+
  28
+def generated_gemspec
  29
+  eval(File.read(Rake.application.jeweler.gemspec_helper.path))
  30
+rescue
  31
+  nil
  32
+end
  33
+
  34
+require 'rake/extensiontask'
  35
+Rake::ExtensionTask.new('bdb', generated_gemspec) do |ext|
  36
+    ext.cross_compile = true
  37
+    ext.cross_platform = 'x86-mingw32'
  38
+end
  39
+
  40
+require 'rake/testtask'
  41
+Rake::TestTask.new(:test) do |test|
  42
+  test.libs << 'lib' << 'test'
  43
+  test.pattern = 'test/**/test_*.rb'
  44
+  test.verbose = true
  45
+end
  46
+
  47
+require 'rcov/rcovtask'
  48
+Rcov::RcovTask.new do |test|
  49
+  test.libs << 'test'
  50
+  test.pattern = 'test/**/test_*.rb'
  51
+  test.verbose = true
  52
+  test.rcov_opts << '--exclude "gems/*"'
  53
+end
  54
+
  55
+task :default => :test
  56
+
  57
+require 'rake/rdoctask'
  58
+Rake::RDocTask.new do |rdoc|
  59
+  version = File.exist?('VERSION') ? File.read('VERSION') : ""
  60
+
  61
+  rdoc.rdoc_dir = 'rdoc'
  62
+  rdoc.title = "bdb #{version}"
  63
+  rdoc.rdoc_files.include('README*')
  64
+  rdoc.rdoc_files.include('lib/**/*.rb')
  65
+end
1  VERSION
... ...
@@ -0,0 +1 @@
  1
+0.6.7
0  src/bdb.c → ext/bdb/bdb.c
File renamed without changes
0  src/bdb.h → ext/bdb/bdb.h
File renamed without changes
0  src/common.c → ext/bdb/common.c
File renamed without changes
0  src/cursor.c → ext/bdb/cursor.c
File renamed without changes
0  src/delegator.c → ext/bdb/delegator.c
File renamed without changes
0  src/env.c → ext/bdb/env.c
File renamed without changes
0  src/extconf.rb → ext/bdb/extconf.rb
File renamed without changes
0  src/features.rb → ext/bdb/features.rb
File renamed without changes
0  src/lock.c → ext/bdb/lock.c
File renamed without changes
0  src/log.c → ext/bdb/log.c
File renamed without changes
0  src/recnum.c → ext/bdb/recnum.c
File renamed without changes
0  src/sequence.c → ext/bdb/sequence.c
File renamed without changes
0  src/transaction.c → ext/bdb/transaction.c
File renamed without changes
0  bdbxml1/Changes → ext/bdbxml1/Changes
File renamed without changes
0  bdbxml1/README.en → ext/bdbxml1/README.en
File renamed without changes
0  bdbxml1/b.rb → ext/bdbxml1/b.rb
File renamed without changes
0  bdbxml1/bdbxml.cc → ext/bdbxml1/bdbxml.cc
File renamed without changes
0  bdbxml1/bdbxml.h → ext/bdbxml1/bdbxml.h
File renamed without changes
0  bdbxml1/bdbxml.rd → ext/bdbxml1/bdbxml.rd
File renamed without changes
0  bdbxml1/docs/bdbxml.rb → ext/bdbxml1/docs/bdbxml.rb
File renamed without changes
0  bdbxml1/docs/container.rb → ext/bdbxml1/docs/container.rb
File renamed without changes
0  bdbxml1/docs/container.rd → ext/bdbxml1/docs/container.rd
File renamed without changes
0  bdbxml1/docs/context.rb → ext/bdbxml1/docs/context.rb
File renamed without changes
0  bdbxml1/docs/context.rd → ext/bdbxml1/docs/context.rd
File renamed without changes
0  bdbxml1/docs/document.rb → ext/bdbxml1/docs/document.rb
File renamed without changes
0  bdbxml1/docs/document.rd → ext/bdbxml1/docs/document.rd
File renamed without changes
0  bdbxml1/docs/index.rb → ext/bdbxml1/docs/index.rb
File renamed without changes
0  bdbxml1/docs/index.rd → ext/bdbxml1/docs/index.rd
File renamed without changes
0  bdbxml1/docs/modify.rb → ext/bdbxml1/docs/modify.rb
File renamed without changes
0  bdbxml1/docs/modify.rd → ext/bdbxml1/docs/modify.rd
File renamed without changes
0  bdbxml1/docs/results.rb → ext/bdbxml1/docs/results.rb
File renamed without changes
0  bdbxml1/docs/results.rd → ext/bdbxml1/docs/results.rd
File renamed without changes
0  bdbxml1/examples/dbxml/README → ext/bdbxml1/examples/dbxml/README
File renamed without changes
0  bdbxml1/examples/dbxml/a.sh → ext/bdbxml1/examples/dbxml/a.sh
File renamed without changes
0  bdbxml1/examples/dbxml/add_index.rb → ext/bdbxml1/examples/dbxml/add_index.rb
File renamed without changes
0  bdbxml1/examples/dbxml/build_db.rb → ext/bdbxml1/examples/dbxml/build_db.rb
File renamed without changes
0  bdbxml1/examples/dbxml/context.rb → ext/bdbxml1/examples/dbxml/context.rb
File renamed without changes
0  bdbxml1/examples/dbxml/delete.rb → ext/bdbxml1/examples/dbxml/delete.rb
File renamed without changes
0  bdbxml1/examples/dbxml/delete_index.rb → ext/bdbxml1/examples/dbxml/delete_index.rb
File renamed without changes
0  bdbxml1/examples/dbxml/document.rb → ext/bdbxml1/examples/dbxml/document.rb
File renamed without changes
0  bdbxml1/examples/dbxml/load.rb → ext/bdbxml1/examples/dbxml/load.rb
File renamed without changes
0  bdbxml1/examples/dbxml/loadex.rb → ext/bdbxml1/examples/dbxml/loadex.rb
File renamed without changes
0  bdbxml1/examples/dbxml/metadata.rb → ext/bdbxml1/examples/dbxml/metadata.rb
File renamed without changes
0  bdbxml1/examples/dbxml/names.rb → ext/bdbxml1/examples/dbxml/names.rb
File renamed without changes
0  bdbxml1/examples/dbxml/query.rb → ext/bdbxml1/examples/dbxml/query.rb
File renamed without changes
0  bdbxml1/examples/dbxml/replace_index.rb → ext/bdbxml1/examples/dbxml/replace_index.rb
File renamed without changes
0  bdbxml1/examples/dbxml/retrieve_db.rb → ext/bdbxml1/examples/dbxml/retrieve_db.rb
File renamed without changes
0  bdbxml1/examples/dbxml/update.rb → ext/bdbxml1/examples/dbxml/update.rb
File renamed without changes
0  bdbxml1/examples/index.rb → ext/bdbxml1/examples/index.rb
File renamed without changes
0  bdbxml1/examples/transaction.rb → ext/bdbxml1/examples/transaction.rb
File renamed without changes
0  bdbxml1/extconf.rb → ext/bdbxml1/extconf.rb
File renamed without changes
0  bdbxml1/glossary/README → ext/bdbxml1/glossary/README
File renamed without changes
0  bdbxml1/glossary/abstract_data_type → ext/bdbxml1/glossary/abstract_data_type
File renamed without changes
0  bdbxml1/glossary/associative_array → ext/bdbxml1/glossary/associative_array
File renamed without changes
0  bdbxml1/glossary/awk → ext/bdbxml1/glossary/awk
File renamed without changes
0  bdbxml1/glossary/big_endian → ext/bdbxml1/glossary/big_endian
File renamed without changes
0  bdbxml1/glossary/block → ext/bdbxml1/glossary/block
File renamed without changes
0  bdbxml1/glossary/bug → ext/bdbxml1/glossary/bug
File renamed without changes
0  bdbxml1/glossary/built-in_class → ext/bdbxml1/glossary/built-in_class
File renamed without changes
0  bdbxml1/glossary/byte_order → ext/bdbxml1/glossary/byte_order
File renamed without changes
0  bdbxml1/glossary/class → ext/bdbxml1/glossary/class
File renamed without changes
0  bdbxml1/glossary/class_method → ext/bdbxml1/glossary/class_method
File renamed without changes
0  bdbxml1/glossary/coerce → ext/bdbxml1/glossary/coerce
File renamed without changes
0  bdbxml1/glossary/constant → ext/bdbxml1/glossary/constant
File renamed without changes
0  bdbxml1/glossary/data → ext/bdbxml1/glossary/data
File renamed without changes
0  bdbxml1/glossary/defined? → ext/bdbxml1/glossary/defined?
File renamed without changes
0  bdbxml1/glossary/destructive → ext/bdbxml1/glossary/destructive
File renamed without changes
0  bdbxml1/glossary/dictionary → ext/bdbxml1/glossary/dictionary
File renamed without changes
0  bdbxml1/glossary/document → ext/bdbxml1/glossary/document
File renamed without changes
0  bdbxml1/glossary/dynamic_binding → ext/bdbxml1/glossary/dynamic_binding
File renamed without changes
0  bdbxml1/glossary/eiffel → ext/bdbxml1/glossary/eiffel
File renamed without changes
0  bdbxml1/glossary/encapsulation → ext/bdbxml1/glossary/encapsulation
File renamed without changes
0  bdbxml1/glossary/end → ext/bdbxml1/glossary/end
File renamed without changes
0  bdbxml1/glossary/env → ext/bdbxml1/glossary/env
File renamed without changes
0  bdbxml1/glossary/environment_variable → ext/bdbxml1/glossary/environment_variable
File renamed without changes
0  bdbxml1/glossary/exception → ext/bdbxml1/glossary/exception
File renamed without changes
0  bdbxml1/glossary/faq → ext/bdbxml1/glossary/faq
File renamed without changes
0  bdbxml1/glossary/function → ext/bdbxml1/glossary/function
File renamed without changes
0  bdbxml1/glossary/global_variable → ext/bdbxml1/glossary/global_variable
File renamed without changes
0  bdbxml1/glossary/goto → ext/bdbxml1/glossary/goto
File renamed without changes
0  bdbxml1/glossary/hash → ext/bdbxml1/glossary/hash
File renamed without changes
0  bdbxml1/glossary/immediate_value → ext/bdbxml1/glossary/immediate_value
File renamed without changes
0  bdbxml1/glossary/inheritance → ext/bdbxml1/glossary/inheritance
File renamed without changes
0  bdbxml1/glossary/initialize → ext/bdbxml1/glossary/initialize
File renamed without changes
0  bdbxml1/glossary/instance → ext/bdbxml1/glossary/instance
File renamed without changes
0  bdbxml1/glossary/instance_variable → ext/bdbxml1/glossary/instance_variable
File renamed without changes
0  bdbxml1/glossary/iterator → ext/bdbxml1/glossary/iterator
File renamed without changes
0  bdbxml1/glossary/japanese_(language) → ext/bdbxml1/glossary/japanese_(language)
File renamed without changes
0  bdbxml1/glossary/little_endian → ext/bdbxml1/glossary/little_endian
File renamed without changes
0  bdbxml1/glossary/local_variable → ext/bdbxml1/glossary/local_variable
File renamed without changes
0  bdbxml1/glossary/main → ext/bdbxml1/glossary/main
File renamed without changes
0  bdbxml1/glossary/matchingdata → ext/bdbxml1/glossary/matchingdata
File renamed without changes
0  bdbxml1/glossary/matz → ext/bdbxml1/glossary/matz
File renamed without changes
0  bdbxml1/glossary/method → ext/bdbxml1/glossary/method
File renamed without changes
0  bdbxml1/glossary/mix-in → ext/bdbxml1/glossary/mix-in
File renamed without changes
0  bdbxml1/glossary/module_function → ext/bdbxml1/glossary/module_function
File renamed without changes
0  bdbxml1/glossary/non-local_exit → ext/bdbxml1/glossary/non-local_exit
File renamed without changes
0  bdbxml1/glossary/object → ext/bdbxml1/glossary/object
File renamed without changes
0  bdbxml1/glossary/object-oriented → ext/bdbxml1/glossary/object-oriented
File renamed without changes
0  bdbxml1/glossary/object-oriented_analysis → ext/bdbxml1/glossary/object-oriented_analysis
File renamed without changes
0  bdbxml1/glossary/object-oriented_design → ext/bdbxml1/glossary/object-oriented_design
File renamed without changes
0  bdbxml1/glossary/object-oriented_programming → ext/bdbxml1/glossary/object-oriented_programming
File renamed without changes
0  bdbxml1/glossary/override → ext/bdbxml1/glossary/override
File renamed without changes
0  bdbxml1/glossary/paradigm → ext/bdbxml1/glossary/paradigm
File renamed without changes
0  bdbxml1/glossary/perl → ext/bdbxml1/glossary/perl
File renamed without changes
0  bdbxml1/glossary/polymorphism → ext/bdbxml1/glossary/polymorphism
File renamed without changes
0  bdbxml1/glossary/python → ext/bdbxml1/glossary/python
File renamed without changes
0  bdbxml1/glossary/receiver → ext/bdbxml1/glossary/receiver
File renamed without changes
0  bdbxml1/glossary/redefinition → ext/bdbxml1/glossary/redefinition
File renamed without changes
0  bdbxml1/glossary/reference → ext/bdbxml1/glossary/reference
File renamed without changes
0  bdbxml1/glossary/ruby → ext/bdbxml1/glossary/ruby
File renamed without changes
0  bdbxml1/glossary/sather → ext/bdbxml1/glossary/sather
File renamed without changes
0  bdbxml1/glossary/script → ext/bdbxml1/glossary/script
File renamed without changes
0  bdbxml1/glossary/scripting_language → ext/bdbxml1/glossary/scripting_language
File renamed without changes
0  bdbxml1/glossary/self → ext/bdbxml1/glossary/self
File renamed without changes
0  bdbxml1/glossary/singleton_class → ext/bdbxml1/glossary/singleton_class
File renamed without changes
0  bdbxml1/glossary/singleton_method → ext/bdbxml1/glossary/singleton_method
File renamed without changes
0  bdbxml1/glossary/smalltalk → ext/bdbxml1/glossary/smalltalk
File renamed without changes
0  bdbxml1/glossary/sort → ext/bdbxml1/glossary/sort
File renamed without changes
0  bdbxml1/glossary/super → ext/bdbxml1/glossary/super
File renamed without changes
0  bdbxml1/glossary/thread → ext/bdbxml1/glossary/thread
File renamed without changes
0  bdbxml1/glossary/undef → ext/bdbxml1/glossary/undef
File renamed without changes
0  bdbxml1/glossary/variable → ext/bdbxml1/glossary/variable
File renamed without changes
0  bdbxml1/myconfig → ext/bdbxml1/myconfig
File renamed without changes
0  bdbxml1/tests/data.e → ext/bdbxml1/tests/data.e
File renamed without changes
0  bdbxml1/tests/data.t → ext/bdbxml1/tests/data.t
File renamed without changes
0  bdbxml1/tests/runit_.rb → ext/bdbxml1/tests/runit_.rb
File renamed without changes
0  bdbxml1/tests/xml.rb → ext/bdbxml1/tests/xml.rb
File renamed without changes
0  bdbxml2/Changes → ext/bdbxml2/Changes
File renamed without changes
0  bdbxml2/README.en → ext/bdbxml2/README.en
File renamed without changes
0  bdbxml2/bdbxml.cc → ext/bdbxml2/bdbxml.cc
File renamed without changes
0  bdbxml2/bdbxml.h → ext/bdbxml2/bdbxml.h
File renamed without changes
0  bdbxml2/bdbxml.rd → ext/bdbxml2/bdbxml.rd
File renamed without changes
0  bdbxml2/docs/bdbxml.rb → ext/bdbxml2/docs/bdbxml.rb
File renamed without changes
0  bdbxml2/docs/container.rb → ext/bdbxml2/docs/container.rb
File renamed without changes
0  bdbxml2/docs/container.rd → ext/bdbxml2/docs/container.rd
File renamed without changes
0  bdbxml2/docs/context.rb → ext/bdbxml2/docs/context.rb
File renamed without changes
0  bdbxml2/docs/context.rd → ext/bdbxml2/docs/context.rd
File renamed without changes
0  bdbxml2/docs/document.rb → ext/bdbxml2/docs/document.rb
File renamed without changes
0  bdbxml2/docs/document.rd → ext/bdbxml2/docs/document.rd
File renamed without changes
0  bdbxml2/docs/event_reader.rb → ext/bdbxml2/docs/event_reader.rb
File renamed without changes
0  bdbxml2/docs/event_reader.rd → ext/bdbxml2/docs/event_reader.rd
File renamed without changes
0  bdbxml2/docs/event_writer.rb → ext/bdbxml2/docs/event_writer.rb
File renamed without changes
0  bdbxml2/docs/event_writer.rd → ext/bdbxml2/docs/event_writer.rd
File renamed without changes
0  bdbxml2/docs/index.rb → ext/bdbxml2/docs/index.rb
File renamed without changes
0  bdbxml2/docs/index.rd → ext/bdbxml2/docs/index.rd
File renamed without changes
0  bdbxml2/docs/indexlookup.rb → ext/bdbxml2/docs/indexlookup.rb
File renamed without changes
0  bdbxml2/docs/indexlookup.rd → ext/bdbxml2/docs/indexlookup.rd
File renamed without changes
0  bdbxml2/docs/manager.rb → ext/bdbxml2/docs/manager.rb
File renamed without changes
0  bdbxml2/docs/manager.rd → ext/bdbxml2/docs/manager.rd
File renamed without changes
0  bdbxml2/docs/modify.rb → ext/bdbxml2/docs/modify.rb
File renamed without changes
0  bdbxml2/docs/modify.rd → ext/bdbxml2/docs/modify.rd
File renamed without changes
0  bdbxml2/docs/results.rb → ext/bdbxml2/docs/results.rb
File renamed without changes
0  bdbxml2/docs/results.rd → ext/bdbxml2/docs/results.rd
File renamed without changes
0  bdbxml2/docs/value.rb → ext/bdbxml2/docs/value.rb
File renamed without changes
0  bdbxml2/docs/value.rd → ext/bdbxml2/docs/value.rd
File renamed without changes
0  bdbxml2/examples/create.rb → ext/bdbxml2/examples/create.rb
File renamed without changes
0  bdbxml2/examples/dbxml/README → ext/bdbxml2/examples/dbxml/README
File renamed without changes
0  bdbxml2/examples/dbxml/a.sh → ext/bdbxml2/examples/dbxml/a.sh
File renamed without changes
0  bdbxml2/examples/dbxml/add_index.rb → ext/bdbxml2/examples/dbxml/add_index.rb
File renamed without changes
0  bdbxml2/examples/dbxml/build_db.rb → ext/bdbxml2/examples/dbxml/build_db.rb
File renamed without changes
0  bdbxml2/examples/dbxml/context.rb → ext/bdbxml2/examples/dbxml/context.rb
File renamed without changes
0  bdbxml2/examples/dbxml/delete.rb → ext/bdbxml2/examples/dbxml/delete.rb
File renamed without changes
0  bdbxml2/examples/dbxml/delete_index.rb → ext/bdbxml2/examples/dbxml/delete_index.rb
File renamed without changes
0  bdbxml2/examples/dbxml/document.rb → ext/bdbxml2/examples/dbxml/document.rb
File renamed without changes
0  bdbxml2/examples/dbxml/load.rb → ext/bdbxml2/examples/dbxml/load.rb
File renamed without changes
0  bdbxml2/examples/dbxml/loadex.rb → ext/bdbxml2/examples/dbxml/loadex.rb
File renamed without changes
0  bdbxml2/examples/dbxml/metadata.rb → ext/bdbxml2/examples/dbxml/metadata.rb
File renamed without changes
0  bdbxml2/examples/dbxml/names.rb → ext/bdbxml2/examples/dbxml/names.rb
File renamed without changes
0  bdbxml2/examples/dbxml/query.rb → ext/bdbxml2/examples/dbxml/query.rb
File renamed without changes
0  bdbxml2/examples/dbxml/replace_index.rb → ext/bdbxml2/examples/dbxml/replace_index.rb
File renamed without changes
0  bdbxml2/examples/dbxml/retrieve_db.rb → ext/bdbxml2/examples/dbxml/retrieve_db.rb
File renamed without changes
0  bdbxml2/examples/dbxml/update.rb → ext/bdbxml2/examples/dbxml/update.rb
File renamed without changes
0  bdbxml2/examples/event_reader.rb → ext/bdbxml2/examples/event_reader.rb
File renamed without changes
0  bdbxml2/examples/event_writer.rb → ext/bdbxml2/examples/event_writer.rb
File renamed without changes
0  bdbxml2/examples/index.rb → ext/bdbxml2/examples/index.rb
File renamed without changes
0  bdbxml2/examples/indexlookup.rb → ext/bdbxml2/examples/indexlookup.rb
File renamed without changes
0  bdbxml2/examples/modify.rb → ext/bdbxml2/examples/modify.rb
File renamed without changes
0  bdbxml2/examples/transaction.rb → ext/bdbxml2/examples/transaction.rb
File renamed without changes
0  bdbxml2/extconf.rb → ext/bdbxml2/extconf.rb
File renamed without changes
0  bdbxml2/features.rb → ext/bdbxml2/features.rb
File renamed without changes
0  bdbxml2/glossary/README → ext/bdbxml2/glossary/README
File renamed without changes
0  bdbxml2/glossary/abstract_data_type → ext/bdbxml2/glossary/abstract_data_type
File renamed without changes
0  bdbxml2/glossary/associative_array → ext/bdbxml2/glossary/associative_array
File renamed without changes
0  bdbxml2/glossary/awk → ext/bdbxml2/glossary/awk
File renamed without changes
0  bdbxml2/glossary/big_endian → ext/bdbxml2/glossary/big_endian
File renamed without changes
0  bdbxml2/glossary/block → ext/bdbxml2/glossary/block
File renamed without changes
0  bdbxml2/glossary/bug → ext/bdbxml2/glossary/bug
File renamed without changes
0  bdbxml2/glossary/built-in_class → ext/bdbxml2/glossary/built-in_class
File renamed without changes
0  bdbxml2/glossary/byte_order → ext/bdbxml2/glossary/byte_order
File renamed without changes
0  bdbxml2/glossary/class → ext/bdbxml2/glossary/class
File renamed without changes
0  bdbxml2/glossary/class_method → ext/bdbxml2/glossary/class_method
File renamed without changes
0  bdbxml2/glossary/coerce → ext/bdbxml2/glossary/coerce
File renamed without changes
0  bdbxml2/glossary/constant → ext/bdbxml2/glossary/constant
File renamed without changes
0  bdbxml2/glossary/data → ext/bdbxml2/glossary/data
File renamed without changes
0  bdbxml2/glossary/defined? → ext/bdbxml2/glossary/defined?
File renamed without changes
0  bdbxml2/glossary/destructive → ext/bdbxml2/glossary/destructive
File renamed without changes
0  bdbxml2/glossary/dictionary → ext/bdbxml2/glossary/dictionary
File renamed without changes
0  bdbxml2/glossary/document → ext/bdbxml2/glossary/document
File renamed without changes
0  bdbxml2/glossary/dynamic_binding → ext/bdbxml2/glossary/dynamic_binding
File renamed without changes
0  bdbxml2/glossary/eiffel → ext/bdbxml2/glossary/eiffel
File renamed without changes
0  bdbxml2/glossary/encapsulation → ext/bdbxml2/glossary/encapsulation
File renamed without changes
0  bdbxml2/glossary/end → ext/bdbxml2/glossary/end
File renamed without changes
0  bdbxml2/glossary/env → ext/bdbxml2/glossary/env
File renamed without changes
0  bdbxml2/glossary/environment_variable → ext/bdbxml2/glossary/environment_variable
File renamed without changes
0  bdbxml2/glossary/exception → ext/bdbxml2/glossary/exception
File renamed without changes
0  bdbxml2/glossary/faq → ext/bdbxml2/glossary/faq
File renamed without changes
0  bdbxml2/glossary/function → ext/bdbxml2/glossary/function
File renamed without changes
0  bdbxml2/glossary/global_variable → ext/bdbxml2/glossary/global_variable
File renamed without changes
0  bdbxml2/glossary/goto → ext/bdbxml2/glossary/goto
File renamed without changes
0  bdbxml2/glossary/hash → ext/bdbxml2/glossary/hash
File renamed without changes
0  bdbxml2/glossary/immediate_value → ext/bdbxml2/glossary/immediate_value
File renamed without changes
0  bdbxml2/glossary/inheritance → ext/bdbxml2/glossary/inheritance
File renamed without changes
0  bdbxml2/glossary/initialize → ext/bdbxml2/glossary/initialize
File renamed without changes
0  bdbxml2/glossary/instance → ext/bdbxml2/glossary/instance
File renamed without changes
0  bdbxml2/glossary/instance_variable → ext/bdbxml2/glossary/instance_variable
File renamed without changes
0  bdbxml2/glossary/iterator → ext/bdbxml2/glossary/iterator
File renamed without changes
0  bdbxml2/glossary/japanese_(language) → ext/bdbxml2/glossary/japanese_(language)
File renamed without changes
0  bdbxml2/glossary/little_endian → ext/bdbxml2/glossary/little_endian
File renamed without changes
0  bdbxml2/glossary/local_variable → ext/bdbxml2/glossary/local_variable
File renamed without changes
0  bdbxml2/glossary/main → ext/bdbxml2/glossary/main
File renamed without changes
0  bdbxml2/glossary/matchingdata → ext/bdbxml2/glossary/matchingdata
File renamed without changes
0  bdbxml2/glossary/matz → ext/bdbxml2/glossary/matz
File renamed without changes
0  bdbxml2/glossary/method → ext/bdbxml2/glossary/method
File renamed without changes
0  bdbxml2/glossary/mix-in → ext/bdbxml2/glossary/mix-in
File renamed without changes
0  bdbxml2/glossary/module_function → ext/bdbxml2/glossary/module_function
File renamed without changes
0  bdbxml2/glossary/non-local_exit → ext/bdbxml2/glossary/non-local_exit
File renamed without changes
0  bdbxml2/glossary/object → ext/bdbxml2/glossary/object
File renamed without changes
0  bdbxml2/glossary/object-oriented → ext/bdbxml2/glossary/object-oriented
File renamed without changes
0  bdbxml2/glossary/object-oriented_analysis → ext/bdbxml2/glossary/object-oriented_analysis
File renamed without changes
0  bdbxml2/glossary/object-oriented_design → ext/bdbxml2/glossary/object-oriented_design
File renamed without changes
0  bdbxml2/glossary/object-oriented_programming → ext/bdbxml2/glossary/object-oriented_programming
File renamed without changes
0  bdbxml2/glossary/override → ext/bdbxml2/glossary/override
File renamed without changes
0  bdbxml2/glossary/paradigm → ext/bdbxml2/glossary/paradigm
File renamed without changes
0  bdbxml2/glossary/perl → ext/bdbxml2/glossary/perl
File renamed without changes
0  bdbxml2/glossary/polymorphism → ext/bdbxml2/glossary/polymorphism
File renamed without changes
0  bdbxml2/glossary/python → ext/bdbxml2/glossary/python
File renamed without changes
0  bdbxml2/glossary/receiver → ext/bdbxml2/glossary/receiver
File renamed without changes
0  bdbxml2/glossary/redefinition → ext/bdbxml2/glossary/redefinition
File renamed without changes
0  bdbxml2/glossary/reference → ext/bdbxml2/glossary/reference
File renamed without changes
0  bdbxml2/glossary/ruby → ext/bdbxml2/glossary/ruby
File renamed without changes
0  bdbxml2/glossary/sather → ext/bdbxml2/glossary/sather
File renamed without changes
0  bdbxml2/glossary/script → ext/bdbxml2/glossary/script
File renamed without changes
0  bdbxml2/glossary/scripting_language → ext/bdbxml2/glossary/scripting_language
File renamed without changes
0  bdbxml2/glossary/self → ext/bdbxml2/glossary/self
File renamed without changes
0  bdbxml2/glossary/singleton_class → ext/bdbxml2/glossary/singleton_class
File renamed without changes
0  bdbxml2/glossary/singleton_method → ext/bdbxml2/glossary/singleton_method
File renamed without changes
0  bdbxml2/glossary/smalltalk → ext/bdbxml2/glossary/smalltalk
File renamed without changes
0  bdbxml2/glossary/sort → ext/bdbxml2/glossary/sort
File renamed without changes
0  bdbxml2/glossary/super → ext/bdbxml2/glossary/super
File renamed without changes
0  bdbxml2/glossary/thread → ext/bdbxml2/glossary/thread
File renamed without changes
0  bdbxml2/glossary/undef → ext/bdbxml2/glossary/undef
File renamed without changes
0  bdbxml2/glossary/variable → ext/bdbxml2/glossary/variable
File renamed without changes
0  bdbxml2/myconfig → ext/bdbxml2/myconfig
File renamed without changes
0  bdbxml2/myconfig-2.2 → ext/bdbxml2/myconfig-2.2
File renamed without changes
0  bdbxml2/myconfig-2.3 → ext/bdbxml2/myconfig-2.3
File renamed without changes
0  bdbxml2/myconfig-2.4 → ext/bdbxml2/myconfig-2.4
File renamed without changes
0  bdbxml2/tests/data.e → ext/bdbxml2/tests/data.e
File renamed without changes
0  bdbxml2/tests/data.t → ext/bdbxml2/tests/data.t
File renamed without changes
0  bdbxml2/tests/runit_.rb → ext/bdbxml2/tests/runit_.rb
File renamed without changes
0  bdbxml2/tests/xml.rb → ext/bdbxml2/tests/xml.rb
File renamed without changes
83  extconf.rb
... ...
@@ -1,83 +0,0 @@
1  
-#!/usr/bin/ruby
2  
-require 'mkmf'
3  
-
4  
-def rule(target, clean = nil)
5  
-   wr = "#{target}:
6  
-\t@for subdir in $(SUBDIRS); do \\
7  
-\t\t(cd $${subdir} && $(MAKE) #{target}); \\
8  
-\tdone;
9  
-"
10  
-   if clean != nil
11  
-      wr << "\t@-rm tmp/* tests/tmp/* 2> /dev/null\n"
12  
-      wr << "\t@rm Makefile\n" if clean
13  
-   end
14  
-   wr
15  
-end
16  
-
17  
-subdirs = if $configure_args.has_key?("--make")
18  
-             []
19  
-          else
20  
-             Dir["*"].select do |subdir|
21  
-                /\Abdbxml/ !~ subdir && File.file?(subdir + "/extconf.rb")
22  
-             end
23  
-          end
24  
-
25  
-begin
26  
-   make = open("Makefile", "w")
27  
-   make.print <<-EOF
28  
-SUBDIRS = #{subdirs.join(' ')}
29  
-
30  
-#{rule('all')}
31  
-#{rule('static')}
32  
-#{rule('clean', false)}
33  
-#{rule('distclean', true)}
34  
-#{rule('realclean', true)}
35  
-#{rule('install')}
36  
-#{rule('site-install')}
37  
-#{rule('unknown')}
38  
-%.html: %.rd
39  
-\trd2 $< > ${<:%.rd=%.html}
40  
-
41  
-   EOF
42  
-   make.print "HTML = bdb.html"
43  
-   docs = Dir['docs/*.rd']
44  
-   docs.each {|x| make.print " \\\n\t#{x.sub(/\.rd$/, '.html')}" }
45  
-   make.print "\n\nRDOC = bdb.rd"
46  
-   docs.each {|x| make.print " \\\n\t#{x}" }
47  
-   make.puts
48  
-   make.print <<-EOF
49  
-
50  
-rdoc: docs/doc/index.html
51  
-
52  
-docs/doc/index.html: $(RDOC)
53  
-\t@-(cd docs; rdoc .)
54  
-
55  
-ri:
56  
-\t@-(rdoc -r docs/*rb)
57  
-
58  
-ri-site:
59  
-\t@-(rdoc -R docs/*rb)
60  
-
61  
-rd2: html
62  
-
63  
-html: $(HTML)
64  
-
65  
-test: $(DLLIB)
66  
-   EOF
67  
-   Dir.foreach('tests') do |x|
68  
-      next if /^\./ =~ x || /(_\.rb|~)$/ =~ x
69  
-      next if FileTest.directory?(x)
70  
-      make.print "\t-#{CONFIG['RUBY_INSTALL_NAME']} tests/#{x}\n"
71  
-   end
72  
-ensure
73  
-   make.close
74  
-end
75  
-
76  
-subdirs.each do |subdir|
77  
-   STDERR.puts("#{$0}: Entering directory `#{subdir}'")
78  
-   Dir.chdir(subdir)
79  
-   system("#{CONFIG['RUBY_INSTALL_NAME']} extconf.rb " + ARGV.join(" "))
80  
-   Dir.chdir("..")
81  
-   STDERR.puts("#{$0}: Leaving directory `#{subdir}'")
82  
-end
83  
-$makefile_created = true

0 notes on commit dbfa77b

Please sign in to comment.
Something went wrong with that request. Please try again.