roma-client 0.4.4 → 0.4.5
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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +22 -15
- data/Gemfile +2 -0
- data/Gemfile.lock +34 -18
- data/README.md +4 -0
- data/lib/roma/client/client_pool.rb +15 -25
- data/lib/roma/client/client_rttable.rb +1 -2
- data/lib/roma/client/tools/showbalance.rb +0 -1
- data/lib/roma/client/version.rb +1 -1
- data/spec/roma/client/client_pool_spec.rb +133 -173
- data/spec/spec_helper.rb +9 -0
- metadata +3 -79
- data/doc/CHANGELOG_md.html +0 -119
- data/doc/README_md.html +0 -161
- data/doc/Roma.html +0 -95
- data/doc/Roma/Client.html +0 -95
- data/doc/Roma/Client/ClientPool.html +0 -716
- data/doc/Roma/Client/ClientRoutingTable.html +0 -495
- data/doc/Roma/Client/ConPool.html +0 -484
- data/doc/Roma/Client/Plugin.html +0 -95
- data/doc/Roma/Client/Plugin/Alist.html +0 -1276
- data/doc/Roma/Client/Plugin/Map.html +0 -531
- data/doc/Roma/Client/Plugin/MapCount.html +0 -401
- data/doc/Roma/Client/Proxy.html +0 -95
- data/doc/Roma/Client/Proxy/ClientHandler.html +0 -273
- data/doc/Roma/Client/Proxy/Conpool.html +0 -394
- data/doc/Roma/Client/Proxy/Daemon.html +0 -305
- data/doc/Roma/Client/Proxy/RomaHandler.html +0 -217
- data/doc/Roma/Client/RomaClient.html +0 -1339
- data/doc/Roma/Client/Sender.html +0 -482
- data/doc/Roma/Client/Stats.html +0 -162
- data/doc/Roma/Client/VERSION.html +0 -141
- data/doc/Roma/Logging.html +0 -95
- data/doc/Roma/Logging/RLogger.html +0 -786
- data/doc/Roma/Logging/RLogger/ExtLogDev.html +0 -159
- data/doc/Roma/Logging/RLogger/ExtShiftAge.html +0 -95
- data/doc/Roma/Logging/RLogger/ExtTrace.html +0 -109
- data/doc/Roma/Logging/RLogger/Severity.html +0 -139
- data/doc/Roma/Routing.html +0 -95
- data/doc/Roma/Routing/RoutingData.html +0 -912
- data/doc/Roma/Routing/RoutingData/RandomNodeListMaker.html +0 -311
- data/doc/created.rid +0 -20
- data/doc/css/fonts.css +0 -167
- data/doc/css/rdoc.css +0 -590
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -210
- data/doc/js/darkfish.js +0 -161
- data/doc/js/jquery.js +0 -4
- data/doc/js/navigation.js +0 -142
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +0 -109
- data/doc/js/search_index.js +0 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +0 -228
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +0 -972
- data/lib/roma/client/routing/routing_data.rb +0 -241
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roma-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Muga Nishizawa
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-06-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -84,80 +84,6 @@ files:
|
|
84
84
|
- bin/rcdaemon
|
85
85
|
- bin/sample
|
86
86
|
- bin/showbalance
|
87
|
-
- doc/CHANGELOG_md.html
|
88
|
-
- doc/README_md.html
|
89
|
-
- doc/Roma.html
|
90
|
-
- doc/Roma/Client.html
|
91
|
-
- doc/Roma/Client/ClientPool.html
|
92
|
-
- doc/Roma/Client/ClientRoutingTable.html
|
93
|
-
- doc/Roma/Client/ConPool.html
|
94
|
-
- doc/Roma/Client/Plugin.html
|
95
|
-
- doc/Roma/Client/Plugin/Alist.html
|
96
|
-
- doc/Roma/Client/Plugin/Map.html
|
97
|
-
- doc/Roma/Client/Plugin/MapCount.html
|
98
|
-
- doc/Roma/Client/Proxy.html
|
99
|
-
- doc/Roma/Client/Proxy/ClientHandler.html
|
100
|
-
- doc/Roma/Client/Proxy/Conpool.html
|
101
|
-
- doc/Roma/Client/Proxy/Daemon.html
|
102
|
-
- doc/Roma/Client/Proxy/RomaHandler.html
|
103
|
-
- doc/Roma/Client/RomaClient.html
|
104
|
-
- doc/Roma/Client/Sender.html
|
105
|
-
- doc/Roma/Client/Stats.html
|
106
|
-
- doc/Roma/Client/VERSION.html
|
107
|
-
- doc/Roma/Logging.html
|
108
|
-
- doc/Roma/Logging/RLogger.html
|
109
|
-
- doc/Roma/Logging/RLogger/ExtLogDev.html
|
110
|
-
- doc/Roma/Logging/RLogger/ExtShiftAge.html
|
111
|
-
- doc/Roma/Logging/RLogger/ExtTrace.html
|
112
|
-
- doc/Roma/Logging/RLogger/Severity.html
|
113
|
-
- doc/Roma/Routing.html
|
114
|
-
- doc/Roma/Routing/RoutingData.html
|
115
|
-
- doc/Roma/Routing/RoutingData/RandomNodeListMaker.html
|
116
|
-
- doc/created.rid
|
117
|
-
- doc/css/fonts.css
|
118
|
-
- doc/css/rdoc.css
|
119
|
-
- doc/fonts/Lato-Light.ttf
|
120
|
-
- doc/fonts/Lato-LightItalic.ttf
|
121
|
-
- doc/fonts/Lato-Regular.ttf
|
122
|
-
- doc/fonts/Lato-RegularItalic.ttf
|
123
|
-
- doc/fonts/SourceCodePro-Bold.ttf
|
124
|
-
- doc/fonts/SourceCodePro-Regular.ttf
|
125
|
-
- doc/images/add.png
|
126
|
-
- doc/images/arrow_up.png
|
127
|
-
- doc/images/brick.png
|
128
|
-
- doc/images/brick_link.png
|
129
|
-
- doc/images/bug.png
|
130
|
-
- doc/images/bullet_black.png
|
131
|
-
- doc/images/bullet_toggle_minus.png
|
132
|
-
- doc/images/bullet_toggle_plus.png
|
133
|
-
- doc/images/date.png
|
134
|
-
- doc/images/delete.png
|
135
|
-
- doc/images/find.png
|
136
|
-
- doc/images/loadingAnimation.gif
|
137
|
-
- doc/images/macFFBgHack.png
|
138
|
-
- doc/images/package.png
|
139
|
-
- doc/images/page_green.png
|
140
|
-
- doc/images/page_white_text.png
|
141
|
-
- doc/images/page_white_width.png
|
142
|
-
- doc/images/plugin.png
|
143
|
-
- doc/images/ruby.png
|
144
|
-
- doc/images/tag_blue.png
|
145
|
-
- doc/images/tag_green.png
|
146
|
-
- doc/images/transparent.png
|
147
|
-
- doc/images/wrench.png
|
148
|
-
- doc/images/wrench_orange.png
|
149
|
-
- doc/images/zoom.png
|
150
|
-
- doc/index.html
|
151
|
-
- doc/js/darkfish.js
|
152
|
-
- doc/js/jquery.js
|
153
|
-
- doc/js/navigation.js
|
154
|
-
- doc/js/navigation.js.gz
|
155
|
-
- doc/js/search.js
|
156
|
-
- doc/js/search_index.js
|
157
|
-
- doc/js/search_index.js.gz
|
158
|
-
- doc/js/searcher.js
|
159
|
-
- doc/js/searcher.js.gz
|
160
|
-
- doc/table_of_contents.html
|
161
87
|
- lib/roma-client.rb
|
162
88
|
- lib/roma/client.rb
|
163
89
|
- lib/roma/client/client_pool.rb
|
@@ -170,7 +96,6 @@ files:
|
|
170
96
|
- lib/roma/client/proxy/version.rb
|
171
97
|
- lib/roma/client/rclient.rb
|
172
98
|
- lib/roma/client/rlogger.rb
|
173
|
-
- lib/roma/client/routing/routing_data.rb
|
174
99
|
- lib/roma/client/sender.rb
|
175
100
|
- lib/roma/client/stats.rb
|
176
101
|
- lib/roma/client/tools/showbalance.rb
|
@@ -203,8 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
128
|
- !ruby/object:Gem::Version
|
204
129
|
version: '0'
|
205
130
|
requirements: []
|
206
|
-
|
207
|
-
rubygems_version: 2.5.1
|
131
|
+
rubygems_version: 3.0.3
|
208
132
|
signing_key:
|
209
133
|
specification_version: 4
|
210
134
|
summary: ROMA client library
|
data/doc/CHANGELOG_md.html
DELETED
@@ -1,119 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset=" UTF-8">
|
6
|
-
|
7
|
-
<title>CHANGELOG - ROMA documents</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="./js/jquery.js"></script>
|
14
|
-
<script src="./js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="file">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="./index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
<div class="nav-section">
|
55
|
-
<h3>Table of Contents</h3>
|
56
|
-
|
57
|
-
<ul class="link-list" role="directory">
|
58
|
-
<li><a href="#label-0.4.3+-28Aug+19+2015-29">0.4.3 (Aug 19 2015)</a>
|
59
|
-
<li><a href="#label-0.4.2+-28Mar+31+2015-29">0.4.2 (Mar 31 2015)</a>
|
60
|
-
<li><a href="#label-0.4.1+-28Feb+20+2012-29">0.4.1 (Feb 20 2012)</a>
|
61
|
-
</ul>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
|
65
|
-
<div id="project-metadata">
|
66
|
-
<div id="fileindex-section" class="nav-section">
|
67
|
-
<h3>Pages</h3>
|
68
|
-
|
69
|
-
<ul class="link-list">
|
70
|
-
|
71
|
-
<li><a href="./CHANGELOG_md.html">CHANGELOG</a>
|
72
|
-
|
73
|
-
<li><a href="./README_md.html">README</a>
|
74
|
-
|
75
|
-
</ul>
|
76
|
-
</div>
|
77
|
-
|
78
|
-
</div>
|
79
|
-
</nav>
|
80
|
-
|
81
|
-
<main role="main" aria-label="Page CHANGELOG.md">
|
82
|
-
|
83
|
-
<h1 id="label-0.4.3+-28Aug+19+2015-29">0.4.3 (Aug 19 2015)<span><a href="#label-0.4.3+-28Aug+19+2015-29">¶</a> <a href="#top">↑</a></span></h1>
|
84
|
-
<ul><li>
|
85
|
-
<p>Change interface of Stat object and refactoring [Hiroki Matsue] 7438faf</p>
|
86
|
-
</li><li>
|
87
|
-
<p>Add tests for argumetns of stats [Hiroki Matsue] 9939760</p>
|
88
|
-
</li><li>
|
89
|
-
<p>Refactor codes [Hiroki Matsue] 3d37030</p>
|
90
|
-
</li><li>
|
91
|
-
<p>Support stat command [Hiroki Matsue] 1d75694</p>
|
92
|
-
</li></ul>
|
93
|
-
|
94
|
-
<h1 id="label-0.4.2+-28Mar+31+2015-29">0.4.2 (Mar 31 2015)<span><a href="#label-0.4.2+-28Mar+31+2015-29">¶</a> <a href="#top">↑</a></span></h1>
|
95
|
-
<ul><li>
|
96
|
-
<p>Add gemspec and convert “should” to “expect” on rspec tests. [Hiroki
|
97
|
-
Matsue] 4c7c465</p>
|
98
|
-
</li><li>
|
99
|
-
<p>modify to reproduce environment with Gemfile [tarr1124] 2205ed7</p>
|
100
|
-
</li></ul>
|
101
|
-
|
102
|
-
<h1 id="label-0.4.1+-28Feb+20+2012-29">0.4.1 (Feb 20 2012)<span><a href="#label-0.4.1+-28Feb+20+2012-29">¶</a> <a href="#top">↑</a></span></h1>
|
103
|
-
<ul><li>
|
104
|
-
<p>add client plugin files. [junji torii] caa2201</p>
|
105
|
-
</li><li>
|
106
|
-
<p>0.4.0</p>
|
107
|
-
</li><li>
|
108
|
-
<p>support ClientPool</p>
|
109
|
-
</li></ul>
|
110
|
-
</main>
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<footer id="validator-badges" role="contentinfo">
|
115
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
116
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
117
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
118
|
-
</footer>
|
119
|
-
|
data/doc/README_md.html
DELETED
@@ -1,161 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset=" UTF-8">
|
6
|
-
|
7
|
-
<title>README - ROMA documents</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="./js/jquery.js"></script>
|
14
|
-
<script src="./js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="file">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="./index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
<div class="nav-section">
|
55
|
-
<h3>Table of Contents</h3>
|
56
|
-
|
57
|
-
<ul class="link-list" role="directory">
|
58
|
-
<li><a href="#label-ROMA+Client+for+Ruby">ROMA Client for Ruby</a>
|
59
|
-
<li><a href="#label-Install">Install</a>
|
60
|
-
<li><a href="#label-Usage">Usage</a>
|
61
|
-
<li><a href="#label-Development">Development</a>
|
62
|
-
<li><a href="#label-Contributing">Contributing</a>
|
63
|
-
<li><a href="#label-License">License</a>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
|
67
|
-
|
68
|
-
<div id="project-metadata">
|
69
|
-
<div id="fileindex-section" class="nav-section">
|
70
|
-
<h3>Pages</h3>
|
71
|
-
|
72
|
-
<ul class="link-list">
|
73
|
-
|
74
|
-
<li><a href="./CHANGELOG_md.html">CHANGELOG</a>
|
75
|
-
|
76
|
-
<li><a href="./README_md.html">README</a>
|
77
|
-
|
78
|
-
</ul>
|
79
|
-
</div>
|
80
|
-
|
81
|
-
</div>
|
82
|
-
</nav>
|
83
|
-
|
84
|
-
<main role="main" aria-label="Page README.md">
|
85
|
-
|
86
|
-
<h1 id="label-ROMA+Client+for+Ruby">ROMA Client for Ruby<span><a href="#label-ROMA+Client+for+Ruby">¶</a> <a href="#top">↑</a></span></h1>
|
87
|
-
|
88
|
-
<p>ROMA is one of the data storing systems for distributed key-value stores in
|
89
|
-
Ruby. The gem <code>roma-client</code> is Ruby client to talk with ROMA
|
90
|
-
severs.</p>
|
91
|
-
|
92
|
-
<h2 id="label-Install">Install<span><a href="#label-Install">¶</a> <a href="#top">↑</a></span></h2>
|
93
|
-
|
94
|
-
<p>Add this line to your application's Gemfile:</p>
|
95
|
-
|
96
|
-
<pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-string">'roma-client'</span>
|
97
|
-
</pre>
|
98
|
-
|
99
|
-
<p>And then execute:</p>
|
100
|
-
|
101
|
-
<pre>$ bundle</pre>
|
102
|
-
|
103
|
-
<p>Or install it yourself as:</p>
|
104
|
-
|
105
|
-
<pre>$ gem install roma-client</pre>
|
106
|
-
|
107
|
-
<h2 id="label-Usage">Usage<span><a href="#label-Usage">¶</a> <a href="#top">↑</a></span></h2>
|
108
|
-
|
109
|
-
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'roma/client'</span>
|
110
|
-
|
111
|
-
<span class="ruby-identifier">nodes</span> = [<span class="ruby-string">'host1:11211'</span>, <span class="ruby-string">'host2:11211'</span>]
|
112
|
-
<span class="ruby-identifier">client</span> = <span class="ruby-constant">Roma</span><span class="ruby-operator">::</span><span class="ruby-constant">Client</span><span class="ruby-operator">::</span><span class="ruby-constant">RomaClient</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">nodes</span>)
|
113
|
-
|
114
|
-
<span class="ruby-identifier">key</span> = <span class="ruby-string">'key'</span>
|
115
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-string">'valie'</span>)
|
116
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"put:#{res}"</span>
|
117
|
-
|
118
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"get:#{client.get key}"</span>
|
119
|
-
|
120
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">delete</span> <span class="ruby-identifier">key</span>
|
121
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"del:#{res}"</span>
|
122
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"get:#{client.get key}"</span>
|
123
|
-
</pre>
|
124
|
-
|
125
|
-
<h2 id="label-Development">Development<span><a href="#label-Development">¶</a> <a href="#top">↑</a></span></h2>
|
126
|
-
<ol><li>
|
127
|
-
<p>Fork it</p>
|
128
|
-
</li><li>
|
129
|
-
<p>Create your feature branch (<code>git checkout -b my-new-feature</code>)</p>
|
130
|
-
</li><li>
|
131
|
-
<p>Commit your changes (<code>git commit -am 'Add some
|
132
|
-
feature'</code>)</p>
|
133
|
-
</li><li>
|
134
|
-
<p>Push to the branch (<code>git push origin my-new-feature</code>)</p>
|
135
|
-
</li><li>
|
136
|
-
<p>Create new Pull Request</p>
|
137
|
-
</li></ol>
|
138
|
-
|
139
|
-
<h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">¶</a> <a href="#top">↑</a></span></h2>
|
140
|
-
|
141
|
-
<p>Bug reports and pull requests are welcome on GitHub at <a
|
142
|
-
href="https://github.com/roma/roma-ruby-client">github.com/roma/roma-ruby-client</a>.
|
143
|
-
This project is intended to be a safe, welcoming space for collaboration,
|
144
|
-
and contributors are expected to adhere to the <a
|
145
|
-
href="contributor-covenant.org">Contributor Covenant</a> code of conduct.</p>
|
146
|
-
|
147
|
-
<h2 id="label-License">License<span><a href="#label-License">¶</a> <a href="#top">↑</a></span></h2>
|
148
|
-
|
149
|
-
<p>GPL v3</p>
|
150
|
-
|
151
|
-
<p>— Copyright (C) 2009 Rakuten, Inc.</p>
|
152
|
-
</main>
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
<footer id="validator-badges" role="contentinfo">
|
157
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
158
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
159
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
160
|
-
</footer>
|
161
|
-
|
data/doc/Roma.html
DELETED
@@ -1,95 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset=" UTF-8">
|
6
|
-
|
7
|
-
<title>module Roma - ROMA documents</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="./js/jquery.js"></script>
|
14
|
-
<script src="./js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="module">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="./index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<div id="class-metadata">
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
</div>
|
62
|
-
</nav>
|
63
|
-
|
64
|
-
<main role="main" aria-labelledby="module-Roma">
|
65
|
-
<h1 id="module-Roma" class="module">
|
66
|
-
module Roma
|
67
|
-
</h1>
|
68
|
-
|
69
|
-
<section class="description">
|
70
|
-
|
71
|
-
</section>
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
</section>
|
87
|
-
</main>
|
88
|
-
|
89
|
-
|
90
|
-
<footer id="validator-badges" role="contentinfo">
|
91
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
92
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
93
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
94
|
-
</footer>
|
95
|
-
|