tokyo_wrapper 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +12 -4
- data/Rakefile +4 -1
- metadata +46 -7
data/README.rdoc
CHANGED
@@ -37,11 +37,19 @@
|
|
37
37
|
|
38
38
|
rufus-tokyo 1.0.1 or above.
|
39
39
|
|
40
|
-
sudo gem install
|
40
|
+
sudo gem install ffi --source http://rubygems.org
|
41
|
+
sudo gem install rufus-tokyo --source http://rubygems.org
|
42
|
+
|
43
|
+
When using Ruby installation through Ruby Version Manager (RVM):
|
44
|
+
gem install ffi --source http://rubygems.org
|
45
|
+
gem install rufus-tokyo --source http://rubygems.org
|
41
46
|
|
42
47
|
== Install
|
43
48
|
|
44
|
-
sudo gem install tokyo_wrapper --source http://
|
49
|
+
sudo gem install tokyo_wrapper --source http://rubygems.org
|
50
|
+
|
51
|
+
When using Ruby installation through Ruby Version Manager (RVM):
|
52
|
+
gem install tokyo_wrapper --source http://rubygems.org
|
45
53
|
|
46
54
|
== Usage
|
47
55
|
|
@@ -98,7 +106,7 @@
|
|
98
106
|
|
99
107
|
TokyoWrapper::Table.create_with_create_write_non_blocking_lock("table.txt") do |write_table|
|
100
108
|
|
101
|
-
end
|
109
|
+
end # The table is closed automatically here.
|
102
110
|
|
103
111
|
2-3. Basic operations. (Defined in TokyoWrapper::Table class itself.)
|
104
112
|
|
@@ -132,7 +140,7 @@
|
|
132
140
|
"notes" => "Some notes"}
|
133
141
|
write_table.add(data_hash)
|
134
142
|
|
135
|
-
end
|
143
|
+
end # The table is closed automatically here.
|
136
144
|
|
137
145
|
2-3-2. Updating data.
|
138
146
|
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tokyo_wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 10
|
9
|
+
version: 0.1.10
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Tadatoshi Takahashi
|
@@ -9,10 +14,39 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-06-13 00:00:00 -04:00
|
13
18
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: ffi
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
- 4
|
31
|
+
- 0
|
32
|
+
version: 0.4.0
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rufus-tokyo
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 0
|
46
|
+
- 1
|
47
|
+
version: 1.0.1
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
16
50
|
description: Collection of convenient methods written on the top of rufus/tokyo to access Tokyo Cabinet
|
17
51
|
email: tadatoshi.3.takahashi@gmail.com
|
18
52
|
executables: []
|
@@ -55,21 +89,26 @@ rdoc_options:
|
|
55
89
|
require_paths:
|
56
90
|
- lib
|
57
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
58
93
|
requirements:
|
59
94
|
- - ">="
|
60
95
|
- !ruby/object:Gem::Version
|
96
|
+
segments:
|
97
|
+
- 0
|
61
98
|
version: "0"
|
62
|
-
version:
|
63
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
64
101
|
requirements:
|
65
102
|
- - ">="
|
66
103
|
- !ruby/object:Gem::Version
|
104
|
+
segments:
|
105
|
+
- 1
|
106
|
+
- 2
|
67
107
|
version: "1.2"
|
68
|
-
version:
|
69
108
|
requirements: []
|
70
109
|
|
71
110
|
rubyforge_project: tokyo_wrapper
|
72
|
-
rubygems_version: 1.3.
|
111
|
+
rubygems_version: 1.3.7
|
73
112
|
signing_key:
|
74
113
|
specification_version: 3
|
75
114
|
summary: Collection of convenient methods written on the top of rufus/tokyo to access Tokyo Cabinet
|