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,3 +1,4 @@
|
|
1
|
+
# coding: binary
|
1
2
|
# Generated by generate-specs
|
2
3
|
require 'helper'
|
3
4
|
|
@@ -26,6 +27,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
26
27
|
it_should_behave_like 'not_persist'
|
27
28
|
it_should_behave_like 'null_objectkey_objectvalue'
|
28
29
|
it_should_behave_like 'null_objectkey_stringvalue'
|
30
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
29
31
|
it_should_behave_like 'null_objectkey_hashvalue'
|
30
32
|
it_should_behave_like 'null_objectkey_booleanvalue'
|
31
33
|
it_should_behave_like 'null_objectkey_nilvalue'
|
@@ -33,13 +35,23 @@ describe_moneta "transformer_marshal_escape" do
|
|
33
35
|
it_should_behave_like 'null_objectkey_numbervalue'
|
34
36
|
it_should_behave_like 'null_stringkey_objectvalue'
|
35
37
|
it_should_behave_like 'null_stringkey_stringvalue'
|
38
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
36
39
|
it_should_behave_like 'null_stringkey_hashvalue'
|
37
40
|
it_should_behave_like 'null_stringkey_booleanvalue'
|
38
41
|
it_should_behave_like 'null_stringkey_nilvalue'
|
39
42
|
it_should_behave_like 'null_stringkey_integervalue'
|
40
43
|
it_should_behave_like 'null_stringkey_numbervalue'
|
44
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
45
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
46
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
47
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
48
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
49
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
50
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
51
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
41
52
|
it_should_behave_like 'null_hashkey_objectvalue'
|
42
53
|
it_should_behave_like 'null_hashkey_stringvalue'
|
54
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
43
55
|
it_should_behave_like 'null_hashkey_hashvalue'
|
44
56
|
it_should_behave_like 'null_hashkey_booleanvalue'
|
45
57
|
it_should_behave_like 'null_hashkey_nilvalue'
|
@@ -47,6 +59,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
47
59
|
it_should_behave_like 'null_hashkey_numbervalue'
|
48
60
|
it_should_behave_like 'null_booleankey_objectvalue'
|
49
61
|
it_should_behave_like 'null_booleankey_stringvalue'
|
62
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
50
63
|
it_should_behave_like 'null_booleankey_hashvalue'
|
51
64
|
it_should_behave_like 'null_booleankey_booleanvalue'
|
52
65
|
it_should_behave_like 'null_booleankey_nilvalue'
|
@@ -54,6 +67,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
54
67
|
it_should_behave_like 'null_booleankey_numbervalue'
|
55
68
|
it_should_behave_like 'null_nilkey_objectvalue'
|
56
69
|
it_should_behave_like 'null_nilkey_stringvalue'
|
70
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
57
71
|
it_should_behave_like 'null_nilkey_hashvalue'
|
58
72
|
it_should_behave_like 'null_nilkey_booleanvalue'
|
59
73
|
it_should_behave_like 'null_nilkey_nilvalue'
|
@@ -61,6 +75,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
61
75
|
it_should_behave_like 'null_nilkey_numbervalue'
|
62
76
|
it_should_behave_like 'null_integerkey_objectvalue'
|
63
77
|
it_should_behave_like 'null_integerkey_stringvalue'
|
78
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
64
79
|
it_should_behave_like 'null_integerkey_hashvalue'
|
65
80
|
it_should_behave_like 'null_integerkey_booleanvalue'
|
66
81
|
it_should_behave_like 'null_integerkey_nilvalue'
|
@@ -68,6 +83,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
68
83
|
it_should_behave_like 'null_integerkey_numbervalue'
|
69
84
|
it_should_behave_like 'null_numberkey_objectvalue'
|
70
85
|
it_should_behave_like 'null_numberkey_stringvalue'
|
86
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
71
87
|
it_should_behave_like 'null_numberkey_hashvalue'
|
72
88
|
it_should_behave_like 'null_numberkey_booleanvalue'
|
73
89
|
it_should_behave_like 'null_numberkey_nilvalue'
|
@@ -75,27 +91,39 @@ describe_moneta "transformer_marshal_escape" do
|
|
75
91
|
it_should_behave_like 'null_numberkey_numbervalue'
|
76
92
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
77
93
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
94
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
78
95
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
79
96
|
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
80
97
|
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
98
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
81
99
|
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
100
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
101
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
102
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
103
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
82
104
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
83
105
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
106
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
84
107
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
85
108
|
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
86
109
|
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
110
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
87
111
|
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
88
112
|
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
89
113
|
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
114
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
90
115
|
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
91
116
|
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
92
117
|
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
118
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
93
119
|
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
94
120
|
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
95
121
|
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
122
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
96
123
|
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
97
124
|
it_should_behave_like 'store_objectkey_objectvalue'
|
98
125
|
it_should_behave_like 'store_objectkey_stringvalue'
|
126
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
99
127
|
it_should_behave_like 'store_objectkey_hashvalue'
|
100
128
|
it_should_behave_like 'store_objectkey_booleanvalue'
|
101
129
|
it_should_behave_like 'store_objectkey_nilvalue'
|
@@ -103,13 +131,23 @@ describe_moneta "transformer_marshal_escape" do
|
|
103
131
|
it_should_behave_like 'store_objectkey_numbervalue'
|
104
132
|
it_should_behave_like 'store_stringkey_objectvalue'
|
105
133
|
it_should_behave_like 'store_stringkey_stringvalue'
|
134
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
106
135
|
it_should_behave_like 'store_stringkey_hashvalue'
|
107
136
|
it_should_behave_like 'store_stringkey_booleanvalue'
|
108
137
|
it_should_behave_like 'store_stringkey_nilvalue'
|
109
138
|
it_should_behave_like 'store_stringkey_integervalue'
|
110
139
|
it_should_behave_like 'store_stringkey_numbervalue'
|
140
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
141
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
142
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
143
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
144
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
145
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
146
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
147
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
111
148
|
it_should_behave_like 'store_hashkey_objectvalue'
|
112
149
|
it_should_behave_like 'store_hashkey_stringvalue'
|
150
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
113
151
|
it_should_behave_like 'store_hashkey_hashvalue'
|
114
152
|
it_should_behave_like 'store_hashkey_booleanvalue'
|
115
153
|
it_should_behave_like 'store_hashkey_nilvalue'
|
@@ -117,6 +155,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
117
155
|
it_should_behave_like 'store_hashkey_numbervalue'
|
118
156
|
it_should_behave_like 'store_booleankey_objectvalue'
|
119
157
|
it_should_behave_like 'store_booleankey_stringvalue'
|
158
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
120
159
|
it_should_behave_like 'store_booleankey_hashvalue'
|
121
160
|
it_should_behave_like 'store_booleankey_booleanvalue'
|
122
161
|
it_should_behave_like 'store_booleankey_nilvalue'
|
@@ -124,6 +163,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
124
163
|
it_should_behave_like 'store_booleankey_numbervalue'
|
125
164
|
it_should_behave_like 'store_nilkey_objectvalue'
|
126
165
|
it_should_behave_like 'store_nilkey_stringvalue'
|
166
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
127
167
|
it_should_behave_like 'store_nilkey_hashvalue'
|
128
168
|
it_should_behave_like 'store_nilkey_booleanvalue'
|
129
169
|
it_should_behave_like 'store_nilkey_nilvalue'
|
@@ -131,6 +171,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
131
171
|
it_should_behave_like 'store_nilkey_numbervalue'
|
132
172
|
it_should_behave_like 'store_integerkey_objectvalue'
|
133
173
|
it_should_behave_like 'store_integerkey_stringvalue'
|
174
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
134
175
|
it_should_behave_like 'store_integerkey_hashvalue'
|
135
176
|
it_should_behave_like 'store_integerkey_booleanvalue'
|
136
177
|
it_should_behave_like 'store_integerkey_nilvalue'
|
@@ -138,6 +179,7 @@ describe_moneta "transformer_marshal_escape" do
|
|
138
179
|
it_should_behave_like 'store_integerkey_numbervalue'
|
139
180
|
it_should_behave_like 'store_numberkey_objectvalue'
|
140
181
|
it_should_behave_like 'store_numberkey_stringvalue'
|
182
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
141
183
|
it_should_behave_like 'store_numberkey_hashvalue'
|
142
184
|
it_should_behave_like 'store_numberkey_booleanvalue'
|
143
185
|
it_should_behave_like 'store_numberkey_nilvalue'
|
@@ -0,0 +1,194 @@
|
|
1
|
+
# coding: binary
|
2
|
+
# Generated by generate-specs
|
3
|
+
require 'helper'
|
4
|
+
|
5
|
+
describe_moneta "transformer_marshal_hex" do
|
6
|
+
def features
|
7
|
+
[:create, :increment]
|
8
|
+
end
|
9
|
+
|
10
|
+
def new_store
|
11
|
+
Moneta.build do
|
12
|
+
use :Transformer, :key => [:marshal, :hex], :value => [:marshal, :hex]
|
13
|
+
adapter :Memory
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def load_value(value)
|
18
|
+
::Marshal.load([value].pack('H*'))
|
19
|
+
end
|
20
|
+
|
21
|
+
include_context 'setup_store'
|
22
|
+
it_should_behave_like 'create'
|
23
|
+
it_should_behave_like 'features'
|
24
|
+
it_should_behave_like 'increment'
|
25
|
+
it_should_behave_like 'marshallable_key'
|
26
|
+
it_should_behave_like 'marshallable_value'
|
27
|
+
it_should_behave_like 'not_persist'
|
28
|
+
it_should_behave_like 'null_objectkey_objectvalue'
|
29
|
+
it_should_behave_like 'null_objectkey_stringvalue'
|
30
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
31
|
+
it_should_behave_like 'null_objectkey_hashvalue'
|
32
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
33
|
+
it_should_behave_like 'null_objectkey_nilvalue'
|
34
|
+
it_should_behave_like 'null_objectkey_integervalue'
|
35
|
+
it_should_behave_like 'null_objectkey_numbervalue'
|
36
|
+
it_should_behave_like 'null_stringkey_objectvalue'
|
37
|
+
it_should_behave_like 'null_stringkey_stringvalue'
|
38
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
39
|
+
it_should_behave_like 'null_stringkey_hashvalue'
|
40
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
41
|
+
it_should_behave_like 'null_stringkey_nilvalue'
|
42
|
+
it_should_behave_like 'null_stringkey_integervalue'
|
43
|
+
it_should_behave_like 'null_stringkey_numbervalue'
|
44
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
45
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
46
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
47
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
48
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
49
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
50
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
51
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
52
|
+
it_should_behave_like 'null_hashkey_objectvalue'
|
53
|
+
it_should_behave_like 'null_hashkey_stringvalue'
|
54
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
55
|
+
it_should_behave_like 'null_hashkey_hashvalue'
|
56
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
57
|
+
it_should_behave_like 'null_hashkey_nilvalue'
|
58
|
+
it_should_behave_like 'null_hashkey_integervalue'
|
59
|
+
it_should_behave_like 'null_hashkey_numbervalue'
|
60
|
+
it_should_behave_like 'null_booleankey_objectvalue'
|
61
|
+
it_should_behave_like 'null_booleankey_stringvalue'
|
62
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
63
|
+
it_should_behave_like 'null_booleankey_hashvalue'
|
64
|
+
it_should_behave_like 'null_booleankey_booleanvalue'
|
65
|
+
it_should_behave_like 'null_booleankey_nilvalue'
|
66
|
+
it_should_behave_like 'null_booleankey_integervalue'
|
67
|
+
it_should_behave_like 'null_booleankey_numbervalue'
|
68
|
+
it_should_behave_like 'null_nilkey_objectvalue'
|
69
|
+
it_should_behave_like 'null_nilkey_stringvalue'
|
70
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
71
|
+
it_should_behave_like 'null_nilkey_hashvalue'
|
72
|
+
it_should_behave_like 'null_nilkey_booleanvalue'
|
73
|
+
it_should_behave_like 'null_nilkey_nilvalue'
|
74
|
+
it_should_behave_like 'null_nilkey_integervalue'
|
75
|
+
it_should_behave_like 'null_nilkey_numbervalue'
|
76
|
+
it_should_behave_like 'null_integerkey_objectvalue'
|
77
|
+
it_should_behave_like 'null_integerkey_stringvalue'
|
78
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
79
|
+
it_should_behave_like 'null_integerkey_hashvalue'
|
80
|
+
it_should_behave_like 'null_integerkey_booleanvalue'
|
81
|
+
it_should_behave_like 'null_integerkey_nilvalue'
|
82
|
+
it_should_behave_like 'null_integerkey_integervalue'
|
83
|
+
it_should_behave_like 'null_integerkey_numbervalue'
|
84
|
+
it_should_behave_like 'null_numberkey_objectvalue'
|
85
|
+
it_should_behave_like 'null_numberkey_stringvalue'
|
86
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
87
|
+
it_should_behave_like 'null_numberkey_hashvalue'
|
88
|
+
it_should_behave_like 'null_numberkey_booleanvalue'
|
89
|
+
it_should_behave_like 'null_numberkey_nilvalue'
|
90
|
+
it_should_behave_like 'null_numberkey_integervalue'
|
91
|
+
it_should_behave_like 'null_numberkey_numbervalue'
|
92
|
+
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
93
|
+
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
94
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
95
|
+
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
96
|
+
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
97
|
+
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
98
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
99
|
+
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
100
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
101
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
102
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
103
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
104
|
+
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
105
|
+
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
106
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
107
|
+
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
108
|
+
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
109
|
+
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
110
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
111
|
+
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
112
|
+
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
113
|
+
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
114
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
115
|
+
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
116
|
+
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
117
|
+
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
118
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
119
|
+
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
120
|
+
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
121
|
+
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
122
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
123
|
+
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
124
|
+
it_should_behave_like 'store_objectkey_objectvalue'
|
125
|
+
it_should_behave_like 'store_objectkey_stringvalue'
|
126
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
127
|
+
it_should_behave_like 'store_objectkey_hashvalue'
|
128
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
129
|
+
it_should_behave_like 'store_objectkey_nilvalue'
|
130
|
+
it_should_behave_like 'store_objectkey_integervalue'
|
131
|
+
it_should_behave_like 'store_objectkey_numbervalue'
|
132
|
+
it_should_behave_like 'store_stringkey_objectvalue'
|
133
|
+
it_should_behave_like 'store_stringkey_stringvalue'
|
134
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
135
|
+
it_should_behave_like 'store_stringkey_hashvalue'
|
136
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
137
|
+
it_should_behave_like 'store_stringkey_nilvalue'
|
138
|
+
it_should_behave_like 'store_stringkey_integervalue'
|
139
|
+
it_should_behave_like 'store_stringkey_numbervalue'
|
140
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
141
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
142
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
143
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
144
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
145
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
146
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
147
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
148
|
+
it_should_behave_like 'store_hashkey_objectvalue'
|
149
|
+
it_should_behave_like 'store_hashkey_stringvalue'
|
150
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
151
|
+
it_should_behave_like 'store_hashkey_hashvalue'
|
152
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
153
|
+
it_should_behave_like 'store_hashkey_nilvalue'
|
154
|
+
it_should_behave_like 'store_hashkey_integervalue'
|
155
|
+
it_should_behave_like 'store_hashkey_numbervalue'
|
156
|
+
it_should_behave_like 'store_booleankey_objectvalue'
|
157
|
+
it_should_behave_like 'store_booleankey_stringvalue'
|
158
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
159
|
+
it_should_behave_like 'store_booleankey_hashvalue'
|
160
|
+
it_should_behave_like 'store_booleankey_booleanvalue'
|
161
|
+
it_should_behave_like 'store_booleankey_nilvalue'
|
162
|
+
it_should_behave_like 'store_booleankey_integervalue'
|
163
|
+
it_should_behave_like 'store_booleankey_numbervalue'
|
164
|
+
it_should_behave_like 'store_nilkey_objectvalue'
|
165
|
+
it_should_behave_like 'store_nilkey_stringvalue'
|
166
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
167
|
+
it_should_behave_like 'store_nilkey_hashvalue'
|
168
|
+
it_should_behave_like 'store_nilkey_booleanvalue'
|
169
|
+
it_should_behave_like 'store_nilkey_nilvalue'
|
170
|
+
it_should_behave_like 'store_nilkey_integervalue'
|
171
|
+
it_should_behave_like 'store_nilkey_numbervalue'
|
172
|
+
it_should_behave_like 'store_integerkey_objectvalue'
|
173
|
+
it_should_behave_like 'store_integerkey_stringvalue'
|
174
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
175
|
+
it_should_behave_like 'store_integerkey_hashvalue'
|
176
|
+
it_should_behave_like 'store_integerkey_booleanvalue'
|
177
|
+
it_should_behave_like 'store_integerkey_nilvalue'
|
178
|
+
it_should_behave_like 'store_integerkey_integervalue'
|
179
|
+
it_should_behave_like 'store_integerkey_numbervalue'
|
180
|
+
it_should_behave_like 'store_numberkey_objectvalue'
|
181
|
+
it_should_behave_like 'store_numberkey_stringvalue'
|
182
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
183
|
+
it_should_behave_like 'store_numberkey_hashvalue'
|
184
|
+
it_should_behave_like 'store_numberkey_booleanvalue'
|
185
|
+
it_should_behave_like 'store_numberkey_nilvalue'
|
186
|
+
it_should_behave_like 'store_numberkey_integervalue'
|
187
|
+
it_should_behave_like 'store_numberkey_numbervalue'
|
188
|
+
it_should_behave_like 'store_large'
|
189
|
+
it_should_behave_like 'transform_value'
|
190
|
+
it 'compile transformer class' do
|
191
|
+
store.should_not be_nil
|
192
|
+
Moneta::Transformer::MarshalHexKeyMarshalHexValue.should_not be_nil
|
193
|
+
end
|
194
|
+
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# coding: binary
|
1
2
|
# Generated by generate-specs
|
2
3
|
require 'helper'
|
3
4
|
|
@@ -26,6 +27,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
26
27
|
it_should_behave_like 'not_persist'
|
27
28
|
it_should_behave_like 'null_objectkey_objectvalue'
|
28
29
|
it_should_behave_like 'null_objectkey_stringvalue'
|
30
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
29
31
|
it_should_behave_like 'null_objectkey_hashvalue'
|
30
32
|
it_should_behave_like 'null_objectkey_booleanvalue'
|
31
33
|
it_should_behave_like 'null_objectkey_nilvalue'
|
@@ -33,13 +35,23 @@ describe_moneta "transformer_marshal_hmac" do
|
|
33
35
|
it_should_behave_like 'null_objectkey_numbervalue'
|
34
36
|
it_should_behave_like 'null_stringkey_objectvalue'
|
35
37
|
it_should_behave_like 'null_stringkey_stringvalue'
|
38
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
36
39
|
it_should_behave_like 'null_stringkey_hashvalue'
|
37
40
|
it_should_behave_like 'null_stringkey_booleanvalue'
|
38
41
|
it_should_behave_like 'null_stringkey_nilvalue'
|
39
42
|
it_should_behave_like 'null_stringkey_integervalue'
|
40
43
|
it_should_behave_like 'null_stringkey_numbervalue'
|
44
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
45
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
46
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
47
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
48
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
49
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
50
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
51
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
41
52
|
it_should_behave_like 'null_hashkey_objectvalue'
|
42
53
|
it_should_behave_like 'null_hashkey_stringvalue'
|
54
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
43
55
|
it_should_behave_like 'null_hashkey_hashvalue'
|
44
56
|
it_should_behave_like 'null_hashkey_booleanvalue'
|
45
57
|
it_should_behave_like 'null_hashkey_nilvalue'
|
@@ -47,6 +59,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
47
59
|
it_should_behave_like 'null_hashkey_numbervalue'
|
48
60
|
it_should_behave_like 'null_booleankey_objectvalue'
|
49
61
|
it_should_behave_like 'null_booleankey_stringvalue'
|
62
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
50
63
|
it_should_behave_like 'null_booleankey_hashvalue'
|
51
64
|
it_should_behave_like 'null_booleankey_booleanvalue'
|
52
65
|
it_should_behave_like 'null_booleankey_nilvalue'
|
@@ -54,6 +67,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
54
67
|
it_should_behave_like 'null_booleankey_numbervalue'
|
55
68
|
it_should_behave_like 'null_nilkey_objectvalue'
|
56
69
|
it_should_behave_like 'null_nilkey_stringvalue'
|
70
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
57
71
|
it_should_behave_like 'null_nilkey_hashvalue'
|
58
72
|
it_should_behave_like 'null_nilkey_booleanvalue'
|
59
73
|
it_should_behave_like 'null_nilkey_nilvalue'
|
@@ -61,6 +75,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
61
75
|
it_should_behave_like 'null_nilkey_numbervalue'
|
62
76
|
it_should_behave_like 'null_integerkey_objectvalue'
|
63
77
|
it_should_behave_like 'null_integerkey_stringvalue'
|
78
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
64
79
|
it_should_behave_like 'null_integerkey_hashvalue'
|
65
80
|
it_should_behave_like 'null_integerkey_booleanvalue'
|
66
81
|
it_should_behave_like 'null_integerkey_nilvalue'
|
@@ -68,6 +83,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
68
83
|
it_should_behave_like 'null_integerkey_numbervalue'
|
69
84
|
it_should_behave_like 'null_numberkey_objectvalue'
|
70
85
|
it_should_behave_like 'null_numberkey_stringvalue'
|
86
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
71
87
|
it_should_behave_like 'null_numberkey_hashvalue'
|
72
88
|
it_should_behave_like 'null_numberkey_booleanvalue'
|
73
89
|
it_should_behave_like 'null_numberkey_nilvalue'
|
@@ -75,27 +91,39 @@ describe_moneta "transformer_marshal_hmac" do
|
|
75
91
|
it_should_behave_like 'null_numberkey_numbervalue'
|
76
92
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
77
93
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
94
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
78
95
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
79
96
|
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
80
97
|
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
98
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
81
99
|
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
100
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
101
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
102
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
103
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
82
104
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
83
105
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
106
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
84
107
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
85
108
|
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
86
109
|
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
110
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
87
111
|
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
88
112
|
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
89
113
|
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
114
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
90
115
|
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
91
116
|
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
92
117
|
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
118
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
93
119
|
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
94
120
|
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
95
121
|
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
122
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
96
123
|
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
97
124
|
it_should_behave_like 'store_objectkey_objectvalue'
|
98
125
|
it_should_behave_like 'store_objectkey_stringvalue'
|
126
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
99
127
|
it_should_behave_like 'store_objectkey_hashvalue'
|
100
128
|
it_should_behave_like 'store_objectkey_booleanvalue'
|
101
129
|
it_should_behave_like 'store_objectkey_nilvalue'
|
@@ -103,13 +131,23 @@ describe_moneta "transformer_marshal_hmac" do
|
|
103
131
|
it_should_behave_like 'store_objectkey_numbervalue'
|
104
132
|
it_should_behave_like 'store_stringkey_objectvalue'
|
105
133
|
it_should_behave_like 'store_stringkey_stringvalue'
|
134
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
106
135
|
it_should_behave_like 'store_stringkey_hashvalue'
|
107
136
|
it_should_behave_like 'store_stringkey_booleanvalue'
|
108
137
|
it_should_behave_like 'store_stringkey_nilvalue'
|
109
138
|
it_should_behave_like 'store_stringkey_integervalue'
|
110
139
|
it_should_behave_like 'store_stringkey_numbervalue'
|
140
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
141
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
142
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
143
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
144
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
145
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
146
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
147
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
111
148
|
it_should_behave_like 'store_hashkey_objectvalue'
|
112
149
|
it_should_behave_like 'store_hashkey_stringvalue'
|
150
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
113
151
|
it_should_behave_like 'store_hashkey_hashvalue'
|
114
152
|
it_should_behave_like 'store_hashkey_booleanvalue'
|
115
153
|
it_should_behave_like 'store_hashkey_nilvalue'
|
@@ -117,6 +155,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
117
155
|
it_should_behave_like 'store_hashkey_numbervalue'
|
118
156
|
it_should_behave_like 'store_booleankey_objectvalue'
|
119
157
|
it_should_behave_like 'store_booleankey_stringvalue'
|
158
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
120
159
|
it_should_behave_like 'store_booleankey_hashvalue'
|
121
160
|
it_should_behave_like 'store_booleankey_booleanvalue'
|
122
161
|
it_should_behave_like 'store_booleankey_nilvalue'
|
@@ -124,6 +163,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
124
163
|
it_should_behave_like 'store_booleankey_numbervalue'
|
125
164
|
it_should_behave_like 'store_nilkey_objectvalue'
|
126
165
|
it_should_behave_like 'store_nilkey_stringvalue'
|
166
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
127
167
|
it_should_behave_like 'store_nilkey_hashvalue'
|
128
168
|
it_should_behave_like 'store_nilkey_booleanvalue'
|
129
169
|
it_should_behave_like 'store_nilkey_nilvalue'
|
@@ -131,6 +171,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
131
171
|
it_should_behave_like 'store_nilkey_numbervalue'
|
132
172
|
it_should_behave_like 'store_integerkey_objectvalue'
|
133
173
|
it_should_behave_like 'store_integerkey_stringvalue'
|
174
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
134
175
|
it_should_behave_like 'store_integerkey_hashvalue'
|
135
176
|
it_should_behave_like 'store_integerkey_booleanvalue'
|
136
177
|
it_should_behave_like 'store_integerkey_nilvalue'
|
@@ -138,6 +179,7 @@ describe_moneta "transformer_marshal_hmac" do
|
|
138
179
|
it_should_behave_like 'store_integerkey_numbervalue'
|
139
180
|
it_should_behave_like 'store_numberkey_objectvalue'
|
140
181
|
it_should_behave_like 'store_numberkey_stringvalue'
|
182
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
141
183
|
it_should_behave_like 'store_numberkey_hashvalue'
|
142
184
|
it_should_behave_like 'store_numberkey_booleanvalue'
|
143
185
|
it_should_behave_like 'store_numberkey_nilvalue'
|