moneta 0.7.19 → 0.7.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGES +11 -0
- data/Gemfile +9 -0
- data/README.md +15 -2
- data/lib/moneta.rb +8 -9
- data/lib/moneta/adapters/cassandra.rb +11 -11
- data/lib/moneta/adapters/lmdb.rb +93 -0
- data/lib/moneta/adapters/lruhash.rb +16 -10
- data/lib/moneta/adapters/mongo.rb +2 -3
- data/lib/moneta/adapters/sequel.rb +12 -5
- data/lib/moneta/cache.rb +1 -2
- data/lib/moneta/proxy.rb +1 -0
- data/lib/moneta/synchronize.rb +2 -3
- data/lib/moneta/transformer/config.rb +5 -3
- data/lib/moneta/utils.rb +8 -0
- data/lib/moneta/version.rb +1 -1
- data/script/benchmarks +1 -0
- data/script/generate-specs +139 -92
- data/script/travis-logs +2 -1
- data/spec/helper.rb +2 -2
- data/spec/moneta/adapter_activerecord_exisiting_connection_spec.rb +5 -0
- data/spec/moneta/adapter_activerecord_spec.rb +5 -0
- data/spec/moneta/adapter_cassandra_spec.rb +5 -0
- data/spec/moneta/adapter_cassandra_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_client_spec.rb +5 -0
- data/spec/moneta/adapter_cookie_spec.rb +4 -0
- data/spec/moneta/adapter_couch_spec.rb +12 -11
- data/spec/moneta/adapter_datamapper_spec.rb +5 -0
- data/spec/moneta/adapter_daybreak_spec.rb +5 -0
- data/spec/moneta/adapter_dbm_spec.rb +5 -0
- data/spec/moneta/adapter_file_spec.rb +5 -0
- data/spec/moneta/adapter_fog_spec.rb +5 -0
- data/spec/moneta/adapter_gdbm_spec.rb +5 -0
- data/spec/moneta/adapter_hbase_spec.rb +5 -0
- data/spec/moneta/adapter_kyotocabinet_spec.rb +5 -0
- data/spec/moneta/adapter_leveldb_spec.rb +5 -0
- data/spec/moneta/adapter_lmdb_spec.rb +32 -0
- data/spec/moneta/adapter_lmdb_with_db_spec.rb +32 -0
- data/spec/moneta/adapter_localmemcache_spec.rb +5 -0
- data/spec/moneta/adapter_lruhash_spec.rb +4 -0
- data/spec/moneta/adapter_memcached_dalli_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_dalli_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_native_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_native_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memory_spec.rb +42 -0
- data/spec/moneta/adapter_mongo_spec.rb +12 -0
- data/spec/moneta/adapter_mongo_with_default_expires_spec.rb +12 -0
- data/spec/moneta/adapter_pstore_spec.rb +57 -0
- data/spec/moneta/adapter_redis_spec.rb +5 -0
- data/spec/moneta/adapter_redis_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_restclient_spec.rb +5 -0
- data/spec/moneta/adapter_riak_spec.rb +5 -0
- data/spec/moneta/adapter_sdbm_spec.rb +5 -0
- data/spec/moneta/adapter_sequel_spec.rb +5 -0
- data/spec/moneta/adapter_sqlite_spec.rb +5 -0
- data/spec/moneta/adapter_tdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyocabinet_bdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyocabinet_hdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyotyrant_spec.rb +5 -0
- data/spec/moneta/adapter_yaml_spec.rb +1 -0
- data/spec/moneta/cache_file_memory_spec.rb +5 -0
- data/spec/moneta/cache_memory_null_spec.rb +4 -0
- data/spec/moneta/expires_file_spec.rb +5 -0
- data/spec/moneta/expires_memory_spec.rb +42 -0
- data/spec/moneta/expires_memory_with_default_expires_spec.rb +42 -0
- data/spec/moneta/lock_spec.rb +42 -0
- data/spec/moneta/mutex_spec.rb +1 -0
- data/spec/moneta/null_adapter_spec.rb +16 -0
- data/spec/moneta/optionmerger_spec.rb +1 -0
- data/spec/moneta/pool_spec.rb +5 -0
- data/spec/moneta/proxy_expires_memory_spec.rb +42 -0
- data/spec/moneta/proxy_redis_spec.rb +5 -0
- data/spec/moneta/semaphore_spec.rb +1 -0
- data/spec/moneta/shared_tcp_spec.rb +5 -0
- data/spec/moneta/shared_unix_spec.rb +5 -0
- data/spec/moneta/stack_file_memory_spec.rb +5 -0
- data/spec/moneta/stack_memory_file_spec.rb +5 -0
- data/spec/moneta/{simple_activerecord_spec.rb → standard_activerecord_spec.rb} +59 -2
- data/spec/moneta/{simple_activerecord_with_expires_spec.rb → standard_activerecord_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_cassandra_spec.rb → standard_cassandra_spec.rb} +59 -2
- data/spec/moneta/{simple_client_tcp_spec.rb → standard_client_tcp_spec.rb} +59 -2
- data/spec/moneta/standard_client_unix_spec.rb +254 -0
- data/spec/moneta/{simple_couch_spec.rb → standard_couch_spec.rb} +59 -2
- data/spec/moneta/{simple_couch_with_expires_spec.rb → standard_couch_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_spec.rb → standard_datamapper_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_with_expires_spec.rb → standard_datamapper_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_with_repository_spec.rb → standard_datamapper_with_repository_spec.rb} +59 -2
- data/spec/moneta/{simple_daybreak_spec.rb → standard_daybreak_spec.rb} +59 -2
- data/spec/moneta/{simple_daybreak_with_expires_spec.rb → standard_daybreak_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_dbm_spec.rb → standard_dbm_spec.rb} +59 -2
- data/spec/moneta/{simple_dbm_with_expires_spec.rb → standard_dbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_file_spec.rb → standard_file_spec.rb} +59 -2
- data/spec/moneta/{simple_file_with_expires_spec.rb → standard_file_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_fog_spec.rb → standard_fog_spec.rb} +59 -2
- data/spec/moneta/{simple_fog_with_expires_spec.rb → standard_fog_with_expires_spec.rb} +60 -3
- data/spec/moneta/{simple_gdbm_spec.rb → standard_gdbm_spec.rb} +59 -2
- data/spec/moneta/{simple_gdbm_with_expires_spec.rb → standard_gdbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_hashfile_spec.rb → standard_hashfile_spec.rb} +59 -2
- data/spec/moneta/{simple_hashfile_with_expires_spec.rb → standard_hashfile_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_hbase_spec.rb → standard_hbase_spec.rb} +59 -2
- data/spec/moneta/{simple_hbase_with_expires_spec.rb → standard_hbase_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_kyotocabinet_spec.rb → standard_kyotocabinet_spec.rb} +59 -2
- data/spec/moneta/{simple_kyotocabinet_with_expires_spec.rb → standard_kyotocabinet_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_leveldb_spec.rb → standard_leveldb_spec.rb} +59 -2
- data/spec/moneta/{simple_leveldb_with_expires_spec.rb → standard_leveldb_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_client_unix_spec.rb → standard_lmdb_spec.rb} +59 -5
- data/spec/moneta/standard_lmdb_with_expires_spec.rb +253 -0
- data/spec/moneta/{simple_localmemcache_spec.rb → standard_localmemcache_spec.rb} +59 -2
- data/spec/moneta/{simple_localmemcache_with_expires_spec.rb → standard_localmemcache_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_lruhash_spec.rb → standard_lruhash_spec.rb} +44 -2
- data/spec/moneta/{simple_lruhash_with_expires_spec.rb → standard_lruhash_with_expires_spec.rb} +44 -2
- data/spec/moneta/{simple_memcached_dalli_spec.rb → standard_memcached_dalli_spec.rb} +59 -2
- data/spec/moneta/{simple_memcached_native_spec.rb → standard_memcached_native_spec.rb} +59 -2
- data/spec/moneta/{simple_memcached_spec.rb → standard_memcached_spec.rb} +59 -2
- data/spec/moneta/{simple_memory_spec.rb → standard_memory_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_compress_spec.rb → standard_memory_with_compress_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_expires_spec.rb → standard_memory_with_expires_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_json_key_serializer_spec.rb → standard_memory_with_json_key_serializer_spec.rb} +12 -2
- data/spec/moneta/{simple_memory_with_json_serializer_spec.rb → standard_memory_with_json_serializer_spec.rb} +4 -3
- data/spec/moneta/{simple_memory_with_json_value_serializer_spec.rb → standard_memory_with_json_value_serializer_spec.rb} +12 -3
- data/spec/moneta/{simple_memory_with_prefix_spec.rb → standard_memory_with_prefix_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_snappy_compress_spec.rb → standard_memory_with_snappy_compress_spec.rb} +44 -2
- data/spec/moneta/{simple_mongo_spec.rb → standard_mongo_spec.rb} +59 -2
- data/spec/moneta/{simple_null_spec.rb → standard_null_spec.rb} +29 -2
- data/spec/moneta/{simple_pstore_spec.rb → standard_pstore_spec.rb} +59 -2
- data/spec/moneta/{simple_pstore_with_expires_spec.rb → standard_pstore_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_redis_spec.rb → standard_redis_spec.rb} +59 -2
- data/spec/moneta/{simple_restclient_spec.rb → standard_restclient_spec.rb} +59 -2
- data/spec/moneta/{simple_riak_spec.rb → standard_riak_spec.rb} +59 -2
- data/spec/moneta/{simple_riak_with_expires_spec.rb → standard_riak_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_sdbm_spec.rb → standard_sdbm_spec.rb} +59 -2
- data/spec/moneta/{simple_sdbm_with_expires_spec.rb → standard_sdbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_sequel_spec.rb → standard_sequel_spec.rb} +60 -3
- data/spec/moneta/{simple_sequel_with_expires_spec.rb → standard_sequel_with_expires_spec.rb} +60 -3
- data/spec/moneta/{simple_sqlite_spec.rb → standard_sqlite_spec.rb} +59 -2
- data/spec/moneta/{simple_sqlite_with_expires_spec.rb → standard_sqlite_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tdb_spec.rb → standard_tdb_spec.rb} +59 -2
- data/spec/moneta/{simple_tdb_with_expires_spec.rb → standard_tdb_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyocabinet_spec.rb → standard_tokyocabinet_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyocabinet_with_expires_spec.rb → standard_tokyocabinet_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyotyrant_spec.rb → standard_tokyotyrant_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyotyrant_with_expires_spec.rb → standard_tokyotyrant_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_yaml_spec.rb → standard_yaml_spec.rb} +59 -2
- data/spec/moneta/{simple_yaml_with_expires_spec.rb → standard_yaml_with_expires_spec.rb} +59 -2
- data/spec/moneta/transformer_bencode_spec.rb +1 -0
- data/spec/moneta/transformer_bert_spec.rb +1 -0
- data/spec/moneta/transformer_bson_spec.rb +1 -0
- data/spec/moneta/transformer_bzip2_spec.rb +4 -0
- data/spec/moneta/transformer_json_spec.rb +2 -1
- data/spec/moneta/transformer_key_inspect_spec.rb +10 -0
- data/spec/moneta/transformer_key_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_key_to_s_spec.rb +10 -0
- data/spec/moneta/transformer_key_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_lz4_spec.rb +4 -0
- data/spec/moneta/transformer_lzma_spec.rb +4 -0
- data/spec/moneta/transformer_lzo_spec.rb +4 -0
- data/spec/moneta/transformer_marshal_base64_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city128_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city32_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city64_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_escape_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_hex_spec.rb +194 -0
- data/spec/moneta/transformer_marshal_hmac_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_md5_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_md5_spread_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_prefix_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_qp_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_rmd160_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha1_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha256_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha384_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha512_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_truncate_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_uuencode_spec.rb +42 -0
- data/spec/moneta/transformer_msgpack_spec.rb +1 -0
- data/spec/moneta/transformer_ox_spec.rb +42 -0
- data/spec/moneta/transformer_php_spec.rb +55 -0
- data/spec/moneta/transformer_quicklz_spec.rb +4 -0
- data/spec/moneta/transformer_snappy_spec.rb +4 -0
- data/spec/moneta/transformer_tnet_spec.rb +1 -0
- data/spec/moneta/transformer_value_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_value_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_zlib_spec.rb +4 -0
- data/spec/moneta/weak_create_spec.rb +5 -0
- data/spec/moneta/weak_increment_spec.rb +5 -0
- data/spec/monetaspecs.rb +26531 -16522
- metadata +145 -133
- data/script/kill-travis +0 -16
@@ -1,7 +1,8 @@
|
|
1
|
+
# coding: binary
|
1
2
|
# Generated by generate-specs
|
2
3
|
require 'helper'
|
3
4
|
|
4
|
-
describe_moneta "
|
5
|
+
describe_moneta "standard_fog" do
|
5
6
|
require 'fog'
|
6
7
|
Fog.mock!
|
7
8
|
def features
|
@@ -12,7 +13,7 @@ describe_moneta "simple_fog" do
|
|
12
13
|
Moneta.new(:Fog, :aws_access_key_id => 'fake_access_key_id',
|
13
14
|
:aws_secret_access_key => 'fake_secret_access_key',
|
14
15
|
:provider => 'AWS',
|
15
|
-
:dir => '
|
16
|
+
:dir => 'standard_fog', :logger => {:file => File.join(make_tempdir, 'standard_fog.log')})
|
16
17
|
end
|
17
18
|
|
18
19
|
def load_value(value)
|
@@ -28,6 +29,7 @@ describe_moneta "simple_fog" do
|
|
28
29
|
it_should_behave_like 'not_increment'
|
29
30
|
it_should_behave_like 'null_objectkey_objectvalue'
|
30
31
|
it_should_behave_like 'null_objectkey_stringvalue'
|
32
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
31
33
|
it_should_behave_like 'null_objectkey_hashvalue'
|
32
34
|
it_should_behave_like 'null_objectkey_booleanvalue'
|
33
35
|
it_should_behave_like 'null_objectkey_nilvalue'
|
@@ -35,13 +37,23 @@ describe_moneta "simple_fog" do
|
|
35
37
|
it_should_behave_like 'null_objectkey_numbervalue'
|
36
38
|
it_should_behave_like 'null_stringkey_objectvalue'
|
37
39
|
it_should_behave_like 'null_stringkey_stringvalue'
|
40
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
38
41
|
it_should_behave_like 'null_stringkey_hashvalue'
|
39
42
|
it_should_behave_like 'null_stringkey_booleanvalue'
|
40
43
|
it_should_behave_like 'null_stringkey_nilvalue'
|
41
44
|
it_should_behave_like 'null_stringkey_integervalue'
|
42
45
|
it_should_behave_like 'null_stringkey_numbervalue'
|
46
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
47
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
48
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
49
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
50
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
51
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
52
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
53
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
43
54
|
it_should_behave_like 'null_hashkey_objectvalue'
|
44
55
|
it_should_behave_like 'null_hashkey_stringvalue'
|
56
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
45
57
|
it_should_behave_like 'null_hashkey_hashvalue'
|
46
58
|
it_should_behave_like 'null_hashkey_booleanvalue'
|
47
59
|
it_should_behave_like 'null_hashkey_nilvalue'
|
@@ -49,6 +61,7 @@ describe_moneta "simple_fog" do
|
|
49
61
|
it_should_behave_like 'null_hashkey_numbervalue'
|
50
62
|
it_should_behave_like 'null_booleankey_objectvalue'
|
51
63
|
it_should_behave_like 'null_booleankey_stringvalue'
|
64
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
52
65
|
it_should_behave_like 'null_booleankey_hashvalue'
|
53
66
|
it_should_behave_like 'null_booleankey_booleanvalue'
|
54
67
|
it_should_behave_like 'null_booleankey_nilvalue'
|
@@ -56,6 +69,7 @@ describe_moneta "simple_fog" do
|
|
56
69
|
it_should_behave_like 'null_booleankey_numbervalue'
|
57
70
|
it_should_behave_like 'null_nilkey_objectvalue'
|
58
71
|
it_should_behave_like 'null_nilkey_stringvalue'
|
72
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
59
73
|
it_should_behave_like 'null_nilkey_hashvalue'
|
60
74
|
it_should_behave_like 'null_nilkey_booleanvalue'
|
61
75
|
it_should_behave_like 'null_nilkey_nilvalue'
|
@@ -63,6 +77,7 @@ describe_moneta "simple_fog" do
|
|
63
77
|
it_should_behave_like 'null_nilkey_numbervalue'
|
64
78
|
it_should_behave_like 'null_integerkey_objectvalue'
|
65
79
|
it_should_behave_like 'null_integerkey_stringvalue'
|
80
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
66
81
|
it_should_behave_like 'null_integerkey_hashvalue'
|
67
82
|
it_should_behave_like 'null_integerkey_booleanvalue'
|
68
83
|
it_should_behave_like 'null_integerkey_nilvalue'
|
@@ -70,6 +85,7 @@ describe_moneta "simple_fog" do
|
|
70
85
|
it_should_behave_like 'null_integerkey_numbervalue'
|
71
86
|
it_should_behave_like 'null_numberkey_objectvalue'
|
72
87
|
it_should_behave_like 'null_numberkey_stringvalue'
|
88
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
73
89
|
it_should_behave_like 'null_numberkey_hashvalue'
|
74
90
|
it_should_behave_like 'null_numberkey_booleanvalue'
|
75
91
|
it_should_behave_like 'null_numberkey_nilvalue'
|
@@ -77,6 +93,7 @@ describe_moneta "simple_fog" do
|
|
77
93
|
it_should_behave_like 'null_numberkey_numbervalue'
|
78
94
|
it_should_behave_like 'persist_objectkey_objectvalue'
|
79
95
|
it_should_behave_like 'persist_objectkey_stringvalue'
|
96
|
+
it_should_behave_like 'persist_objectkey_binaryvalue'
|
80
97
|
it_should_behave_like 'persist_objectkey_hashvalue'
|
81
98
|
it_should_behave_like 'persist_objectkey_booleanvalue'
|
82
99
|
it_should_behave_like 'persist_objectkey_nilvalue'
|
@@ -84,13 +101,23 @@ describe_moneta "simple_fog" do
|
|
84
101
|
it_should_behave_like 'persist_objectkey_numbervalue'
|
85
102
|
it_should_behave_like 'persist_stringkey_objectvalue'
|
86
103
|
it_should_behave_like 'persist_stringkey_stringvalue'
|
104
|
+
it_should_behave_like 'persist_stringkey_binaryvalue'
|
87
105
|
it_should_behave_like 'persist_stringkey_hashvalue'
|
88
106
|
it_should_behave_like 'persist_stringkey_booleanvalue'
|
89
107
|
it_should_behave_like 'persist_stringkey_nilvalue'
|
90
108
|
it_should_behave_like 'persist_stringkey_integervalue'
|
91
109
|
it_should_behave_like 'persist_stringkey_numbervalue'
|
110
|
+
it_should_behave_like 'persist_binarykey_objectvalue'
|
111
|
+
it_should_behave_like 'persist_binarykey_stringvalue'
|
112
|
+
it_should_behave_like 'persist_binarykey_binaryvalue'
|
113
|
+
it_should_behave_like 'persist_binarykey_hashvalue'
|
114
|
+
it_should_behave_like 'persist_binarykey_booleanvalue'
|
115
|
+
it_should_behave_like 'persist_binarykey_nilvalue'
|
116
|
+
it_should_behave_like 'persist_binarykey_integervalue'
|
117
|
+
it_should_behave_like 'persist_binarykey_numbervalue'
|
92
118
|
it_should_behave_like 'persist_hashkey_objectvalue'
|
93
119
|
it_should_behave_like 'persist_hashkey_stringvalue'
|
120
|
+
it_should_behave_like 'persist_hashkey_binaryvalue'
|
94
121
|
it_should_behave_like 'persist_hashkey_hashvalue'
|
95
122
|
it_should_behave_like 'persist_hashkey_booleanvalue'
|
96
123
|
it_should_behave_like 'persist_hashkey_nilvalue'
|
@@ -98,6 +125,7 @@ describe_moneta "simple_fog" do
|
|
98
125
|
it_should_behave_like 'persist_hashkey_numbervalue'
|
99
126
|
it_should_behave_like 'persist_booleankey_objectvalue'
|
100
127
|
it_should_behave_like 'persist_booleankey_stringvalue'
|
128
|
+
it_should_behave_like 'persist_booleankey_binaryvalue'
|
101
129
|
it_should_behave_like 'persist_booleankey_hashvalue'
|
102
130
|
it_should_behave_like 'persist_booleankey_booleanvalue'
|
103
131
|
it_should_behave_like 'persist_booleankey_nilvalue'
|
@@ -105,6 +133,7 @@ describe_moneta "simple_fog" do
|
|
105
133
|
it_should_behave_like 'persist_booleankey_numbervalue'
|
106
134
|
it_should_behave_like 'persist_nilkey_objectvalue'
|
107
135
|
it_should_behave_like 'persist_nilkey_stringvalue'
|
136
|
+
it_should_behave_like 'persist_nilkey_binaryvalue'
|
108
137
|
it_should_behave_like 'persist_nilkey_hashvalue'
|
109
138
|
it_should_behave_like 'persist_nilkey_booleanvalue'
|
110
139
|
it_should_behave_like 'persist_nilkey_nilvalue'
|
@@ -112,6 +141,7 @@ describe_moneta "simple_fog" do
|
|
112
141
|
it_should_behave_like 'persist_nilkey_numbervalue'
|
113
142
|
it_should_behave_like 'persist_integerkey_objectvalue'
|
114
143
|
it_should_behave_like 'persist_integerkey_stringvalue'
|
144
|
+
it_should_behave_like 'persist_integerkey_binaryvalue'
|
115
145
|
it_should_behave_like 'persist_integerkey_hashvalue'
|
116
146
|
it_should_behave_like 'persist_integerkey_booleanvalue'
|
117
147
|
it_should_behave_like 'persist_integerkey_nilvalue'
|
@@ -119,6 +149,7 @@ describe_moneta "simple_fog" do
|
|
119
149
|
it_should_behave_like 'persist_integerkey_numbervalue'
|
120
150
|
it_should_behave_like 'persist_numberkey_objectvalue'
|
121
151
|
it_should_behave_like 'persist_numberkey_stringvalue'
|
152
|
+
it_should_behave_like 'persist_numberkey_binaryvalue'
|
122
153
|
it_should_behave_like 'persist_numberkey_hashvalue'
|
123
154
|
it_should_behave_like 'persist_numberkey_booleanvalue'
|
124
155
|
it_should_behave_like 'persist_numberkey_nilvalue'
|
@@ -126,27 +157,39 @@ describe_moneta "simple_fog" do
|
|
126
157
|
it_should_behave_like 'persist_numberkey_numbervalue'
|
127
158
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
128
159
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
160
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
129
161
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
130
162
|
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
131
163
|
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
164
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
132
165
|
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
166
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
167
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
168
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
169
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
133
170
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
134
171
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
172
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
135
173
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
136
174
|
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
137
175
|
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
176
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
138
177
|
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
139
178
|
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
140
179
|
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
180
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
141
181
|
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
142
182
|
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
143
183
|
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
184
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
144
185
|
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
145
186
|
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
146
187
|
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
188
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
147
189
|
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
148
190
|
it_should_behave_like 'store_objectkey_objectvalue'
|
149
191
|
it_should_behave_like 'store_objectkey_stringvalue'
|
192
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
150
193
|
it_should_behave_like 'store_objectkey_hashvalue'
|
151
194
|
it_should_behave_like 'store_objectkey_booleanvalue'
|
152
195
|
it_should_behave_like 'store_objectkey_nilvalue'
|
@@ -154,13 +197,23 @@ describe_moneta "simple_fog" do
|
|
154
197
|
it_should_behave_like 'store_objectkey_numbervalue'
|
155
198
|
it_should_behave_like 'store_stringkey_objectvalue'
|
156
199
|
it_should_behave_like 'store_stringkey_stringvalue'
|
200
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
157
201
|
it_should_behave_like 'store_stringkey_hashvalue'
|
158
202
|
it_should_behave_like 'store_stringkey_booleanvalue'
|
159
203
|
it_should_behave_like 'store_stringkey_nilvalue'
|
160
204
|
it_should_behave_like 'store_stringkey_integervalue'
|
161
205
|
it_should_behave_like 'store_stringkey_numbervalue'
|
206
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
207
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
208
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
209
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
210
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
211
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
212
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
213
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
162
214
|
it_should_behave_like 'store_hashkey_objectvalue'
|
163
215
|
it_should_behave_like 'store_hashkey_stringvalue'
|
216
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
164
217
|
it_should_behave_like 'store_hashkey_hashvalue'
|
165
218
|
it_should_behave_like 'store_hashkey_booleanvalue'
|
166
219
|
it_should_behave_like 'store_hashkey_nilvalue'
|
@@ -168,6 +221,7 @@ describe_moneta "simple_fog" do
|
|
168
221
|
it_should_behave_like 'store_hashkey_numbervalue'
|
169
222
|
it_should_behave_like 'store_booleankey_objectvalue'
|
170
223
|
it_should_behave_like 'store_booleankey_stringvalue'
|
224
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
171
225
|
it_should_behave_like 'store_booleankey_hashvalue'
|
172
226
|
it_should_behave_like 'store_booleankey_booleanvalue'
|
173
227
|
it_should_behave_like 'store_booleankey_nilvalue'
|
@@ -175,6 +229,7 @@ describe_moneta "simple_fog" do
|
|
175
229
|
it_should_behave_like 'store_booleankey_numbervalue'
|
176
230
|
it_should_behave_like 'store_nilkey_objectvalue'
|
177
231
|
it_should_behave_like 'store_nilkey_stringvalue'
|
232
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
178
233
|
it_should_behave_like 'store_nilkey_hashvalue'
|
179
234
|
it_should_behave_like 'store_nilkey_booleanvalue'
|
180
235
|
it_should_behave_like 'store_nilkey_nilvalue'
|
@@ -182,6 +237,7 @@ describe_moneta "simple_fog" do
|
|
182
237
|
it_should_behave_like 'store_nilkey_numbervalue'
|
183
238
|
it_should_behave_like 'store_integerkey_objectvalue'
|
184
239
|
it_should_behave_like 'store_integerkey_stringvalue'
|
240
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
185
241
|
it_should_behave_like 'store_integerkey_hashvalue'
|
186
242
|
it_should_behave_like 'store_integerkey_booleanvalue'
|
187
243
|
it_should_behave_like 'store_integerkey_nilvalue'
|
@@ -189,6 +245,7 @@ describe_moneta "simple_fog" do
|
|
189
245
|
it_should_behave_like 'store_integerkey_numbervalue'
|
190
246
|
it_should_behave_like 'store_numberkey_objectvalue'
|
191
247
|
it_should_behave_like 'store_numberkey_stringvalue'
|
248
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
192
249
|
it_should_behave_like 'store_numberkey_hashvalue'
|
193
250
|
it_should_behave_like 'store_numberkey_booleanvalue'
|
194
251
|
it_should_behave_like 'store_numberkey_nilvalue'
|
@@ -1,7 +1,8 @@
|
|
1
|
+
# coding: binary
|
1
2
|
# Generated by generate-specs
|
2
3
|
require 'helper'
|
3
4
|
|
4
|
-
describe_moneta "
|
5
|
+
describe_moneta "standard_fog_with_expires" do
|
5
6
|
require 'fog'
|
6
7
|
Fog.mock!
|
7
8
|
def features
|
@@ -12,8 +13,8 @@ describe_moneta "simple_fog_with_expires" do
|
|
12
13
|
Moneta.new(:Fog, :aws_access_key_id => 'fake_access_key_id',
|
13
14
|
:aws_secret_access_key => 'fake_secret_access_key',
|
14
15
|
:provider => 'AWS',
|
15
|
-
:dir => '
|
16
|
-
:expires => true, :logger => {:file => File.join(make_tempdir, '
|
16
|
+
:dir => 'standard_fog_with_expires',
|
17
|
+
:expires => true, :logger => {:file => File.join(make_tempdir, 'standard_fog_with_expires.log')})
|
17
18
|
end
|
18
19
|
|
19
20
|
def load_value(value)
|
@@ -30,6 +31,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
30
31
|
it_should_behave_like 'not_increment'
|
31
32
|
it_should_behave_like 'null_objectkey_objectvalue'
|
32
33
|
it_should_behave_like 'null_objectkey_stringvalue'
|
34
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
33
35
|
it_should_behave_like 'null_objectkey_hashvalue'
|
34
36
|
it_should_behave_like 'null_objectkey_booleanvalue'
|
35
37
|
it_should_behave_like 'null_objectkey_nilvalue'
|
@@ -37,13 +39,23 @@ describe_moneta "simple_fog_with_expires" do
|
|
37
39
|
it_should_behave_like 'null_objectkey_numbervalue'
|
38
40
|
it_should_behave_like 'null_stringkey_objectvalue'
|
39
41
|
it_should_behave_like 'null_stringkey_stringvalue'
|
42
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
40
43
|
it_should_behave_like 'null_stringkey_hashvalue'
|
41
44
|
it_should_behave_like 'null_stringkey_booleanvalue'
|
42
45
|
it_should_behave_like 'null_stringkey_nilvalue'
|
43
46
|
it_should_behave_like 'null_stringkey_integervalue'
|
44
47
|
it_should_behave_like 'null_stringkey_numbervalue'
|
48
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
49
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
50
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
51
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
52
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
53
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
54
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
55
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
45
56
|
it_should_behave_like 'null_hashkey_objectvalue'
|
46
57
|
it_should_behave_like 'null_hashkey_stringvalue'
|
58
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
47
59
|
it_should_behave_like 'null_hashkey_hashvalue'
|
48
60
|
it_should_behave_like 'null_hashkey_booleanvalue'
|
49
61
|
it_should_behave_like 'null_hashkey_nilvalue'
|
@@ -51,6 +63,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
51
63
|
it_should_behave_like 'null_hashkey_numbervalue'
|
52
64
|
it_should_behave_like 'null_booleankey_objectvalue'
|
53
65
|
it_should_behave_like 'null_booleankey_stringvalue'
|
66
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
54
67
|
it_should_behave_like 'null_booleankey_hashvalue'
|
55
68
|
it_should_behave_like 'null_booleankey_booleanvalue'
|
56
69
|
it_should_behave_like 'null_booleankey_nilvalue'
|
@@ -58,6 +71,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
58
71
|
it_should_behave_like 'null_booleankey_numbervalue'
|
59
72
|
it_should_behave_like 'null_nilkey_objectvalue'
|
60
73
|
it_should_behave_like 'null_nilkey_stringvalue'
|
74
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
61
75
|
it_should_behave_like 'null_nilkey_hashvalue'
|
62
76
|
it_should_behave_like 'null_nilkey_booleanvalue'
|
63
77
|
it_should_behave_like 'null_nilkey_nilvalue'
|
@@ -65,6 +79,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
65
79
|
it_should_behave_like 'null_nilkey_numbervalue'
|
66
80
|
it_should_behave_like 'null_integerkey_objectvalue'
|
67
81
|
it_should_behave_like 'null_integerkey_stringvalue'
|
82
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
68
83
|
it_should_behave_like 'null_integerkey_hashvalue'
|
69
84
|
it_should_behave_like 'null_integerkey_booleanvalue'
|
70
85
|
it_should_behave_like 'null_integerkey_nilvalue'
|
@@ -72,6 +87,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
72
87
|
it_should_behave_like 'null_integerkey_numbervalue'
|
73
88
|
it_should_behave_like 'null_numberkey_objectvalue'
|
74
89
|
it_should_behave_like 'null_numberkey_stringvalue'
|
90
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
75
91
|
it_should_behave_like 'null_numberkey_hashvalue'
|
76
92
|
it_should_behave_like 'null_numberkey_booleanvalue'
|
77
93
|
it_should_behave_like 'null_numberkey_nilvalue'
|
@@ -79,6 +95,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
79
95
|
it_should_behave_like 'null_numberkey_numbervalue'
|
80
96
|
it_should_behave_like 'persist_objectkey_objectvalue'
|
81
97
|
it_should_behave_like 'persist_objectkey_stringvalue'
|
98
|
+
it_should_behave_like 'persist_objectkey_binaryvalue'
|
82
99
|
it_should_behave_like 'persist_objectkey_hashvalue'
|
83
100
|
it_should_behave_like 'persist_objectkey_booleanvalue'
|
84
101
|
it_should_behave_like 'persist_objectkey_nilvalue'
|
@@ -86,13 +103,23 @@ describe_moneta "simple_fog_with_expires" do
|
|
86
103
|
it_should_behave_like 'persist_objectkey_numbervalue'
|
87
104
|
it_should_behave_like 'persist_stringkey_objectvalue'
|
88
105
|
it_should_behave_like 'persist_stringkey_stringvalue'
|
106
|
+
it_should_behave_like 'persist_stringkey_binaryvalue'
|
89
107
|
it_should_behave_like 'persist_stringkey_hashvalue'
|
90
108
|
it_should_behave_like 'persist_stringkey_booleanvalue'
|
91
109
|
it_should_behave_like 'persist_stringkey_nilvalue'
|
92
110
|
it_should_behave_like 'persist_stringkey_integervalue'
|
93
111
|
it_should_behave_like 'persist_stringkey_numbervalue'
|
112
|
+
it_should_behave_like 'persist_binarykey_objectvalue'
|
113
|
+
it_should_behave_like 'persist_binarykey_stringvalue'
|
114
|
+
it_should_behave_like 'persist_binarykey_binaryvalue'
|
115
|
+
it_should_behave_like 'persist_binarykey_hashvalue'
|
116
|
+
it_should_behave_like 'persist_binarykey_booleanvalue'
|
117
|
+
it_should_behave_like 'persist_binarykey_nilvalue'
|
118
|
+
it_should_behave_like 'persist_binarykey_integervalue'
|
119
|
+
it_should_behave_like 'persist_binarykey_numbervalue'
|
94
120
|
it_should_behave_like 'persist_hashkey_objectvalue'
|
95
121
|
it_should_behave_like 'persist_hashkey_stringvalue'
|
122
|
+
it_should_behave_like 'persist_hashkey_binaryvalue'
|
96
123
|
it_should_behave_like 'persist_hashkey_hashvalue'
|
97
124
|
it_should_behave_like 'persist_hashkey_booleanvalue'
|
98
125
|
it_should_behave_like 'persist_hashkey_nilvalue'
|
@@ -100,6 +127,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
100
127
|
it_should_behave_like 'persist_hashkey_numbervalue'
|
101
128
|
it_should_behave_like 'persist_booleankey_objectvalue'
|
102
129
|
it_should_behave_like 'persist_booleankey_stringvalue'
|
130
|
+
it_should_behave_like 'persist_booleankey_binaryvalue'
|
103
131
|
it_should_behave_like 'persist_booleankey_hashvalue'
|
104
132
|
it_should_behave_like 'persist_booleankey_booleanvalue'
|
105
133
|
it_should_behave_like 'persist_booleankey_nilvalue'
|
@@ -107,6 +135,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
107
135
|
it_should_behave_like 'persist_booleankey_numbervalue'
|
108
136
|
it_should_behave_like 'persist_nilkey_objectvalue'
|
109
137
|
it_should_behave_like 'persist_nilkey_stringvalue'
|
138
|
+
it_should_behave_like 'persist_nilkey_binaryvalue'
|
110
139
|
it_should_behave_like 'persist_nilkey_hashvalue'
|
111
140
|
it_should_behave_like 'persist_nilkey_booleanvalue'
|
112
141
|
it_should_behave_like 'persist_nilkey_nilvalue'
|
@@ -114,6 +143,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
114
143
|
it_should_behave_like 'persist_nilkey_numbervalue'
|
115
144
|
it_should_behave_like 'persist_integerkey_objectvalue'
|
116
145
|
it_should_behave_like 'persist_integerkey_stringvalue'
|
146
|
+
it_should_behave_like 'persist_integerkey_binaryvalue'
|
117
147
|
it_should_behave_like 'persist_integerkey_hashvalue'
|
118
148
|
it_should_behave_like 'persist_integerkey_booleanvalue'
|
119
149
|
it_should_behave_like 'persist_integerkey_nilvalue'
|
@@ -121,6 +151,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
121
151
|
it_should_behave_like 'persist_integerkey_numbervalue'
|
122
152
|
it_should_behave_like 'persist_numberkey_objectvalue'
|
123
153
|
it_should_behave_like 'persist_numberkey_stringvalue'
|
154
|
+
it_should_behave_like 'persist_numberkey_binaryvalue'
|
124
155
|
it_should_behave_like 'persist_numberkey_hashvalue'
|
125
156
|
it_should_behave_like 'persist_numberkey_booleanvalue'
|
126
157
|
it_should_behave_like 'persist_numberkey_nilvalue'
|
@@ -128,27 +159,39 @@ describe_moneta "simple_fog_with_expires" do
|
|
128
159
|
it_should_behave_like 'persist_numberkey_numbervalue'
|
129
160
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
130
161
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
162
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
131
163
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
132
164
|
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
133
165
|
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
166
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
134
167
|
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
168
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
169
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
170
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
171
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
135
172
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
136
173
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
174
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
137
175
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
138
176
|
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
139
177
|
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
178
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
140
179
|
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
141
180
|
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
142
181
|
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
182
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
143
183
|
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
144
184
|
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
145
185
|
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
186
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
146
187
|
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
147
188
|
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
148
189
|
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
190
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
149
191
|
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
150
192
|
it_should_behave_like 'store_objectkey_objectvalue'
|
151
193
|
it_should_behave_like 'store_objectkey_stringvalue'
|
194
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
152
195
|
it_should_behave_like 'store_objectkey_hashvalue'
|
153
196
|
it_should_behave_like 'store_objectkey_booleanvalue'
|
154
197
|
it_should_behave_like 'store_objectkey_nilvalue'
|
@@ -156,13 +199,23 @@ describe_moneta "simple_fog_with_expires" do
|
|
156
199
|
it_should_behave_like 'store_objectkey_numbervalue'
|
157
200
|
it_should_behave_like 'store_stringkey_objectvalue'
|
158
201
|
it_should_behave_like 'store_stringkey_stringvalue'
|
202
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
159
203
|
it_should_behave_like 'store_stringkey_hashvalue'
|
160
204
|
it_should_behave_like 'store_stringkey_booleanvalue'
|
161
205
|
it_should_behave_like 'store_stringkey_nilvalue'
|
162
206
|
it_should_behave_like 'store_stringkey_integervalue'
|
163
207
|
it_should_behave_like 'store_stringkey_numbervalue'
|
208
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
209
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
210
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
211
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
212
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
213
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
214
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
215
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
164
216
|
it_should_behave_like 'store_hashkey_objectvalue'
|
165
217
|
it_should_behave_like 'store_hashkey_stringvalue'
|
218
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
166
219
|
it_should_behave_like 'store_hashkey_hashvalue'
|
167
220
|
it_should_behave_like 'store_hashkey_booleanvalue'
|
168
221
|
it_should_behave_like 'store_hashkey_nilvalue'
|
@@ -170,6 +223,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
170
223
|
it_should_behave_like 'store_hashkey_numbervalue'
|
171
224
|
it_should_behave_like 'store_booleankey_objectvalue'
|
172
225
|
it_should_behave_like 'store_booleankey_stringvalue'
|
226
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
173
227
|
it_should_behave_like 'store_booleankey_hashvalue'
|
174
228
|
it_should_behave_like 'store_booleankey_booleanvalue'
|
175
229
|
it_should_behave_like 'store_booleankey_nilvalue'
|
@@ -177,6 +231,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
177
231
|
it_should_behave_like 'store_booleankey_numbervalue'
|
178
232
|
it_should_behave_like 'store_nilkey_objectvalue'
|
179
233
|
it_should_behave_like 'store_nilkey_stringvalue'
|
234
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
180
235
|
it_should_behave_like 'store_nilkey_hashvalue'
|
181
236
|
it_should_behave_like 'store_nilkey_booleanvalue'
|
182
237
|
it_should_behave_like 'store_nilkey_nilvalue'
|
@@ -184,6 +239,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
184
239
|
it_should_behave_like 'store_nilkey_numbervalue'
|
185
240
|
it_should_behave_like 'store_integerkey_objectvalue'
|
186
241
|
it_should_behave_like 'store_integerkey_stringvalue'
|
242
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
187
243
|
it_should_behave_like 'store_integerkey_hashvalue'
|
188
244
|
it_should_behave_like 'store_integerkey_booleanvalue'
|
189
245
|
it_should_behave_like 'store_integerkey_nilvalue'
|
@@ -191,6 +247,7 @@ describe_moneta "simple_fog_with_expires" do
|
|
191
247
|
it_should_behave_like 'store_integerkey_numbervalue'
|
192
248
|
it_should_behave_like 'store_numberkey_objectvalue'
|
193
249
|
it_should_behave_like 'store_numberkey_stringvalue'
|
250
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
194
251
|
it_should_behave_like 'store_numberkey_hashvalue'
|
195
252
|
it_should_behave_like 'store_numberkey_booleanvalue'
|
196
253
|
it_should_behave_like 'store_numberkey_nilvalue'
|