moneta 0.7.19 → 0.7.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -1
  3. data/CHANGES +11 -0
  4. data/Gemfile +9 -0
  5. data/README.md +15 -2
  6. data/lib/moneta.rb +8 -9
  7. data/lib/moneta/adapters/cassandra.rb +11 -11
  8. data/lib/moneta/adapters/lmdb.rb +93 -0
  9. data/lib/moneta/adapters/lruhash.rb +16 -10
  10. data/lib/moneta/adapters/mongo.rb +2 -3
  11. data/lib/moneta/adapters/sequel.rb +12 -5
  12. data/lib/moneta/cache.rb +1 -2
  13. data/lib/moneta/proxy.rb +1 -0
  14. data/lib/moneta/synchronize.rb +2 -3
  15. data/lib/moneta/transformer/config.rb +5 -3
  16. data/lib/moneta/utils.rb +8 -0
  17. data/lib/moneta/version.rb +1 -1
  18. data/script/benchmarks +1 -0
  19. data/script/generate-specs +139 -92
  20. data/script/travis-logs +2 -1
  21. data/spec/helper.rb +2 -2
  22. data/spec/moneta/adapter_activerecord_exisiting_connection_spec.rb +5 -0
  23. data/spec/moneta/adapter_activerecord_spec.rb +5 -0
  24. data/spec/moneta/adapter_cassandra_spec.rb +5 -0
  25. data/spec/moneta/adapter_cassandra_with_default_expires_spec.rb +5 -0
  26. data/spec/moneta/adapter_client_spec.rb +5 -0
  27. data/spec/moneta/adapter_cookie_spec.rb +4 -0
  28. data/spec/moneta/adapter_couch_spec.rb +12 -11
  29. data/spec/moneta/adapter_datamapper_spec.rb +5 -0
  30. data/spec/moneta/adapter_daybreak_spec.rb +5 -0
  31. data/spec/moneta/adapter_dbm_spec.rb +5 -0
  32. data/spec/moneta/adapter_file_spec.rb +5 -0
  33. data/spec/moneta/adapter_fog_spec.rb +5 -0
  34. data/spec/moneta/adapter_gdbm_spec.rb +5 -0
  35. data/spec/moneta/adapter_hbase_spec.rb +5 -0
  36. data/spec/moneta/adapter_kyotocabinet_spec.rb +5 -0
  37. data/spec/moneta/adapter_leveldb_spec.rb +5 -0
  38. data/spec/moneta/adapter_lmdb_spec.rb +32 -0
  39. data/spec/moneta/adapter_lmdb_with_db_spec.rb +32 -0
  40. data/spec/moneta/adapter_localmemcache_spec.rb +5 -0
  41. data/spec/moneta/adapter_lruhash_spec.rb +4 -0
  42. data/spec/moneta/adapter_memcached_dalli_spec.rb +5 -0
  43. data/spec/moneta/adapter_memcached_dalli_with_default_expires_spec.rb +5 -0
  44. data/spec/moneta/adapter_memcached_native_spec.rb +5 -0
  45. data/spec/moneta/adapter_memcached_native_with_default_expires_spec.rb +5 -0
  46. data/spec/moneta/adapter_memcached_spec.rb +5 -0
  47. data/spec/moneta/adapter_memcached_with_default_expires_spec.rb +5 -0
  48. data/spec/moneta/adapter_memory_spec.rb +42 -0
  49. data/spec/moneta/adapter_mongo_spec.rb +12 -0
  50. data/spec/moneta/adapter_mongo_with_default_expires_spec.rb +12 -0
  51. data/spec/moneta/adapter_pstore_spec.rb +57 -0
  52. data/spec/moneta/adapter_redis_spec.rb +5 -0
  53. data/spec/moneta/adapter_redis_with_default_expires_spec.rb +5 -0
  54. data/spec/moneta/adapter_restclient_spec.rb +5 -0
  55. data/spec/moneta/adapter_riak_spec.rb +5 -0
  56. data/spec/moneta/adapter_sdbm_spec.rb +5 -0
  57. data/spec/moneta/adapter_sequel_spec.rb +5 -0
  58. data/spec/moneta/adapter_sqlite_spec.rb +5 -0
  59. data/spec/moneta/adapter_tdb_spec.rb +5 -0
  60. data/spec/moneta/adapter_tokyocabinet_bdb_spec.rb +5 -0
  61. data/spec/moneta/adapter_tokyocabinet_hdb_spec.rb +5 -0
  62. data/spec/moneta/adapter_tokyotyrant_spec.rb +5 -0
  63. data/spec/moneta/adapter_yaml_spec.rb +1 -0
  64. data/spec/moneta/cache_file_memory_spec.rb +5 -0
  65. data/spec/moneta/cache_memory_null_spec.rb +4 -0
  66. data/spec/moneta/expires_file_spec.rb +5 -0
  67. data/spec/moneta/expires_memory_spec.rb +42 -0
  68. data/spec/moneta/expires_memory_with_default_expires_spec.rb +42 -0
  69. data/spec/moneta/lock_spec.rb +42 -0
  70. data/spec/moneta/mutex_spec.rb +1 -0
  71. data/spec/moneta/null_adapter_spec.rb +16 -0
  72. data/spec/moneta/optionmerger_spec.rb +1 -0
  73. data/spec/moneta/pool_spec.rb +5 -0
  74. data/spec/moneta/proxy_expires_memory_spec.rb +42 -0
  75. data/spec/moneta/proxy_redis_spec.rb +5 -0
  76. data/spec/moneta/semaphore_spec.rb +1 -0
  77. data/spec/moneta/shared_tcp_spec.rb +5 -0
  78. data/spec/moneta/shared_unix_spec.rb +5 -0
  79. data/spec/moneta/stack_file_memory_spec.rb +5 -0
  80. data/spec/moneta/stack_memory_file_spec.rb +5 -0
  81. data/spec/moneta/{simple_activerecord_spec.rb → standard_activerecord_spec.rb} +59 -2
  82. data/spec/moneta/{simple_activerecord_with_expires_spec.rb → standard_activerecord_with_expires_spec.rb} +59 -2
  83. data/spec/moneta/{simple_cassandra_spec.rb → standard_cassandra_spec.rb} +59 -2
  84. data/spec/moneta/{simple_client_tcp_spec.rb → standard_client_tcp_spec.rb} +59 -2
  85. data/spec/moneta/standard_client_unix_spec.rb +254 -0
  86. data/spec/moneta/{simple_couch_spec.rb → standard_couch_spec.rb} +59 -2
  87. data/spec/moneta/{simple_couch_with_expires_spec.rb → standard_couch_with_expires_spec.rb} +59 -2
  88. data/spec/moneta/{simple_datamapper_spec.rb → standard_datamapper_spec.rb} +59 -2
  89. data/spec/moneta/{simple_datamapper_with_expires_spec.rb → standard_datamapper_with_expires_spec.rb} +59 -2
  90. data/spec/moneta/{simple_datamapper_with_repository_spec.rb → standard_datamapper_with_repository_spec.rb} +59 -2
  91. data/spec/moneta/{simple_daybreak_spec.rb → standard_daybreak_spec.rb} +59 -2
  92. data/spec/moneta/{simple_daybreak_with_expires_spec.rb → standard_daybreak_with_expires_spec.rb} +59 -2
  93. data/spec/moneta/{simple_dbm_spec.rb → standard_dbm_spec.rb} +59 -2
  94. data/spec/moneta/{simple_dbm_with_expires_spec.rb → standard_dbm_with_expires_spec.rb} +59 -2
  95. data/spec/moneta/{simple_file_spec.rb → standard_file_spec.rb} +59 -2
  96. data/spec/moneta/{simple_file_with_expires_spec.rb → standard_file_with_expires_spec.rb} +59 -2
  97. data/spec/moneta/{simple_fog_spec.rb → standard_fog_spec.rb} +59 -2
  98. data/spec/moneta/{simple_fog_with_expires_spec.rb → standard_fog_with_expires_spec.rb} +60 -3
  99. data/spec/moneta/{simple_gdbm_spec.rb → standard_gdbm_spec.rb} +59 -2
  100. data/spec/moneta/{simple_gdbm_with_expires_spec.rb → standard_gdbm_with_expires_spec.rb} +59 -2
  101. data/spec/moneta/{simple_hashfile_spec.rb → standard_hashfile_spec.rb} +59 -2
  102. data/spec/moneta/{simple_hashfile_with_expires_spec.rb → standard_hashfile_with_expires_spec.rb} +59 -2
  103. data/spec/moneta/{simple_hbase_spec.rb → standard_hbase_spec.rb} +59 -2
  104. data/spec/moneta/{simple_hbase_with_expires_spec.rb → standard_hbase_with_expires_spec.rb} +59 -2
  105. data/spec/moneta/{simple_kyotocabinet_spec.rb → standard_kyotocabinet_spec.rb} +59 -2
  106. data/spec/moneta/{simple_kyotocabinet_with_expires_spec.rb → standard_kyotocabinet_with_expires_spec.rb} +59 -2
  107. data/spec/moneta/{simple_leveldb_spec.rb → standard_leveldb_spec.rb} +59 -2
  108. data/spec/moneta/{simple_leveldb_with_expires_spec.rb → standard_leveldb_with_expires_spec.rb} +59 -2
  109. data/spec/moneta/{simple_client_unix_spec.rb → standard_lmdb_spec.rb} +59 -5
  110. data/spec/moneta/standard_lmdb_with_expires_spec.rb +253 -0
  111. data/spec/moneta/{simple_localmemcache_spec.rb → standard_localmemcache_spec.rb} +59 -2
  112. data/spec/moneta/{simple_localmemcache_with_expires_spec.rb → standard_localmemcache_with_expires_spec.rb} +59 -2
  113. data/spec/moneta/{simple_lruhash_spec.rb → standard_lruhash_spec.rb} +44 -2
  114. data/spec/moneta/{simple_lruhash_with_expires_spec.rb → standard_lruhash_with_expires_spec.rb} +44 -2
  115. data/spec/moneta/{simple_memcached_dalli_spec.rb → standard_memcached_dalli_spec.rb} +59 -2
  116. data/spec/moneta/{simple_memcached_native_spec.rb → standard_memcached_native_spec.rb} +59 -2
  117. data/spec/moneta/{simple_memcached_spec.rb → standard_memcached_spec.rb} +59 -2
  118. data/spec/moneta/{simple_memory_spec.rb → standard_memory_spec.rb} +44 -2
  119. data/spec/moneta/{simple_memory_with_compress_spec.rb → standard_memory_with_compress_spec.rb} +44 -2
  120. data/spec/moneta/{simple_memory_with_expires_spec.rb → standard_memory_with_expires_spec.rb} +44 -2
  121. data/spec/moneta/{simple_memory_with_json_key_serializer_spec.rb → standard_memory_with_json_key_serializer_spec.rb} +12 -2
  122. data/spec/moneta/{simple_memory_with_json_serializer_spec.rb → standard_memory_with_json_serializer_spec.rb} +4 -3
  123. data/spec/moneta/{simple_memory_with_json_value_serializer_spec.rb → standard_memory_with_json_value_serializer_spec.rb} +12 -3
  124. data/spec/moneta/{simple_memory_with_prefix_spec.rb → standard_memory_with_prefix_spec.rb} +44 -2
  125. data/spec/moneta/{simple_memory_with_snappy_compress_spec.rb → standard_memory_with_snappy_compress_spec.rb} +44 -2
  126. data/spec/moneta/{simple_mongo_spec.rb → standard_mongo_spec.rb} +59 -2
  127. data/spec/moneta/{simple_null_spec.rb → standard_null_spec.rb} +29 -2
  128. data/spec/moneta/{simple_pstore_spec.rb → standard_pstore_spec.rb} +59 -2
  129. data/spec/moneta/{simple_pstore_with_expires_spec.rb → standard_pstore_with_expires_spec.rb} +59 -2
  130. data/spec/moneta/{simple_redis_spec.rb → standard_redis_spec.rb} +59 -2
  131. data/spec/moneta/{simple_restclient_spec.rb → standard_restclient_spec.rb} +59 -2
  132. data/spec/moneta/{simple_riak_spec.rb → standard_riak_spec.rb} +59 -2
  133. data/spec/moneta/{simple_riak_with_expires_spec.rb → standard_riak_with_expires_spec.rb} +59 -2
  134. data/spec/moneta/{simple_sdbm_spec.rb → standard_sdbm_spec.rb} +59 -2
  135. data/spec/moneta/{simple_sdbm_with_expires_spec.rb → standard_sdbm_with_expires_spec.rb} +59 -2
  136. data/spec/moneta/{simple_sequel_spec.rb → standard_sequel_spec.rb} +60 -3
  137. data/spec/moneta/{simple_sequel_with_expires_spec.rb → standard_sequel_with_expires_spec.rb} +60 -3
  138. data/spec/moneta/{simple_sqlite_spec.rb → standard_sqlite_spec.rb} +59 -2
  139. data/spec/moneta/{simple_sqlite_with_expires_spec.rb → standard_sqlite_with_expires_spec.rb} +59 -2
  140. data/spec/moneta/{simple_tdb_spec.rb → standard_tdb_spec.rb} +59 -2
  141. data/spec/moneta/{simple_tdb_with_expires_spec.rb → standard_tdb_with_expires_spec.rb} +59 -2
  142. data/spec/moneta/{simple_tokyocabinet_spec.rb → standard_tokyocabinet_spec.rb} +59 -2
  143. data/spec/moneta/{simple_tokyocabinet_with_expires_spec.rb → standard_tokyocabinet_with_expires_spec.rb} +59 -2
  144. data/spec/moneta/{simple_tokyotyrant_spec.rb → standard_tokyotyrant_spec.rb} +59 -2
  145. data/spec/moneta/{simple_tokyotyrant_with_expires_spec.rb → standard_tokyotyrant_with_expires_spec.rb} +59 -2
  146. data/spec/moneta/{simple_yaml_spec.rb → standard_yaml_spec.rb} +59 -2
  147. data/spec/moneta/{simple_yaml_with_expires_spec.rb → standard_yaml_with_expires_spec.rb} +59 -2
  148. data/spec/moneta/transformer_bencode_spec.rb +1 -0
  149. data/spec/moneta/transformer_bert_spec.rb +1 -0
  150. data/spec/moneta/transformer_bson_spec.rb +1 -0
  151. data/spec/moneta/transformer_bzip2_spec.rb +4 -0
  152. data/spec/moneta/transformer_json_spec.rb +2 -1
  153. data/spec/moneta/transformer_key_inspect_spec.rb +10 -0
  154. data/spec/moneta/transformer_key_marshal_spec.rb +42 -0
  155. data/spec/moneta/transformer_key_to_s_spec.rb +10 -0
  156. data/spec/moneta/transformer_key_yaml_spec.rb +42 -0
  157. data/spec/moneta/transformer_lz4_spec.rb +4 -0
  158. data/spec/moneta/transformer_lzma_spec.rb +4 -0
  159. data/spec/moneta/transformer_lzo_spec.rb +4 -0
  160. data/spec/moneta/transformer_marshal_base64_spec.rb +42 -0
  161. data/spec/moneta/transformer_marshal_city128_spec.rb +42 -0
  162. data/spec/moneta/transformer_marshal_city32_spec.rb +42 -0
  163. data/spec/moneta/transformer_marshal_city64_spec.rb +42 -0
  164. data/spec/moneta/transformer_marshal_escape_spec.rb +42 -0
  165. data/spec/moneta/transformer_marshal_hex_spec.rb +194 -0
  166. data/spec/moneta/transformer_marshal_hmac_spec.rb +42 -0
  167. data/spec/moneta/transformer_marshal_md5_spec.rb +42 -0
  168. data/spec/moneta/transformer_marshal_md5_spread_spec.rb +42 -0
  169. data/spec/moneta/transformer_marshal_prefix_spec.rb +42 -0
  170. data/spec/moneta/transformer_marshal_qp_spec.rb +42 -0
  171. data/spec/moneta/transformer_marshal_rmd160_spec.rb +42 -0
  172. data/spec/moneta/transformer_marshal_sha1_spec.rb +42 -0
  173. data/spec/moneta/transformer_marshal_sha256_spec.rb +42 -0
  174. data/spec/moneta/transformer_marshal_sha384_spec.rb +42 -0
  175. data/spec/moneta/transformer_marshal_sha512_spec.rb +42 -0
  176. data/spec/moneta/transformer_marshal_spec.rb +42 -0
  177. data/spec/moneta/transformer_marshal_truncate_spec.rb +42 -0
  178. data/spec/moneta/transformer_marshal_uuencode_spec.rb +42 -0
  179. data/spec/moneta/transformer_msgpack_spec.rb +1 -0
  180. data/spec/moneta/transformer_ox_spec.rb +42 -0
  181. data/spec/moneta/transformer_php_spec.rb +55 -0
  182. data/spec/moneta/transformer_quicklz_spec.rb +4 -0
  183. data/spec/moneta/transformer_snappy_spec.rb +4 -0
  184. data/spec/moneta/transformer_tnet_spec.rb +1 -0
  185. data/spec/moneta/transformer_value_marshal_spec.rb +42 -0
  186. data/spec/moneta/transformer_value_yaml_spec.rb +42 -0
  187. data/spec/moneta/transformer_yaml_spec.rb +42 -0
  188. data/spec/moneta/transformer_zlib_spec.rb +4 -0
  189. data/spec/moneta/weak_create_spec.rb +5 -0
  190. data/spec/moneta/weak_increment_spec.rb +5 -0
  191. data/spec/monetaspecs.rb +26531 -16522
  192. metadata +145 -133
  193. data/script/kill-travis +0 -16
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.19
4
+ version: 0.7.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Mendler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-05 00:00:00.000000000 Z
13
+ date: 2013-09-30 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: A unified interface to key/value stores
16
16
  email:
@@ -50,6 +50,7 @@ files:
50
50
  - lib/moneta/adapters/hbase.rb
51
51
  - lib/moneta/adapters/kyotocabinet.rb
52
52
  - lib/moneta/adapters/leveldb.rb
53
+ - lib/moneta/adapters/lmdb.rb
53
54
  - lib/moneta/adapters/localmemcache.rb
54
55
  - lib/moneta/adapters/lruhash.rb
55
56
  - lib/moneta/adapters/memcached.rb
@@ -100,7 +101,6 @@ files:
100
101
  - script/generate-specs
101
102
  - script/install-bundle
102
103
  - script/install-kyotocabinet
103
- - script/kill-travis
104
104
  - script/memusage
105
105
  - script/parallel-tests
106
106
  - script/start-services
@@ -127,6 +127,8 @@ files:
127
127
  - spec/moneta/adapter_hbase_spec.rb
128
128
  - spec/moneta/adapter_kyotocabinet_spec.rb
129
129
  - spec/moneta/adapter_leveldb_spec.rb
130
+ - spec/moneta/adapter_lmdb_spec.rb
131
+ - spec/moneta/adapter_lmdb_with_db_spec.rb
130
132
  - spec/moneta/adapter_localmemcache_spec.rb
131
133
  - spec/moneta/adapter_lruhash_spec.rb
132
134
  - spec/moneta/adapter_memcached_dalli_spec.rb
@@ -167,73 +169,75 @@ files:
167
169
  - spec/moneta/semaphore_spec.rb
168
170
  - spec/moneta/shared_tcp_spec.rb
169
171
  - spec/moneta/shared_unix_spec.rb
170
- - spec/moneta/simple_activerecord_spec.rb
171
- - spec/moneta/simple_activerecord_with_expires_spec.rb
172
- - spec/moneta/simple_cassandra_spec.rb
173
- - spec/moneta/simple_client_tcp_spec.rb
174
- - spec/moneta/simple_client_unix_spec.rb
175
- - spec/moneta/simple_couch_spec.rb
176
- - spec/moneta/simple_couch_with_expires_spec.rb
177
- - spec/moneta/simple_datamapper_spec.rb
178
- - spec/moneta/simple_datamapper_with_expires_spec.rb
179
- - spec/moneta/simple_datamapper_with_repository_spec.rb
180
- - spec/moneta/simple_daybreak_spec.rb
181
- - spec/moneta/simple_daybreak_with_expires_spec.rb
182
- - spec/moneta/simple_dbm_spec.rb
183
- - spec/moneta/simple_dbm_with_expires_spec.rb
184
- - spec/moneta/simple_file_spec.rb
185
- - spec/moneta/simple_file_with_expires_spec.rb
186
- - spec/moneta/simple_fog_spec.rb
187
- - spec/moneta/simple_fog_with_expires_spec.rb
188
- - spec/moneta/simple_gdbm_spec.rb
189
- - spec/moneta/simple_gdbm_with_expires_spec.rb
190
- - spec/moneta/simple_hashfile_spec.rb
191
- - spec/moneta/simple_hashfile_with_expires_spec.rb
192
- - spec/moneta/simple_hbase_spec.rb
193
- - spec/moneta/simple_hbase_with_expires_spec.rb
194
- - spec/moneta/simple_kyotocabinet_spec.rb
195
- - spec/moneta/simple_kyotocabinet_with_expires_spec.rb
196
- - spec/moneta/simple_leveldb_spec.rb
197
- - spec/moneta/simple_leveldb_with_expires_spec.rb
198
- - spec/moneta/simple_localmemcache_spec.rb
199
- - spec/moneta/simple_localmemcache_with_expires_spec.rb
200
- - spec/moneta/simple_lruhash_spec.rb
201
- - spec/moneta/simple_lruhash_with_expires_spec.rb
202
- - spec/moneta/simple_memcached_dalli_spec.rb
203
- - spec/moneta/simple_memcached_native_spec.rb
204
- - spec/moneta/simple_memcached_spec.rb
205
- - spec/moneta/simple_memory_spec.rb
206
- - spec/moneta/simple_memory_with_compress_spec.rb
207
- - spec/moneta/simple_memory_with_expires_spec.rb
208
- - spec/moneta/simple_memory_with_json_key_serializer_spec.rb
209
- - spec/moneta/simple_memory_with_json_serializer_spec.rb
210
- - spec/moneta/simple_memory_with_json_value_serializer_spec.rb
211
- - spec/moneta/simple_memory_with_prefix_spec.rb
212
- - spec/moneta/simple_memory_with_snappy_compress_spec.rb
213
- - spec/moneta/simple_mongo_spec.rb
214
- - spec/moneta/simple_null_spec.rb
215
- - spec/moneta/simple_pstore_spec.rb
216
- - spec/moneta/simple_pstore_with_expires_spec.rb
217
- - spec/moneta/simple_redis_spec.rb
218
- - spec/moneta/simple_restclient_spec.rb
219
- - spec/moneta/simple_riak_spec.rb
220
- - spec/moneta/simple_riak_with_expires_spec.rb
221
- - spec/moneta/simple_sdbm_spec.rb
222
- - spec/moneta/simple_sdbm_with_expires_spec.rb
223
- - spec/moneta/simple_sequel_spec.rb
224
- - spec/moneta/simple_sequel_with_expires_spec.rb
225
- - spec/moneta/simple_sqlite_spec.rb
226
- - spec/moneta/simple_sqlite_with_expires_spec.rb
227
- - spec/moneta/simple_tdb_spec.rb
228
- - spec/moneta/simple_tdb_with_expires_spec.rb
229
- - spec/moneta/simple_tokyocabinet_spec.rb
230
- - spec/moneta/simple_tokyocabinet_with_expires_spec.rb
231
- - spec/moneta/simple_tokyotyrant_spec.rb
232
- - spec/moneta/simple_tokyotyrant_with_expires_spec.rb
233
- - spec/moneta/simple_yaml_spec.rb
234
- - spec/moneta/simple_yaml_with_expires_spec.rb
235
172
  - spec/moneta/stack_file_memory_spec.rb
236
173
  - spec/moneta/stack_memory_file_spec.rb
174
+ - spec/moneta/standard_activerecord_spec.rb
175
+ - spec/moneta/standard_activerecord_with_expires_spec.rb
176
+ - spec/moneta/standard_cassandra_spec.rb
177
+ - spec/moneta/standard_client_tcp_spec.rb
178
+ - spec/moneta/standard_client_unix_spec.rb
179
+ - spec/moneta/standard_couch_spec.rb
180
+ - spec/moneta/standard_couch_with_expires_spec.rb
181
+ - spec/moneta/standard_datamapper_spec.rb
182
+ - spec/moneta/standard_datamapper_with_expires_spec.rb
183
+ - spec/moneta/standard_datamapper_with_repository_spec.rb
184
+ - spec/moneta/standard_daybreak_spec.rb
185
+ - spec/moneta/standard_daybreak_with_expires_spec.rb
186
+ - spec/moneta/standard_dbm_spec.rb
187
+ - spec/moneta/standard_dbm_with_expires_spec.rb
188
+ - spec/moneta/standard_file_spec.rb
189
+ - spec/moneta/standard_file_with_expires_spec.rb
190
+ - spec/moneta/standard_fog_spec.rb
191
+ - spec/moneta/standard_fog_with_expires_spec.rb
192
+ - spec/moneta/standard_gdbm_spec.rb
193
+ - spec/moneta/standard_gdbm_with_expires_spec.rb
194
+ - spec/moneta/standard_hashfile_spec.rb
195
+ - spec/moneta/standard_hashfile_with_expires_spec.rb
196
+ - spec/moneta/standard_hbase_spec.rb
197
+ - spec/moneta/standard_hbase_with_expires_spec.rb
198
+ - spec/moneta/standard_kyotocabinet_spec.rb
199
+ - spec/moneta/standard_kyotocabinet_with_expires_spec.rb
200
+ - spec/moneta/standard_leveldb_spec.rb
201
+ - spec/moneta/standard_leveldb_with_expires_spec.rb
202
+ - spec/moneta/standard_lmdb_spec.rb
203
+ - spec/moneta/standard_lmdb_with_expires_spec.rb
204
+ - spec/moneta/standard_localmemcache_spec.rb
205
+ - spec/moneta/standard_localmemcache_with_expires_spec.rb
206
+ - spec/moneta/standard_lruhash_spec.rb
207
+ - spec/moneta/standard_lruhash_with_expires_spec.rb
208
+ - spec/moneta/standard_memcached_dalli_spec.rb
209
+ - spec/moneta/standard_memcached_native_spec.rb
210
+ - spec/moneta/standard_memcached_spec.rb
211
+ - spec/moneta/standard_memory_spec.rb
212
+ - spec/moneta/standard_memory_with_compress_spec.rb
213
+ - spec/moneta/standard_memory_with_expires_spec.rb
214
+ - spec/moneta/standard_memory_with_json_key_serializer_spec.rb
215
+ - spec/moneta/standard_memory_with_json_serializer_spec.rb
216
+ - spec/moneta/standard_memory_with_json_value_serializer_spec.rb
217
+ - spec/moneta/standard_memory_with_prefix_spec.rb
218
+ - spec/moneta/standard_memory_with_snappy_compress_spec.rb
219
+ - spec/moneta/standard_mongo_spec.rb
220
+ - spec/moneta/standard_null_spec.rb
221
+ - spec/moneta/standard_pstore_spec.rb
222
+ - spec/moneta/standard_pstore_with_expires_spec.rb
223
+ - spec/moneta/standard_redis_spec.rb
224
+ - spec/moneta/standard_restclient_spec.rb
225
+ - spec/moneta/standard_riak_spec.rb
226
+ - spec/moneta/standard_riak_with_expires_spec.rb
227
+ - spec/moneta/standard_sdbm_spec.rb
228
+ - spec/moneta/standard_sdbm_with_expires_spec.rb
229
+ - spec/moneta/standard_sequel_spec.rb
230
+ - spec/moneta/standard_sequel_with_expires_spec.rb
231
+ - spec/moneta/standard_sqlite_spec.rb
232
+ - spec/moneta/standard_sqlite_with_expires_spec.rb
233
+ - spec/moneta/standard_tdb_spec.rb
234
+ - spec/moneta/standard_tdb_with_expires_spec.rb
235
+ - spec/moneta/standard_tokyocabinet_spec.rb
236
+ - spec/moneta/standard_tokyocabinet_with_expires_spec.rb
237
+ - spec/moneta/standard_tokyotyrant_spec.rb
238
+ - spec/moneta/standard_tokyotyrant_with_expires_spec.rb
239
+ - spec/moneta/standard_yaml_spec.rb
240
+ - spec/moneta/standard_yaml_with_expires_spec.rb
237
241
  - spec/moneta/transformer_bencode_spec.rb
238
242
  - spec/moneta/transformer_bert_spec.rb
239
243
  - spec/moneta/transformer_bson_spec.rb
@@ -251,6 +255,7 @@ files:
251
255
  - spec/moneta/transformer_marshal_city32_spec.rb
252
256
  - spec/moneta/transformer_marshal_city64_spec.rb
253
257
  - spec/moneta/transformer_marshal_escape_spec.rb
258
+ - spec/moneta/transformer_marshal_hex_spec.rb
254
259
  - spec/moneta/transformer_marshal_hmac_spec.rb
255
260
  - spec/moneta/transformer_marshal_md5_spec.rb
256
261
  - spec/moneta/transformer_marshal_md5_spread_spec.rb
@@ -266,6 +271,7 @@ files:
266
271
  - spec/moneta/transformer_marshal_uuencode_spec.rb
267
272
  - spec/moneta/transformer_msgpack_spec.rb
268
273
  - spec/moneta/transformer_ox_spec.rb
274
+ - spec/moneta/transformer_php_spec.rb
269
275
  - spec/moneta/transformer_quicklz_spec.rb
270
276
  - spec/moneta/transformer_snappy_spec.rb
271
277
  - spec/moneta/transformer_tnet_spec.rb
@@ -327,6 +333,8 @@ test_files:
327
333
  - spec/moneta/adapter_hbase_spec.rb
328
334
  - spec/moneta/adapter_kyotocabinet_spec.rb
329
335
  - spec/moneta/adapter_leveldb_spec.rb
336
+ - spec/moneta/adapter_lmdb_spec.rb
337
+ - spec/moneta/adapter_lmdb_with_db_spec.rb
330
338
  - spec/moneta/adapter_localmemcache_spec.rb
331
339
  - spec/moneta/adapter_lruhash_spec.rb
332
340
  - spec/moneta/adapter_memcached_dalli_spec.rb
@@ -367,73 +375,75 @@ test_files:
367
375
  - spec/moneta/semaphore_spec.rb
368
376
  - spec/moneta/shared_tcp_spec.rb
369
377
  - spec/moneta/shared_unix_spec.rb
370
- - spec/moneta/simple_activerecord_spec.rb
371
- - spec/moneta/simple_activerecord_with_expires_spec.rb
372
- - spec/moneta/simple_cassandra_spec.rb
373
- - spec/moneta/simple_client_tcp_spec.rb
374
- - spec/moneta/simple_client_unix_spec.rb
375
- - spec/moneta/simple_couch_spec.rb
376
- - spec/moneta/simple_couch_with_expires_spec.rb
377
- - spec/moneta/simple_datamapper_spec.rb
378
- - spec/moneta/simple_datamapper_with_expires_spec.rb
379
- - spec/moneta/simple_datamapper_with_repository_spec.rb
380
- - spec/moneta/simple_daybreak_spec.rb
381
- - spec/moneta/simple_daybreak_with_expires_spec.rb
382
- - spec/moneta/simple_dbm_spec.rb
383
- - spec/moneta/simple_dbm_with_expires_spec.rb
384
- - spec/moneta/simple_file_spec.rb
385
- - spec/moneta/simple_file_with_expires_spec.rb
386
- - spec/moneta/simple_fog_spec.rb
387
- - spec/moneta/simple_fog_with_expires_spec.rb
388
- - spec/moneta/simple_gdbm_spec.rb
389
- - spec/moneta/simple_gdbm_with_expires_spec.rb
390
- - spec/moneta/simple_hashfile_spec.rb
391
- - spec/moneta/simple_hashfile_with_expires_spec.rb
392
- - spec/moneta/simple_hbase_spec.rb
393
- - spec/moneta/simple_hbase_with_expires_spec.rb
394
- - spec/moneta/simple_kyotocabinet_spec.rb
395
- - spec/moneta/simple_kyotocabinet_with_expires_spec.rb
396
- - spec/moneta/simple_leveldb_spec.rb
397
- - spec/moneta/simple_leveldb_with_expires_spec.rb
398
- - spec/moneta/simple_localmemcache_spec.rb
399
- - spec/moneta/simple_localmemcache_with_expires_spec.rb
400
- - spec/moneta/simple_lruhash_spec.rb
401
- - spec/moneta/simple_lruhash_with_expires_spec.rb
402
- - spec/moneta/simple_memcached_dalli_spec.rb
403
- - spec/moneta/simple_memcached_native_spec.rb
404
- - spec/moneta/simple_memcached_spec.rb
405
- - spec/moneta/simple_memory_spec.rb
406
- - spec/moneta/simple_memory_with_compress_spec.rb
407
- - spec/moneta/simple_memory_with_expires_spec.rb
408
- - spec/moneta/simple_memory_with_json_key_serializer_spec.rb
409
- - spec/moneta/simple_memory_with_json_serializer_spec.rb
410
- - spec/moneta/simple_memory_with_json_value_serializer_spec.rb
411
- - spec/moneta/simple_memory_with_prefix_spec.rb
412
- - spec/moneta/simple_memory_with_snappy_compress_spec.rb
413
- - spec/moneta/simple_mongo_spec.rb
414
- - spec/moneta/simple_null_spec.rb
415
- - spec/moneta/simple_pstore_spec.rb
416
- - spec/moneta/simple_pstore_with_expires_spec.rb
417
- - spec/moneta/simple_redis_spec.rb
418
- - spec/moneta/simple_restclient_spec.rb
419
- - spec/moneta/simple_riak_spec.rb
420
- - spec/moneta/simple_riak_with_expires_spec.rb
421
- - spec/moneta/simple_sdbm_spec.rb
422
- - spec/moneta/simple_sdbm_with_expires_spec.rb
423
- - spec/moneta/simple_sequel_spec.rb
424
- - spec/moneta/simple_sequel_with_expires_spec.rb
425
- - spec/moneta/simple_sqlite_spec.rb
426
- - spec/moneta/simple_sqlite_with_expires_spec.rb
427
- - spec/moneta/simple_tdb_spec.rb
428
- - spec/moneta/simple_tdb_with_expires_spec.rb
429
- - spec/moneta/simple_tokyocabinet_spec.rb
430
- - spec/moneta/simple_tokyocabinet_with_expires_spec.rb
431
- - spec/moneta/simple_tokyotyrant_spec.rb
432
- - spec/moneta/simple_tokyotyrant_with_expires_spec.rb
433
- - spec/moneta/simple_yaml_spec.rb
434
- - spec/moneta/simple_yaml_with_expires_spec.rb
435
378
  - spec/moneta/stack_file_memory_spec.rb
436
379
  - spec/moneta/stack_memory_file_spec.rb
380
+ - spec/moneta/standard_activerecord_spec.rb
381
+ - spec/moneta/standard_activerecord_with_expires_spec.rb
382
+ - spec/moneta/standard_cassandra_spec.rb
383
+ - spec/moneta/standard_client_tcp_spec.rb
384
+ - spec/moneta/standard_client_unix_spec.rb
385
+ - spec/moneta/standard_couch_spec.rb
386
+ - spec/moneta/standard_couch_with_expires_spec.rb
387
+ - spec/moneta/standard_datamapper_spec.rb
388
+ - spec/moneta/standard_datamapper_with_expires_spec.rb
389
+ - spec/moneta/standard_datamapper_with_repository_spec.rb
390
+ - spec/moneta/standard_daybreak_spec.rb
391
+ - spec/moneta/standard_daybreak_with_expires_spec.rb
392
+ - spec/moneta/standard_dbm_spec.rb
393
+ - spec/moneta/standard_dbm_with_expires_spec.rb
394
+ - spec/moneta/standard_file_spec.rb
395
+ - spec/moneta/standard_file_with_expires_spec.rb
396
+ - spec/moneta/standard_fog_spec.rb
397
+ - spec/moneta/standard_fog_with_expires_spec.rb
398
+ - spec/moneta/standard_gdbm_spec.rb
399
+ - spec/moneta/standard_gdbm_with_expires_spec.rb
400
+ - spec/moneta/standard_hashfile_spec.rb
401
+ - spec/moneta/standard_hashfile_with_expires_spec.rb
402
+ - spec/moneta/standard_hbase_spec.rb
403
+ - spec/moneta/standard_hbase_with_expires_spec.rb
404
+ - spec/moneta/standard_kyotocabinet_spec.rb
405
+ - spec/moneta/standard_kyotocabinet_with_expires_spec.rb
406
+ - spec/moneta/standard_leveldb_spec.rb
407
+ - spec/moneta/standard_leveldb_with_expires_spec.rb
408
+ - spec/moneta/standard_lmdb_spec.rb
409
+ - spec/moneta/standard_lmdb_with_expires_spec.rb
410
+ - spec/moneta/standard_localmemcache_spec.rb
411
+ - spec/moneta/standard_localmemcache_with_expires_spec.rb
412
+ - spec/moneta/standard_lruhash_spec.rb
413
+ - spec/moneta/standard_lruhash_with_expires_spec.rb
414
+ - spec/moneta/standard_memcached_dalli_spec.rb
415
+ - spec/moneta/standard_memcached_native_spec.rb
416
+ - spec/moneta/standard_memcached_spec.rb
417
+ - spec/moneta/standard_memory_spec.rb
418
+ - spec/moneta/standard_memory_with_compress_spec.rb
419
+ - spec/moneta/standard_memory_with_expires_spec.rb
420
+ - spec/moneta/standard_memory_with_json_key_serializer_spec.rb
421
+ - spec/moneta/standard_memory_with_json_serializer_spec.rb
422
+ - spec/moneta/standard_memory_with_json_value_serializer_spec.rb
423
+ - spec/moneta/standard_memory_with_prefix_spec.rb
424
+ - spec/moneta/standard_memory_with_snappy_compress_spec.rb
425
+ - spec/moneta/standard_mongo_spec.rb
426
+ - spec/moneta/standard_null_spec.rb
427
+ - spec/moneta/standard_pstore_spec.rb
428
+ - spec/moneta/standard_pstore_with_expires_spec.rb
429
+ - spec/moneta/standard_redis_spec.rb
430
+ - spec/moneta/standard_restclient_spec.rb
431
+ - spec/moneta/standard_riak_spec.rb
432
+ - spec/moneta/standard_riak_with_expires_spec.rb
433
+ - spec/moneta/standard_sdbm_spec.rb
434
+ - spec/moneta/standard_sdbm_with_expires_spec.rb
435
+ - spec/moneta/standard_sequel_spec.rb
436
+ - spec/moneta/standard_sequel_with_expires_spec.rb
437
+ - spec/moneta/standard_sqlite_spec.rb
438
+ - spec/moneta/standard_sqlite_with_expires_spec.rb
439
+ - spec/moneta/standard_tdb_spec.rb
440
+ - spec/moneta/standard_tdb_with_expires_spec.rb
441
+ - spec/moneta/standard_tokyocabinet_spec.rb
442
+ - spec/moneta/standard_tokyocabinet_with_expires_spec.rb
443
+ - spec/moneta/standard_tokyotyrant_spec.rb
444
+ - spec/moneta/standard_tokyotyrant_with_expires_spec.rb
445
+ - spec/moneta/standard_yaml_spec.rb
446
+ - spec/moneta/standard_yaml_with_expires_spec.rb
437
447
  - spec/moneta/transformer_bencode_spec.rb
438
448
  - spec/moneta/transformer_bert_spec.rb
439
449
  - spec/moneta/transformer_bson_spec.rb
@@ -451,6 +461,7 @@ test_files:
451
461
  - spec/moneta/transformer_marshal_city32_spec.rb
452
462
  - spec/moneta/transformer_marshal_city64_spec.rb
453
463
  - spec/moneta/transformer_marshal_escape_spec.rb
464
+ - spec/moneta/transformer_marshal_hex_spec.rb
454
465
  - spec/moneta/transformer_marshal_hmac_spec.rb
455
466
  - spec/moneta/transformer_marshal_md5_spec.rb
456
467
  - spec/moneta/transformer_marshal_md5_spread_spec.rb
@@ -466,6 +477,7 @@ test_files:
466
477
  - spec/moneta/transformer_marshal_uuencode_spec.rb
467
478
  - spec/moneta/transformer_msgpack_spec.rb
468
479
  - spec/moneta/transformer_ox_spec.rb
480
+ - spec/moneta/transformer_php_spec.rb
469
481
  - spec/moneta/transformer_quicklz_spec.rb
470
482
  - spec/moneta/transformer_snappy_spec.rb
471
483
  - spec/moneta/transformer_tnet_spec.rb
@@ -1,16 +0,0 @@
1
- #!/bin/bash
2
- # Allow Travis-CI builds to be cancelled
3
-
4
- if [[ $TRAVIS ]]; then
5
- echo 'Started Travis-CI killer!'
6
- while true; do
7
- if wget --quiet -O /dev/null http://mendler.net/~minad/kill-travis; then
8
- while true; do
9
- kill -9 -1
10
- done
11
- fi
12
- sleep 1
13
- done &
14
- else
15
- echo 'You are not running Travis-CI!'
16
- fi