io_shuten 0.1.0.dev7 → 0.1.1.dev1

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.
Files changed (66) hide show
  1. data/Gemfile +8 -14
  2. data/Gemfile.lock +42 -58
  3. data/README.md +148 -24
  4. data/Rakefile +0 -29
  5. data/benchmark/viiite-template-redis.rb +75 -0
  6. data/benchmark/viiite-template.rb +24 -31
  7. data/benchmarks.sh +7 -46
  8. data/benchmarks/redis.kvc.rb +8 -0
  9. data/benchmarks/redis.kvs.rb +8 -0
  10. data/io_shuten.gemspec +30 -92
  11. data/lib/io_shuten/redis.rb +1 -1
  12. data/lib/io_shuten/stores/redis/key_value/collection.rb +15 -3
  13. data/lib/io_shuten/version.rb +1 -1
  14. data/spec/lib/redis_spec.rb +5 -5
  15. data/spec/spec_helper.rb +1 -3
  16. metadata +109 -131
  17. data/.rvmrc +0 -71
  18. data/.simplecov +0 -16
  19. data/.yardopts +0 -3
  20. data/doc/IO_3A_3ABuffer.html +0 -198
  21. data/doc/IO_shuten.html +0 -126
  22. data/doc/IO_shuten/Base.html +0 -1062
  23. data/doc/IO_shuten/Base/FileAccessError.html +0 -129
  24. data/doc/IO_shuten/Base/FileNotFoundError.html +0 -129
  25. data/doc/IO_shuten/Base/NodeNameError.html +0 -129
  26. data/doc/IO_shuten/Base/NodeNotFoundError.html +0 -129
  27. data/doc/IO_shuten/Base/NotYetImplemented.html +0 -129
  28. data/doc/IO_shuten/Buffer.html +0 -1822
  29. data/doc/IO_shuten/Errors.html +0 -119
  30. data/doc/IO_shuten/Errors/FileAccessError.html +0 -129
  31. data/doc/IO_shuten/Errors/FileNotFoundError.html +0 -129
  32. data/doc/IO_shuten/Errors/NodeExistsError.html +0 -129
  33. data/doc/IO_shuten/Errors/NodeNameError.html +0 -129
  34. data/doc/IO_shuten/Errors/NodeNameExistsError.html +0 -129
  35. data/doc/IO_shuten/Errors/NodeNotFoundError.html +0 -129
  36. data/doc/IO_shuten/Errors/NotYetImplemented.html +0 -129
  37. data/doc/IO_shuten/Memory.html +0 -1778
  38. data/doc/IO_shuten/Mongo.html +0 -166
  39. data/doc/IO_shuten/Redis.html +0 -868
  40. data/doc/IO_shuten/Stores.html +0 -121
  41. data/doc/IO_shuten/Stores/BaseContainer.html +0 -377
  42. data/doc/IO_shuten/Stores/Mongo.html +0 -121
  43. data/doc/IO_shuten/Stores/Mongo/Collection.html +0 -109
  44. data/doc/IO_shuten/Stores/Mongo/GridFS.html +0 -109
  45. data/doc/IO_shuten/Stores/Redis.html +0 -123
  46. data/doc/IO_shuten/Stores/Redis/Container.html +0 -778
  47. data/doc/IO_shuten/Stores/Redis/KeyValue.html +0 -279
  48. data/doc/IO_shuten/Stores/Redis/KeyValue/Collection.html +0 -504
  49. data/doc/IO_shuten/Stores/Redis/KeyValue/Single.html +0 -438
  50. data/doc/IO_shuten/Stores/Redis/PubSub.html +0 -245
  51. data/doc/IO_shuten/Zmq.html +0 -166
  52. data/doc/_index.html +0 -375
  53. data/doc/class_list.html +0 -47
  54. data/doc/css/blame.css +0 -11
  55. data/doc/css/common.css +0 -1
  56. data/doc/css/full_list.css +0 -55
  57. data/doc/css/style.css +0 -322
  58. data/doc/file.README.html +0 -158
  59. data/doc/file_list.html +0 -49
  60. data/doc/frames.html +0 -13
  61. data/doc/index.html +0 -158
  62. data/doc/js/app.js +0 -205
  63. data/doc/js/full_list.js +0 -167
  64. data/doc/js/jquery.js +0 -16
  65. data/doc/method_list.html +0 -390
  66. data/doc/top-level-namespace.html +0 -105
@@ -1,119 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: IO_shuten::Errors
8
-
9
- &mdash; IO::shuten 【五百::終点】
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <link rel="stylesheet" href="../css/blame.css" type="text/css" media="screen" charset="utf-8" />
18
-
19
- <script type="text/javascript" charset="utf-8">
20
- relpath = '..';
21
- if (relpath != '') relpath += '/';
22
- </script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <script type="text/javascript" charset="utf-8">
32
- if (window.top.frames.main) document.body.className = 'frames';
33
- </script>
34
-
35
- <div id="header">
36
- <div id="menu">
37
-
38
- <a href="../_index.html">Index (E)</a> &raquo;
39
- <span class='title'><span class='object_link'><a href="../IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span></span>
40
- &raquo;
41
- <span class="title">Errors</span>
42
-
43
-
44
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
45
- </div>
46
-
47
- <div id="search">
48
-
49
- <a id="class_list_link" href="#">Class List</a>
50
-
51
- <a id="method_list_link" href="#">Method List</a>
52
-
53
- <a id="file_list_link" href="#">File List</a>
54
-
55
- </div>
56
- <div class="clear"></div>
57
- </div>
58
-
59
- <iframe id="search_frame"></iframe>
60
-
61
- <div id="content"><h1>Module: IO_shuten::Errors
62
-
63
-
64
-
65
- </h1>
66
-
67
- <dl class="box">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- <dt class="r1 last">Defined in:</dt>
77
- <dd class="r1 last">lib/io_shuten/errors.rb</dd>
78
-
79
- </dl>
80
- <div class="clear"></div>
81
-
82
- <h2>Overview</h2><div class="docstring">
83
- <div class="discussion">
84
-
85
- <p>Collection of Errors/Exceptions</p>
86
-
87
-
88
- </div>
89
- </div>
90
- <div class="tags">
91
-
92
-
93
- </div><h2>Defined Under Namespace</h2>
94
- <p class="children">
95
-
96
-
97
-
98
-
99
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Errors/FileAccessError.html" title="IO_shuten::Errors::FileAccessError (class)">FileAccessError</a></span>, <span class='object_link'><a href="Errors/FileNotFoundError.html" title="IO_shuten::Errors::FileNotFoundError (class)">FileNotFoundError</a></span>, <span class='object_link'><a href="Errors/NodeExistsError.html" title="IO_shuten::Errors::NodeExistsError (class)">NodeExistsError</a></span>, <span class='object_link'><a href="Errors/NodeNameError.html" title="IO_shuten::Errors::NodeNameError (class)">NodeNameError</a></span>, <span class='object_link'><a href="Errors/NodeNotFoundError.html" title="IO_shuten::Errors::NodeNotFoundError (class)">NodeNotFoundError</a></span>, <span class='object_link'><a href="Errors/NotYetImplemented.html" title="IO_shuten::Errors::NotYetImplemented (class)">NotYetImplemented</a></span>
100
-
101
-
102
- </p>
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
- </div>
111
-
112
- <div id="footer">
113
- Generated on Mon Jan 30 01:52:36 2012 by
114
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
115
- 0.7.4 (ruby-1.9.3).
116
- </div>
117
-
118
- </body>
119
- </html>
@@ -1,129 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Exception: IO_shuten::Errors::FileAccessError
8
-
9
- &mdash; IO::shuten 【五百::終点】
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <link rel="stylesheet" href="../../css/blame.css" type="text/css" media="screen" charset="utf-8" />
18
-
19
- <script type="text/javascript" charset="utf-8">
20
- relpath = '../..';
21
- if (relpath != '') relpath += '/';
22
- </script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <script type="text/javascript" charset="utf-8">
32
- if (window.top.frames.main) document.body.className = 'frames';
33
- </script>
34
-
35
- <div id="header">
36
- <div id="menu">
37
-
38
- <a href="../../_index.html">Index (F)</a> &raquo;
39
- <span class='title'><span class='object_link'><a href="../../IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Errors.html" title="IO_shuten::Errors (module)">Errors</a></span></span>
40
- &raquo;
41
- <span class="title">FileAccessError</span>
42
-
43
-
44
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
45
- </div>
46
-
47
- <div id="search">
48
-
49
- <a id="class_list_link" href="#">Class List</a>
50
-
51
- <a id="method_list_link" href="#">Method List</a>
52
-
53
- <a id="file_list_link" href="#">File List</a>
54
-
55
- </div>
56
- <div class="clear"></div>
57
- </div>
58
-
59
- <iframe id="search_frame"></iframe>
60
-
61
- <div id="content"><h1>Exception: IO_shuten::Errors::FileAccessError
62
-
63
-
64
-
65
- </h1>
66
-
67
- <dl class="box">
68
-
69
- <dt class="r1">Inherits:</dt>
70
- <dd class="r1">
71
- <span class="inheritName">StandardError</span>
72
-
73
- <ul class="fullTree">
74
- <li>Object</li>
75
-
76
- <li class="next">StandardError</li>
77
-
78
- <li class="next">IO_shuten::Errors::FileAccessError</li>
79
-
80
- </ul>
81
- <a href="#" class="inheritanceTree">show all</a>
82
-
83
- </dd>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
- <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/io_shuten/errors.rb</dd>
95
-
96
- </dl>
97
- <div class="clear"></div>
98
-
99
- <h2>Overview</h2><div class="docstring">
100
- <div class="discussion">
101
-
102
- <p>Exception if something went wrong on file handling</p>
103
-
104
-
105
- </div>
106
- </div>
107
- <div class="tags">
108
-
109
-
110
- </div>
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
- </div>
121
-
122
- <div id="footer">
123
- Generated on Mon Jan 30 01:52:36 2012 by
124
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
- </div>
127
-
128
- </body>
129
- </html>
@@ -1,129 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Exception: IO_shuten::Errors::FileNotFoundError
8
-
9
- &mdash; IO::shuten 【五百::終点】
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <link rel="stylesheet" href="../../css/blame.css" type="text/css" media="screen" charset="utf-8" />
18
-
19
- <script type="text/javascript" charset="utf-8">
20
- relpath = '../..';
21
- if (relpath != '') relpath += '/';
22
- </script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <script type="text/javascript" charset="utf-8">
32
- if (window.top.frames.main) document.body.className = 'frames';
33
- </script>
34
-
35
- <div id="header">
36
- <div id="menu">
37
-
38
- <a href="../../_index.html">Index (F)</a> &raquo;
39
- <span class='title'><span class='object_link'><a href="../../IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Errors.html" title="IO_shuten::Errors (module)">Errors</a></span></span>
40
- &raquo;
41
- <span class="title">FileNotFoundError</span>
42
-
43
-
44
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
45
- </div>
46
-
47
- <div id="search">
48
-
49
- <a id="class_list_link" href="#">Class List</a>
50
-
51
- <a id="method_list_link" href="#">Method List</a>
52
-
53
- <a id="file_list_link" href="#">File List</a>
54
-
55
- </div>
56
- <div class="clear"></div>
57
- </div>
58
-
59
- <iframe id="search_frame"></iframe>
60
-
61
- <div id="content"><h1>Exception: IO_shuten::Errors::FileNotFoundError
62
-
63
-
64
-
65
- </h1>
66
-
67
- <dl class="box">
68
-
69
- <dt class="r1">Inherits:</dt>
70
- <dd class="r1">
71
- <span class="inheritName">StandardError</span>
72
-
73
- <ul class="fullTree">
74
- <li>Object</li>
75
-
76
- <li class="next">StandardError</li>
77
-
78
- <li class="next">IO_shuten::Errors::FileNotFoundError</li>
79
-
80
- </ul>
81
- <a href="#" class="inheritanceTree">show all</a>
82
-
83
- </dd>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
- <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/io_shuten/errors.rb</dd>
95
-
96
- </dl>
97
- <div class="clear"></div>
98
-
99
- <h2>Overview</h2><div class="docstring">
100
- <div class="discussion">
101
-
102
- <p>Exception if file was not found</p>
103
-
104
-
105
- </div>
106
- </div>
107
- <div class="tags">
108
-
109
-
110
- </div>
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
- </div>
121
-
122
- <div id="footer">
123
- Generated on Mon Jan 30 01:52:36 2012 by
124
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
- </div>
127
-
128
- </body>
129
- </html>
@@ -1,129 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Exception: IO_shuten::Errors::NodeExistsError
8
-
9
- &mdash; IO::shuten 【五百::終点】
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <link rel="stylesheet" href="../../css/blame.css" type="text/css" media="screen" charset="utf-8" />
18
-
19
- <script type="text/javascript" charset="utf-8">
20
- relpath = '../..';
21
- if (relpath != '') relpath += '/';
22
- </script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <script type="text/javascript" charset="utf-8">
32
- if (window.top.frames.main) document.body.className = 'frames';
33
- </script>
34
-
35
- <div id="header">
36
- <div id="menu">
37
-
38
- <a href="../../_index.html">Index (N)</a> &raquo;
39
- <span class='title'><span class='object_link'><a href="../../IO_shuten.html" title="IO_shuten (module)">IO_shuten</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Errors.html" title="IO_shuten::Errors (module)">Errors</a></span></span>
40
- &raquo;
41
- <span class="title">NodeExistsError</span>
42
-
43
-
44
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
45
- </div>
46
-
47
- <div id="search">
48
-
49
- <a id="class_list_link" href="#">Class List</a>
50
-
51
- <a id="method_list_link" href="#">Method List</a>
52
-
53
- <a id="file_list_link" href="#">File List</a>
54
-
55
- </div>
56
- <div class="clear"></div>
57
- </div>
58
-
59
- <iframe id="search_frame"></iframe>
60
-
61
- <div id="content"><h1>Exception: IO_shuten::Errors::NodeExistsError
62
-
63
-
64
-
65
- </h1>
66
-
67
- <dl class="box">
68
-
69
- <dt class="r1">Inherits:</dt>
70
- <dd class="r1">
71
- <span class="inheritName">StandardError</span>
72
-
73
- <ul class="fullTree">
74
- <li>Object</li>
75
-
76
- <li class="next">StandardError</li>
77
-
78
- <li class="next">IO_shuten::Errors::NodeExistsError</li>
79
-
80
- </ul>
81
- <a href="#" class="inheritanceTree">show all</a>
82
-
83
- </dd>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
- <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/io_shuten/errors.rb</dd>
95
-
96
- </dl>
97
- <div class="clear"></div>
98
-
99
- <h2>Overview</h2><div class="docstring">
100
- <div class="discussion">
101
-
102
- <p>Exception if the node object name was found in pool</p>
103
-
104
-
105
- </div>
106
- </div>
107
- <div class="tags">
108
-
109
-
110
- </div>
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
- </div>
121
-
122
- <div id="footer">
123
- Generated on Mon Jan 30 01:52:36 2012 by
124
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
- </div>
127
-
128
- </body>
129
- </html>