io_shuten 0.0.1.dev5 → 0.0.3.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 (47) hide show
  1. data/.travis.yml +7 -0
  2. data/Gemfile +3 -4
  3. data/Gemfile.lock +2 -8
  4. data/README.md +17 -3
  5. data/Rakefile +25 -1
  6. data/benchmark/compare_mem_w_buf.rb +134 -0
  7. data/doc/IO_3A_3ABuffer.html +198 -0
  8. data/doc/IO_shuten/Base.html +349 -1943
  9. data/doc/IO_shuten/Buffer.html +1842 -0
  10. data/doc/IO_shuten/Errors/FileAccessError.html +5 -4
  11. data/doc/IO_shuten/Errors/FileNotFoundError.html +5 -4
  12. data/doc/IO_shuten/Errors/NodeExistsError.html +5 -4
  13. data/doc/IO_shuten/Errors/NodeNameError.html +5 -4
  14. data/doc/IO_shuten/Errors/NodeNotFoundError.html +5 -4
  15. data/doc/IO_shuten/Errors/NotYetImplemented.html +5 -4
  16. data/doc/IO_shuten/Errors.html +5 -4
  17. data/doc/IO_shuten/Memory.html +1798 -0
  18. data/doc/IO_shuten/Mongo.html +9 -13
  19. data/doc/IO_shuten/Redis.html +803 -8
  20. data/doc/IO_shuten/Stores/Mongo/Collection.html +5 -4
  21. data/doc/IO_shuten/Stores/Mongo/GridFS.html +5 -4
  22. data/doc/IO_shuten/Stores/Mongo.html +5 -4
  23. data/doc/IO_shuten/Stores/Redis/KeyValue.html +5 -4
  24. data/doc/IO_shuten/Stores/Redis/PubSub.html +5 -4
  25. data/doc/IO_shuten/Stores/Redis.html +5 -4
  26. data/doc/IO_shuten/Stores.html +5 -4
  27. data/doc/IO_shuten.html +7 -6
  28. data/doc/_index.html +20 -6
  29. data/doc/class_list.html +1 -1
  30. data/doc/file.README.html +21 -6
  31. data/doc/index.html +21 -6
  32. data/doc/method_list.html +119 -15
  33. data/doc/top-level-namespace.html +2 -2
  34. data/io_shuten.gemspec +16 -12
  35. data/lib/io_shuten/base.rb +1 -129
  36. data/lib/io_shuten/buffer.rb +156 -0
  37. data/lib/io_shuten/memory.rb +145 -0
  38. data/lib/io_shuten/redis.rb +65 -0
  39. data/lib/io_shuten/version.rb +1 -1
  40. data/lib/io_shuten.rb +2 -0
  41. data/spec/examples/logger_spec.rb +18 -2
  42. data/spec/lib/buffer_spec.rb +387 -0
  43. data/spec/lib/{base_spec.rb → memory_spec.rb} +92 -82
  44. data/spec/lib/mongo_spec.rb +1 -1
  45. data/spec/lib/redis_spec.rb +1 -1
  46. data/spec/spec_helper.rb +16 -12
  47. metadata +233 -163
@@ -98,8 +98,9 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
-
102
- <p>Exception if something went wrong on file handling</p>
101
+ <p>
102
+ Exception if something went wrong on file handling
103
+ </p>
103
104
 
104
105
 
105
106
  </div>
@@ -120,9 +121,9 @@
120
121
  </div>
121
122
 
122
123
  <div id="footer">
123
- Generated on Mon Jan 23 01:15:28 2012 by
124
+ Generated on Thu Jan 26 00:45:39 2012 by
124
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
+ 0.7.4 (ruby-1.8.7).
126
127
  </div>
127
128
 
128
129
  </body>
@@ -98,8 +98,9 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
-
102
- <p>Exception if file was not found</p>
101
+ <p>
102
+ Exception if file was not found
103
+ </p>
103
104
 
104
105
 
105
106
  </div>
@@ -120,9 +121,9 @@
120
121
  </div>
121
122
 
122
123
  <div id="footer">
123
- Generated on Mon Jan 23 01:15:28 2012 by
124
+ Generated on Thu Jan 26 00:45:40 2012 by
124
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
+ 0.7.4 (ruby-1.8.7).
126
127
  </div>
127
128
 
128
129
  </body>
@@ -98,8 +98,9 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
-
102
- <p>Exception if the node object name was found in pool</p>
101
+ <p>
102
+ Exception if the node object name was found in pool
103
+ </p>
103
104
 
104
105
 
105
106
  </div>
@@ -120,9 +121,9 @@
120
121
  </div>
121
122
 
122
123
  <div id="footer">
123
- Generated on Mon Jan 23 01:15:28 2012 by
124
+ Generated on Thu Jan 26 00:45:41 2012 by
124
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
+ 0.7.4 (ruby-1.8.7).
126
127
  </div>
127
128
 
128
129
  </body>
@@ -98,8 +98,9 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
-
102
- <p>Exception if the node object name was of wrong type</p>
101
+ <p>
102
+ Exception if the node object name was of wrong type
103
+ </p>
103
104
 
104
105
 
105
106
  </div>
@@ -120,9 +121,9 @@
120
121
  </div>
121
122
 
122
123
  <div id="footer">
123
- Generated on Mon Jan 23 01:15:28 2012 by
124
+ Generated on Thu Jan 26 00:45:39 2012 by
124
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
+ 0.7.4 (ruby-1.8.7).
126
127
  </div>
127
128
 
128
129
  </body>
@@ -98,8 +98,9 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
-
102
- <p>Exception if a node object was not found</p>
101
+ <p>
102
+ Exception if a node object was not found
103
+ </p>
103
104
 
104
105
 
105
106
  </div>
@@ -120,9 +121,9 @@
120
121
  </div>
121
122
 
122
123
  <div id="footer">
123
- Generated on Mon Jan 23 01:15:28 2012 by
124
+ Generated on Thu Jan 26 00:45:41 2012 by
124
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
+ 0.7.4 (ruby-1.8.7).
126
127
  </div>
127
128
 
128
129
  </body>
@@ -98,8 +98,9 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
-
102
- <p>Exception for not yet implemented methods (stubs)</p>
101
+ <p>
102
+ Exception for not yet implemented methods (stubs)
103
+ </p>
103
104
 
104
105
 
105
106
  </div>
@@ -120,9 +121,9 @@
120
121
  </div>
121
122
 
122
123
  <div id="footer">
123
- Generated on Mon Jan 23 01:15:28 2012 by
124
+ Generated on Thu Jan 26 00:45:41 2012 by
124
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.7.4 (ruby-1.9.3).
126
+ 0.7.4 (ruby-1.8.7).
126
127
  </div>
127
128
 
128
129
  </body>
@@ -81,8 +81,9 @@
81
81
 
82
82
  <h2>Overview</h2><div class="docstring">
83
83
  <div class="discussion">
84
-
85
- <p>Collection of Errors/Exceptions</p>
84
+ <p>
85
+ Collection of Errors/Exceptions
86
+ </p>
86
87
 
87
88
 
88
89
  </div>
@@ -110,9 +111,9 @@
110
111
  </div>
111
112
 
112
113
  <div id="footer">
113
- Generated on Mon Jan 23 01:15:28 2012 by
114
+ Generated on Thu Jan 26 00:45:40 2012 by
114
115
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
115
- 0.7.4 (ruby-1.9.3).
116
+ 0.7.4 (ruby-1.8.7).
116
117
  </div>
117
118
 
118
119
  </body>