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
@@ -1,13 +1,14 @@
1
+ # coding: binary
1
2
  # Generated by generate-specs
2
3
  require 'helper'
3
4
 
4
- describe_moneta "simple_dbm" do
5
+ describe_moneta "standard_dbm" do
5
6
  def features
6
7
  [:create, :increment]
7
8
  end
8
9
 
9
10
  def new_store
10
- Moneta.new(:DBM, :file => File.join(make_tempdir, "simple_dbm"), :logger => {:file => File.join(make_tempdir, 'simple_dbm.log')})
11
+ Moneta.new(:DBM, :file => File.join(make_tempdir, "simple_dbm"), :logger => {:file => File.join(make_tempdir, 'standard_dbm.log')})
11
12
  end
12
13
 
13
14
  def load_value(value)
@@ -22,6 +23,7 @@ describe_moneta "simple_dbm" do
22
23
  it_should_behave_like 'marshallable_value'
23
24
  it_should_behave_like 'null_objectkey_objectvalue'
24
25
  it_should_behave_like 'null_objectkey_stringvalue'
26
+ it_should_behave_like 'null_objectkey_binaryvalue'
25
27
  it_should_behave_like 'null_objectkey_hashvalue'
26
28
  it_should_behave_like 'null_objectkey_booleanvalue'
27
29
  it_should_behave_like 'null_objectkey_nilvalue'
@@ -29,13 +31,23 @@ describe_moneta "simple_dbm" do
29
31
  it_should_behave_like 'null_objectkey_numbervalue'
30
32
  it_should_behave_like 'null_stringkey_objectvalue'
31
33
  it_should_behave_like 'null_stringkey_stringvalue'
34
+ it_should_behave_like 'null_stringkey_binaryvalue'
32
35
  it_should_behave_like 'null_stringkey_hashvalue'
33
36
  it_should_behave_like 'null_stringkey_booleanvalue'
34
37
  it_should_behave_like 'null_stringkey_nilvalue'
35
38
  it_should_behave_like 'null_stringkey_integervalue'
36
39
  it_should_behave_like 'null_stringkey_numbervalue'
40
+ it_should_behave_like 'null_binarykey_objectvalue'
41
+ it_should_behave_like 'null_binarykey_stringvalue'
42
+ it_should_behave_like 'null_binarykey_binaryvalue'
43
+ it_should_behave_like 'null_binarykey_hashvalue'
44
+ it_should_behave_like 'null_binarykey_booleanvalue'
45
+ it_should_behave_like 'null_binarykey_nilvalue'
46
+ it_should_behave_like 'null_binarykey_integervalue'
47
+ it_should_behave_like 'null_binarykey_numbervalue'
37
48
  it_should_behave_like 'null_hashkey_objectvalue'
38
49
  it_should_behave_like 'null_hashkey_stringvalue'
50
+ it_should_behave_like 'null_hashkey_binaryvalue'
39
51
  it_should_behave_like 'null_hashkey_hashvalue'
40
52
  it_should_behave_like 'null_hashkey_booleanvalue'
41
53
  it_should_behave_like 'null_hashkey_nilvalue'
@@ -43,6 +55,7 @@ describe_moneta "simple_dbm" do
43
55
  it_should_behave_like 'null_hashkey_numbervalue'
44
56
  it_should_behave_like 'null_booleankey_objectvalue'
45
57
  it_should_behave_like 'null_booleankey_stringvalue'
58
+ it_should_behave_like 'null_booleankey_binaryvalue'
46
59
  it_should_behave_like 'null_booleankey_hashvalue'
47
60
  it_should_behave_like 'null_booleankey_booleanvalue'
48
61
  it_should_behave_like 'null_booleankey_nilvalue'
@@ -50,6 +63,7 @@ describe_moneta "simple_dbm" do
50
63
  it_should_behave_like 'null_booleankey_numbervalue'
51
64
  it_should_behave_like 'null_nilkey_objectvalue'
52
65
  it_should_behave_like 'null_nilkey_stringvalue'
66
+ it_should_behave_like 'null_nilkey_binaryvalue'
53
67
  it_should_behave_like 'null_nilkey_hashvalue'
54
68
  it_should_behave_like 'null_nilkey_booleanvalue'
55
69
  it_should_behave_like 'null_nilkey_nilvalue'
@@ -57,6 +71,7 @@ describe_moneta "simple_dbm" do
57
71
  it_should_behave_like 'null_nilkey_numbervalue'
58
72
  it_should_behave_like 'null_integerkey_objectvalue'
59
73
  it_should_behave_like 'null_integerkey_stringvalue'
74
+ it_should_behave_like 'null_integerkey_binaryvalue'
60
75
  it_should_behave_like 'null_integerkey_hashvalue'
61
76
  it_should_behave_like 'null_integerkey_booleanvalue'
62
77
  it_should_behave_like 'null_integerkey_nilvalue'
@@ -64,6 +79,7 @@ describe_moneta "simple_dbm" do
64
79
  it_should_behave_like 'null_integerkey_numbervalue'
65
80
  it_should_behave_like 'null_numberkey_objectvalue'
66
81
  it_should_behave_like 'null_numberkey_stringvalue'
82
+ it_should_behave_like 'null_numberkey_binaryvalue'
67
83
  it_should_behave_like 'null_numberkey_hashvalue'
68
84
  it_should_behave_like 'null_numberkey_booleanvalue'
69
85
  it_should_behave_like 'null_numberkey_nilvalue'
@@ -71,6 +87,7 @@ describe_moneta "simple_dbm" do
71
87
  it_should_behave_like 'null_numberkey_numbervalue'
72
88
  it_should_behave_like 'persist_objectkey_objectvalue'
73
89
  it_should_behave_like 'persist_objectkey_stringvalue'
90
+ it_should_behave_like 'persist_objectkey_binaryvalue'
74
91
  it_should_behave_like 'persist_objectkey_hashvalue'
75
92
  it_should_behave_like 'persist_objectkey_booleanvalue'
76
93
  it_should_behave_like 'persist_objectkey_nilvalue'
@@ -78,13 +95,23 @@ describe_moneta "simple_dbm" do
78
95
  it_should_behave_like 'persist_objectkey_numbervalue'
79
96
  it_should_behave_like 'persist_stringkey_objectvalue'
80
97
  it_should_behave_like 'persist_stringkey_stringvalue'
98
+ it_should_behave_like 'persist_stringkey_binaryvalue'
81
99
  it_should_behave_like 'persist_stringkey_hashvalue'
82
100
  it_should_behave_like 'persist_stringkey_booleanvalue'
83
101
  it_should_behave_like 'persist_stringkey_nilvalue'
84
102
  it_should_behave_like 'persist_stringkey_integervalue'
85
103
  it_should_behave_like 'persist_stringkey_numbervalue'
104
+ it_should_behave_like 'persist_binarykey_objectvalue'
105
+ it_should_behave_like 'persist_binarykey_stringvalue'
106
+ it_should_behave_like 'persist_binarykey_binaryvalue'
107
+ it_should_behave_like 'persist_binarykey_hashvalue'
108
+ it_should_behave_like 'persist_binarykey_booleanvalue'
109
+ it_should_behave_like 'persist_binarykey_nilvalue'
110
+ it_should_behave_like 'persist_binarykey_integervalue'
111
+ it_should_behave_like 'persist_binarykey_numbervalue'
86
112
  it_should_behave_like 'persist_hashkey_objectvalue'
87
113
  it_should_behave_like 'persist_hashkey_stringvalue'
114
+ it_should_behave_like 'persist_hashkey_binaryvalue'
88
115
  it_should_behave_like 'persist_hashkey_hashvalue'
89
116
  it_should_behave_like 'persist_hashkey_booleanvalue'
90
117
  it_should_behave_like 'persist_hashkey_nilvalue'
@@ -92,6 +119,7 @@ describe_moneta "simple_dbm" do
92
119
  it_should_behave_like 'persist_hashkey_numbervalue'
93
120
  it_should_behave_like 'persist_booleankey_objectvalue'
94
121
  it_should_behave_like 'persist_booleankey_stringvalue'
122
+ it_should_behave_like 'persist_booleankey_binaryvalue'
95
123
  it_should_behave_like 'persist_booleankey_hashvalue'
96
124
  it_should_behave_like 'persist_booleankey_booleanvalue'
97
125
  it_should_behave_like 'persist_booleankey_nilvalue'
@@ -99,6 +127,7 @@ describe_moneta "simple_dbm" do
99
127
  it_should_behave_like 'persist_booleankey_numbervalue'
100
128
  it_should_behave_like 'persist_nilkey_objectvalue'
101
129
  it_should_behave_like 'persist_nilkey_stringvalue'
130
+ it_should_behave_like 'persist_nilkey_binaryvalue'
102
131
  it_should_behave_like 'persist_nilkey_hashvalue'
103
132
  it_should_behave_like 'persist_nilkey_booleanvalue'
104
133
  it_should_behave_like 'persist_nilkey_nilvalue'
@@ -106,6 +135,7 @@ describe_moneta "simple_dbm" do
106
135
  it_should_behave_like 'persist_nilkey_numbervalue'
107
136
  it_should_behave_like 'persist_integerkey_objectvalue'
108
137
  it_should_behave_like 'persist_integerkey_stringvalue'
138
+ it_should_behave_like 'persist_integerkey_binaryvalue'
109
139
  it_should_behave_like 'persist_integerkey_hashvalue'
110
140
  it_should_behave_like 'persist_integerkey_booleanvalue'
111
141
  it_should_behave_like 'persist_integerkey_nilvalue'
@@ -113,6 +143,7 @@ describe_moneta "simple_dbm" do
113
143
  it_should_behave_like 'persist_integerkey_numbervalue'
114
144
  it_should_behave_like 'persist_numberkey_objectvalue'
115
145
  it_should_behave_like 'persist_numberkey_stringvalue'
146
+ it_should_behave_like 'persist_numberkey_binaryvalue'
116
147
  it_should_behave_like 'persist_numberkey_hashvalue'
117
148
  it_should_behave_like 'persist_numberkey_booleanvalue'
118
149
  it_should_behave_like 'persist_numberkey_nilvalue'
@@ -120,27 +151,39 @@ describe_moneta "simple_dbm" do
120
151
  it_should_behave_like 'persist_numberkey_numbervalue'
121
152
  it_should_behave_like 'returndifferent_objectkey_objectvalue'
122
153
  it_should_behave_like 'returndifferent_objectkey_stringvalue'
154
+ it_should_behave_like 'returndifferent_objectkey_binaryvalue'
123
155
  it_should_behave_like 'returndifferent_objectkey_hashvalue'
124
156
  it_should_behave_like 'returndifferent_stringkey_objectvalue'
125
157
  it_should_behave_like 'returndifferent_stringkey_stringvalue'
158
+ it_should_behave_like 'returndifferent_stringkey_binaryvalue'
126
159
  it_should_behave_like 'returndifferent_stringkey_hashvalue'
160
+ it_should_behave_like 'returndifferent_binarykey_objectvalue'
161
+ it_should_behave_like 'returndifferent_binarykey_stringvalue'
162
+ it_should_behave_like 'returndifferent_binarykey_binaryvalue'
163
+ it_should_behave_like 'returndifferent_binarykey_hashvalue'
127
164
  it_should_behave_like 'returndifferent_hashkey_objectvalue'
128
165
  it_should_behave_like 'returndifferent_hashkey_stringvalue'
166
+ it_should_behave_like 'returndifferent_hashkey_binaryvalue'
129
167
  it_should_behave_like 'returndifferent_hashkey_hashvalue'
130
168
  it_should_behave_like 'returndifferent_booleankey_objectvalue'
131
169
  it_should_behave_like 'returndifferent_booleankey_stringvalue'
170
+ it_should_behave_like 'returndifferent_booleankey_binaryvalue'
132
171
  it_should_behave_like 'returndifferent_booleankey_hashvalue'
133
172
  it_should_behave_like 'returndifferent_nilkey_objectvalue'
134
173
  it_should_behave_like 'returndifferent_nilkey_stringvalue'
174
+ it_should_behave_like 'returndifferent_nilkey_binaryvalue'
135
175
  it_should_behave_like 'returndifferent_nilkey_hashvalue'
136
176
  it_should_behave_like 'returndifferent_integerkey_objectvalue'
137
177
  it_should_behave_like 'returndifferent_integerkey_stringvalue'
178
+ it_should_behave_like 'returndifferent_integerkey_binaryvalue'
138
179
  it_should_behave_like 'returndifferent_integerkey_hashvalue'
139
180
  it_should_behave_like 'returndifferent_numberkey_objectvalue'
140
181
  it_should_behave_like 'returndifferent_numberkey_stringvalue'
182
+ it_should_behave_like 'returndifferent_numberkey_binaryvalue'
141
183
  it_should_behave_like 'returndifferent_numberkey_hashvalue'
142
184
  it_should_behave_like 'store_objectkey_objectvalue'
143
185
  it_should_behave_like 'store_objectkey_stringvalue'
186
+ it_should_behave_like 'store_objectkey_binaryvalue'
144
187
  it_should_behave_like 'store_objectkey_hashvalue'
145
188
  it_should_behave_like 'store_objectkey_booleanvalue'
146
189
  it_should_behave_like 'store_objectkey_nilvalue'
@@ -148,13 +191,23 @@ describe_moneta "simple_dbm" do
148
191
  it_should_behave_like 'store_objectkey_numbervalue'
149
192
  it_should_behave_like 'store_stringkey_objectvalue'
150
193
  it_should_behave_like 'store_stringkey_stringvalue'
194
+ it_should_behave_like 'store_stringkey_binaryvalue'
151
195
  it_should_behave_like 'store_stringkey_hashvalue'
152
196
  it_should_behave_like 'store_stringkey_booleanvalue'
153
197
  it_should_behave_like 'store_stringkey_nilvalue'
154
198
  it_should_behave_like 'store_stringkey_integervalue'
155
199
  it_should_behave_like 'store_stringkey_numbervalue'
200
+ it_should_behave_like 'store_binarykey_objectvalue'
201
+ it_should_behave_like 'store_binarykey_stringvalue'
202
+ it_should_behave_like 'store_binarykey_binaryvalue'
203
+ it_should_behave_like 'store_binarykey_hashvalue'
204
+ it_should_behave_like 'store_binarykey_booleanvalue'
205
+ it_should_behave_like 'store_binarykey_nilvalue'
206
+ it_should_behave_like 'store_binarykey_integervalue'
207
+ it_should_behave_like 'store_binarykey_numbervalue'
156
208
  it_should_behave_like 'store_hashkey_objectvalue'
157
209
  it_should_behave_like 'store_hashkey_stringvalue'
210
+ it_should_behave_like 'store_hashkey_binaryvalue'
158
211
  it_should_behave_like 'store_hashkey_hashvalue'
159
212
  it_should_behave_like 'store_hashkey_booleanvalue'
160
213
  it_should_behave_like 'store_hashkey_nilvalue'
@@ -162,6 +215,7 @@ describe_moneta "simple_dbm" do
162
215
  it_should_behave_like 'store_hashkey_numbervalue'
163
216
  it_should_behave_like 'store_booleankey_objectvalue'
164
217
  it_should_behave_like 'store_booleankey_stringvalue'
218
+ it_should_behave_like 'store_booleankey_binaryvalue'
165
219
  it_should_behave_like 'store_booleankey_hashvalue'
166
220
  it_should_behave_like 'store_booleankey_booleanvalue'
167
221
  it_should_behave_like 'store_booleankey_nilvalue'
@@ -169,6 +223,7 @@ describe_moneta "simple_dbm" do
169
223
  it_should_behave_like 'store_booleankey_numbervalue'
170
224
  it_should_behave_like 'store_nilkey_objectvalue'
171
225
  it_should_behave_like 'store_nilkey_stringvalue'
226
+ it_should_behave_like 'store_nilkey_binaryvalue'
172
227
  it_should_behave_like 'store_nilkey_hashvalue'
173
228
  it_should_behave_like 'store_nilkey_booleanvalue'
174
229
  it_should_behave_like 'store_nilkey_nilvalue'
@@ -176,6 +231,7 @@ describe_moneta "simple_dbm" do
176
231
  it_should_behave_like 'store_nilkey_numbervalue'
177
232
  it_should_behave_like 'store_integerkey_objectvalue'
178
233
  it_should_behave_like 'store_integerkey_stringvalue'
234
+ it_should_behave_like 'store_integerkey_binaryvalue'
179
235
  it_should_behave_like 'store_integerkey_hashvalue'
180
236
  it_should_behave_like 'store_integerkey_booleanvalue'
181
237
  it_should_behave_like 'store_integerkey_nilvalue'
@@ -183,6 +239,7 @@ describe_moneta "simple_dbm" do
183
239
  it_should_behave_like 'store_integerkey_numbervalue'
184
240
  it_should_behave_like 'store_numberkey_objectvalue'
185
241
  it_should_behave_like 'store_numberkey_stringvalue'
242
+ it_should_behave_like 'store_numberkey_binaryvalue'
186
243
  it_should_behave_like 'store_numberkey_hashvalue'
187
244
  it_should_behave_like 'store_numberkey_booleanvalue'
188
245
  it_should_behave_like 'store_numberkey_nilvalue'
@@ -1,13 +1,14 @@
1
+ # coding: binary
1
2
  # Generated by generate-specs
2
3
  require 'helper'
3
4
 
4
- describe_moneta "simple_dbm_with_expires" do
5
+ describe_moneta "standard_dbm_with_expires" do
5
6
  def features
6
7
  [:create, :expires, :increment]
7
8
  end
8
9
 
9
10
  def new_store
10
- Moneta.new(:DBM, :file => File.join(make_tempdir, "simple_dbm_with_expires"), :expires => true, :logger => {:file => File.join(make_tempdir, 'simple_dbm_with_expires.log')})
11
+ Moneta.new(:DBM, :file => File.join(make_tempdir, "simple_dbm_with_expires"), :expires => true, :logger => {:file => File.join(make_tempdir, 'standard_dbm_with_expires.log')})
11
12
  end
12
13
 
13
14
  def load_value(value)
@@ -24,6 +25,7 @@ describe_moneta "simple_dbm_with_expires" do
24
25
  it_should_behave_like 'marshallable_value'
25
26
  it_should_behave_like 'null_objectkey_objectvalue'
26
27
  it_should_behave_like 'null_objectkey_stringvalue'
28
+ it_should_behave_like 'null_objectkey_binaryvalue'
27
29
  it_should_behave_like 'null_objectkey_hashvalue'
28
30
  it_should_behave_like 'null_objectkey_booleanvalue'
29
31
  it_should_behave_like 'null_objectkey_nilvalue'
@@ -31,13 +33,23 @@ describe_moneta "simple_dbm_with_expires" do
31
33
  it_should_behave_like 'null_objectkey_numbervalue'
32
34
  it_should_behave_like 'null_stringkey_objectvalue'
33
35
  it_should_behave_like 'null_stringkey_stringvalue'
36
+ it_should_behave_like 'null_stringkey_binaryvalue'
34
37
  it_should_behave_like 'null_stringkey_hashvalue'
35
38
  it_should_behave_like 'null_stringkey_booleanvalue'
36
39
  it_should_behave_like 'null_stringkey_nilvalue'
37
40
  it_should_behave_like 'null_stringkey_integervalue'
38
41
  it_should_behave_like 'null_stringkey_numbervalue'
42
+ it_should_behave_like 'null_binarykey_objectvalue'
43
+ it_should_behave_like 'null_binarykey_stringvalue'
44
+ it_should_behave_like 'null_binarykey_binaryvalue'
45
+ it_should_behave_like 'null_binarykey_hashvalue'
46
+ it_should_behave_like 'null_binarykey_booleanvalue'
47
+ it_should_behave_like 'null_binarykey_nilvalue'
48
+ it_should_behave_like 'null_binarykey_integervalue'
49
+ it_should_behave_like 'null_binarykey_numbervalue'
39
50
  it_should_behave_like 'null_hashkey_objectvalue'
40
51
  it_should_behave_like 'null_hashkey_stringvalue'
52
+ it_should_behave_like 'null_hashkey_binaryvalue'
41
53
  it_should_behave_like 'null_hashkey_hashvalue'
42
54
  it_should_behave_like 'null_hashkey_booleanvalue'
43
55
  it_should_behave_like 'null_hashkey_nilvalue'
@@ -45,6 +57,7 @@ describe_moneta "simple_dbm_with_expires" do
45
57
  it_should_behave_like 'null_hashkey_numbervalue'
46
58
  it_should_behave_like 'null_booleankey_objectvalue'
47
59
  it_should_behave_like 'null_booleankey_stringvalue'
60
+ it_should_behave_like 'null_booleankey_binaryvalue'
48
61
  it_should_behave_like 'null_booleankey_hashvalue'
49
62
  it_should_behave_like 'null_booleankey_booleanvalue'
50
63
  it_should_behave_like 'null_booleankey_nilvalue'
@@ -52,6 +65,7 @@ describe_moneta "simple_dbm_with_expires" do
52
65
  it_should_behave_like 'null_booleankey_numbervalue'
53
66
  it_should_behave_like 'null_nilkey_objectvalue'
54
67
  it_should_behave_like 'null_nilkey_stringvalue'
68
+ it_should_behave_like 'null_nilkey_binaryvalue'
55
69
  it_should_behave_like 'null_nilkey_hashvalue'
56
70
  it_should_behave_like 'null_nilkey_booleanvalue'
57
71
  it_should_behave_like 'null_nilkey_nilvalue'
@@ -59,6 +73,7 @@ describe_moneta "simple_dbm_with_expires" do
59
73
  it_should_behave_like 'null_nilkey_numbervalue'
60
74
  it_should_behave_like 'null_integerkey_objectvalue'
61
75
  it_should_behave_like 'null_integerkey_stringvalue'
76
+ it_should_behave_like 'null_integerkey_binaryvalue'
62
77
  it_should_behave_like 'null_integerkey_hashvalue'
63
78
  it_should_behave_like 'null_integerkey_booleanvalue'
64
79
  it_should_behave_like 'null_integerkey_nilvalue'
@@ -66,6 +81,7 @@ describe_moneta "simple_dbm_with_expires" do
66
81
  it_should_behave_like 'null_integerkey_numbervalue'
67
82
  it_should_behave_like 'null_numberkey_objectvalue'
68
83
  it_should_behave_like 'null_numberkey_stringvalue'
84
+ it_should_behave_like 'null_numberkey_binaryvalue'
69
85
  it_should_behave_like 'null_numberkey_hashvalue'
70
86
  it_should_behave_like 'null_numberkey_booleanvalue'
71
87
  it_should_behave_like 'null_numberkey_nilvalue'
@@ -73,6 +89,7 @@ describe_moneta "simple_dbm_with_expires" do
73
89
  it_should_behave_like 'null_numberkey_numbervalue'
74
90
  it_should_behave_like 'persist_objectkey_objectvalue'
75
91
  it_should_behave_like 'persist_objectkey_stringvalue'
92
+ it_should_behave_like 'persist_objectkey_binaryvalue'
76
93
  it_should_behave_like 'persist_objectkey_hashvalue'
77
94
  it_should_behave_like 'persist_objectkey_booleanvalue'
78
95
  it_should_behave_like 'persist_objectkey_nilvalue'
@@ -80,13 +97,23 @@ describe_moneta "simple_dbm_with_expires" do
80
97
  it_should_behave_like 'persist_objectkey_numbervalue'
81
98
  it_should_behave_like 'persist_stringkey_objectvalue'
82
99
  it_should_behave_like 'persist_stringkey_stringvalue'
100
+ it_should_behave_like 'persist_stringkey_binaryvalue'
83
101
  it_should_behave_like 'persist_stringkey_hashvalue'
84
102
  it_should_behave_like 'persist_stringkey_booleanvalue'
85
103
  it_should_behave_like 'persist_stringkey_nilvalue'
86
104
  it_should_behave_like 'persist_stringkey_integervalue'
87
105
  it_should_behave_like 'persist_stringkey_numbervalue'
106
+ it_should_behave_like 'persist_binarykey_objectvalue'
107
+ it_should_behave_like 'persist_binarykey_stringvalue'
108
+ it_should_behave_like 'persist_binarykey_binaryvalue'
109
+ it_should_behave_like 'persist_binarykey_hashvalue'
110
+ it_should_behave_like 'persist_binarykey_booleanvalue'
111
+ it_should_behave_like 'persist_binarykey_nilvalue'
112
+ it_should_behave_like 'persist_binarykey_integervalue'
113
+ it_should_behave_like 'persist_binarykey_numbervalue'
88
114
  it_should_behave_like 'persist_hashkey_objectvalue'
89
115
  it_should_behave_like 'persist_hashkey_stringvalue'
116
+ it_should_behave_like 'persist_hashkey_binaryvalue'
90
117
  it_should_behave_like 'persist_hashkey_hashvalue'
91
118
  it_should_behave_like 'persist_hashkey_booleanvalue'
92
119
  it_should_behave_like 'persist_hashkey_nilvalue'
@@ -94,6 +121,7 @@ describe_moneta "simple_dbm_with_expires" do
94
121
  it_should_behave_like 'persist_hashkey_numbervalue'
95
122
  it_should_behave_like 'persist_booleankey_objectvalue'
96
123
  it_should_behave_like 'persist_booleankey_stringvalue'
124
+ it_should_behave_like 'persist_booleankey_binaryvalue'
97
125
  it_should_behave_like 'persist_booleankey_hashvalue'
98
126
  it_should_behave_like 'persist_booleankey_booleanvalue'
99
127
  it_should_behave_like 'persist_booleankey_nilvalue'
@@ -101,6 +129,7 @@ describe_moneta "simple_dbm_with_expires" do
101
129
  it_should_behave_like 'persist_booleankey_numbervalue'
102
130
  it_should_behave_like 'persist_nilkey_objectvalue'
103
131
  it_should_behave_like 'persist_nilkey_stringvalue'
132
+ it_should_behave_like 'persist_nilkey_binaryvalue'
104
133
  it_should_behave_like 'persist_nilkey_hashvalue'
105
134
  it_should_behave_like 'persist_nilkey_booleanvalue'
106
135
  it_should_behave_like 'persist_nilkey_nilvalue'
@@ -108,6 +137,7 @@ describe_moneta "simple_dbm_with_expires" do
108
137
  it_should_behave_like 'persist_nilkey_numbervalue'
109
138
  it_should_behave_like 'persist_integerkey_objectvalue'
110
139
  it_should_behave_like 'persist_integerkey_stringvalue'
140
+ it_should_behave_like 'persist_integerkey_binaryvalue'
111
141
  it_should_behave_like 'persist_integerkey_hashvalue'
112
142
  it_should_behave_like 'persist_integerkey_booleanvalue'
113
143
  it_should_behave_like 'persist_integerkey_nilvalue'
@@ -115,6 +145,7 @@ describe_moneta "simple_dbm_with_expires" do
115
145
  it_should_behave_like 'persist_integerkey_numbervalue'
116
146
  it_should_behave_like 'persist_numberkey_objectvalue'
117
147
  it_should_behave_like 'persist_numberkey_stringvalue'
148
+ it_should_behave_like 'persist_numberkey_binaryvalue'
118
149
  it_should_behave_like 'persist_numberkey_hashvalue'
119
150
  it_should_behave_like 'persist_numberkey_booleanvalue'
120
151
  it_should_behave_like 'persist_numberkey_nilvalue'
@@ -122,27 +153,39 @@ describe_moneta "simple_dbm_with_expires" do
122
153
  it_should_behave_like 'persist_numberkey_numbervalue'
123
154
  it_should_behave_like 'returndifferent_objectkey_objectvalue'
124
155
  it_should_behave_like 'returndifferent_objectkey_stringvalue'
156
+ it_should_behave_like 'returndifferent_objectkey_binaryvalue'
125
157
  it_should_behave_like 'returndifferent_objectkey_hashvalue'
126
158
  it_should_behave_like 'returndifferent_stringkey_objectvalue'
127
159
  it_should_behave_like 'returndifferent_stringkey_stringvalue'
160
+ it_should_behave_like 'returndifferent_stringkey_binaryvalue'
128
161
  it_should_behave_like 'returndifferent_stringkey_hashvalue'
162
+ it_should_behave_like 'returndifferent_binarykey_objectvalue'
163
+ it_should_behave_like 'returndifferent_binarykey_stringvalue'
164
+ it_should_behave_like 'returndifferent_binarykey_binaryvalue'
165
+ it_should_behave_like 'returndifferent_binarykey_hashvalue'
129
166
  it_should_behave_like 'returndifferent_hashkey_objectvalue'
130
167
  it_should_behave_like 'returndifferent_hashkey_stringvalue'
168
+ it_should_behave_like 'returndifferent_hashkey_binaryvalue'
131
169
  it_should_behave_like 'returndifferent_hashkey_hashvalue'
132
170
  it_should_behave_like 'returndifferent_booleankey_objectvalue'
133
171
  it_should_behave_like 'returndifferent_booleankey_stringvalue'
172
+ it_should_behave_like 'returndifferent_booleankey_binaryvalue'
134
173
  it_should_behave_like 'returndifferent_booleankey_hashvalue'
135
174
  it_should_behave_like 'returndifferent_nilkey_objectvalue'
136
175
  it_should_behave_like 'returndifferent_nilkey_stringvalue'
176
+ it_should_behave_like 'returndifferent_nilkey_binaryvalue'
137
177
  it_should_behave_like 'returndifferent_nilkey_hashvalue'
138
178
  it_should_behave_like 'returndifferent_integerkey_objectvalue'
139
179
  it_should_behave_like 'returndifferent_integerkey_stringvalue'
180
+ it_should_behave_like 'returndifferent_integerkey_binaryvalue'
140
181
  it_should_behave_like 'returndifferent_integerkey_hashvalue'
141
182
  it_should_behave_like 'returndifferent_numberkey_objectvalue'
142
183
  it_should_behave_like 'returndifferent_numberkey_stringvalue'
184
+ it_should_behave_like 'returndifferent_numberkey_binaryvalue'
143
185
  it_should_behave_like 'returndifferent_numberkey_hashvalue'
144
186
  it_should_behave_like 'store_objectkey_objectvalue'
145
187
  it_should_behave_like 'store_objectkey_stringvalue'
188
+ it_should_behave_like 'store_objectkey_binaryvalue'
146
189
  it_should_behave_like 'store_objectkey_hashvalue'
147
190
  it_should_behave_like 'store_objectkey_booleanvalue'
148
191
  it_should_behave_like 'store_objectkey_nilvalue'
@@ -150,13 +193,23 @@ describe_moneta "simple_dbm_with_expires" do
150
193
  it_should_behave_like 'store_objectkey_numbervalue'
151
194
  it_should_behave_like 'store_stringkey_objectvalue'
152
195
  it_should_behave_like 'store_stringkey_stringvalue'
196
+ it_should_behave_like 'store_stringkey_binaryvalue'
153
197
  it_should_behave_like 'store_stringkey_hashvalue'
154
198
  it_should_behave_like 'store_stringkey_booleanvalue'
155
199
  it_should_behave_like 'store_stringkey_nilvalue'
156
200
  it_should_behave_like 'store_stringkey_integervalue'
157
201
  it_should_behave_like 'store_stringkey_numbervalue'
202
+ it_should_behave_like 'store_binarykey_objectvalue'
203
+ it_should_behave_like 'store_binarykey_stringvalue'
204
+ it_should_behave_like 'store_binarykey_binaryvalue'
205
+ it_should_behave_like 'store_binarykey_hashvalue'
206
+ it_should_behave_like 'store_binarykey_booleanvalue'
207
+ it_should_behave_like 'store_binarykey_nilvalue'
208
+ it_should_behave_like 'store_binarykey_integervalue'
209
+ it_should_behave_like 'store_binarykey_numbervalue'
158
210
  it_should_behave_like 'store_hashkey_objectvalue'
159
211
  it_should_behave_like 'store_hashkey_stringvalue'
212
+ it_should_behave_like 'store_hashkey_binaryvalue'
160
213
  it_should_behave_like 'store_hashkey_hashvalue'
161
214
  it_should_behave_like 'store_hashkey_booleanvalue'
162
215
  it_should_behave_like 'store_hashkey_nilvalue'
@@ -164,6 +217,7 @@ describe_moneta "simple_dbm_with_expires" do
164
217
  it_should_behave_like 'store_hashkey_numbervalue'
165
218
  it_should_behave_like 'store_booleankey_objectvalue'
166
219
  it_should_behave_like 'store_booleankey_stringvalue'
220
+ it_should_behave_like 'store_booleankey_binaryvalue'
167
221
  it_should_behave_like 'store_booleankey_hashvalue'
168
222
  it_should_behave_like 'store_booleankey_booleanvalue'
169
223
  it_should_behave_like 'store_booleankey_nilvalue'
@@ -171,6 +225,7 @@ describe_moneta "simple_dbm_with_expires" do
171
225
  it_should_behave_like 'store_booleankey_numbervalue'
172
226
  it_should_behave_like 'store_nilkey_objectvalue'
173
227
  it_should_behave_like 'store_nilkey_stringvalue'
228
+ it_should_behave_like 'store_nilkey_binaryvalue'
174
229
  it_should_behave_like 'store_nilkey_hashvalue'
175
230
  it_should_behave_like 'store_nilkey_booleanvalue'
176
231
  it_should_behave_like 'store_nilkey_nilvalue'
@@ -178,6 +233,7 @@ describe_moneta "simple_dbm_with_expires" do
178
233
  it_should_behave_like 'store_nilkey_numbervalue'
179
234
  it_should_behave_like 'store_integerkey_objectvalue'
180
235
  it_should_behave_like 'store_integerkey_stringvalue'
236
+ it_should_behave_like 'store_integerkey_binaryvalue'
181
237
  it_should_behave_like 'store_integerkey_hashvalue'
182
238
  it_should_behave_like 'store_integerkey_booleanvalue'
183
239
  it_should_behave_like 'store_integerkey_nilvalue'
@@ -185,6 +241,7 @@ describe_moneta "simple_dbm_with_expires" do
185
241
  it_should_behave_like 'store_integerkey_numbervalue'
186
242
  it_should_behave_like 'store_numberkey_objectvalue'
187
243
  it_should_behave_like 'store_numberkey_stringvalue'
244
+ it_should_behave_like 'store_numberkey_binaryvalue'
188
245
  it_should_behave_like 'store_numberkey_hashvalue'
189
246
  it_should_behave_like 'store_numberkey_booleanvalue'
190
247
  it_should_behave_like 'store_numberkey_nilvalue'