fsdb 0.5 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/{RELEASE-NOTES → History.txt} +6 -0
- data/{README → README.txt} +26 -17
- data/examples/flat.rb +146 -0
- data/examples/fsdb-example.rb +28 -0
- data/examples/rbformat.rb +17 -0
- data/examples/yaml2.rb +29 -0
- data/junk/OLDRakefile +98 -0
- data/junk/OLDRakefile2 +55 -0
- data/junk/check-cache.rb +18 -0
- data/junk/create-lock.rb +25 -0
- data/junk/doc/old-api/classes/FSDB.html +139 -0
- data/junk/doc/old-api/classes/FSDB/Database.html +953 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000029.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000030.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000031.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000032.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000033.html +33 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000034.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000035.html +22 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000036.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000037.html +22 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000038.html +43 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000039.html +25 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000040.html +43 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000041.html +23 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000042.html +22 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000043.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000044.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000045.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000046.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000047.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000048.html +16 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000049.html +71 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000050.html +43 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000051.html +53 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000052.html +44 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000053.html +39 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000054.html +72 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000055.html +39 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000056.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000057.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000058.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000059.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000060.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000061.html +23 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000062.html +23 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000063.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database.src/M000064.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Database/AbortedTransaction.html +118 -0
- data/junk/doc/old-api/classes/FSDB/Database/CreateFileError.html +120 -0
- data/junk/doc/old-api/classes/FSDB/Database/DirIsImmutableError.html +117 -0
- data/junk/doc/old-api/classes/FSDB/Database/DirNotEmptyError.html +117 -0
- data/junk/doc/old-api/classes/FSDB/Database/FormatError.html +117 -0
- data/junk/doc/old-api/classes/FSDB/Database/MissingFileError.html +117 -0
- data/junk/doc/old-api/classes/FSDB/Database/MissingObjectError.html +117 -0
- data/junk/doc/old-api/classes/FSDB/Database/NotDirError.html +118 -0
- data/junk/doc/old-api/classes/FSDB/Database/PathComponentError.html +120 -0
- data/junk/doc/old-api/classes/FSDB/DatabaseDebuggable.html +148 -0
- data/junk/doc/old-api/classes/FSDB/DatabaseDebuggable.src/M000005.html +21 -0
- data/junk/doc/old-api/classes/FSDB/DatabaseDebuggable.src/M000007.html +21 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.html +210 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000006.html +22 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000007.html +22 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000008.html +22 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000009.html +22 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000010.html +22 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000011.html +22 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000012.html +22 -0
- data/junk/doc/old-api/classes/FSDB/DirectoryIterators.src/M000013.html +22 -0
- data/junk/doc/old-api/classes/FSDB/ForkSafely.html +126 -0
- data/junk/doc/old-api/classes/FSDB/Modex.html +237 -0
- data/junk/doc/old-api/classes/FSDB/Modex.src/M000024.html +21 -0
- data/junk/doc/old-api/classes/FSDB/Modex.src/M000025.html +30 -0
- data/junk/doc/old-api/classes/FSDB/Modex.src/M000026.html +21 -0
- data/junk/doc/old-api/classes/FSDB/Modex.src/M000027.html +30 -0
- data/junk/doc/old-api/classes/FSDB/Modex.src/M000028.html +44 -0
- data/junk/doc/old-api/classes/FSDB/Modex.src/M000029.html +26 -0
- data/junk/doc/old-api/classes/FSDB/Modex.src/M000030.html +48 -0
- data/junk/doc/old-api/classes/FSDB/Modex/ForkSafely.html +105 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.html +244 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000018.html +19 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000019.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000020.html +19 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000021.html +18 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000022.html +23 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000023.html +30 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000024.html +26 -0
- data/junk/doc/old-api/classes/FSDB/Mutex.src/M000025.html +21 -0
- data/junk/doc/old-api/classes/FSDB/Mutex/ForkSafely.html +105 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.html +257 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000012.html +23 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000013.html +18 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000014.html +23 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000015.html +18 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000016.html +18 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000017.html +22 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000018.html +23 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities.src/M000019.html +18 -0
- data/junk/doc/old-api/classes/FSDB/PathUtilities/InvalidPathError.html +111 -0
- data/junk/doc/old-api/classes/File.html +272 -0
- data/junk/doc/old-api/classes/File.src/M000001.html +17 -0
- data/junk/doc/old-api/classes/File.src/M000002.html +17 -0
- data/junk/doc/old-api/classes/File.src/M000003.html +20 -0
- data/junk/doc/old-api/classes/File.src/M000004.html +20 -0
- data/junk/doc/old-api/classes/File.src/M000005.html +32 -0
- data/junk/doc/old-api/classes/File.src/M000006.html +32 -0
- data/junk/doc/old-api/created.rid +1 -0
- data/junk/doc/old-api/files/README.html +112 -0
- data/junk/doc/old-api/files/RELEASE-NOTES.html +233 -0
- data/junk/doc/old-api/files/fsdb_txt.html +888 -0
- data/junk/doc/old-api/files/lib/fsdb/database_rb.html +115 -0
- data/junk/doc/old-api/files/lib/fsdb/file-lock_rb.html +109 -0
- data/junk/doc/old-api/files/lib/fsdb/modex_rb.html +121 -0
- data/junk/doc/old-api/files/lib/fsdb/mutex_rb.html +108 -0
- data/junk/doc/old-api/files/lib/fsdb/util_rb.html +108 -0
- data/junk/doc/old-api/fr_class_index.html +47 -0
- data/junk/doc/old-api/fr_file_index.html +34 -0
- data/junk/doc/old-api/fr_method_index.html +90 -0
- data/junk/doc/old-api/index.html +24 -0
- data/junk/doc/old-api/rdoc-style.css +208 -0
- data/junk/file-lock-nb.rb +15 -0
- data/junk/fl.rb +144 -0
- data/junk/flock-test.rb +39 -0
- data/junk/fsdb.kateproject +47 -0
- data/junk/fsdb.prj +196 -0
- data/junk/fsdb.sf +46 -0
- data/junk/insert-dir.rb +48 -0
- data/junk/lock-test-bug.rb +150 -0
- data/junk/lock-test-too-simple.rb +136 -0
- data/junk/lock-test.rb +151 -0
- data/{script → junk}/mkrdoc +0 -0
- data/junk/restore-fsdb.rb +37 -0
- data/junk/rf.txt +5 -0
- data/junk/solaris-bug-fixed.rb +184 -0
- data/junk/solaris-bug.rb +182 -0
- data/junk/solaris-bug.txt +43 -0
- data/junk/sync.rb +327 -0
- data/junk/test-file-lock.html +86 -0
- data/junk/test-file-lock.rb +84 -0
- data/junk/test-processes.rb +131 -0
- data/junk/test-threads.rb +113 -0
- data/junk/wiki-mutex.rb +108 -0
- data/lib/fsdb/database.rb +5 -3
- data/lib/fsdb/delegatable.rb +21 -0
- data/lib/fsdb/faster-modex.rb +223 -0
- data/lib/fsdb/faster-mutex.rb +138 -0
- data/lib/fsdb/mutex.rb +4 -1
- data/lib/fsdb/persistent.rb +91 -0
- data/lib/fsdb/read-write-object.rb +36 -0
- data/lib/fsdb/server.rb +44 -0
- data/misc/fsdb-blorubu.txt +47 -0
- data/misc/mtime-and-file-id.txt +23 -0
- data/misc/posixlock.txt +148 -0
- data/rakefile +39 -0
- data/tasks/ann.rake +80 -0
- data/tasks/bones.rake +20 -0
- data/tasks/gem.rake +201 -0
- data/tasks/git.rake +40 -0
- data/tasks/notes.rake +27 -0
- data/tasks/post_load.rake +34 -0
- data/tasks/rdoc.rake +51 -0
- data/tasks/rubyforge.rake +55 -0
- data/tasks/setup.rb +292 -0
- data/tasks/spec.rake +54 -0
- data/tasks/svn.rake +47 -0
- data/tasks/test.rake +40 -0
- data/tasks/zentest.rake +36 -0
- data/test/err.txt +31 -0
- data/test/runs.rb +8 -0
- data/test/test-file-lock.rb +78 -0
- data/test/test-util.rb +1 -0
- data/test/trap.rb +31 -0
- metadata +198 -35
- data/Manifest +0 -36
- data/Rakefile +0 -10
- data/fsdb.gemspec +0 -113
data/Manifest
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
bench/bench.rb
|
2
|
-
examples/client.rb
|
3
|
-
examples/formats.rb
|
4
|
-
examples/fsdb-examples.rb
|
5
|
-
examples/indexes.rb
|
6
|
-
examples/server.rb
|
7
|
-
examples/simple.rb
|
8
|
-
examples/yaml.rb
|
9
|
-
ext/fsdb/extconf.rb
|
10
|
-
ext/fsdb/fcntl-lock.c
|
11
|
-
ext/fsdb/MANIFEST
|
12
|
-
lib/fsdb/compat.rb
|
13
|
-
lib/fsdb/database.rb
|
14
|
-
lib/fsdb/file-lock.rb
|
15
|
-
lib/fsdb/formats/yaml.rb
|
16
|
-
lib/fsdb/formats.rb
|
17
|
-
lib/fsdb/modex.rb
|
18
|
-
lib/fsdb/mutex.rb
|
19
|
-
lib/fsdb/nonpersistent-attr.rb
|
20
|
-
lib/fsdb/platform.rb
|
21
|
-
lib/fsdb/util.rb
|
22
|
-
lib/fsdb.rb
|
23
|
-
Manifest
|
24
|
-
Rakefile
|
25
|
-
README
|
26
|
-
RELEASE-NOTES
|
27
|
-
script/mkrdoc
|
28
|
-
test/test-all.rb
|
29
|
-
test/test-concurrency/init.rb
|
30
|
-
test/test-concurrency/test-object.rb
|
31
|
-
test/test-concurrency.rb
|
32
|
-
test/test-formats.rb
|
33
|
-
test/test-fsdb.rb
|
34
|
-
test/test-modex.rb
|
35
|
-
test/test-mutex.rb
|
36
|
-
test/test.rb
|
data/Rakefile
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
require 'echoe'
|
2
|
-
|
3
|
-
Echoe.new("fsdb", "0.5") do |p|
|
4
|
-
p.project = "FSDB"
|
5
|
-
p.author = "Joel VanderWerf"
|
6
|
-
p.email = "vjoel@users.sourceforge.net'"
|
7
|
-
p.summary = "FSDB is a file system data base. FSDB provides a thread-safe, process-safe Database class which uses the native file system as its back end and allows multiple file formats and serialization methods. Users access objects in terms of their paths relative to the base directory of the database. It's very light weight (the state of a Database is essentially just a path string, and code size is very small, under 1K lines, all ruby)."
|
8
|
-
p.url = "http://rubyforge.org/projects/fsdb/"
|
9
|
-
p.rdoc_pattern = /README|RELEASE-NOTES|database.rb|file-lock.rb|modex.rb|mutex.rb|util.rb/
|
10
|
-
end
|
data/fsdb.gemspec
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
|
2
|
-
# Gem::Specification for Fsdb-0.5
|
3
|
-
# Originally generated by Echoe
|
4
|
-
|
5
|
-
--- !ruby/object:Gem::Specification
|
6
|
-
name: fsdb
|
7
|
-
version: !ruby/object:Gem::Version
|
8
|
-
version: "0.5"
|
9
|
-
platform: ruby
|
10
|
-
authors:
|
11
|
-
- Joel VanderWerf
|
12
|
-
autorequire:
|
13
|
-
bindir: bin
|
14
|
-
|
15
|
-
date: 2008-10-11 00:00:00 -06:00
|
16
|
-
default_executable:
|
17
|
-
dependencies:
|
18
|
-
- !ruby/object:Gem::Dependency
|
19
|
-
name: echoe
|
20
|
-
type: :development
|
21
|
-
version_requirement:
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: "0"
|
27
|
-
version:
|
28
|
-
description: FSDB is a file system data base. FSDB provides a thread-safe, process-safe Database class which uses the native file system as its back end and allows multiple file formats and serialization methods. Users access objects in terms of their paths relative to the base directory of the database. It's very light weight (the state of a Database is essentially just a path string, and code size is very small, under 1K lines, all ruby).
|
29
|
-
email: vjoel@users.sourceforge.net'
|
30
|
-
executables: []
|
31
|
-
|
32
|
-
extensions:
|
33
|
-
- ext/fsdb/extconf.rb
|
34
|
-
extra_rdoc_files:
|
35
|
-
- lib/fsdb/database.rb
|
36
|
-
- lib/fsdb/file-lock.rb
|
37
|
-
- lib/fsdb/modex.rb
|
38
|
-
- lib/fsdb/mutex.rb
|
39
|
-
- lib/fsdb/util.rb
|
40
|
-
- README
|
41
|
-
- RELEASE-NOTES
|
42
|
-
- test/test-modex.rb
|
43
|
-
- test/test-mutex.rb
|
44
|
-
files:
|
45
|
-
- bench/bench.rb
|
46
|
-
- examples/client.rb
|
47
|
-
- examples/formats.rb
|
48
|
-
- examples/fsdb-examples.rb
|
49
|
-
- examples/indexes.rb
|
50
|
-
- examples/server.rb
|
51
|
-
- examples/simple.rb
|
52
|
-
- examples/yaml.rb
|
53
|
-
- ext/fsdb/extconf.rb
|
54
|
-
- ext/fsdb/fcntl-lock.c
|
55
|
-
- ext/fsdb/MANIFEST
|
56
|
-
- lib/fsdb/compat.rb
|
57
|
-
- lib/fsdb/database.rb
|
58
|
-
- lib/fsdb/file-lock.rb
|
59
|
-
- lib/fsdb/formats/yaml.rb
|
60
|
-
- lib/fsdb/formats.rb
|
61
|
-
- lib/fsdb/modex.rb
|
62
|
-
- lib/fsdb/mutex.rb
|
63
|
-
- lib/fsdb/nonpersistent-attr.rb
|
64
|
-
- lib/fsdb/platform.rb
|
65
|
-
- lib/fsdb/util.rb
|
66
|
-
- lib/fsdb.rb
|
67
|
-
- Manifest
|
68
|
-
- Rakefile
|
69
|
-
- README
|
70
|
-
- RELEASE-NOTES
|
71
|
-
- script/mkrdoc
|
72
|
-
- test/test-all.rb
|
73
|
-
- test/test-concurrency/init.rb
|
74
|
-
- test/test-concurrency/test-object.rb
|
75
|
-
- test/test-concurrency.rb
|
76
|
-
- test/test-formats.rb
|
77
|
-
- test/test-fsdb.rb
|
78
|
-
- test/test-modex.rb
|
79
|
-
- test/test-mutex.rb
|
80
|
-
- test/test.rb
|
81
|
-
- fsdb.gemspec
|
82
|
-
has_rdoc: true
|
83
|
-
homepage: http://rubyforge.org/projects/fsdb/
|
84
|
-
post_install_message:
|
85
|
-
rdoc_options:
|
86
|
-
- --line-numbers
|
87
|
-
- --inline-source
|
88
|
-
- --title
|
89
|
-
- Fsdb
|
90
|
-
- --main
|
91
|
-
- README
|
92
|
-
require_paths:
|
93
|
-
- lib
|
94
|
-
- ext
|
95
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - ">="
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: "0"
|
100
|
-
version:
|
101
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - ">="
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: "1.2"
|
106
|
-
version:
|
107
|
-
requirements: []
|
108
|
-
|
109
|
-
rubyforge_project: FSDB
|
110
|
-
rubygems_version: 1.2.0
|
111
|
-
specification_version: 2
|
112
|
-
summary: FSDB is a file system data base. FSDB provides a thread-safe, process-safe Database class which uses the native file system as its back end and allows multiple file formats and serialization methods. Users access objects in terms of their paths relative to the base directory of the database. It's very light weight (the state of a Database is essentially just a path string, and code size is very small, under 1K lines, all ruby).
|
113
|
-
test_files: []
|