moneta 0.7.20 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -5
- data/CHANGES +6 -0
- data/CONTRIBUTORS +2 -0
- data/Gemfile +31 -44
- data/LICENSE +1 -1
- data/README.md +82 -59
- data/lib/active_support/cache/moneta_store.rb +3 -3
- data/lib/moneta.rb +4 -2
- data/lib/moneta/adapters/activerecord.rb +8 -8
- data/lib/moneta/adapters/cassandra.rb +8 -8
- data/lib/moneta/adapters/couch.rb +1 -1
- data/lib/moneta/adapters/datamapper.rb +5 -5
- data/lib/moneta/adapters/daybreak.rb +1 -1
- data/lib/moneta/adapters/fog.rb +2 -2
- data/lib/moneta/adapters/lmdb.rb +1 -1
- data/lib/moneta/adapters/localmemcache.rb +1 -1
- data/lib/moneta/adapters/memcached/dalli.rb +3 -3
- data/lib/moneta/adapters/memcached/native.rb +1 -1
- data/lib/moneta/adapters/mongo.rb +6 -164
- data/lib/moneta/adapters/mongo/base.rb +63 -0
- data/lib/moneta/adapters/mongo/moped.rb +113 -0
- data/lib/moneta/adapters/mongo/official.rb +121 -0
- data/lib/moneta/adapters/pstore.rb +1 -5
- data/lib/moneta/adapters/restclient.rb +1 -1
- data/lib/moneta/adapters/sequel.rb +10 -10
- data/lib/moneta/cache.rb +1 -1
- data/lib/moneta/logger.rb +2 -2
- data/lib/moneta/mixins.rb +4 -4
- data/lib/moneta/shared.rb +2 -2
- data/lib/moneta/stack.rb +2 -2
- data/lib/moneta/synchronize.rb +2 -2
- data/lib/moneta/transformer.rb +5 -5
- data/lib/moneta/transformer/config.rb +38 -40
- data/lib/moneta/version.rb +1 -1
- data/lib/rack/cache/moneta.rb +1 -1
- data/lib/rack/moneta_cookies.rb +2 -2
- data/lib/rack/moneta_rest.rb +1 -1
- data/lib/rack/moneta_store.rb +4 -4
- data/lib/rack/session/moneta.rb +14 -2
- data/moneta.gemspec +1 -0
- data/script/benchmarks +97 -96
- data/script/generate-specs +763 -730
- data/script/install-bundle +1 -1
- data/script/install-kyotocabinet +2 -2
- data/script/memusage +1 -1
- data/script/upload-bundle +1 -1
- data/spec/action_dispatch/session_moneta_store_spec.rb +5 -5
- data/spec/active_support/cache_moneta_store_spec.rb +20 -20
- data/spec/moneta/adapter_activerecord_exisiting_connection_spec.rb +2 -2
- data/spec/moneta/adapter_activerecord_spec.rb +6 -6
- data/spec/moneta/adapter_cassandra_spec.rb +1 -1
- data/spec/moneta/adapter_cassandra_with_default_expires_spec.rb +1 -1
- data/spec/moneta/adapter_couch_spec.rb +1 -1
- data/spec/moneta/adapter_datamapper_spec.rb +6 -6
- data/spec/moneta/adapter_daybreak_spec.rb +1 -1
- data/spec/moneta/adapter_dbm_spec.rb +1 -1
- data/spec/moneta/adapter_file_spec.rb +1 -1
- data/spec/moneta/adapter_fog_spec.rb +4 -4
- data/spec/moneta/adapter_gdbm_spec.rb +1 -1
- data/spec/moneta/adapter_hbase_spec.rb +1 -1
- data/spec/moneta/adapter_kyotocabinet_spec.rb +1 -1
- data/spec/moneta/adapter_leveldb_spec.rb +1 -1
- data/spec/moneta/adapter_lmdb_spec.rb +1 -1
- data/spec/moneta/adapter_lmdb_with_db_spec.rb +1 -1
- data/spec/moneta/adapter_localmemcache_spec.rb +1 -1
- data/spec/moneta/adapter_lruhash_spec.rb +1 -1
- data/spec/moneta/adapter_memcached_dalli_spec.rb +1 -1
- data/spec/moneta/adapter_memcached_dalli_with_default_expires_spec.rb +1 -1
- data/spec/moneta/adapter_memcached_native_spec.rb +1 -1
- data/spec/moneta/adapter_memcached_native_with_default_expires_spec.rb +1 -1
- data/spec/moneta/adapter_memcached_spec.rb +1 -1
- data/spec/moneta/adapter_memcached_with_default_expires_spec.rb +1 -1
- data/spec/moneta/adapter_mongo_moped_spec.rb +56 -0
- data/spec/moneta/adapter_mongo_moped_with_default_expires_spec.rb +51 -0
- data/spec/moneta/adapter_mongo_official_spec.rb +56 -0
- data/spec/moneta/adapter_mongo_official_with_default_expires_spec.rb +51 -0
- data/spec/moneta/adapter_mongo_spec.rb +1 -7
- data/spec/moneta/adapter_mongo_with_default_expires_spec.rb +1 -1
- data/spec/moneta/adapter_pstore_spec.rb +1 -1
- data/spec/moneta/adapter_redis_with_default_expires_spec.rb +1 -1
- data/spec/moneta/adapter_restclient_spec.rb +1 -1
- data/spec/moneta/adapter_sdbm_spec.rb +1 -1
- data/spec/moneta/adapter_sequel_spec.rb +1 -1
- data/spec/moneta/adapter_sqlite_spec.rb +1 -1
- data/spec/moneta/adapter_tdb_spec.rb +1 -1
- data/spec/moneta/adapter_tokyocabinet_bdb_spec.rb +1 -1
- data/spec/moneta/adapter_tokyocabinet_hdb_spec.rb +1 -1
- data/spec/moneta/adapter_yaml_spec.rb +1 -1
- data/spec/moneta/cache_file_memory_spec.rb +1 -1
- data/spec/moneta/expires_file_spec.rb +3 -3
- data/spec/moneta/expires_memory_with_default_expires_spec.rb +1 -1
- data/spec/moneta/mutex_spec.rb +1 -1
- data/spec/moneta/optionmerger_spec.rb +26 -26
- data/spec/moneta/pool_spec.rb +1 -1
- data/spec/moneta/semaphore_spec.rb +1 -1
- data/spec/moneta/shared_tcp_spec.rb +2 -2
- data/spec/moneta/shared_unix_spec.rb +2 -2
- data/spec/moneta/stack_file_memory_spec.rb +1 -1
- data/spec/moneta/stack_memory_file_spec.rb +1 -1
- data/spec/moneta/standard_activerecord_spec.rb +1 -1
- data/spec/moneta/standard_activerecord_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_cassandra_spec.rb +1 -1
- data/spec/moneta/standard_client_tcp_spec.rb +1 -1
- data/spec/moneta/standard_client_unix_spec.rb +2 -2
- data/spec/moneta/standard_couch_spec.rb +1 -1
- data/spec/moneta/standard_couch_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_datamapper_spec.rb +2 -2
- data/spec/moneta/standard_datamapper_with_expires_spec.rb +2 -2
- data/spec/moneta/standard_datamapper_with_repository_spec.rb +2 -2
- data/spec/moneta/standard_daybreak_spec.rb +1 -1
- data/spec/moneta/standard_daybreak_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_dbm_spec.rb +1 -1
- data/spec/moneta/standard_dbm_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_file_spec.rb +1 -1
- data/spec/moneta/standard_file_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_fog_spec.rb +4 -4
- data/spec/moneta/standard_fog_with_expires_spec.rb +5 -5
- data/spec/moneta/standard_gdbm_spec.rb +1 -1
- data/spec/moneta/standard_gdbm_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_hashfile_spec.rb +1 -1
- data/spec/moneta/standard_hashfile_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_hbase_spec.rb +1 -1
- data/spec/moneta/standard_hbase_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_kyotocabinet_spec.rb +1 -1
- data/spec/moneta/standard_kyotocabinet_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_leveldb_spec.rb +1 -1
- data/spec/moneta/standard_leveldb_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_lmdb_spec.rb +1 -1
- data/spec/moneta/standard_lmdb_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_localmemcache_spec.rb +1 -1
- data/spec/moneta/standard_localmemcache_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_lruhash_spec.rb +1 -1
- data/spec/moneta/standard_lruhash_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_memcached_dalli_spec.rb +1 -1
- data/spec/moneta/standard_memcached_native_spec.rb +1 -1
- data/spec/moneta/standard_memcached_spec.rb +1 -1
- data/spec/moneta/standard_memory_spec.rb +1 -1
- data/spec/moneta/standard_memory_with_compress_spec.rb +1 -1
- data/spec/moneta/standard_memory_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_memory_with_json_key_serializer_spec.rb +1 -1
- data/spec/moneta/standard_memory_with_json_serializer_spec.rb +1 -1
- data/spec/moneta/standard_memory_with_json_value_serializer_spec.rb +1 -1
- data/spec/moneta/standard_memory_with_prefix_spec.rb +1 -1
- data/spec/moneta/standard_memory_with_snappy_compress_spec.rb +1 -1
- data/spec/moneta/standard_mongo_moped_spec.rb +255 -0
- data/spec/moneta/standard_mongo_official_spec.rb +255 -0
- data/spec/moneta/standard_mongo_spec.rb +1 -1
- data/spec/moneta/standard_null_spec.rb +1 -1
- data/spec/moneta/standard_pstore_spec.rb +1 -1
- data/spec/moneta/standard_pstore_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_redis_spec.rb +1 -1
- data/spec/moneta/standard_restclient_spec.rb +1 -1
- data/spec/moneta/standard_riak_spec.rb +1 -1
- data/spec/moneta/standard_riak_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_sdbm_spec.rb +1 -1
- data/spec/moneta/standard_sdbm_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_sequel_spec.rb +1 -1
- data/spec/moneta/standard_sequel_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_sqlite_spec.rb +1 -1
- data/spec/moneta/standard_sqlite_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_tdb_spec.rb +1 -1
- data/spec/moneta/standard_tdb_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_tokyocabinet_spec.rb +1 -1
- data/spec/moneta/standard_tokyocabinet_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_tokyotyrant_spec.rb +1 -1
- data/spec/moneta/standard_tokyotyrant_with_expires_spec.rb +1 -1
- data/spec/moneta/standard_yaml_spec.rb +1 -1
- data/spec/moneta/standard_yaml_with_expires_spec.rb +1 -1
- data/spec/moneta/transformer_bencode_spec.rb +1 -1
- data/spec/moneta/transformer_bert_spec.rb +1 -1
- data/spec/moneta/transformer_bson_spec.rb +1 -1
- data/spec/moneta/transformer_bzip2_spec.rb +1 -1
- data/spec/moneta/transformer_json_spec.rb +1 -1
- data/spec/moneta/transformer_key_inspect_spec.rb +1 -1
- data/spec/moneta/transformer_key_marshal_spec.rb +1 -1
- data/spec/moneta/transformer_key_to_s_spec.rb +1 -1
- data/spec/moneta/transformer_key_yaml_spec.rb +1 -1
- data/spec/moneta/transformer_lz4_spec.rb +1 -1
- data/spec/moneta/transformer_lzma_spec.rb +1 -1
- data/spec/moneta/transformer_lzo_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_base64_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_city128_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_city32_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_city64_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_escape_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_hex_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_hmac_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_md5_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_md5_spread_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_prefix_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_qp_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_rmd160_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_sha1_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_sha256_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_sha384_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_sha512_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_truncate_spec.rb +1 -1
- data/spec/moneta/transformer_marshal_uuencode_spec.rb +1 -1
- data/spec/moneta/transformer_msgpack_spec.rb +1 -1
- data/spec/moneta/transformer_ox_spec.rb +1 -1
- data/spec/moneta/transformer_php_spec.rb +1 -1
- data/spec/moneta/transformer_quicklz_spec.rb +1 -1
- data/spec/moneta/transformer_snappy_spec.rb +1 -1
- data/spec/moneta/transformer_tnet_spec.rb +1 -1
- data/spec/moneta/transformer_value_marshal_spec.rb +1 -1
- data/spec/moneta/transformer_value_yaml_spec.rb +1 -1
- data/spec/moneta/transformer_yaml_spec.rb +1 -1
- data/spec/moneta/transformer_zlib_spec.rb +1 -1
- data/spec/moneta/weak_create_spec.rb +4 -4
- data/spec/moneta/weak_increment_spec.rb +4 -4
- data/spec/monetaspecs.rb +481 -481
- metadata +14 -185
data/spec/monetaspecs.rb
CHANGED
|
@@ -44,7 +44,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
it 'accepts frozen options' do
|
|
47
|
-
options = {:
|
|
47
|
+
options = {option1: 1, options2: 2}
|
|
48
48
|
options.freeze
|
|
49
49
|
store.key?(nil, options).should be_false
|
|
50
50
|
store.load(nil, options).should be_nil
|
|
@@ -95,7 +95,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
it 'accepts frozen options' do
|
|
98
|
-
options = {:
|
|
98
|
+
options = {option1: 1, options2: 2}
|
|
99
99
|
options.freeze
|
|
100
100
|
store.key?(0, options).should be_false
|
|
101
101
|
store.load(0, options).should be_nil
|
|
@@ -146,7 +146,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
it 'accepts frozen options' do
|
|
149
|
-
options = {:
|
|
149
|
+
options = {option1: 1, options2: 2}
|
|
150
150
|
options.freeze
|
|
151
151
|
store.key?(nil, options).should be_false
|
|
152
152
|
store.load(nil, options).should be_nil
|
|
@@ -197,7 +197,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
197
197
|
end
|
|
198
198
|
|
|
199
199
|
it 'accepts frozen options' do
|
|
200
|
-
options = {:
|
|
200
|
+
options = {option1: 1, options2: 2}
|
|
201
201
|
options.freeze
|
|
202
202
|
store.key?(0, options).should be_false
|
|
203
203
|
store.load(0, options).should be_nil
|
|
@@ -248,7 +248,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
248
248
|
end
|
|
249
249
|
|
|
250
250
|
it 'accepts frozen options' do
|
|
251
|
-
options = {:
|
|
251
|
+
options = {option1: 1, options2: 2}
|
|
252
252
|
options.freeze
|
|
253
253
|
store.key?(nil, options).should be_false
|
|
254
254
|
store.load(nil, options).should be_nil
|
|
@@ -299,7 +299,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
299
299
|
end
|
|
300
300
|
|
|
301
301
|
it 'accepts frozen options' do
|
|
302
|
-
options = {:
|
|
302
|
+
options = {option1: 1, options2: 2}
|
|
303
303
|
options.freeze
|
|
304
304
|
store.key?(0, options).should be_false
|
|
305
305
|
store.load(0, options).should be_nil
|
|
@@ -350,7 +350,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
350
350
|
end
|
|
351
351
|
|
|
352
352
|
it 'accepts frozen options' do
|
|
353
|
-
options = {:
|
|
353
|
+
options = {option1: 1, options2: 2}
|
|
354
354
|
options.freeze
|
|
355
355
|
store.key?(nil, options).should be_false
|
|
356
356
|
store.load(nil, options).should be_nil
|
|
@@ -401,7 +401,7 @@ shared_examples_for 'null_nilkey_nilvalue' do
|
|
|
401
401
|
end
|
|
402
402
|
|
|
403
403
|
it 'accepts frozen options' do
|
|
404
|
-
options = {:
|
|
404
|
+
options = {option1: 1, options2: 2}
|
|
405
405
|
options.freeze
|
|
406
406
|
store.key?(0, options).should be_false
|
|
407
407
|
store.load(0, options).should be_nil
|
|
@@ -936,7 +936,7 @@ shared_examples_for 'null_nilkey_integervalue' do
|
|
|
936
936
|
end
|
|
937
937
|
|
|
938
938
|
it 'accepts frozen options' do
|
|
939
|
-
options = {:
|
|
939
|
+
options = {option1: 1, options2: 2}
|
|
940
940
|
options.freeze
|
|
941
941
|
store.key?(nil, options).should be_false
|
|
942
942
|
store.load(nil, options).should be_nil
|
|
@@ -987,7 +987,7 @@ shared_examples_for 'null_nilkey_integervalue' do
|
|
|
987
987
|
end
|
|
988
988
|
|
|
989
989
|
it 'accepts frozen options' do
|
|
990
|
-
options = {:
|
|
990
|
+
options = {option1: 1, options2: 2}
|
|
991
991
|
options.freeze
|
|
992
992
|
store.key?(0, options).should be_false
|
|
993
993
|
store.load(0, options).should be_nil
|
|
@@ -1038,7 +1038,7 @@ shared_examples_for 'null_nilkey_integervalue' do
|
|
|
1038
1038
|
end
|
|
1039
1039
|
|
|
1040
1040
|
it 'accepts frozen options' do
|
|
1041
|
-
options = {:
|
|
1041
|
+
options = {option1: 1, options2: 2}
|
|
1042
1042
|
options.freeze
|
|
1043
1043
|
store.key?(nil, options).should be_false
|
|
1044
1044
|
store.load(nil, options).should be_nil
|
|
@@ -1089,7 +1089,7 @@ shared_examples_for 'null_nilkey_integervalue' do
|
|
|
1089
1089
|
end
|
|
1090
1090
|
|
|
1091
1091
|
it 'accepts frozen options' do
|
|
1092
|
-
options = {:
|
|
1092
|
+
options = {option1: 1, options2: 2}
|
|
1093
1093
|
options.freeze
|
|
1094
1094
|
store.key?(0, options).should be_false
|
|
1095
1095
|
store.load(0, options).should be_nil
|
|
@@ -1432,7 +1432,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1432
1432
|
end
|
|
1433
1433
|
|
|
1434
1434
|
it 'accepts frozen options' do
|
|
1435
|
-
options = {:
|
|
1435
|
+
options = {option1: 1, options2: 2}
|
|
1436
1436
|
options.freeze
|
|
1437
1437
|
store.key?(nil, options).should be_false
|
|
1438
1438
|
store.load(nil, options).should be_nil
|
|
@@ -1483,7 +1483,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1483
1483
|
end
|
|
1484
1484
|
|
|
1485
1485
|
it 'accepts frozen options' do
|
|
1486
|
-
options = {:
|
|
1486
|
+
options = {option1: 1, options2: 2}
|
|
1487
1487
|
options.freeze
|
|
1488
1488
|
store.key?(0, options).should be_false
|
|
1489
1489
|
store.load(0, options).should be_nil
|
|
@@ -1534,7 +1534,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1534
1534
|
end
|
|
1535
1535
|
|
|
1536
1536
|
it 'accepts frozen options' do
|
|
1537
|
-
options = {:
|
|
1537
|
+
options = {option1: 1, options2: 2}
|
|
1538
1538
|
options.freeze
|
|
1539
1539
|
store.key?(nil, options).should be_false
|
|
1540
1540
|
store.load(nil, options).should be_nil
|
|
@@ -1585,7 +1585,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1585
1585
|
end
|
|
1586
1586
|
|
|
1587
1587
|
it 'accepts frozen options' do
|
|
1588
|
-
options = {:
|
|
1588
|
+
options = {option1: 1, options2: 2}
|
|
1589
1589
|
options.freeze
|
|
1590
1590
|
store.key?(0, options).should be_false
|
|
1591
1591
|
store.load(0, options).should be_nil
|
|
@@ -1636,7 +1636,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1636
1636
|
end
|
|
1637
1637
|
|
|
1638
1638
|
it 'accepts frozen options' do
|
|
1639
|
-
options = {:
|
|
1639
|
+
options = {option1: 1, options2: 2}
|
|
1640
1640
|
options.freeze
|
|
1641
1641
|
store.key?(nil, options).should be_false
|
|
1642
1642
|
store.load(nil, options).should be_nil
|
|
@@ -1687,7 +1687,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1687
1687
|
end
|
|
1688
1688
|
|
|
1689
1689
|
it 'accepts frozen options' do
|
|
1690
|
-
options = {:
|
|
1690
|
+
options = {option1: 1, options2: 2}
|
|
1691
1691
|
options.freeze
|
|
1692
1692
|
store.key?(0, options).should be_false
|
|
1693
1693
|
store.load(0, options).should be_nil
|
|
@@ -1738,7 +1738,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1738
1738
|
end
|
|
1739
1739
|
|
|
1740
1740
|
it 'accepts frozen options' do
|
|
1741
|
-
options = {:
|
|
1741
|
+
options = {option1: 1, options2: 2}
|
|
1742
1742
|
options.freeze
|
|
1743
1743
|
store.key?(nil, options).should be_false
|
|
1744
1744
|
store.load(nil, options).should be_nil
|
|
@@ -1789,7 +1789,7 @@ shared_examples_for 'null_nilkey_numbervalue' do
|
|
|
1789
1789
|
end
|
|
1790
1790
|
|
|
1791
1791
|
it 'accepts frozen options' do
|
|
1792
|
-
options = {:
|
|
1792
|
+
options = {option1: 1, options2: 2}
|
|
1793
1793
|
options.freeze
|
|
1794
1794
|
store.key?(0, options).should be_false
|
|
1795
1795
|
store.load(0, options).should be_nil
|
|
@@ -2412,7 +2412,7 @@ shared_examples_for 'null_nilkey_booleanvalue' do
|
|
|
2412
2412
|
end
|
|
2413
2413
|
|
|
2414
2414
|
it 'accepts frozen options' do
|
|
2415
|
-
options = {:
|
|
2415
|
+
options = {option1: 1, options2: 2}
|
|
2416
2416
|
options.freeze
|
|
2417
2417
|
store.key?(nil, options).should be_false
|
|
2418
2418
|
store.load(nil, options).should be_nil
|
|
@@ -2463,7 +2463,7 @@ shared_examples_for 'null_nilkey_booleanvalue' do
|
|
|
2463
2463
|
end
|
|
2464
2464
|
|
|
2465
2465
|
it 'accepts frozen options' do
|
|
2466
|
-
options = {:
|
|
2466
|
+
options = {option1: 1, options2: 2}
|
|
2467
2467
|
options.freeze
|
|
2468
2468
|
store.key?(0, options).should be_false
|
|
2469
2469
|
store.load(0, options).should be_nil
|
|
@@ -2514,7 +2514,7 @@ shared_examples_for 'null_nilkey_booleanvalue' do
|
|
|
2514
2514
|
end
|
|
2515
2515
|
|
|
2516
2516
|
it 'accepts frozen options' do
|
|
2517
|
-
options = {:
|
|
2517
|
+
options = {option1: 1, options2: 2}
|
|
2518
2518
|
options.freeze
|
|
2519
2519
|
store.key?(nil, options).should be_false
|
|
2520
2520
|
store.load(nil, options).should be_nil
|
|
@@ -2565,7 +2565,7 @@ shared_examples_for 'null_nilkey_booleanvalue' do
|
|
|
2565
2565
|
end
|
|
2566
2566
|
|
|
2567
2567
|
it 'accepts frozen options' do
|
|
2568
|
-
options = {:
|
|
2568
|
+
options = {option1: 1, options2: 2}
|
|
2569
2569
|
options.freeze
|
|
2570
2570
|
store.key?(0, options).should be_false
|
|
2571
2571
|
store.load(0, options).should be_nil
|
|
@@ -2908,7 +2908,7 @@ shared_examples_for 'null_nilkey_stringvalue' do
|
|
|
2908
2908
|
end
|
|
2909
2909
|
|
|
2910
2910
|
it 'accepts frozen options' do
|
|
2911
|
-
options = {:
|
|
2911
|
+
options = {option1: 1, options2: 2}
|
|
2912
2912
|
options.freeze
|
|
2913
2913
|
store.key?(nil, options).should be_false
|
|
2914
2914
|
store.load(nil, options).should be_nil
|
|
@@ -2959,7 +2959,7 @@ shared_examples_for 'null_nilkey_stringvalue' do
|
|
|
2959
2959
|
end
|
|
2960
2960
|
|
|
2961
2961
|
it 'accepts frozen options' do
|
|
2962
|
-
options = {:
|
|
2962
|
+
options = {option1: 1, options2: 2}
|
|
2963
2963
|
options.freeze
|
|
2964
2964
|
store.key?(0, options).should be_false
|
|
2965
2965
|
store.load(0, options).should be_nil
|
|
@@ -3010,7 +3010,7 @@ shared_examples_for 'null_nilkey_stringvalue' do
|
|
|
3010
3010
|
end
|
|
3011
3011
|
|
|
3012
3012
|
it 'accepts frozen options' do
|
|
3013
|
-
options = {:
|
|
3013
|
+
options = {option1: 1, options2: 2}
|
|
3014
3014
|
options.freeze
|
|
3015
3015
|
store.key?(nil, options).should be_false
|
|
3016
3016
|
store.load(nil, options).should be_nil
|
|
@@ -3061,7 +3061,7 @@ shared_examples_for 'null_nilkey_stringvalue' do
|
|
|
3061
3061
|
end
|
|
3062
3062
|
|
|
3063
3063
|
it 'accepts frozen options' do
|
|
3064
|
-
options = {:
|
|
3064
|
+
options = {option1: 1, options2: 2}
|
|
3065
3065
|
options.freeze
|
|
3066
3066
|
store.key?(0, options).should be_false
|
|
3067
3067
|
store.load(0, options).should be_nil
|
|
@@ -3460,7 +3460,7 @@ shared_examples_for 'null_nilkey_binaryvalue' do
|
|
|
3460
3460
|
end
|
|
3461
3461
|
|
|
3462
3462
|
it 'accepts frozen options' do
|
|
3463
|
-
options = {:
|
|
3463
|
+
options = {option1: 1, options2: 2}
|
|
3464
3464
|
options.freeze
|
|
3465
3465
|
store.key?(nil, options).should be_false
|
|
3466
3466
|
store.load(nil, options).should be_nil
|
|
@@ -3511,7 +3511,7 @@ shared_examples_for 'null_nilkey_binaryvalue' do
|
|
|
3511
3511
|
end
|
|
3512
3512
|
|
|
3513
3513
|
it 'accepts frozen options' do
|
|
3514
|
-
options = {:
|
|
3514
|
+
options = {option1: 1, options2: 2}
|
|
3515
3515
|
options.freeze
|
|
3516
3516
|
store.key?(0, options).should be_false
|
|
3517
3517
|
store.load(0, options).should be_nil
|
|
@@ -3562,7 +3562,7 @@ shared_examples_for 'null_nilkey_binaryvalue' do
|
|
|
3562
3562
|
end
|
|
3563
3563
|
|
|
3564
3564
|
it 'accepts frozen options' do
|
|
3565
|
-
options = {:
|
|
3565
|
+
options = {option1: 1, options2: 2}
|
|
3566
3566
|
options.freeze
|
|
3567
3567
|
store.key?(nil, options).should be_false
|
|
3568
3568
|
store.load(nil, options).should be_nil
|
|
@@ -3613,7 +3613,7 @@ shared_examples_for 'null_nilkey_binaryvalue' do
|
|
|
3613
3613
|
end
|
|
3614
3614
|
|
|
3615
3615
|
it 'accepts frozen options' do
|
|
3616
|
-
options = {:
|
|
3616
|
+
options = {option1: 1, options2: 2}
|
|
3617
3617
|
options.freeze
|
|
3618
3618
|
store.key?(0, options).should be_false
|
|
3619
3619
|
store.load(0, options).should be_nil
|
|
@@ -4012,7 +4012,7 @@ shared_examples_for 'null_nilkey_hashvalue' do
|
|
|
4012
4012
|
end
|
|
4013
4013
|
|
|
4014
4014
|
it 'accepts frozen options' do
|
|
4015
|
-
options = {:
|
|
4015
|
+
options = {option1: 1, options2: 2}
|
|
4016
4016
|
options.freeze
|
|
4017
4017
|
store.key?(nil, options).should be_false
|
|
4018
4018
|
store.load(nil, options).should be_nil
|
|
@@ -4063,7 +4063,7 @@ shared_examples_for 'null_nilkey_hashvalue' do
|
|
|
4063
4063
|
end
|
|
4064
4064
|
|
|
4065
4065
|
it 'accepts frozen options' do
|
|
4066
|
-
options = {:
|
|
4066
|
+
options = {option1: 1, options2: 2}
|
|
4067
4067
|
options.freeze
|
|
4068
4068
|
store.key?(0, options).should be_false
|
|
4069
4069
|
store.load(0, options).should be_nil
|
|
@@ -4114,7 +4114,7 @@ shared_examples_for 'null_nilkey_hashvalue' do
|
|
|
4114
4114
|
end
|
|
4115
4115
|
|
|
4116
4116
|
it 'accepts frozen options' do
|
|
4117
|
-
options = {:
|
|
4117
|
+
options = {option1: 1, options2: 2}
|
|
4118
4118
|
options.freeze
|
|
4119
4119
|
store.key?(nil, options).should be_false
|
|
4120
4120
|
store.load(nil, options).should be_nil
|
|
@@ -4165,7 +4165,7 @@ shared_examples_for 'null_nilkey_hashvalue' do
|
|
|
4165
4165
|
end
|
|
4166
4166
|
|
|
4167
4167
|
it 'accepts frozen options' do
|
|
4168
|
-
options = {:
|
|
4168
|
+
options = {option1: 1, options2: 2}
|
|
4169
4169
|
options.freeze
|
|
4170
4170
|
store.key?(0, options).should be_false
|
|
4171
4171
|
store.load(0, options).should be_nil
|
|
@@ -4564,7 +4564,7 @@ shared_examples_for 'null_nilkey_objectvalue' do
|
|
|
4564
4564
|
end
|
|
4565
4565
|
|
|
4566
4566
|
it 'accepts frozen options' do
|
|
4567
|
-
options = {:
|
|
4567
|
+
options = {option1: 1, options2: 2}
|
|
4568
4568
|
options.freeze
|
|
4569
4569
|
store.key?(nil, options).should be_false
|
|
4570
4570
|
store.load(nil, options).should be_nil
|
|
@@ -4615,7 +4615,7 @@ shared_examples_for 'null_nilkey_objectvalue' do
|
|
|
4615
4615
|
end
|
|
4616
4616
|
|
|
4617
4617
|
it 'accepts frozen options' do
|
|
4618
|
-
options = {:
|
|
4618
|
+
options = {option1: 1, options2: 2}
|
|
4619
4619
|
options.freeze
|
|
4620
4620
|
store.key?(0, options).should be_false
|
|
4621
4621
|
store.load(0, options).should be_nil
|
|
@@ -4666,7 +4666,7 @@ shared_examples_for 'null_nilkey_objectvalue' do
|
|
|
4666
4666
|
end
|
|
4667
4667
|
|
|
4668
4668
|
it 'accepts frozen options' do
|
|
4669
|
-
options = {:
|
|
4669
|
+
options = {option1: 1, options2: 2}
|
|
4670
4670
|
options.freeze
|
|
4671
4671
|
store.key?(nil, options).should be_false
|
|
4672
4672
|
store.load(nil, options).should be_nil
|
|
@@ -4717,7 +4717,7 @@ shared_examples_for 'null_nilkey_objectvalue' do
|
|
|
4717
4717
|
end
|
|
4718
4718
|
|
|
4719
4719
|
it 'accepts frozen options' do
|
|
4720
|
-
options = {:
|
|
4720
|
+
options = {option1: 1, options2: 2}
|
|
4721
4721
|
options.freeze
|
|
4722
4722
|
store.key?(0, options).should be_false
|
|
4723
4723
|
store.load(0, options).should be_nil
|
|
@@ -5116,7 +5116,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5116
5116
|
end
|
|
5117
5117
|
|
|
5118
5118
|
it 'accepts frozen options' do
|
|
5119
|
-
options = {:
|
|
5119
|
+
options = {option1: 1, options2: 2}
|
|
5120
5120
|
options.freeze
|
|
5121
5121
|
store.key?(-10, options).should be_false
|
|
5122
5122
|
store.load(-10, options).should be_nil
|
|
@@ -5167,7 +5167,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5167
5167
|
end
|
|
5168
5168
|
|
|
5169
5169
|
it 'accepts frozen options' do
|
|
5170
|
-
options = {:
|
|
5170
|
+
options = {option1: 1, options2: 2}
|
|
5171
5171
|
options.freeze
|
|
5172
5172
|
store.key?(42, options).should be_false
|
|
5173
5173
|
store.load(42, options).should be_nil
|
|
@@ -5218,7 +5218,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5218
5218
|
end
|
|
5219
5219
|
|
|
5220
5220
|
it 'accepts frozen options' do
|
|
5221
|
-
options = {:
|
|
5221
|
+
options = {option1: 1, options2: 2}
|
|
5222
5222
|
options.freeze
|
|
5223
5223
|
store.key?(-10, options).should be_false
|
|
5224
5224
|
store.load(-10, options).should be_nil
|
|
@@ -5269,7 +5269,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5269
5269
|
end
|
|
5270
5270
|
|
|
5271
5271
|
it 'accepts frozen options' do
|
|
5272
|
-
options = {:
|
|
5272
|
+
options = {option1: 1, options2: 2}
|
|
5273
5273
|
options.freeze
|
|
5274
5274
|
store.key?(42, options).should be_false
|
|
5275
5275
|
store.load(42, options).should be_nil
|
|
@@ -5320,7 +5320,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5320
5320
|
end
|
|
5321
5321
|
|
|
5322
5322
|
it 'accepts frozen options' do
|
|
5323
|
-
options = {:
|
|
5323
|
+
options = {option1: 1, options2: 2}
|
|
5324
5324
|
options.freeze
|
|
5325
5325
|
store.key?(-10, options).should be_false
|
|
5326
5326
|
store.load(-10, options).should be_nil
|
|
@@ -5371,7 +5371,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5371
5371
|
end
|
|
5372
5372
|
|
|
5373
5373
|
it 'accepts frozen options' do
|
|
5374
|
-
options = {:
|
|
5374
|
+
options = {option1: 1, options2: 2}
|
|
5375
5375
|
options.freeze
|
|
5376
5376
|
store.key?(42, options).should be_false
|
|
5377
5377
|
store.load(42, options).should be_nil
|
|
@@ -5422,7 +5422,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5422
5422
|
end
|
|
5423
5423
|
|
|
5424
5424
|
it 'accepts frozen options' do
|
|
5425
|
-
options = {:
|
|
5425
|
+
options = {option1: 1, options2: 2}
|
|
5426
5426
|
options.freeze
|
|
5427
5427
|
store.key?(-10, options).should be_false
|
|
5428
5428
|
store.load(-10, options).should be_nil
|
|
@@ -5473,7 +5473,7 @@ shared_examples_for 'null_integerkey_nilvalue' do
|
|
|
5473
5473
|
end
|
|
5474
5474
|
|
|
5475
5475
|
it 'accepts frozen options' do
|
|
5476
|
-
options = {:
|
|
5476
|
+
options = {option1: 1, options2: 2}
|
|
5477
5477
|
options.freeze
|
|
5478
5478
|
store.key?(42, options).should be_false
|
|
5479
5479
|
store.load(42, options).should be_nil
|
|
@@ -6008,7 +6008,7 @@ shared_examples_for 'null_integerkey_integervalue' do
|
|
|
6008
6008
|
end
|
|
6009
6009
|
|
|
6010
6010
|
it 'accepts frozen options' do
|
|
6011
|
-
options = {:
|
|
6011
|
+
options = {option1: 1, options2: 2}
|
|
6012
6012
|
options.freeze
|
|
6013
6013
|
store.key?(-10, options).should be_false
|
|
6014
6014
|
store.load(-10, options).should be_nil
|
|
@@ -6059,7 +6059,7 @@ shared_examples_for 'null_integerkey_integervalue' do
|
|
|
6059
6059
|
end
|
|
6060
6060
|
|
|
6061
6061
|
it 'accepts frozen options' do
|
|
6062
|
-
options = {:
|
|
6062
|
+
options = {option1: 1, options2: 2}
|
|
6063
6063
|
options.freeze
|
|
6064
6064
|
store.key?(42, options).should be_false
|
|
6065
6065
|
store.load(42, options).should be_nil
|
|
@@ -6110,7 +6110,7 @@ shared_examples_for 'null_integerkey_integervalue' do
|
|
|
6110
6110
|
end
|
|
6111
6111
|
|
|
6112
6112
|
it 'accepts frozen options' do
|
|
6113
|
-
options = {:
|
|
6113
|
+
options = {option1: 1, options2: 2}
|
|
6114
6114
|
options.freeze
|
|
6115
6115
|
store.key?(-10, options).should be_false
|
|
6116
6116
|
store.load(-10, options).should be_nil
|
|
@@ -6161,7 +6161,7 @@ shared_examples_for 'null_integerkey_integervalue' do
|
|
|
6161
6161
|
end
|
|
6162
6162
|
|
|
6163
6163
|
it 'accepts frozen options' do
|
|
6164
|
-
options = {:
|
|
6164
|
+
options = {option1: 1, options2: 2}
|
|
6165
6165
|
options.freeze
|
|
6166
6166
|
store.key?(42, options).should be_false
|
|
6167
6167
|
store.load(42, options).should be_nil
|
|
@@ -6504,7 +6504,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6504
6504
|
end
|
|
6505
6505
|
|
|
6506
6506
|
it 'accepts frozen options' do
|
|
6507
|
-
options = {:
|
|
6507
|
+
options = {option1: 1, options2: 2}
|
|
6508
6508
|
options.freeze
|
|
6509
6509
|
store.key?(-10, options).should be_false
|
|
6510
6510
|
store.load(-10, options).should be_nil
|
|
@@ -6555,7 +6555,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6555
6555
|
end
|
|
6556
6556
|
|
|
6557
6557
|
it 'accepts frozen options' do
|
|
6558
|
-
options = {:
|
|
6558
|
+
options = {option1: 1, options2: 2}
|
|
6559
6559
|
options.freeze
|
|
6560
6560
|
store.key?(42, options).should be_false
|
|
6561
6561
|
store.load(42, options).should be_nil
|
|
@@ -6606,7 +6606,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6606
6606
|
end
|
|
6607
6607
|
|
|
6608
6608
|
it 'accepts frozen options' do
|
|
6609
|
-
options = {:
|
|
6609
|
+
options = {option1: 1, options2: 2}
|
|
6610
6610
|
options.freeze
|
|
6611
6611
|
store.key?(-10, options).should be_false
|
|
6612
6612
|
store.load(-10, options).should be_nil
|
|
@@ -6657,7 +6657,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6657
6657
|
end
|
|
6658
6658
|
|
|
6659
6659
|
it 'accepts frozen options' do
|
|
6660
|
-
options = {:
|
|
6660
|
+
options = {option1: 1, options2: 2}
|
|
6661
6661
|
options.freeze
|
|
6662
6662
|
store.key?(42, options).should be_false
|
|
6663
6663
|
store.load(42, options).should be_nil
|
|
@@ -6708,7 +6708,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6708
6708
|
end
|
|
6709
6709
|
|
|
6710
6710
|
it 'accepts frozen options' do
|
|
6711
|
-
options = {:
|
|
6711
|
+
options = {option1: 1, options2: 2}
|
|
6712
6712
|
options.freeze
|
|
6713
6713
|
store.key?(-10, options).should be_false
|
|
6714
6714
|
store.load(-10, options).should be_nil
|
|
@@ -6759,7 +6759,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6759
6759
|
end
|
|
6760
6760
|
|
|
6761
6761
|
it 'accepts frozen options' do
|
|
6762
|
-
options = {:
|
|
6762
|
+
options = {option1: 1, options2: 2}
|
|
6763
6763
|
options.freeze
|
|
6764
6764
|
store.key?(42, options).should be_false
|
|
6765
6765
|
store.load(42, options).should be_nil
|
|
@@ -6810,7 +6810,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6810
6810
|
end
|
|
6811
6811
|
|
|
6812
6812
|
it 'accepts frozen options' do
|
|
6813
|
-
options = {:
|
|
6813
|
+
options = {option1: 1, options2: 2}
|
|
6814
6814
|
options.freeze
|
|
6815
6815
|
store.key?(-10, options).should be_false
|
|
6816
6816
|
store.load(-10, options).should be_nil
|
|
@@ -6861,7 +6861,7 @@ shared_examples_for 'null_integerkey_numbervalue' do
|
|
|
6861
6861
|
end
|
|
6862
6862
|
|
|
6863
6863
|
it 'accepts frozen options' do
|
|
6864
|
-
options = {:
|
|
6864
|
+
options = {option1: 1, options2: 2}
|
|
6865
6865
|
options.freeze
|
|
6866
6866
|
store.key?(42, options).should be_false
|
|
6867
6867
|
store.load(42, options).should be_nil
|
|
@@ -7484,7 +7484,7 @@ shared_examples_for 'null_integerkey_booleanvalue' do
|
|
|
7484
7484
|
end
|
|
7485
7485
|
|
|
7486
7486
|
it 'accepts frozen options' do
|
|
7487
|
-
options = {:
|
|
7487
|
+
options = {option1: 1, options2: 2}
|
|
7488
7488
|
options.freeze
|
|
7489
7489
|
store.key?(-10, options).should be_false
|
|
7490
7490
|
store.load(-10, options).should be_nil
|
|
@@ -7535,7 +7535,7 @@ shared_examples_for 'null_integerkey_booleanvalue' do
|
|
|
7535
7535
|
end
|
|
7536
7536
|
|
|
7537
7537
|
it 'accepts frozen options' do
|
|
7538
|
-
options = {:
|
|
7538
|
+
options = {option1: 1, options2: 2}
|
|
7539
7539
|
options.freeze
|
|
7540
7540
|
store.key?(42, options).should be_false
|
|
7541
7541
|
store.load(42, options).should be_nil
|
|
@@ -7586,7 +7586,7 @@ shared_examples_for 'null_integerkey_booleanvalue' do
|
|
|
7586
7586
|
end
|
|
7587
7587
|
|
|
7588
7588
|
it 'accepts frozen options' do
|
|
7589
|
-
options = {:
|
|
7589
|
+
options = {option1: 1, options2: 2}
|
|
7590
7590
|
options.freeze
|
|
7591
7591
|
store.key?(-10, options).should be_false
|
|
7592
7592
|
store.load(-10, options).should be_nil
|
|
@@ -7637,7 +7637,7 @@ shared_examples_for 'null_integerkey_booleanvalue' do
|
|
|
7637
7637
|
end
|
|
7638
7638
|
|
|
7639
7639
|
it 'accepts frozen options' do
|
|
7640
|
-
options = {:
|
|
7640
|
+
options = {option1: 1, options2: 2}
|
|
7641
7641
|
options.freeze
|
|
7642
7642
|
store.key?(42, options).should be_false
|
|
7643
7643
|
store.load(42, options).should be_nil
|
|
@@ -7980,7 +7980,7 @@ shared_examples_for 'null_integerkey_stringvalue' do
|
|
|
7980
7980
|
end
|
|
7981
7981
|
|
|
7982
7982
|
it 'accepts frozen options' do
|
|
7983
|
-
options = {:
|
|
7983
|
+
options = {option1: 1, options2: 2}
|
|
7984
7984
|
options.freeze
|
|
7985
7985
|
store.key?(-10, options).should be_false
|
|
7986
7986
|
store.load(-10, options).should be_nil
|
|
@@ -8031,7 +8031,7 @@ shared_examples_for 'null_integerkey_stringvalue' do
|
|
|
8031
8031
|
end
|
|
8032
8032
|
|
|
8033
8033
|
it 'accepts frozen options' do
|
|
8034
|
-
options = {:
|
|
8034
|
+
options = {option1: 1, options2: 2}
|
|
8035
8035
|
options.freeze
|
|
8036
8036
|
store.key?(42, options).should be_false
|
|
8037
8037
|
store.load(42, options).should be_nil
|
|
@@ -8082,7 +8082,7 @@ shared_examples_for 'null_integerkey_stringvalue' do
|
|
|
8082
8082
|
end
|
|
8083
8083
|
|
|
8084
8084
|
it 'accepts frozen options' do
|
|
8085
|
-
options = {:
|
|
8085
|
+
options = {option1: 1, options2: 2}
|
|
8086
8086
|
options.freeze
|
|
8087
8087
|
store.key?(-10, options).should be_false
|
|
8088
8088
|
store.load(-10, options).should be_nil
|
|
@@ -8133,7 +8133,7 @@ shared_examples_for 'null_integerkey_stringvalue' do
|
|
|
8133
8133
|
end
|
|
8134
8134
|
|
|
8135
8135
|
it 'accepts frozen options' do
|
|
8136
|
-
options = {:
|
|
8136
|
+
options = {option1: 1, options2: 2}
|
|
8137
8137
|
options.freeze
|
|
8138
8138
|
store.key?(42, options).should be_false
|
|
8139
8139
|
store.load(42, options).should be_nil
|
|
@@ -8532,7 +8532,7 @@ shared_examples_for 'null_integerkey_binaryvalue' do
|
|
|
8532
8532
|
end
|
|
8533
8533
|
|
|
8534
8534
|
it 'accepts frozen options' do
|
|
8535
|
-
options = {:
|
|
8535
|
+
options = {option1: 1, options2: 2}
|
|
8536
8536
|
options.freeze
|
|
8537
8537
|
store.key?(-10, options).should be_false
|
|
8538
8538
|
store.load(-10, options).should be_nil
|
|
@@ -8583,7 +8583,7 @@ shared_examples_for 'null_integerkey_binaryvalue' do
|
|
|
8583
8583
|
end
|
|
8584
8584
|
|
|
8585
8585
|
it 'accepts frozen options' do
|
|
8586
|
-
options = {:
|
|
8586
|
+
options = {option1: 1, options2: 2}
|
|
8587
8587
|
options.freeze
|
|
8588
8588
|
store.key?(42, options).should be_false
|
|
8589
8589
|
store.load(42, options).should be_nil
|
|
@@ -8634,7 +8634,7 @@ shared_examples_for 'null_integerkey_binaryvalue' do
|
|
|
8634
8634
|
end
|
|
8635
8635
|
|
|
8636
8636
|
it 'accepts frozen options' do
|
|
8637
|
-
options = {:
|
|
8637
|
+
options = {option1: 1, options2: 2}
|
|
8638
8638
|
options.freeze
|
|
8639
8639
|
store.key?(-10, options).should be_false
|
|
8640
8640
|
store.load(-10, options).should be_nil
|
|
@@ -8685,7 +8685,7 @@ shared_examples_for 'null_integerkey_binaryvalue' do
|
|
|
8685
8685
|
end
|
|
8686
8686
|
|
|
8687
8687
|
it 'accepts frozen options' do
|
|
8688
|
-
options = {:
|
|
8688
|
+
options = {option1: 1, options2: 2}
|
|
8689
8689
|
options.freeze
|
|
8690
8690
|
store.key?(42, options).should be_false
|
|
8691
8691
|
store.load(42, options).should be_nil
|
|
@@ -9084,7 +9084,7 @@ shared_examples_for 'null_integerkey_hashvalue' do
|
|
|
9084
9084
|
end
|
|
9085
9085
|
|
|
9086
9086
|
it 'accepts frozen options' do
|
|
9087
|
-
options = {:
|
|
9087
|
+
options = {option1: 1, options2: 2}
|
|
9088
9088
|
options.freeze
|
|
9089
9089
|
store.key?(-10, options).should be_false
|
|
9090
9090
|
store.load(-10, options).should be_nil
|
|
@@ -9135,7 +9135,7 @@ shared_examples_for 'null_integerkey_hashvalue' do
|
|
|
9135
9135
|
end
|
|
9136
9136
|
|
|
9137
9137
|
it 'accepts frozen options' do
|
|
9138
|
-
options = {:
|
|
9138
|
+
options = {option1: 1, options2: 2}
|
|
9139
9139
|
options.freeze
|
|
9140
9140
|
store.key?(42, options).should be_false
|
|
9141
9141
|
store.load(42, options).should be_nil
|
|
@@ -9186,7 +9186,7 @@ shared_examples_for 'null_integerkey_hashvalue' do
|
|
|
9186
9186
|
end
|
|
9187
9187
|
|
|
9188
9188
|
it 'accepts frozen options' do
|
|
9189
|
-
options = {:
|
|
9189
|
+
options = {option1: 1, options2: 2}
|
|
9190
9190
|
options.freeze
|
|
9191
9191
|
store.key?(-10, options).should be_false
|
|
9192
9192
|
store.load(-10, options).should be_nil
|
|
@@ -9237,7 +9237,7 @@ shared_examples_for 'null_integerkey_hashvalue' do
|
|
|
9237
9237
|
end
|
|
9238
9238
|
|
|
9239
9239
|
it 'accepts frozen options' do
|
|
9240
|
-
options = {:
|
|
9240
|
+
options = {option1: 1, options2: 2}
|
|
9241
9241
|
options.freeze
|
|
9242
9242
|
store.key?(42, options).should be_false
|
|
9243
9243
|
store.load(42, options).should be_nil
|
|
@@ -9636,7 +9636,7 @@ shared_examples_for 'null_integerkey_objectvalue' do
|
|
|
9636
9636
|
end
|
|
9637
9637
|
|
|
9638
9638
|
it 'accepts frozen options' do
|
|
9639
|
-
options = {:
|
|
9639
|
+
options = {option1: 1, options2: 2}
|
|
9640
9640
|
options.freeze
|
|
9641
9641
|
store.key?(-10, options).should be_false
|
|
9642
9642
|
store.load(-10, options).should be_nil
|
|
@@ -9687,7 +9687,7 @@ shared_examples_for 'null_integerkey_objectvalue' do
|
|
|
9687
9687
|
end
|
|
9688
9688
|
|
|
9689
9689
|
it 'accepts frozen options' do
|
|
9690
|
-
options = {:
|
|
9690
|
+
options = {option1: 1, options2: 2}
|
|
9691
9691
|
options.freeze
|
|
9692
9692
|
store.key?(42, options).should be_false
|
|
9693
9693
|
store.load(42, options).should be_nil
|
|
@@ -9738,7 +9738,7 @@ shared_examples_for 'null_integerkey_objectvalue' do
|
|
|
9738
9738
|
end
|
|
9739
9739
|
|
|
9740
9740
|
it 'accepts frozen options' do
|
|
9741
|
-
options = {:
|
|
9741
|
+
options = {option1: 1, options2: 2}
|
|
9742
9742
|
options.freeze
|
|
9743
9743
|
store.key?(-10, options).should be_false
|
|
9744
9744
|
store.load(-10, options).should be_nil
|
|
@@ -9789,7 +9789,7 @@ shared_examples_for 'null_integerkey_objectvalue' do
|
|
|
9789
9789
|
end
|
|
9790
9790
|
|
|
9791
9791
|
it 'accepts frozen options' do
|
|
9792
|
-
options = {:
|
|
9792
|
+
options = {option1: 1, options2: 2}
|
|
9793
9793
|
options.freeze
|
|
9794
9794
|
store.key?(42, options).should be_false
|
|
9795
9795
|
store.load(42, options).should be_nil
|
|
@@ -10188,7 +10188,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10188
10188
|
end
|
|
10189
10189
|
|
|
10190
10190
|
it 'accepts frozen options' do
|
|
10191
|
-
options = {:
|
|
10191
|
+
options = {option1: 1, options2: 2}
|
|
10192
10192
|
options.freeze
|
|
10193
10193
|
store.key?(0.5, options).should be_false
|
|
10194
10194
|
store.load(0.5, options).should be_nil
|
|
@@ -10239,7 +10239,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10239
10239
|
end
|
|
10240
10240
|
|
|
10241
10241
|
it 'accepts frozen options' do
|
|
10242
|
-
options = {:
|
|
10242
|
+
options = {option1: 1, options2: 2}
|
|
10243
10243
|
options.freeze
|
|
10244
10244
|
store.key?(-0.3, options).should be_false
|
|
10245
10245
|
store.load(-0.3, options).should be_nil
|
|
@@ -10290,7 +10290,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10290
10290
|
end
|
|
10291
10291
|
|
|
10292
10292
|
it 'accepts frozen options' do
|
|
10293
|
-
options = {:
|
|
10293
|
+
options = {option1: 1, options2: 2}
|
|
10294
10294
|
options.freeze
|
|
10295
10295
|
store.key?(0.5, options).should be_false
|
|
10296
10296
|
store.load(0.5, options).should be_nil
|
|
@@ -10341,7 +10341,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10341
10341
|
end
|
|
10342
10342
|
|
|
10343
10343
|
it 'accepts frozen options' do
|
|
10344
|
-
options = {:
|
|
10344
|
+
options = {option1: 1, options2: 2}
|
|
10345
10345
|
options.freeze
|
|
10346
10346
|
store.key?(-0.3, options).should be_false
|
|
10347
10347
|
store.load(-0.3, options).should be_nil
|
|
@@ -10392,7 +10392,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10392
10392
|
end
|
|
10393
10393
|
|
|
10394
10394
|
it 'accepts frozen options' do
|
|
10395
|
-
options = {:
|
|
10395
|
+
options = {option1: 1, options2: 2}
|
|
10396
10396
|
options.freeze
|
|
10397
10397
|
store.key?(0.5, options).should be_false
|
|
10398
10398
|
store.load(0.5, options).should be_nil
|
|
@@ -10443,7 +10443,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10443
10443
|
end
|
|
10444
10444
|
|
|
10445
10445
|
it 'accepts frozen options' do
|
|
10446
|
-
options = {:
|
|
10446
|
+
options = {option1: 1, options2: 2}
|
|
10447
10447
|
options.freeze
|
|
10448
10448
|
store.key?(-0.3, options).should be_false
|
|
10449
10449
|
store.load(-0.3, options).should be_nil
|
|
@@ -10494,7 +10494,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10494
10494
|
end
|
|
10495
10495
|
|
|
10496
10496
|
it 'accepts frozen options' do
|
|
10497
|
-
options = {:
|
|
10497
|
+
options = {option1: 1, options2: 2}
|
|
10498
10498
|
options.freeze
|
|
10499
10499
|
store.key?(0.5, options).should be_false
|
|
10500
10500
|
store.load(0.5, options).should be_nil
|
|
@@ -10545,7 +10545,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10545
10545
|
end
|
|
10546
10546
|
|
|
10547
10547
|
it 'accepts frozen options' do
|
|
10548
|
-
options = {:
|
|
10548
|
+
options = {option1: 1, options2: 2}
|
|
10549
10549
|
options.freeze
|
|
10550
10550
|
store.key?(-0.3, options).should be_false
|
|
10551
10551
|
store.load(-0.3, options).should be_nil
|
|
@@ -10596,7 +10596,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10596
10596
|
end
|
|
10597
10597
|
|
|
10598
10598
|
it 'accepts frozen options' do
|
|
10599
|
-
options = {:
|
|
10599
|
+
options = {option1: 1, options2: 2}
|
|
10600
10600
|
options.freeze
|
|
10601
10601
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
10602
10602
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -10647,7 +10647,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10647
10647
|
end
|
|
10648
10648
|
|
|
10649
10649
|
it 'accepts frozen options' do
|
|
10650
|
-
options = {:
|
|
10650
|
+
options = {option1: 1, options2: 2}
|
|
10651
10651
|
options.freeze
|
|
10652
10652
|
store.key?(99, options).should be_false
|
|
10653
10653
|
store.load(99, options).should be_nil
|
|
@@ -10698,7 +10698,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10698
10698
|
end
|
|
10699
10699
|
|
|
10700
10700
|
it 'accepts frozen options' do
|
|
10701
|
-
options = {:
|
|
10701
|
+
options = {option1: 1, options2: 2}
|
|
10702
10702
|
options.freeze
|
|
10703
10703
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
10704
10704
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -10749,7 +10749,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10749
10749
|
end
|
|
10750
10750
|
|
|
10751
10751
|
it 'accepts frozen options' do
|
|
10752
|
-
options = {:
|
|
10752
|
+
options = {option1: 1, options2: 2}
|
|
10753
10753
|
options.freeze
|
|
10754
10754
|
store.key?(99, options).should be_false
|
|
10755
10755
|
store.load(99, options).should be_nil
|
|
@@ -10800,7 +10800,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10800
10800
|
end
|
|
10801
10801
|
|
|
10802
10802
|
it 'accepts frozen options' do
|
|
10803
|
-
options = {:
|
|
10803
|
+
options = {option1: 1, options2: 2}
|
|
10804
10804
|
options.freeze
|
|
10805
10805
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
10806
10806
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -10851,7 +10851,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10851
10851
|
end
|
|
10852
10852
|
|
|
10853
10853
|
it 'accepts frozen options' do
|
|
10854
|
-
options = {:
|
|
10854
|
+
options = {option1: 1, options2: 2}
|
|
10855
10855
|
options.freeze
|
|
10856
10856
|
store.key?(99, options).should be_false
|
|
10857
10857
|
store.load(99, options).should be_nil
|
|
@@ -10902,7 +10902,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10902
10902
|
end
|
|
10903
10903
|
|
|
10904
10904
|
it 'accepts frozen options' do
|
|
10905
|
-
options = {:
|
|
10905
|
+
options = {option1: 1, options2: 2}
|
|
10906
10906
|
options.freeze
|
|
10907
10907
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
10908
10908
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -10953,7 +10953,7 @@ shared_examples_for 'null_numberkey_nilvalue' do
|
|
|
10953
10953
|
end
|
|
10954
10954
|
|
|
10955
10955
|
it 'accepts frozen options' do
|
|
10956
|
-
options = {:
|
|
10956
|
+
options = {option1: 1, options2: 2}
|
|
10957
10957
|
options.freeze
|
|
10958
10958
|
store.key?(99, options).should be_false
|
|
10959
10959
|
store.load(99, options).should be_nil
|
|
@@ -11960,7 +11960,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
11960
11960
|
end
|
|
11961
11961
|
|
|
11962
11962
|
it 'accepts frozen options' do
|
|
11963
|
-
options = {:
|
|
11963
|
+
options = {option1: 1, options2: 2}
|
|
11964
11964
|
options.freeze
|
|
11965
11965
|
store.key?(0.5, options).should be_false
|
|
11966
11966
|
store.load(0.5, options).should be_nil
|
|
@@ -12011,7 +12011,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
12011
12011
|
end
|
|
12012
12012
|
|
|
12013
12013
|
it 'accepts frozen options' do
|
|
12014
|
-
options = {:
|
|
12014
|
+
options = {option1: 1, options2: 2}
|
|
12015
12015
|
options.freeze
|
|
12016
12016
|
store.key?(-0.3, options).should be_false
|
|
12017
12017
|
store.load(-0.3, options).should be_nil
|
|
@@ -12062,7 +12062,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
12062
12062
|
end
|
|
12063
12063
|
|
|
12064
12064
|
it 'accepts frozen options' do
|
|
12065
|
-
options = {:
|
|
12065
|
+
options = {option1: 1, options2: 2}
|
|
12066
12066
|
options.freeze
|
|
12067
12067
|
store.key?(0.5, options).should be_false
|
|
12068
12068
|
store.load(0.5, options).should be_nil
|
|
@@ -12113,7 +12113,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
12113
12113
|
end
|
|
12114
12114
|
|
|
12115
12115
|
it 'accepts frozen options' do
|
|
12116
|
-
options = {:
|
|
12116
|
+
options = {option1: 1, options2: 2}
|
|
12117
12117
|
options.freeze
|
|
12118
12118
|
store.key?(-0.3, options).should be_false
|
|
12119
12119
|
store.load(-0.3, options).should be_nil
|
|
@@ -12164,7 +12164,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
12164
12164
|
end
|
|
12165
12165
|
|
|
12166
12166
|
it 'accepts frozen options' do
|
|
12167
|
-
options = {:
|
|
12167
|
+
options = {option1: 1, options2: 2}
|
|
12168
12168
|
options.freeze
|
|
12169
12169
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
12170
12170
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -12215,7 +12215,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
12215
12215
|
end
|
|
12216
12216
|
|
|
12217
12217
|
it 'accepts frozen options' do
|
|
12218
|
-
options = {:
|
|
12218
|
+
options = {option1: 1, options2: 2}
|
|
12219
12219
|
options.freeze
|
|
12220
12220
|
store.key?(99, options).should be_false
|
|
12221
12221
|
store.load(99, options).should be_nil
|
|
@@ -12266,7 +12266,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
12266
12266
|
end
|
|
12267
12267
|
|
|
12268
12268
|
it 'accepts frozen options' do
|
|
12269
|
-
options = {:
|
|
12269
|
+
options = {option1: 1, options2: 2}
|
|
12270
12270
|
options.freeze
|
|
12271
12271
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
12272
12272
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -12317,7 +12317,7 @@ shared_examples_for 'null_numberkey_integervalue' do
|
|
|
12317
12317
|
end
|
|
12318
12318
|
|
|
12319
12319
|
it 'accepts frozen options' do
|
|
12320
|
-
options = {:
|
|
12320
|
+
options = {option1: 1, options2: 2}
|
|
12321
12321
|
options.freeze
|
|
12322
12322
|
store.key?(99, options).should be_false
|
|
12323
12323
|
store.load(99, options).should be_nil
|
|
@@ -12940,7 +12940,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
12940
12940
|
end
|
|
12941
12941
|
|
|
12942
12942
|
it 'accepts frozen options' do
|
|
12943
|
-
options = {:
|
|
12943
|
+
options = {option1: 1, options2: 2}
|
|
12944
12944
|
options.freeze
|
|
12945
12945
|
store.key?(0.5, options).should be_false
|
|
12946
12946
|
store.load(0.5, options).should be_nil
|
|
@@ -12991,7 +12991,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
12991
12991
|
end
|
|
12992
12992
|
|
|
12993
12993
|
it 'accepts frozen options' do
|
|
12994
|
-
options = {:
|
|
12994
|
+
options = {option1: 1, options2: 2}
|
|
12995
12995
|
options.freeze
|
|
12996
12996
|
store.key?(-0.3, options).should be_false
|
|
12997
12997
|
store.load(-0.3, options).should be_nil
|
|
@@ -13042,7 +13042,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13042
13042
|
end
|
|
13043
13043
|
|
|
13044
13044
|
it 'accepts frozen options' do
|
|
13045
|
-
options = {:
|
|
13045
|
+
options = {option1: 1, options2: 2}
|
|
13046
13046
|
options.freeze
|
|
13047
13047
|
store.key?(0.5, options).should be_false
|
|
13048
13048
|
store.load(0.5, options).should be_nil
|
|
@@ -13093,7 +13093,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13093
13093
|
end
|
|
13094
13094
|
|
|
13095
13095
|
it 'accepts frozen options' do
|
|
13096
|
-
options = {:
|
|
13096
|
+
options = {option1: 1, options2: 2}
|
|
13097
13097
|
options.freeze
|
|
13098
13098
|
store.key?(-0.3, options).should be_false
|
|
13099
13099
|
store.load(-0.3, options).should be_nil
|
|
@@ -13144,7 +13144,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13144
13144
|
end
|
|
13145
13145
|
|
|
13146
13146
|
it 'accepts frozen options' do
|
|
13147
|
-
options = {:
|
|
13147
|
+
options = {option1: 1, options2: 2}
|
|
13148
13148
|
options.freeze
|
|
13149
13149
|
store.key?(0.5, options).should be_false
|
|
13150
13150
|
store.load(0.5, options).should be_nil
|
|
@@ -13195,7 +13195,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13195
13195
|
end
|
|
13196
13196
|
|
|
13197
13197
|
it 'accepts frozen options' do
|
|
13198
|
-
options = {:
|
|
13198
|
+
options = {option1: 1, options2: 2}
|
|
13199
13199
|
options.freeze
|
|
13200
13200
|
store.key?(-0.3, options).should be_false
|
|
13201
13201
|
store.load(-0.3, options).should be_nil
|
|
@@ -13246,7 +13246,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13246
13246
|
end
|
|
13247
13247
|
|
|
13248
13248
|
it 'accepts frozen options' do
|
|
13249
|
-
options = {:
|
|
13249
|
+
options = {option1: 1, options2: 2}
|
|
13250
13250
|
options.freeze
|
|
13251
13251
|
store.key?(0.5, options).should be_false
|
|
13252
13252
|
store.load(0.5, options).should be_nil
|
|
@@ -13297,7 +13297,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13297
13297
|
end
|
|
13298
13298
|
|
|
13299
13299
|
it 'accepts frozen options' do
|
|
13300
|
-
options = {:
|
|
13300
|
+
options = {option1: 1, options2: 2}
|
|
13301
13301
|
options.freeze
|
|
13302
13302
|
store.key?(-0.3, options).should be_false
|
|
13303
13303
|
store.load(-0.3, options).should be_nil
|
|
@@ -13348,7 +13348,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13348
13348
|
end
|
|
13349
13349
|
|
|
13350
13350
|
it 'accepts frozen options' do
|
|
13351
|
-
options = {:
|
|
13351
|
+
options = {option1: 1, options2: 2}
|
|
13352
13352
|
options.freeze
|
|
13353
13353
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
13354
13354
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -13399,7 +13399,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13399
13399
|
end
|
|
13400
13400
|
|
|
13401
13401
|
it 'accepts frozen options' do
|
|
13402
|
-
options = {:
|
|
13402
|
+
options = {option1: 1, options2: 2}
|
|
13403
13403
|
options.freeze
|
|
13404
13404
|
store.key?(99, options).should be_false
|
|
13405
13405
|
store.load(99, options).should be_nil
|
|
@@ -13450,7 +13450,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13450
13450
|
end
|
|
13451
13451
|
|
|
13452
13452
|
it 'accepts frozen options' do
|
|
13453
|
-
options = {:
|
|
13453
|
+
options = {option1: 1, options2: 2}
|
|
13454
13454
|
options.freeze
|
|
13455
13455
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
13456
13456
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -13501,7 +13501,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13501
13501
|
end
|
|
13502
13502
|
|
|
13503
13503
|
it 'accepts frozen options' do
|
|
13504
|
-
options = {:
|
|
13504
|
+
options = {option1: 1, options2: 2}
|
|
13505
13505
|
options.freeze
|
|
13506
13506
|
store.key?(99, options).should be_false
|
|
13507
13507
|
store.load(99, options).should be_nil
|
|
@@ -13552,7 +13552,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13552
13552
|
end
|
|
13553
13553
|
|
|
13554
13554
|
it 'accepts frozen options' do
|
|
13555
|
-
options = {:
|
|
13555
|
+
options = {option1: 1, options2: 2}
|
|
13556
13556
|
options.freeze
|
|
13557
13557
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
13558
13558
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -13603,7 +13603,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13603
13603
|
end
|
|
13604
13604
|
|
|
13605
13605
|
it 'accepts frozen options' do
|
|
13606
|
-
options = {:
|
|
13606
|
+
options = {option1: 1, options2: 2}
|
|
13607
13607
|
options.freeze
|
|
13608
13608
|
store.key?(99, options).should be_false
|
|
13609
13609
|
store.load(99, options).should be_nil
|
|
@@ -13654,7 +13654,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13654
13654
|
end
|
|
13655
13655
|
|
|
13656
13656
|
it 'accepts frozen options' do
|
|
13657
|
-
options = {:
|
|
13657
|
+
options = {option1: 1, options2: 2}
|
|
13658
13658
|
options.freeze
|
|
13659
13659
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
13660
13660
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -13705,7 +13705,7 @@ shared_examples_for 'null_numberkey_numbervalue' do
|
|
|
13705
13705
|
end
|
|
13706
13706
|
|
|
13707
13707
|
it 'accepts frozen options' do
|
|
13708
|
-
options = {:
|
|
13708
|
+
options = {option1: 1, options2: 2}
|
|
13709
13709
|
options.freeze
|
|
13710
13710
|
store.key?(99, options).should be_false
|
|
13711
13711
|
store.load(99, options).should be_nil
|
|
@@ -14888,7 +14888,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
14888
14888
|
end
|
|
14889
14889
|
|
|
14890
14890
|
it 'accepts frozen options' do
|
|
14891
|
-
options = {:
|
|
14891
|
+
options = {option1: 1, options2: 2}
|
|
14892
14892
|
options.freeze
|
|
14893
14893
|
store.key?(0.5, options).should be_false
|
|
14894
14894
|
store.load(0.5, options).should be_nil
|
|
@@ -14939,7 +14939,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
14939
14939
|
end
|
|
14940
14940
|
|
|
14941
14941
|
it 'accepts frozen options' do
|
|
14942
|
-
options = {:
|
|
14942
|
+
options = {option1: 1, options2: 2}
|
|
14943
14943
|
options.freeze
|
|
14944
14944
|
store.key?(-0.3, options).should be_false
|
|
14945
14945
|
store.load(-0.3, options).should be_nil
|
|
@@ -14990,7 +14990,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
14990
14990
|
end
|
|
14991
14991
|
|
|
14992
14992
|
it 'accepts frozen options' do
|
|
14993
|
-
options = {:
|
|
14993
|
+
options = {option1: 1, options2: 2}
|
|
14994
14994
|
options.freeze
|
|
14995
14995
|
store.key?(0.5, options).should be_false
|
|
14996
14996
|
store.load(0.5, options).should be_nil
|
|
@@ -15041,7 +15041,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
15041
15041
|
end
|
|
15042
15042
|
|
|
15043
15043
|
it 'accepts frozen options' do
|
|
15044
|
-
options = {:
|
|
15044
|
+
options = {option1: 1, options2: 2}
|
|
15045
15045
|
options.freeze
|
|
15046
15046
|
store.key?(-0.3, options).should be_false
|
|
15047
15047
|
store.load(-0.3, options).should be_nil
|
|
@@ -15092,7 +15092,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
15092
15092
|
end
|
|
15093
15093
|
|
|
15094
15094
|
it 'accepts frozen options' do
|
|
15095
|
-
options = {:
|
|
15095
|
+
options = {option1: 1, options2: 2}
|
|
15096
15096
|
options.freeze
|
|
15097
15097
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
15098
15098
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -15143,7 +15143,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
15143
15143
|
end
|
|
15144
15144
|
|
|
15145
15145
|
it 'accepts frozen options' do
|
|
15146
|
-
options = {:
|
|
15146
|
+
options = {option1: 1, options2: 2}
|
|
15147
15147
|
options.freeze
|
|
15148
15148
|
store.key?(99, options).should be_false
|
|
15149
15149
|
store.load(99, options).should be_nil
|
|
@@ -15194,7 +15194,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
15194
15194
|
end
|
|
15195
15195
|
|
|
15196
15196
|
it 'accepts frozen options' do
|
|
15197
|
-
options = {:
|
|
15197
|
+
options = {option1: 1, options2: 2}
|
|
15198
15198
|
options.freeze
|
|
15199
15199
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
15200
15200
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -15245,7 +15245,7 @@ shared_examples_for 'null_numberkey_booleanvalue' do
|
|
|
15245
15245
|
end
|
|
15246
15246
|
|
|
15247
15247
|
it 'accepts frozen options' do
|
|
15248
|
-
options = {:
|
|
15248
|
+
options = {option1: 1, options2: 2}
|
|
15249
15249
|
options.freeze
|
|
15250
15250
|
store.key?(99, options).should be_false
|
|
15251
15251
|
store.load(99, options).should be_nil
|
|
@@ -15868,7 +15868,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
15868
15868
|
end
|
|
15869
15869
|
|
|
15870
15870
|
it 'accepts frozen options' do
|
|
15871
|
-
options = {:
|
|
15871
|
+
options = {option1: 1, options2: 2}
|
|
15872
15872
|
options.freeze
|
|
15873
15873
|
store.key?(0.5, options).should be_false
|
|
15874
15874
|
store.load(0.5, options).should be_nil
|
|
@@ -15919,7 +15919,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
15919
15919
|
end
|
|
15920
15920
|
|
|
15921
15921
|
it 'accepts frozen options' do
|
|
15922
|
-
options = {:
|
|
15922
|
+
options = {option1: 1, options2: 2}
|
|
15923
15923
|
options.freeze
|
|
15924
15924
|
store.key?(-0.3, options).should be_false
|
|
15925
15925
|
store.load(-0.3, options).should be_nil
|
|
@@ -15970,7 +15970,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
15970
15970
|
end
|
|
15971
15971
|
|
|
15972
15972
|
it 'accepts frozen options' do
|
|
15973
|
-
options = {:
|
|
15973
|
+
options = {option1: 1, options2: 2}
|
|
15974
15974
|
options.freeze
|
|
15975
15975
|
store.key?(0.5, options).should be_false
|
|
15976
15976
|
store.load(0.5, options).should be_nil
|
|
@@ -16021,7 +16021,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
16021
16021
|
end
|
|
16022
16022
|
|
|
16023
16023
|
it 'accepts frozen options' do
|
|
16024
|
-
options = {:
|
|
16024
|
+
options = {option1: 1, options2: 2}
|
|
16025
16025
|
options.freeze
|
|
16026
16026
|
store.key?(-0.3, options).should be_false
|
|
16027
16027
|
store.load(-0.3, options).should be_nil
|
|
@@ -16072,7 +16072,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
16072
16072
|
end
|
|
16073
16073
|
|
|
16074
16074
|
it 'accepts frozen options' do
|
|
16075
|
-
options = {:
|
|
16075
|
+
options = {option1: 1, options2: 2}
|
|
16076
16076
|
options.freeze
|
|
16077
16077
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
16078
16078
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -16123,7 +16123,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
16123
16123
|
end
|
|
16124
16124
|
|
|
16125
16125
|
it 'accepts frozen options' do
|
|
16126
|
-
options = {:
|
|
16126
|
+
options = {option1: 1, options2: 2}
|
|
16127
16127
|
options.freeze
|
|
16128
16128
|
store.key?(99, options).should be_false
|
|
16129
16129
|
store.load(99, options).should be_nil
|
|
@@ -16174,7 +16174,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
16174
16174
|
end
|
|
16175
16175
|
|
|
16176
16176
|
it 'accepts frozen options' do
|
|
16177
|
-
options = {:
|
|
16177
|
+
options = {option1: 1, options2: 2}
|
|
16178
16178
|
options.freeze
|
|
16179
16179
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
16180
16180
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -16225,7 +16225,7 @@ shared_examples_for 'null_numberkey_stringvalue' do
|
|
|
16225
16225
|
end
|
|
16226
16226
|
|
|
16227
16227
|
it 'accepts frozen options' do
|
|
16228
|
-
options = {:
|
|
16228
|
+
options = {option1: 1, options2: 2}
|
|
16229
16229
|
options.freeze
|
|
16230
16230
|
store.key?(99, options).should be_false
|
|
16231
16231
|
store.load(99, options).should be_nil
|
|
@@ -16952,7 +16952,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
16952
16952
|
end
|
|
16953
16953
|
|
|
16954
16954
|
it 'accepts frozen options' do
|
|
16955
|
-
options = {:
|
|
16955
|
+
options = {option1: 1, options2: 2}
|
|
16956
16956
|
options.freeze
|
|
16957
16957
|
store.key?(0.5, options).should be_false
|
|
16958
16958
|
store.load(0.5, options).should be_nil
|
|
@@ -17003,7 +17003,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
17003
17003
|
end
|
|
17004
17004
|
|
|
17005
17005
|
it 'accepts frozen options' do
|
|
17006
|
-
options = {:
|
|
17006
|
+
options = {option1: 1, options2: 2}
|
|
17007
17007
|
options.freeze
|
|
17008
17008
|
store.key?(-0.3, options).should be_false
|
|
17009
17009
|
store.load(-0.3, options).should be_nil
|
|
@@ -17054,7 +17054,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
17054
17054
|
end
|
|
17055
17055
|
|
|
17056
17056
|
it 'accepts frozen options' do
|
|
17057
|
-
options = {:
|
|
17057
|
+
options = {option1: 1, options2: 2}
|
|
17058
17058
|
options.freeze
|
|
17059
17059
|
store.key?(0.5, options).should be_false
|
|
17060
17060
|
store.load(0.5, options).should be_nil
|
|
@@ -17105,7 +17105,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
17105
17105
|
end
|
|
17106
17106
|
|
|
17107
17107
|
it 'accepts frozen options' do
|
|
17108
|
-
options = {:
|
|
17108
|
+
options = {option1: 1, options2: 2}
|
|
17109
17109
|
options.freeze
|
|
17110
17110
|
store.key?(-0.3, options).should be_false
|
|
17111
17111
|
store.load(-0.3, options).should be_nil
|
|
@@ -17156,7 +17156,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
17156
17156
|
end
|
|
17157
17157
|
|
|
17158
17158
|
it 'accepts frozen options' do
|
|
17159
|
-
options = {:
|
|
17159
|
+
options = {option1: 1, options2: 2}
|
|
17160
17160
|
options.freeze
|
|
17161
17161
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
17162
17162
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -17207,7 +17207,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
17207
17207
|
end
|
|
17208
17208
|
|
|
17209
17209
|
it 'accepts frozen options' do
|
|
17210
|
-
options = {:
|
|
17210
|
+
options = {option1: 1, options2: 2}
|
|
17211
17211
|
options.freeze
|
|
17212
17212
|
store.key?(99, options).should be_false
|
|
17213
17213
|
store.load(99, options).should be_nil
|
|
@@ -17258,7 +17258,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
17258
17258
|
end
|
|
17259
17259
|
|
|
17260
17260
|
it 'accepts frozen options' do
|
|
17261
|
-
options = {:
|
|
17261
|
+
options = {option1: 1, options2: 2}
|
|
17262
17262
|
options.freeze
|
|
17263
17263
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
17264
17264
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -17309,7 +17309,7 @@ shared_examples_for 'null_numberkey_binaryvalue' do
|
|
|
17309
17309
|
end
|
|
17310
17310
|
|
|
17311
17311
|
it 'accepts frozen options' do
|
|
17312
|
-
options = {:
|
|
17312
|
+
options = {option1: 1, options2: 2}
|
|
17313
17313
|
options.freeze
|
|
17314
17314
|
store.key?(99, options).should be_false
|
|
17315
17315
|
store.load(99, options).should be_nil
|
|
@@ -18036,7 +18036,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18036
18036
|
end
|
|
18037
18037
|
|
|
18038
18038
|
it 'accepts frozen options' do
|
|
18039
|
-
options = {:
|
|
18039
|
+
options = {option1: 1, options2: 2}
|
|
18040
18040
|
options.freeze
|
|
18041
18041
|
store.key?(0.5, options).should be_false
|
|
18042
18042
|
store.load(0.5, options).should be_nil
|
|
@@ -18087,7 +18087,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18087
18087
|
end
|
|
18088
18088
|
|
|
18089
18089
|
it 'accepts frozen options' do
|
|
18090
|
-
options = {:
|
|
18090
|
+
options = {option1: 1, options2: 2}
|
|
18091
18091
|
options.freeze
|
|
18092
18092
|
store.key?(-0.3, options).should be_false
|
|
18093
18093
|
store.load(-0.3, options).should be_nil
|
|
@@ -18138,7 +18138,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18138
18138
|
end
|
|
18139
18139
|
|
|
18140
18140
|
it 'accepts frozen options' do
|
|
18141
|
-
options = {:
|
|
18141
|
+
options = {option1: 1, options2: 2}
|
|
18142
18142
|
options.freeze
|
|
18143
18143
|
store.key?(0.5, options).should be_false
|
|
18144
18144
|
store.load(0.5, options).should be_nil
|
|
@@ -18189,7 +18189,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18189
18189
|
end
|
|
18190
18190
|
|
|
18191
18191
|
it 'accepts frozen options' do
|
|
18192
|
-
options = {:
|
|
18192
|
+
options = {option1: 1, options2: 2}
|
|
18193
18193
|
options.freeze
|
|
18194
18194
|
store.key?(-0.3, options).should be_false
|
|
18195
18195
|
store.load(-0.3, options).should be_nil
|
|
@@ -18240,7 +18240,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18240
18240
|
end
|
|
18241
18241
|
|
|
18242
18242
|
it 'accepts frozen options' do
|
|
18243
|
-
options = {:
|
|
18243
|
+
options = {option1: 1, options2: 2}
|
|
18244
18244
|
options.freeze
|
|
18245
18245
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
18246
18246
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -18291,7 +18291,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18291
18291
|
end
|
|
18292
18292
|
|
|
18293
18293
|
it 'accepts frozen options' do
|
|
18294
|
-
options = {:
|
|
18294
|
+
options = {option1: 1, options2: 2}
|
|
18295
18295
|
options.freeze
|
|
18296
18296
|
store.key?(99, options).should be_false
|
|
18297
18297
|
store.load(99, options).should be_nil
|
|
@@ -18342,7 +18342,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18342
18342
|
end
|
|
18343
18343
|
|
|
18344
18344
|
it 'accepts frozen options' do
|
|
18345
|
-
options = {:
|
|
18345
|
+
options = {option1: 1, options2: 2}
|
|
18346
18346
|
options.freeze
|
|
18347
18347
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
18348
18348
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -18393,7 +18393,7 @@ shared_examples_for 'null_numberkey_hashvalue' do
|
|
|
18393
18393
|
end
|
|
18394
18394
|
|
|
18395
18395
|
it 'accepts frozen options' do
|
|
18396
|
-
options = {:
|
|
18396
|
+
options = {option1: 1, options2: 2}
|
|
18397
18397
|
options.freeze
|
|
18398
18398
|
store.key?(99, options).should be_false
|
|
18399
18399
|
store.load(99, options).should be_nil
|
|
@@ -19120,7 +19120,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19120
19120
|
end
|
|
19121
19121
|
|
|
19122
19122
|
it 'accepts frozen options' do
|
|
19123
|
-
options = {:
|
|
19123
|
+
options = {option1: 1, options2: 2}
|
|
19124
19124
|
options.freeze
|
|
19125
19125
|
store.key?(0.5, options).should be_false
|
|
19126
19126
|
store.load(0.5, options).should be_nil
|
|
@@ -19171,7 +19171,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19171
19171
|
end
|
|
19172
19172
|
|
|
19173
19173
|
it 'accepts frozen options' do
|
|
19174
|
-
options = {:
|
|
19174
|
+
options = {option1: 1, options2: 2}
|
|
19175
19175
|
options.freeze
|
|
19176
19176
|
store.key?(-0.3, options).should be_false
|
|
19177
19177
|
store.load(-0.3, options).should be_nil
|
|
@@ -19222,7 +19222,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19222
19222
|
end
|
|
19223
19223
|
|
|
19224
19224
|
it 'accepts frozen options' do
|
|
19225
|
-
options = {:
|
|
19225
|
+
options = {option1: 1, options2: 2}
|
|
19226
19226
|
options.freeze
|
|
19227
19227
|
store.key?(0.5, options).should be_false
|
|
19228
19228
|
store.load(0.5, options).should be_nil
|
|
@@ -19273,7 +19273,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19273
19273
|
end
|
|
19274
19274
|
|
|
19275
19275
|
it 'accepts frozen options' do
|
|
19276
|
-
options = {:
|
|
19276
|
+
options = {option1: 1, options2: 2}
|
|
19277
19277
|
options.freeze
|
|
19278
19278
|
store.key?(-0.3, options).should be_false
|
|
19279
19279
|
store.load(-0.3, options).should be_nil
|
|
@@ -19324,7 +19324,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19324
19324
|
end
|
|
19325
19325
|
|
|
19326
19326
|
it 'accepts frozen options' do
|
|
19327
|
-
options = {:
|
|
19327
|
+
options = {option1: 1, options2: 2}
|
|
19328
19328
|
options.freeze
|
|
19329
19329
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
19330
19330
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -19375,7 +19375,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19375
19375
|
end
|
|
19376
19376
|
|
|
19377
19377
|
it 'accepts frozen options' do
|
|
19378
|
-
options = {:
|
|
19378
|
+
options = {option1: 1, options2: 2}
|
|
19379
19379
|
options.freeze
|
|
19380
19380
|
store.key?(99, options).should be_false
|
|
19381
19381
|
store.load(99, options).should be_nil
|
|
@@ -19426,7 +19426,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19426
19426
|
end
|
|
19427
19427
|
|
|
19428
19428
|
it 'accepts frozen options' do
|
|
19429
|
-
options = {:
|
|
19429
|
+
options = {option1: 1, options2: 2}
|
|
19430
19430
|
options.freeze
|
|
19431
19431
|
store.key?(170141183460469231731687303715884105728, options).should be_false
|
|
19432
19432
|
store.load(170141183460469231731687303715884105728, options).should be_nil
|
|
@@ -19477,7 +19477,7 @@ shared_examples_for 'null_numberkey_objectvalue' do
|
|
|
19477
19477
|
end
|
|
19478
19478
|
|
|
19479
19479
|
it 'accepts frozen options' do
|
|
19480
|
-
options = {:
|
|
19480
|
+
options = {option1: 1, options2: 2}
|
|
19481
19481
|
options.freeze
|
|
19482
19482
|
store.key?(99, options).should be_false
|
|
19483
19483
|
store.load(99, options).should be_nil
|
|
@@ -20204,7 +20204,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20204
20204
|
end
|
|
20205
20205
|
|
|
20206
20206
|
it 'accepts frozen options' do
|
|
20207
|
-
options = {:
|
|
20207
|
+
options = {option1: 1, options2: 2}
|
|
20208
20208
|
options.freeze
|
|
20209
20209
|
store.key?(true, options).should be_false
|
|
20210
20210
|
store.load(true, options).should be_nil
|
|
@@ -20255,7 +20255,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20255
20255
|
end
|
|
20256
20256
|
|
|
20257
20257
|
it 'accepts frozen options' do
|
|
20258
|
-
options = {:
|
|
20258
|
+
options = {option1: 1, options2: 2}
|
|
20259
20259
|
options.freeze
|
|
20260
20260
|
store.key?(false, options).should be_false
|
|
20261
20261
|
store.load(false, options).should be_nil
|
|
@@ -20306,7 +20306,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20306
20306
|
end
|
|
20307
20307
|
|
|
20308
20308
|
it 'accepts frozen options' do
|
|
20309
|
-
options = {:
|
|
20309
|
+
options = {option1: 1, options2: 2}
|
|
20310
20310
|
options.freeze
|
|
20311
20311
|
store.key?(true, options).should be_false
|
|
20312
20312
|
store.load(true, options).should be_nil
|
|
@@ -20357,7 +20357,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20357
20357
|
end
|
|
20358
20358
|
|
|
20359
20359
|
it 'accepts frozen options' do
|
|
20360
|
-
options = {:
|
|
20360
|
+
options = {option1: 1, options2: 2}
|
|
20361
20361
|
options.freeze
|
|
20362
20362
|
store.key?(false, options).should be_false
|
|
20363
20363
|
store.load(false, options).should be_nil
|
|
@@ -20408,7 +20408,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20408
20408
|
end
|
|
20409
20409
|
|
|
20410
20410
|
it 'accepts frozen options' do
|
|
20411
|
-
options = {:
|
|
20411
|
+
options = {option1: 1, options2: 2}
|
|
20412
20412
|
options.freeze
|
|
20413
20413
|
store.key?(true, options).should be_false
|
|
20414
20414
|
store.load(true, options).should be_nil
|
|
@@ -20459,7 +20459,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20459
20459
|
end
|
|
20460
20460
|
|
|
20461
20461
|
it 'accepts frozen options' do
|
|
20462
|
-
options = {:
|
|
20462
|
+
options = {option1: 1, options2: 2}
|
|
20463
20463
|
options.freeze
|
|
20464
20464
|
store.key?(false, options).should be_false
|
|
20465
20465
|
store.load(false, options).should be_nil
|
|
@@ -20510,7 +20510,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20510
20510
|
end
|
|
20511
20511
|
|
|
20512
20512
|
it 'accepts frozen options' do
|
|
20513
|
-
options = {:
|
|
20513
|
+
options = {option1: 1, options2: 2}
|
|
20514
20514
|
options.freeze
|
|
20515
20515
|
store.key?(true, options).should be_false
|
|
20516
20516
|
store.load(true, options).should be_nil
|
|
@@ -20561,7 +20561,7 @@ shared_examples_for 'null_booleankey_nilvalue' do
|
|
|
20561
20561
|
end
|
|
20562
20562
|
|
|
20563
20563
|
it 'accepts frozen options' do
|
|
20564
|
-
options = {:
|
|
20564
|
+
options = {option1: 1, options2: 2}
|
|
20565
20565
|
options.freeze
|
|
20566
20566
|
store.key?(false, options).should be_false
|
|
20567
20567
|
store.load(false, options).should be_nil
|
|
@@ -21096,7 +21096,7 @@ shared_examples_for 'null_booleankey_integervalue' do
|
|
|
21096
21096
|
end
|
|
21097
21097
|
|
|
21098
21098
|
it 'accepts frozen options' do
|
|
21099
|
-
options = {:
|
|
21099
|
+
options = {option1: 1, options2: 2}
|
|
21100
21100
|
options.freeze
|
|
21101
21101
|
store.key?(true, options).should be_false
|
|
21102
21102
|
store.load(true, options).should be_nil
|
|
@@ -21147,7 +21147,7 @@ shared_examples_for 'null_booleankey_integervalue' do
|
|
|
21147
21147
|
end
|
|
21148
21148
|
|
|
21149
21149
|
it 'accepts frozen options' do
|
|
21150
|
-
options = {:
|
|
21150
|
+
options = {option1: 1, options2: 2}
|
|
21151
21151
|
options.freeze
|
|
21152
21152
|
store.key?(false, options).should be_false
|
|
21153
21153
|
store.load(false, options).should be_nil
|
|
@@ -21198,7 +21198,7 @@ shared_examples_for 'null_booleankey_integervalue' do
|
|
|
21198
21198
|
end
|
|
21199
21199
|
|
|
21200
21200
|
it 'accepts frozen options' do
|
|
21201
|
-
options = {:
|
|
21201
|
+
options = {option1: 1, options2: 2}
|
|
21202
21202
|
options.freeze
|
|
21203
21203
|
store.key?(true, options).should be_false
|
|
21204
21204
|
store.load(true, options).should be_nil
|
|
@@ -21249,7 +21249,7 @@ shared_examples_for 'null_booleankey_integervalue' do
|
|
|
21249
21249
|
end
|
|
21250
21250
|
|
|
21251
21251
|
it 'accepts frozen options' do
|
|
21252
|
-
options = {:
|
|
21252
|
+
options = {option1: 1, options2: 2}
|
|
21253
21253
|
options.freeze
|
|
21254
21254
|
store.key?(false, options).should be_false
|
|
21255
21255
|
store.load(false, options).should be_nil
|
|
@@ -21592,7 +21592,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21592
21592
|
end
|
|
21593
21593
|
|
|
21594
21594
|
it 'accepts frozen options' do
|
|
21595
|
-
options = {:
|
|
21595
|
+
options = {option1: 1, options2: 2}
|
|
21596
21596
|
options.freeze
|
|
21597
21597
|
store.key?(true, options).should be_false
|
|
21598
21598
|
store.load(true, options).should be_nil
|
|
@@ -21643,7 +21643,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21643
21643
|
end
|
|
21644
21644
|
|
|
21645
21645
|
it 'accepts frozen options' do
|
|
21646
|
-
options = {:
|
|
21646
|
+
options = {option1: 1, options2: 2}
|
|
21647
21647
|
options.freeze
|
|
21648
21648
|
store.key?(false, options).should be_false
|
|
21649
21649
|
store.load(false, options).should be_nil
|
|
@@ -21694,7 +21694,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21694
21694
|
end
|
|
21695
21695
|
|
|
21696
21696
|
it 'accepts frozen options' do
|
|
21697
|
-
options = {:
|
|
21697
|
+
options = {option1: 1, options2: 2}
|
|
21698
21698
|
options.freeze
|
|
21699
21699
|
store.key?(true, options).should be_false
|
|
21700
21700
|
store.load(true, options).should be_nil
|
|
@@ -21745,7 +21745,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21745
21745
|
end
|
|
21746
21746
|
|
|
21747
21747
|
it 'accepts frozen options' do
|
|
21748
|
-
options = {:
|
|
21748
|
+
options = {option1: 1, options2: 2}
|
|
21749
21749
|
options.freeze
|
|
21750
21750
|
store.key?(false, options).should be_false
|
|
21751
21751
|
store.load(false, options).should be_nil
|
|
@@ -21796,7 +21796,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21796
21796
|
end
|
|
21797
21797
|
|
|
21798
21798
|
it 'accepts frozen options' do
|
|
21799
|
-
options = {:
|
|
21799
|
+
options = {option1: 1, options2: 2}
|
|
21800
21800
|
options.freeze
|
|
21801
21801
|
store.key?(true, options).should be_false
|
|
21802
21802
|
store.load(true, options).should be_nil
|
|
@@ -21847,7 +21847,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21847
21847
|
end
|
|
21848
21848
|
|
|
21849
21849
|
it 'accepts frozen options' do
|
|
21850
|
-
options = {:
|
|
21850
|
+
options = {option1: 1, options2: 2}
|
|
21851
21851
|
options.freeze
|
|
21852
21852
|
store.key?(false, options).should be_false
|
|
21853
21853
|
store.load(false, options).should be_nil
|
|
@@ -21898,7 +21898,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21898
21898
|
end
|
|
21899
21899
|
|
|
21900
21900
|
it 'accepts frozen options' do
|
|
21901
|
-
options = {:
|
|
21901
|
+
options = {option1: 1, options2: 2}
|
|
21902
21902
|
options.freeze
|
|
21903
21903
|
store.key?(true, options).should be_false
|
|
21904
21904
|
store.load(true, options).should be_nil
|
|
@@ -21949,7 +21949,7 @@ shared_examples_for 'null_booleankey_numbervalue' do
|
|
|
21949
21949
|
end
|
|
21950
21950
|
|
|
21951
21951
|
it 'accepts frozen options' do
|
|
21952
|
-
options = {:
|
|
21952
|
+
options = {option1: 1, options2: 2}
|
|
21953
21953
|
options.freeze
|
|
21954
21954
|
store.key?(false, options).should be_false
|
|
21955
21955
|
store.load(false, options).should be_nil
|
|
@@ -22572,7 +22572,7 @@ shared_examples_for 'null_booleankey_booleanvalue' do
|
|
|
22572
22572
|
end
|
|
22573
22573
|
|
|
22574
22574
|
it 'accepts frozen options' do
|
|
22575
|
-
options = {:
|
|
22575
|
+
options = {option1: 1, options2: 2}
|
|
22576
22576
|
options.freeze
|
|
22577
22577
|
store.key?(true, options).should be_false
|
|
22578
22578
|
store.load(true, options).should be_nil
|
|
@@ -22623,7 +22623,7 @@ shared_examples_for 'null_booleankey_booleanvalue' do
|
|
|
22623
22623
|
end
|
|
22624
22624
|
|
|
22625
22625
|
it 'accepts frozen options' do
|
|
22626
|
-
options = {:
|
|
22626
|
+
options = {option1: 1, options2: 2}
|
|
22627
22627
|
options.freeze
|
|
22628
22628
|
store.key?(false, options).should be_false
|
|
22629
22629
|
store.load(false, options).should be_nil
|
|
@@ -22674,7 +22674,7 @@ shared_examples_for 'null_booleankey_booleanvalue' do
|
|
|
22674
22674
|
end
|
|
22675
22675
|
|
|
22676
22676
|
it 'accepts frozen options' do
|
|
22677
|
-
options = {:
|
|
22677
|
+
options = {option1: 1, options2: 2}
|
|
22678
22678
|
options.freeze
|
|
22679
22679
|
store.key?(true, options).should be_false
|
|
22680
22680
|
store.load(true, options).should be_nil
|
|
@@ -22725,7 +22725,7 @@ shared_examples_for 'null_booleankey_booleanvalue' do
|
|
|
22725
22725
|
end
|
|
22726
22726
|
|
|
22727
22727
|
it 'accepts frozen options' do
|
|
22728
|
-
options = {:
|
|
22728
|
+
options = {option1: 1, options2: 2}
|
|
22729
22729
|
options.freeze
|
|
22730
22730
|
store.key?(false, options).should be_false
|
|
22731
22731
|
store.load(false, options).should be_nil
|
|
@@ -23068,7 +23068,7 @@ shared_examples_for 'null_booleankey_stringvalue' do
|
|
|
23068
23068
|
end
|
|
23069
23069
|
|
|
23070
23070
|
it 'accepts frozen options' do
|
|
23071
|
-
options = {:
|
|
23071
|
+
options = {option1: 1, options2: 2}
|
|
23072
23072
|
options.freeze
|
|
23073
23073
|
store.key?(true, options).should be_false
|
|
23074
23074
|
store.load(true, options).should be_nil
|
|
@@ -23119,7 +23119,7 @@ shared_examples_for 'null_booleankey_stringvalue' do
|
|
|
23119
23119
|
end
|
|
23120
23120
|
|
|
23121
23121
|
it 'accepts frozen options' do
|
|
23122
|
-
options = {:
|
|
23122
|
+
options = {option1: 1, options2: 2}
|
|
23123
23123
|
options.freeze
|
|
23124
23124
|
store.key?(false, options).should be_false
|
|
23125
23125
|
store.load(false, options).should be_nil
|
|
@@ -23170,7 +23170,7 @@ shared_examples_for 'null_booleankey_stringvalue' do
|
|
|
23170
23170
|
end
|
|
23171
23171
|
|
|
23172
23172
|
it 'accepts frozen options' do
|
|
23173
|
-
options = {:
|
|
23173
|
+
options = {option1: 1, options2: 2}
|
|
23174
23174
|
options.freeze
|
|
23175
23175
|
store.key?(true, options).should be_false
|
|
23176
23176
|
store.load(true, options).should be_nil
|
|
@@ -23221,7 +23221,7 @@ shared_examples_for 'null_booleankey_stringvalue' do
|
|
|
23221
23221
|
end
|
|
23222
23222
|
|
|
23223
23223
|
it 'accepts frozen options' do
|
|
23224
|
-
options = {:
|
|
23224
|
+
options = {option1: 1, options2: 2}
|
|
23225
23225
|
options.freeze
|
|
23226
23226
|
store.key?(false, options).should be_false
|
|
23227
23227
|
store.load(false, options).should be_nil
|
|
@@ -23620,7 +23620,7 @@ shared_examples_for 'null_booleankey_binaryvalue' do
|
|
|
23620
23620
|
end
|
|
23621
23621
|
|
|
23622
23622
|
it 'accepts frozen options' do
|
|
23623
|
-
options = {:
|
|
23623
|
+
options = {option1: 1, options2: 2}
|
|
23624
23624
|
options.freeze
|
|
23625
23625
|
store.key?(true, options).should be_false
|
|
23626
23626
|
store.load(true, options).should be_nil
|
|
@@ -23671,7 +23671,7 @@ shared_examples_for 'null_booleankey_binaryvalue' do
|
|
|
23671
23671
|
end
|
|
23672
23672
|
|
|
23673
23673
|
it 'accepts frozen options' do
|
|
23674
|
-
options = {:
|
|
23674
|
+
options = {option1: 1, options2: 2}
|
|
23675
23675
|
options.freeze
|
|
23676
23676
|
store.key?(false, options).should be_false
|
|
23677
23677
|
store.load(false, options).should be_nil
|
|
@@ -23722,7 +23722,7 @@ shared_examples_for 'null_booleankey_binaryvalue' do
|
|
|
23722
23722
|
end
|
|
23723
23723
|
|
|
23724
23724
|
it 'accepts frozen options' do
|
|
23725
|
-
options = {:
|
|
23725
|
+
options = {option1: 1, options2: 2}
|
|
23726
23726
|
options.freeze
|
|
23727
23727
|
store.key?(true, options).should be_false
|
|
23728
23728
|
store.load(true, options).should be_nil
|
|
@@ -23773,7 +23773,7 @@ shared_examples_for 'null_booleankey_binaryvalue' do
|
|
|
23773
23773
|
end
|
|
23774
23774
|
|
|
23775
23775
|
it 'accepts frozen options' do
|
|
23776
|
-
options = {:
|
|
23776
|
+
options = {option1: 1, options2: 2}
|
|
23777
23777
|
options.freeze
|
|
23778
23778
|
store.key?(false, options).should be_false
|
|
23779
23779
|
store.load(false, options).should be_nil
|
|
@@ -24172,7 +24172,7 @@ shared_examples_for 'null_booleankey_hashvalue' do
|
|
|
24172
24172
|
end
|
|
24173
24173
|
|
|
24174
24174
|
it 'accepts frozen options' do
|
|
24175
|
-
options = {:
|
|
24175
|
+
options = {option1: 1, options2: 2}
|
|
24176
24176
|
options.freeze
|
|
24177
24177
|
store.key?(true, options).should be_false
|
|
24178
24178
|
store.load(true, options).should be_nil
|
|
@@ -24223,7 +24223,7 @@ shared_examples_for 'null_booleankey_hashvalue' do
|
|
|
24223
24223
|
end
|
|
24224
24224
|
|
|
24225
24225
|
it 'accepts frozen options' do
|
|
24226
|
-
options = {:
|
|
24226
|
+
options = {option1: 1, options2: 2}
|
|
24227
24227
|
options.freeze
|
|
24228
24228
|
store.key?(false, options).should be_false
|
|
24229
24229
|
store.load(false, options).should be_nil
|
|
@@ -24274,7 +24274,7 @@ shared_examples_for 'null_booleankey_hashvalue' do
|
|
|
24274
24274
|
end
|
|
24275
24275
|
|
|
24276
24276
|
it 'accepts frozen options' do
|
|
24277
|
-
options = {:
|
|
24277
|
+
options = {option1: 1, options2: 2}
|
|
24278
24278
|
options.freeze
|
|
24279
24279
|
store.key?(true, options).should be_false
|
|
24280
24280
|
store.load(true, options).should be_nil
|
|
@@ -24325,7 +24325,7 @@ shared_examples_for 'null_booleankey_hashvalue' do
|
|
|
24325
24325
|
end
|
|
24326
24326
|
|
|
24327
24327
|
it 'accepts frozen options' do
|
|
24328
|
-
options = {:
|
|
24328
|
+
options = {option1: 1, options2: 2}
|
|
24329
24329
|
options.freeze
|
|
24330
24330
|
store.key?(false, options).should be_false
|
|
24331
24331
|
store.load(false, options).should be_nil
|
|
@@ -24724,7 +24724,7 @@ shared_examples_for 'null_booleankey_objectvalue' do
|
|
|
24724
24724
|
end
|
|
24725
24725
|
|
|
24726
24726
|
it 'accepts frozen options' do
|
|
24727
|
-
options = {:
|
|
24727
|
+
options = {option1: 1, options2: 2}
|
|
24728
24728
|
options.freeze
|
|
24729
24729
|
store.key?(true, options).should be_false
|
|
24730
24730
|
store.load(true, options).should be_nil
|
|
@@ -24775,7 +24775,7 @@ shared_examples_for 'null_booleankey_objectvalue' do
|
|
|
24775
24775
|
end
|
|
24776
24776
|
|
|
24777
24777
|
it 'accepts frozen options' do
|
|
24778
|
-
options = {:
|
|
24778
|
+
options = {option1: 1, options2: 2}
|
|
24779
24779
|
options.freeze
|
|
24780
24780
|
store.key?(false, options).should be_false
|
|
24781
24781
|
store.load(false, options).should be_nil
|
|
@@ -24826,7 +24826,7 @@ shared_examples_for 'null_booleankey_objectvalue' do
|
|
|
24826
24826
|
end
|
|
24827
24827
|
|
|
24828
24828
|
it 'accepts frozen options' do
|
|
24829
|
-
options = {:
|
|
24829
|
+
options = {option1: 1, options2: 2}
|
|
24830
24830
|
options.freeze
|
|
24831
24831
|
store.key?(true, options).should be_false
|
|
24832
24832
|
store.load(true, options).should be_nil
|
|
@@ -24877,7 +24877,7 @@ shared_examples_for 'null_booleankey_objectvalue' do
|
|
|
24877
24877
|
end
|
|
24878
24878
|
|
|
24879
24879
|
it 'accepts frozen options' do
|
|
24880
|
-
options = {:
|
|
24880
|
+
options = {option1: 1, options2: 2}
|
|
24881
24881
|
options.freeze
|
|
24882
24882
|
store.key?(false, options).should be_false
|
|
24883
24883
|
store.load(false, options).should be_nil
|
|
@@ -25276,7 +25276,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25276
25276
|
end
|
|
25277
25277
|
|
|
25278
25278
|
it 'accepts frozen options' do
|
|
25279
|
-
options = {:
|
|
25279
|
+
options = {option1: 1, options2: 2}
|
|
25280
25280
|
options.freeze
|
|
25281
25281
|
store.key?("strkey1", options).should be_false
|
|
25282
25282
|
store.load("strkey1", options).should be_nil
|
|
@@ -25327,7 +25327,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25327
25327
|
end
|
|
25328
25328
|
|
|
25329
25329
|
it 'accepts frozen options' do
|
|
25330
|
-
options = {:
|
|
25330
|
+
options = {option1: 1, options2: 2}
|
|
25331
25331
|
options.freeze
|
|
25332
25332
|
store.key?("strkey2", options).should be_false
|
|
25333
25333
|
store.load("strkey2", options).should be_nil
|
|
@@ -25378,7 +25378,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25378
25378
|
end
|
|
25379
25379
|
|
|
25380
25380
|
it 'accepts frozen options' do
|
|
25381
|
-
options = {:
|
|
25381
|
+
options = {option1: 1, options2: 2}
|
|
25382
25382
|
options.freeze
|
|
25383
25383
|
store.key?("strkey1", options).should be_false
|
|
25384
25384
|
store.load("strkey1", options).should be_nil
|
|
@@ -25429,7 +25429,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25429
25429
|
end
|
|
25430
25430
|
|
|
25431
25431
|
it 'accepts frozen options' do
|
|
25432
|
-
options = {:
|
|
25432
|
+
options = {option1: 1, options2: 2}
|
|
25433
25433
|
options.freeze
|
|
25434
25434
|
store.key?("strkey2", options).should be_false
|
|
25435
25435
|
store.load("strkey2", options).should be_nil
|
|
@@ -25480,7 +25480,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25480
25480
|
end
|
|
25481
25481
|
|
|
25482
25482
|
it 'accepts frozen options' do
|
|
25483
|
-
options = {:
|
|
25483
|
+
options = {option1: 1, options2: 2}
|
|
25484
25484
|
options.freeze
|
|
25485
25485
|
store.key?("strkey1", options).should be_false
|
|
25486
25486
|
store.load("strkey1", options).should be_nil
|
|
@@ -25531,7 +25531,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25531
25531
|
end
|
|
25532
25532
|
|
|
25533
25533
|
it 'accepts frozen options' do
|
|
25534
|
-
options = {:
|
|
25534
|
+
options = {option1: 1, options2: 2}
|
|
25535
25535
|
options.freeze
|
|
25536
25536
|
store.key?("strkey2", options).should be_false
|
|
25537
25537
|
store.load("strkey2", options).should be_nil
|
|
@@ -25582,7 +25582,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25582
25582
|
end
|
|
25583
25583
|
|
|
25584
25584
|
it 'accepts frozen options' do
|
|
25585
|
-
options = {:
|
|
25585
|
+
options = {option1: 1, options2: 2}
|
|
25586
25586
|
options.freeze
|
|
25587
25587
|
store.key?("strkey1", options).should be_false
|
|
25588
25588
|
store.load("strkey1", options).should be_nil
|
|
@@ -25633,7 +25633,7 @@ shared_examples_for 'null_stringkey_nilvalue' do
|
|
|
25633
25633
|
end
|
|
25634
25634
|
|
|
25635
25635
|
it 'accepts frozen options' do
|
|
25636
|
-
options = {:
|
|
25636
|
+
options = {option1: 1, options2: 2}
|
|
25637
25637
|
options.freeze
|
|
25638
25638
|
store.key?("strkey2", options).should be_false
|
|
25639
25639
|
store.load("strkey2", options).should be_nil
|
|
@@ -26168,7 +26168,7 @@ shared_examples_for 'null_stringkey_integervalue' do
|
|
|
26168
26168
|
end
|
|
26169
26169
|
|
|
26170
26170
|
it 'accepts frozen options' do
|
|
26171
|
-
options = {:
|
|
26171
|
+
options = {option1: 1, options2: 2}
|
|
26172
26172
|
options.freeze
|
|
26173
26173
|
store.key?("strkey1", options).should be_false
|
|
26174
26174
|
store.load("strkey1", options).should be_nil
|
|
@@ -26219,7 +26219,7 @@ shared_examples_for 'null_stringkey_integervalue' do
|
|
|
26219
26219
|
end
|
|
26220
26220
|
|
|
26221
26221
|
it 'accepts frozen options' do
|
|
26222
|
-
options = {:
|
|
26222
|
+
options = {option1: 1, options2: 2}
|
|
26223
26223
|
options.freeze
|
|
26224
26224
|
store.key?("strkey2", options).should be_false
|
|
26225
26225
|
store.load("strkey2", options).should be_nil
|
|
@@ -26270,7 +26270,7 @@ shared_examples_for 'null_stringkey_integervalue' do
|
|
|
26270
26270
|
end
|
|
26271
26271
|
|
|
26272
26272
|
it 'accepts frozen options' do
|
|
26273
|
-
options = {:
|
|
26273
|
+
options = {option1: 1, options2: 2}
|
|
26274
26274
|
options.freeze
|
|
26275
26275
|
store.key?("strkey1", options).should be_false
|
|
26276
26276
|
store.load("strkey1", options).should be_nil
|
|
@@ -26321,7 +26321,7 @@ shared_examples_for 'null_stringkey_integervalue' do
|
|
|
26321
26321
|
end
|
|
26322
26322
|
|
|
26323
26323
|
it 'accepts frozen options' do
|
|
26324
|
-
options = {:
|
|
26324
|
+
options = {option1: 1, options2: 2}
|
|
26325
26325
|
options.freeze
|
|
26326
26326
|
store.key?("strkey2", options).should be_false
|
|
26327
26327
|
store.load("strkey2", options).should be_nil
|
|
@@ -26664,7 +26664,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
26664
26664
|
end
|
|
26665
26665
|
|
|
26666
26666
|
it 'accepts frozen options' do
|
|
26667
|
-
options = {:
|
|
26667
|
+
options = {option1: 1, options2: 2}
|
|
26668
26668
|
options.freeze
|
|
26669
26669
|
store.key?("strkey1", options).should be_false
|
|
26670
26670
|
store.load("strkey1", options).should be_nil
|
|
@@ -26715,7 +26715,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
26715
26715
|
end
|
|
26716
26716
|
|
|
26717
26717
|
it 'accepts frozen options' do
|
|
26718
|
-
options = {:
|
|
26718
|
+
options = {option1: 1, options2: 2}
|
|
26719
26719
|
options.freeze
|
|
26720
26720
|
store.key?("strkey2", options).should be_false
|
|
26721
26721
|
store.load("strkey2", options).should be_nil
|
|
@@ -26766,7 +26766,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
26766
26766
|
end
|
|
26767
26767
|
|
|
26768
26768
|
it 'accepts frozen options' do
|
|
26769
|
-
options = {:
|
|
26769
|
+
options = {option1: 1, options2: 2}
|
|
26770
26770
|
options.freeze
|
|
26771
26771
|
store.key?("strkey1", options).should be_false
|
|
26772
26772
|
store.load("strkey1", options).should be_nil
|
|
@@ -26817,7 +26817,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
26817
26817
|
end
|
|
26818
26818
|
|
|
26819
26819
|
it 'accepts frozen options' do
|
|
26820
|
-
options = {:
|
|
26820
|
+
options = {option1: 1, options2: 2}
|
|
26821
26821
|
options.freeze
|
|
26822
26822
|
store.key?("strkey2", options).should be_false
|
|
26823
26823
|
store.load("strkey2", options).should be_nil
|
|
@@ -26868,7 +26868,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
26868
26868
|
end
|
|
26869
26869
|
|
|
26870
26870
|
it 'accepts frozen options' do
|
|
26871
|
-
options = {:
|
|
26871
|
+
options = {option1: 1, options2: 2}
|
|
26872
26872
|
options.freeze
|
|
26873
26873
|
store.key?("strkey1", options).should be_false
|
|
26874
26874
|
store.load("strkey1", options).should be_nil
|
|
@@ -26919,7 +26919,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
26919
26919
|
end
|
|
26920
26920
|
|
|
26921
26921
|
it 'accepts frozen options' do
|
|
26922
|
-
options = {:
|
|
26922
|
+
options = {option1: 1, options2: 2}
|
|
26923
26923
|
options.freeze
|
|
26924
26924
|
store.key?("strkey2", options).should be_false
|
|
26925
26925
|
store.load("strkey2", options).should be_nil
|
|
@@ -26970,7 +26970,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
26970
26970
|
end
|
|
26971
26971
|
|
|
26972
26972
|
it 'accepts frozen options' do
|
|
26973
|
-
options = {:
|
|
26973
|
+
options = {option1: 1, options2: 2}
|
|
26974
26974
|
options.freeze
|
|
26975
26975
|
store.key?("strkey1", options).should be_false
|
|
26976
26976
|
store.load("strkey1", options).should be_nil
|
|
@@ -27021,7 +27021,7 @@ shared_examples_for 'null_stringkey_numbervalue' do
|
|
|
27021
27021
|
end
|
|
27022
27022
|
|
|
27023
27023
|
it 'accepts frozen options' do
|
|
27024
|
-
options = {:
|
|
27024
|
+
options = {option1: 1, options2: 2}
|
|
27025
27025
|
options.freeze
|
|
27026
27026
|
store.key?("strkey2", options).should be_false
|
|
27027
27027
|
store.load("strkey2", options).should be_nil
|
|
@@ -27644,7 +27644,7 @@ shared_examples_for 'null_stringkey_booleanvalue' do
|
|
|
27644
27644
|
end
|
|
27645
27645
|
|
|
27646
27646
|
it 'accepts frozen options' do
|
|
27647
|
-
options = {:
|
|
27647
|
+
options = {option1: 1, options2: 2}
|
|
27648
27648
|
options.freeze
|
|
27649
27649
|
store.key?("strkey1", options).should be_false
|
|
27650
27650
|
store.load("strkey1", options).should be_nil
|
|
@@ -27695,7 +27695,7 @@ shared_examples_for 'null_stringkey_booleanvalue' do
|
|
|
27695
27695
|
end
|
|
27696
27696
|
|
|
27697
27697
|
it 'accepts frozen options' do
|
|
27698
|
-
options = {:
|
|
27698
|
+
options = {option1: 1, options2: 2}
|
|
27699
27699
|
options.freeze
|
|
27700
27700
|
store.key?("strkey2", options).should be_false
|
|
27701
27701
|
store.load("strkey2", options).should be_nil
|
|
@@ -27746,7 +27746,7 @@ shared_examples_for 'null_stringkey_booleanvalue' do
|
|
|
27746
27746
|
end
|
|
27747
27747
|
|
|
27748
27748
|
it 'accepts frozen options' do
|
|
27749
|
-
options = {:
|
|
27749
|
+
options = {option1: 1, options2: 2}
|
|
27750
27750
|
options.freeze
|
|
27751
27751
|
store.key?("strkey1", options).should be_false
|
|
27752
27752
|
store.load("strkey1", options).should be_nil
|
|
@@ -27797,7 +27797,7 @@ shared_examples_for 'null_stringkey_booleanvalue' do
|
|
|
27797
27797
|
end
|
|
27798
27798
|
|
|
27799
27799
|
it 'accepts frozen options' do
|
|
27800
|
-
options = {:
|
|
27800
|
+
options = {option1: 1, options2: 2}
|
|
27801
27801
|
options.freeze
|
|
27802
27802
|
store.key?("strkey2", options).should be_false
|
|
27803
27803
|
store.load("strkey2", options).should be_nil
|
|
@@ -28140,7 +28140,7 @@ shared_examples_for 'null_stringkey_stringvalue' do
|
|
|
28140
28140
|
end
|
|
28141
28141
|
|
|
28142
28142
|
it 'accepts frozen options' do
|
|
28143
|
-
options = {:
|
|
28143
|
+
options = {option1: 1, options2: 2}
|
|
28144
28144
|
options.freeze
|
|
28145
28145
|
store.key?("strkey1", options).should be_false
|
|
28146
28146
|
store.load("strkey1", options).should be_nil
|
|
@@ -28191,7 +28191,7 @@ shared_examples_for 'null_stringkey_stringvalue' do
|
|
|
28191
28191
|
end
|
|
28192
28192
|
|
|
28193
28193
|
it 'accepts frozen options' do
|
|
28194
|
-
options = {:
|
|
28194
|
+
options = {option1: 1, options2: 2}
|
|
28195
28195
|
options.freeze
|
|
28196
28196
|
store.key?("strkey2", options).should be_false
|
|
28197
28197
|
store.load("strkey2", options).should be_nil
|
|
@@ -28242,7 +28242,7 @@ shared_examples_for 'null_stringkey_stringvalue' do
|
|
|
28242
28242
|
end
|
|
28243
28243
|
|
|
28244
28244
|
it 'accepts frozen options' do
|
|
28245
|
-
options = {:
|
|
28245
|
+
options = {option1: 1, options2: 2}
|
|
28246
28246
|
options.freeze
|
|
28247
28247
|
store.key?("strkey1", options).should be_false
|
|
28248
28248
|
store.load("strkey1", options).should be_nil
|
|
@@ -28293,7 +28293,7 @@ shared_examples_for 'null_stringkey_stringvalue' do
|
|
|
28293
28293
|
end
|
|
28294
28294
|
|
|
28295
28295
|
it 'accepts frozen options' do
|
|
28296
|
-
options = {:
|
|
28296
|
+
options = {option1: 1, options2: 2}
|
|
28297
28297
|
options.freeze
|
|
28298
28298
|
store.key?("strkey2", options).should be_false
|
|
28299
28299
|
store.load("strkey2", options).should be_nil
|
|
@@ -28692,7 +28692,7 @@ shared_examples_for 'null_stringkey_binaryvalue' do
|
|
|
28692
28692
|
end
|
|
28693
28693
|
|
|
28694
28694
|
it 'accepts frozen options' do
|
|
28695
|
-
options = {:
|
|
28695
|
+
options = {option1: 1, options2: 2}
|
|
28696
28696
|
options.freeze
|
|
28697
28697
|
store.key?("strkey1", options).should be_false
|
|
28698
28698
|
store.load("strkey1", options).should be_nil
|
|
@@ -28743,7 +28743,7 @@ shared_examples_for 'null_stringkey_binaryvalue' do
|
|
|
28743
28743
|
end
|
|
28744
28744
|
|
|
28745
28745
|
it 'accepts frozen options' do
|
|
28746
|
-
options = {:
|
|
28746
|
+
options = {option1: 1, options2: 2}
|
|
28747
28747
|
options.freeze
|
|
28748
28748
|
store.key?("strkey2", options).should be_false
|
|
28749
28749
|
store.load("strkey2", options).should be_nil
|
|
@@ -28794,7 +28794,7 @@ shared_examples_for 'null_stringkey_binaryvalue' do
|
|
|
28794
28794
|
end
|
|
28795
28795
|
|
|
28796
28796
|
it 'accepts frozen options' do
|
|
28797
|
-
options = {:
|
|
28797
|
+
options = {option1: 1, options2: 2}
|
|
28798
28798
|
options.freeze
|
|
28799
28799
|
store.key?("strkey1", options).should be_false
|
|
28800
28800
|
store.load("strkey1", options).should be_nil
|
|
@@ -28845,7 +28845,7 @@ shared_examples_for 'null_stringkey_binaryvalue' do
|
|
|
28845
28845
|
end
|
|
28846
28846
|
|
|
28847
28847
|
it 'accepts frozen options' do
|
|
28848
|
-
options = {:
|
|
28848
|
+
options = {option1: 1, options2: 2}
|
|
28849
28849
|
options.freeze
|
|
28850
28850
|
store.key?("strkey2", options).should be_false
|
|
28851
28851
|
store.load("strkey2", options).should be_nil
|
|
@@ -29244,7 +29244,7 @@ shared_examples_for 'null_stringkey_hashvalue' do
|
|
|
29244
29244
|
end
|
|
29245
29245
|
|
|
29246
29246
|
it 'accepts frozen options' do
|
|
29247
|
-
options = {:
|
|
29247
|
+
options = {option1: 1, options2: 2}
|
|
29248
29248
|
options.freeze
|
|
29249
29249
|
store.key?("strkey1", options).should be_false
|
|
29250
29250
|
store.load("strkey1", options).should be_nil
|
|
@@ -29295,7 +29295,7 @@ shared_examples_for 'null_stringkey_hashvalue' do
|
|
|
29295
29295
|
end
|
|
29296
29296
|
|
|
29297
29297
|
it 'accepts frozen options' do
|
|
29298
|
-
options = {:
|
|
29298
|
+
options = {option1: 1, options2: 2}
|
|
29299
29299
|
options.freeze
|
|
29300
29300
|
store.key?("strkey2", options).should be_false
|
|
29301
29301
|
store.load("strkey2", options).should be_nil
|
|
@@ -29346,7 +29346,7 @@ shared_examples_for 'null_stringkey_hashvalue' do
|
|
|
29346
29346
|
end
|
|
29347
29347
|
|
|
29348
29348
|
it 'accepts frozen options' do
|
|
29349
|
-
options = {:
|
|
29349
|
+
options = {option1: 1, options2: 2}
|
|
29350
29350
|
options.freeze
|
|
29351
29351
|
store.key?("strkey1", options).should be_false
|
|
29352
29352
|
store.load("strkey1", options).should be_nil
|
|
@@ -29397,7 +29397,7 @@ shared_examples_for 'null_stringkey_hashvalue' do
|
|
|
29397
29397
|
end
|
|
29398
29398
|
|
|
29399
29399
|
it 'accepts frozen options' do
|
|
29400
|
-
options = {:
|
|
29400
|
+
options = {option1: 1, options2: 2}
|
|
29401
29401
|
options.freeze
|
|
29402
29402
|
store.key?("strkey2", options).should be_false
|
|
29403
29403
|
store.load("strkey2", options).should be_nil
|
|
@@ -29796,7 +29796,7 @@ shared_examples_for 'null_stringkey_objectvalue' do
|
|
|
29796
29796
|
end
|
|
29797
29797
|
|
|
29798
29798
|
it 'accepts frozen options' do
|
|
29799
|
-
options = {:
|
|
29799
|
+
options = {option1: 1, options2: 2}
|
|
29800
29800
|
options.freeze
|
|
29801
29801
|
store.key?("strkey1", options).should be_false
|
|
29802
29802
|
store.load("strkey1", options).should be_nil
|
|
@@ -29847,7 +29847,7 @@ shared_examples_for 'null_stringkey_objectvalue' do
|
|
|
29847
29847
|
end
|
|
29848
29848
|
|
|
29849
29849
|
it 'accepts frozen options' do
|
|
29850
|
-
options = {:
|
|
29850
|
+
options = {option1: 1, options2: 2}
|
|
29851
29851
|
options.freeze
|
|
29852
29852
|
store.key?("strkey2", options).should be_false
|
|
29853
29853
|
store.load("strkey2", options).should be_nil
|
|
@@ -29898,7 +29898,7 @@ shared_examples_for 'null_stringkey_objectvalue' do
|
|
|
29898
29898
|
end
|
|
29899
29899
|
|
|
29900
29900
|
it 'accepts frozen options' do
|
|
29901
|
-
options = {:
|
|
29901
|
+
options = {option1: 1, options2: 2}
|
|
29902
29902
|
options.freeze
|
|
29903
29903
|
store.key?("strkey1", options).should be_false
|
|
29904
29904
|
store.load("strkey1", options).should be_nil
|
|
@@ -29949,7 +29949,7 @@ shared_examples_for 'null_stringkey_objectvalue' do
|
|
|
29949
29949
|
end
|
|
29950
29950
|
|
|
29951
29951
|
it 'accepts frozen options' do
|
|
29952
|
-
options = {:
|
|
29952
|
+
options = {option1: 1, options2: 2}
|
|
29953
29953
|
options.freeze
|
|
29954
29954
|
store.key?("strkey2", options).should be_false
|
|
29955
29955
|
store.load("strkey2", options).should be_nil
|
|
@@ -30348,7 +30348,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30348
30348
|
end
|
|
30349
30349
|
|
|
30350
30350
|
it 'accepts frozen options' do
|
|
30351
|
-
options = {:
|
|
30351
|
+
options = {option1: 1, options2: 2}
|
|
30352
30352
|
options.freeze
|
|
30353
30353
|
store.key?("bar/foo/baz", options).should be_false
|
|
30354
30354
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -30399,7 +30399,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30399
30399
|
end
|
|
30400
30400
|
|
|
30401
30401
|
it 'accepts frozen options' do
|
|
30402
|
-
options = {:
|
|
30402
|
+
options = {option1: 1, options2: 2}
|
|
30403
30403
|
options.freeze
|
|
30404
30404
|
store.key?("foo/bar", options).should be_false
|
|
30405
30405
|
store.load("foo/bar", options).should be_nil
|
|
@@ -30450,7 +30450,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30450
30450
|
end
|
|
30451
30451
|
|
|
30452
30452
|
it 'accepts frozen options' do
|
|
30453
|
-
options = {:
|
|
30453
|
+
options = {option1: 1, options2: 2}
|
|
30454
30454
|
options.freeze
|
|
30455
30455
|
store.key?("bar/foo/baz", options).should be_false
|
|
30456
30456
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -30501,7 +30501,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30501
30501
|
end
|
|
30502
30502
|
|
|
30503
30503
|
it 'accepts frozen options' do
|
|
30504
|
-
options = {:
|
|
30504
|
+
options = {option1: 1, options2: 2}
|
|
30505
30505
|
options.freeze
|
|
30506
30506
|
store.key?("foo/bar", options).should be_false
|
|
30507
30507
|
store.load("foo/bar", options).should be_nil
|
|
@@ -30552,7 +30552,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30552
30552
|
end
|
|
30553
30553
|
|
|
30554
30554
|
it 'accepts frozen options' do
|
|
30555
|
-
options = {:
|
|
30555
|
+
options = {option1: 1, options2: 2}
|
|
30556
30556
|
options.freeze
|
|
30557
30557
|
store.key?("bar/foo/baz", options).should be_false
|
|
30558
30558
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -30603,7 +30603,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30603
30603
|
end
|
|
30604
30604
|
|
|
30605
30605
|
it 'accepts frozen options' do
|
|
30606
|
-
options = {:
|
|
30606
|
+
options = {option1: 1, options2: 2}
|
|
30607
30607
|
options.freeze
|
|
30608
30608
|
store.key?("foo/bar", options).should be_false
|
|
30609
30609
|
store.load("foo/bar", options).should be_nil
|
|
@@ -30654,7 +30654,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30654
30654
|
end
|
|
30655
30655
|
|
|
30656
30656
|
it 'accepts frozen options' do
|
|
30657
|
-
options = {:
|
|
30657
|
+
options = {option1: 1, options2: 2}
|
|
30658
30658
|
options.freeze
|
|
30659
30659
|
store.key?("bar/foo/baz", options).should be_false
|
|
30660
30660
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -30705,7 +30705,7 @@ shared_examples_for 'null_pathkey_nilvalue' do
|
|
|
30705
30705
|
end
|
|
30706
30706
|
|
|
30707
30707
|
it 'accepts frozen options' do
|
|
30708
|
-
options = {:
|
|
30708
|
+
options = {option1: 1, options2: 2}
|
|
30709
30709
|
options.freeze
|
|
30710
30710
|
store.key?("foo/bar", options).should be_false
|
|
30711
30711
|
store.load("foo/bar", options).should be_nil
|
|
@@ -31240,7 +31240,7 @@ shared_examples_for 'null_pathkey_integervalue' do
|
|
|
31240
31240
|
end
|
|
31241
31241
|
|
|
31242
31242
|
it 'accepts frozen options' do
|
|
31243
|
-
options = {:
|
|
31243
|
+
options = {option1: 1, options2: 2}
|
|
31244
31244
|
options.freeze
|
|
31245
31245
|
store.key?("bar/foo/baz", options).should be_false
|
|
31246
31246
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -31291,7 +31291,7 @@ shared_examples_for 'null_pathkey_integervalue' do
|
|
|
31291
31291
|
end
|
|
31292
31292
|
|
|
31293
31293
|
it 'accepts frozen options' do
|
|
31294
|
-
options = {:
|
|
31294
|
+
options = {option1: 1, options2: 2}
|
|
31295
31295
|
options.freeze
|
|
31296
31296
|
store.key?("foo/bar", options).should be_false
|
|
31297
31297
|
store.load("foo/bar", options).should be_nil
|
|
@@ -31342,7 +31342,7 @@ shared_examples_for 'null_pathkey_integervalue' do
|
|
|
31342
31342
|
end
|
|
31343
31343
|
|
|
31344
31344
|
it 'accepts frozen options' do
|
|
31345
|
-
options = {:
|
|
31345
|
+
options = {option1: 1, options2: 2}
|
|
31346
31346
|
options.freeze
|
|
31347
31347
|
store.key?("bar/foo/baz", options).should be_false
|
|
31348
31348
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -31393,7 +31393,7 @@ shared_examples_for 'null_pathkey_integervalue' do
|
|
|
31393
31393
|
end
|
|
31394
31394
|
|
|
31395
31395
|
it 'accepts frozen options' do
|
|
31396
|
-
options = {:
|
|
31396
|
+
options = {option1: 1, options2: 2}
|
|
31397
31397
|
options.freeze
|
|
31398
31398
|
store.key?("foo/bar", options).should be_false
|
|
31399
31399
|
store.load("foo/bar", options).should be_nil
|
|
@@ -31736,7 +31736,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
31736
31736
|
end
|
|
31737
31737
|
|
|
31738
31738
|
it 'accepts frozen options' do
|
|
31739
|
-
options = {:
|
|
31739
|
+
options = {option1: 1, options2: 2}
|
|
31740
31740
|
options.freeze
|
|
31741
31741
|
store.key?("bar/foo/baz", options).should be_false
|
|
31742
31742
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -31787,7 +31787,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
31787
31787
|
end
|
|
31788
31788
|
|
|
31789
31789
|
it 'accepts frozen options' do
|
|
31790
|
-
options = {:
|
|
31790
|
+
options = {option1: 1, options2: 2}
|
|
31791
31791
|
options.freeze
|
|
31792
31792
|
store.key?("foo/bar", options).should be_false
|
|
31793
31793
|
store.load("foo/bar", options).should be_nil
|
|
@@ -31838,7 +31838,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
31838
31838
|
end
|
|
31839
31839
|
|
|
31840
31840
|
it 'accepts frozen options' do
|
|
31841
|
-
options = {:
|
|
31841
|
+
options = {option1: 1, options2: 2}
|
|
31842
31842
|
options.freeze
|
|
31843
31843
|
store.key?("bar/foo/baz", options).should be_false
|
|
31844
31844
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -31889,7 +31889,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
31889
31889
|
end
|
|
31890
31890
|
|
|
31891
31891
|
it 'accepts frozen options' do
|
|
31892
|
-
options = {:
|
|
31892
|
+
options = {option1: 1, options2: 2}
|
|
31893
31893
|
options.freeze
|
|
31894
31894
|
store.key?("foo/bar", options).should be_false
|
|
31895
31895
|
store.load("foo/bar", options).should be_nil
|
|
@@ -31940,7 +31940,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
31940
31940
|
end
|
|
31941
31941
|
|
|
31942
31942
|
it 'accepts frozen options' do
|
|
31943
|
-
options = {:
|
|
31943
|
+
options = {option1: 1, options2: 2}
|
|
31944
31944
|
options.freeze
|
|
31945
31945
|
store.key?("bar/foo/baz", options).should be_false
|
|
31946
31946
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -31991,7 +31991,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
31991
31991
|
end
|
|
31992
31992
|
|
|
31993
31993
|
it 'accepts frozen options' do
|
|
31994
|
-
options = {:
|
|
31994
|
+
options = {option1: 1, options2: 2}
|
|
31995
31995
|
options.freeze
|
|
31996
31996
|
store.key?("foo/bar", options).should be_false
|
|
31997
31997
|
store.load("foo/bar", options).should be_nil
|
|
@@ -32042,7 +32042,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
32042
32042
|
end
|
|
32043
32043
|
|
|
32044
32044
|
it 'accepts frozen options' do
|
|
32045
|
-
options = {:
|
|
32045
|
+
options = {option1: 1, options2: 2}
|
|
32046
32046
|
options.freeze
|
|
32047
32047
|
store.key?("bar/foo/baz", options).should be_false
|
|
32048
32048
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -32093,7 +32093,7 @@ shared_examples_for 'null_pathkey_numbervalue' do
|
|
|
32093
32093
|
end
|
|
32094
32094
|
|
|
32095
32095
|
it 'accepts frozen options' do
|
|
32096
|
-
options = {:
|
|
32096
|
+
options = {option1: 1, options2: 2}
|
|
32097
32097
|
options.freeze
|
|
32098
32098
|
store.key?("foo/bar", options).should be_false
|
|
32099
32099
|
store.load("foo/bar", options).should be_nil
|
|
@@ -32716,7 +32716,7 @@ shared_examples_for 'null_pathkey_booleanvalue' do
|
|
|
32716
32716
|
end
|
|
32717
32717
|
|
|
32718
32718
|
it 'accepts frozen options' do
|
|
32719
|
-
options = {:
|
|
32719
|
+
options = {option1: 1, options2: 2}
|
|
32720
32720
|
options.freeze
|
|
32721
32721
|
store.key?("bar/foo/baz", options).should be_false
|
|
32722
32722
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -32767,7 +32767,7 @@ shared_examples_for 'null_pathkey_booleanvalue' do
|
|
|
32767
32767
|
end
|
|
32768
32768
|
|
|
32769
32769
|
it 'accepts frozen options' do
|
|
32770
|
-
options = {:
|
|
32770
|
+
options = {option1: 1, options2: 2}
|
|
32771
32771
|
options.freeze
|
|
32772
32772
|
store.key?("foo/bar", options).should be_false
|
|
32773
32773
|
store.load("foo/bar", options).should be_nil
|
|
@@ -32818,7 +32818,7 @@ shared_examples_for 'null_pathkey_booleanvalue' do
|
|
|
32818
32818
|
end
|
|
32819
32819
|
|
|
32820
32820
|
it 'accepts frozen options' do
|
|
32821
|
-
options = {:
|
|
32821
|
+
options = {option1: 1, options2: 2}
|
|
32822
32822
|
options.freeze
|
|
32823
32823
|
store.key?("bar/foo/baz", options).should be_false
|
|
32824
32824
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -32869,7 +32869,7 @@ shared_examples_for 'null_pathkey_booleanvalue' do
|
|
|
32869
32869
|
end
|
|
32870
32870
|
|
|
32871
32871
|
it 'accepts frozen options' do
|
|
32872
|
-
options = {:
|
|
32872
|
+
options = {option1: 1, options2: 2}
|
|
32873
32873
|
options.freeze
|
|
32874
32874
|
store.key?("foo/bar", options).should be_false
|
|
32875
32875
|
store.load("foo/bar", options).should be_nil
|
|
@@ -33212,7 +33212,7 @@ shared_examples_for 'null_pathkey_stringvalue' do
|
|
|
33212
33212
|
end
|
|
33213
33213
|
|
|
33214
33214
|
it 'accepts frozen options' do
|
|
33215
|
-
options = {:
|
|
33215
|
+
options = {option1: 1, options2: 2}
|
|
33216
33216
|
options.freeze
|
|
33217
33217
|
store.key?("bar/foo/baz", options).should be_false
|
|
33218
33218
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -33263,7 +33263,7 @@ shared_examples_for 'null_pathkey_stringvalue' do
|
|
|
33263
33263
|
end
|
|
33264
33264
|
|
|
33265
33265
|
it 'accepts frozen options' do
|
|
33266
|
-
options = {:
|
|
33266
|
+
options = {option1: 1, options2: 2}
|
|
33267
33267
|
options.freeze
|
|
33268
33268
|
store.key?("foo/bar", options).should be_false
|
|
33269
33269
|
store.load("foo/bar", options).should be_nil
|
|
@@ -33314,7 +33314,7 @@ shared_examples_for 'null_pathkey_stringvalue' do
|
|
|
33314
33314
|
end
|
|
33315
33315
|
|
|
33316
33316
|
it 'accepts frozen options' do
|
|
33317
|
-
options = {:
|
|
33317
|
+
options = {option1: 1, options2: 2}
|
|
33318
33318
|
options.freeze
|
|
33319
33319
|
store.key?("bar/foo/baz", options).should be_false
|
|
33320
33320
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -33365,7 +33365,7 @@ shared_examples_for 'null_pathkey_stringvalue' do
|
|
|
33365
33365
|
end
|
|
33366
33366
|
|
|
33367
33367
|
it 'accepts frozen options' do
|
|
33368
|
-
options = {:
|
|
33368
|
+
options = {option1: 1, options2: 2}
|
|
33369
33369
|
options.freeze
|
|
33370
33370
|
store.key?("foo/bar", options).should be_false
|
|
33371
33371
|
store.load("foo/bar", options).should be_nil
|
|
@@ -33764,7 +33764,7 @@ shared_examples_for 'null_pathkey_binaryvalue' do
|
|
|
33764
33764
|
end
|
|
33765
33765
|
|
|
33766
33766
|
it 'accepts frozen options' do
|
|
33767
|
-
options = {:
|
|
33767
|
+
options = {option1: 1, options2: 2}
|
|
33768
33768
|
options.freeze
|
|
33769
33769
|
store.key?("bar/foo/baz", options).should be_false
|
|
33770
33770
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -33815,7 +33815,7 @@ shared_examples_for 'null_pathkey_binaryvalue' do
|
|
|
33815
33815
|
end
|
|
33816
33816
|
|
|
33817
33817
|
it 'accepts frozen options' do
|
|
33818
|
-
options = {:
|
|
33818
|
+
options = {option1: 1, options2: 2}
|
|
33819
33819
|
options.freeze
|
|
33820
33820
|
store.key?("foo/bar", options).should be_false
|
|
33821
33821
|
store.load("foo/bar", options).should be_nil
|
|
@@ -33866,7 +33866,7 @@ shared_examples_for 'null_pathkey_binaryvalue' do
|
|
|
33866
33866
|
end
|
|
33867
33867
|
|
|
33868
33868
|
it 'accepts frozen options' do
|
|
33869
|
-
options = {:
|
|
33869
|
+
options = {option1: 1, options2: 2}
|
|
33870
33870
|
options.freeze
|
|
33871
33871
|
store.key?("bar/foo/baz", options).should be_false
|
|
33872
33872
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -33917,7 +33917,7 @@ shared_examples_for 'null_pathkey_binaryvalue' do
|
|
|
33917
33917
|
end
|
|
33918
33918
|
|
|
33919
33919
|
it 'accepts frozen options' do
|
|
33920
|
-
options = {:
|
|
33920
|
+
options = {option1: 1, options2: 2}
|
|
33921
33921
|
options.freeze
|
|
33922
33922
|
store.key?("foo/bar", options).should be_false
|
|
33923
33923
|
store.load("foo/bar", options).should be_nil
|
|
@@ -34316,7 +34316,7 @@ shared_examples_for 'null_pathkey_hashvalue' do
|
|
|
34316
34316
|
end
|
|
34317
34317
|
|
|
34318
34318
|
it 'accepts frozen options' do
|
|
34319
|
-
options = {:
|
|
34319
|
+
options = {option1: 1, options2: 2}
|
|
34320
34320
|
options.freeze
|
|
34321
34321
|
store.key?("bar/foo/baz", options).should be_false
|
|
34322
34322
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -34367,7 +34367,7 @@ shared_examples_for 'null_pathkey_hashvalue' do
|
|
|
34367
34367
|
end
|
|
34368
34368
|
|
|
34369
34369
|
it 'accepts frozen options' do
|
|
34370
|
-
options = {:
|
|
34370
|
+
options = {option1: 1, options2: 2}
|
|
34371
34371
|
options.freeze
|
|
34372
34372
|
store.key?("foo/bar", options).should be_false
|
|
34373
34373
|
store.load("foo/bar", options).should be_nil
|
|
@@ -34418,7 +34418,7 @@ shared_examples_for 'null_pathkey_hashvalue' do
|
|
|
34418
34418
|
end
|
|
34419
34419
|
|
|
34420
34420
|
it 'accepts frozen options' do
|
|
34421
|
-
options = {:
|
|
34421
|
+
options = {option1: 1, options2: 2}
|
|
34422
34422
|
options.freeze
|
|
34423
34423
|
store.key?("bar/foo/baz", options).should be_false
|
|
34424
34424
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -34469,7 +34469,7 @@ shared_examples_for 'null_pathkey_hashvalue' do
|
|
|
34469
34469
|
end
|
|
34470
34470
|
|
|
34471
34471
|
it 'accepts frozen options' do
|
|
34472
|
-
options = {:
|
|
34472
|
+
options = {option1: 1, options2: 2}
|
|
34473
34473
|
options.freeze
|
|
34474
34474
|
store.key?("foo/bar", options).should be_false
|
|
34475
34475
|
store.load("foo/bar", options).should be_nil
|
|
@@ -34868,7 +34868,7 @@ shared_examples_for 'null_pathkey_objectvalue' do
|
|
|
34868
34868
|
end
|
|
34869
34869
|
|
|
34870
34870
|
it 'accepts frozen options' do
|
|
34871
|
-
options = {:
|
|
34871
|
+
options = {option1: 1, options2: 2}
|
|
34872
34872
|
options.freeze
|
|
34873
34873
|
store.key?("bar/foo/baz", options).should be_false
|
|
34874
34874
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -34919,7 +34919,7 @@ shared_examples_for 'null_pathkey_objectvalue' do
|
|
|
34919
34919
|
end
|
|
34920
34920
|
|
|
34921
34921
|
it 'accepts frozen options' do
|
|
34922
|
-
options = {:
|
|
34922
|
+
options = {option1: 1, options2: 2}
|
|
34923
34923
|
options.freeze
|
|
34924
34924
|
store.key?("foo/bar", options).should be_false
|
|
34925
34925
|
store.load("foo/bar", options).should be_nil
|
|
@@ -34970,7 +34970,7 @@ shared_examples_for 'null_pathkey_objectvalue' do
|
|
|
34970
34970
|
end
|
|
34971
34971
|
|
|
34972
34972
|
it 'accepts frozen options' do
|
|
34973
|
-
options = {:
|
|
34973
|
+
options = {option1: 1, options2: 2}
|
|
34974
34974
|
options.freeze
|
|
34975
34975
|
store.key?("bar/foo/baz", options).should be_false
|
|
34976
34976
|
store.load("bar/foo/baz", options).should be_nil
|
|
@@ -35021,7 +35021,7 @@ shared_examples_for 'null_pathkey_objectvalue' do
|
|
|
35021
35021
|
end
|
|
35022
35022
|
|
|
35023
35023
|
it 'accepts frozen options' do
|
|
35024
|
-
options = {:
|
|
35024
|
+
options = {option1: 1, options2: 2}
|
|
35025
35025
|
options.freeze
|
|
35026
35026
|
store.key?("foo/bar", options).should be_false
|
|
35027
35027
|
store.load("foo/bar", options).should be_nil
|
|
@@ -35420,7 +35420,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35420
35420
|
end
|
|
35421
35421
|
|
|
35422
35422
|
it 'accepts frozen options' do
|
|
35423
|
-
options = {:
|
|
35423
|
+
options = {option1: 1, options2: 2}
|
|
35424
35424
|
options.freeze
|
|
35425
35425
|
store.key?("über", options).should be_false
|
|
35426
35426
|
store.load("über", options).should be_nil
|
|
@@ -35471,7 +35471,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35471
35471
|
end
|
|
35472
35472
|
|
|
35473
35473
|
it 'accepts frozen options' do
|
|
35474
|
-
options = {:
|
|
35474
|
+
options = {option1: 1, options2: 2}
|
|
35475
35475
|
options.freeze
|
|
35476
35476
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
35477
35477
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -35522,7 +35522,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35522
35522
|
end
|
|
35523
35523
|
|
|
35524
35524
|
it 'accepts frozen options' do
|
|
35525
|
-
options = {:
|
|
35525
|
+
options = {option1: 1, options2: 2}
|
|
35526
35526
|
options.freeze
|
|
35527
35527
|
store.key?("über", options).should be_false
|
|
35528
35528
|
store.load("über", options).should be_nil
|
|
@@ -35573,7 +35573,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35573
35573
|
end
|
|
35574
35574
|
|
|
35575
35575
|
it 'accepts frozen options' do
|
|
35576
|
-
options = {:
|
|
35576
|
+
options = {option1: 1, options2: 2}
|
|
35577
35577
|
options.freeze
|
|
35578
35578
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
35579
35579
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -35624,7 +35624,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35624
35624
|
end
|
|
35625
35625
|
|
|
35626
35626
|
it 'accepts frozen options' do
|
|
35627
|
-
options = {:
|
|
35627
|
+
options = {option1: 1, options2: 2}
|
|
35628
35628
|
options.freeze
|
|
35629
35629
|
store.key?("über", options).should be_false
|
|
35630
35630
|
store.load("über", options).should be_nil
|
|
@@ -35675,7 +35675,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35675
35675
|
end
|
|
35676
35676
|
|
|
35677
35677
|
it 'accepts frozen options' do
|
|
35678
|
-
options = {:
|
|
35678
|
+
options = {option1: 1, options2: 2}
|
|
35679
35679
|
options.freeze
|
|
35680
35680
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
35681
35681
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -35726,7 +35726,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35726
35726
|
end
|
|
35727
35727
|
|
|
35728
35728
|
it 'accepts frozen options' do
|
|
35729
|
-
options = {:
|
|
35729
|
+
options = {option1: 1, options2: 2}
|
|
35730
35730
|
options.freeze
|
|
35731
35731
|
store.key?("über", options).should be_false
|
|
35732
35732
|
store.load("über", options).should be_nil
|
|
@@ -35777,7 +35777,7 @@ shared_examples_for 'null_binarykey_nilvalue' do
|
|
|
35777
35777
|
end
|
|
35778
35778
|
|
|
35779
35779
|
it 'accepts frozen options' do
|
|
35780
|
-
options = {:
|
|
35780
|
+
options = {option1: 1, options2: 2}
|
|
35781
35781
|
options.freeze
|
|
35782
35782
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
35783
35783
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -36312,7 +36312,7 @@ shared_examples_for 'null_binarykey_integervalue' do
|
|
|
36312
36312
|
end
|
|
36313
36313
|
|
|
36314
36314
|
it 'accepts frozen options' do
|
|
36315
|
-
options = {:
|
|
36315
|
+
options = {option1: 1, options2: 2}
|
|
36316
36316
|
options.freeze
|
|
36317
36317
|
store.key?("über", options).should be_false
|
|
36318
36318
|
store.load("über", options).should be_nil
|
|
@@ -36363,7 +36363,7 @@ shared_examples_for 'null_binarykey_integervalue' do
|
|
|
36363
36363
|
end
|
|
36364
36364
|
|
|
36365
36365
|
it 'accepts frozen options' do
|
|
36366
|
-
options = {:
|
|
36366
|
+
options = {option1: 1, options2: 2}
|
|
36367
36367
|
options.freeze
|
|
36368
36368
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
36369
36369
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -36414,7 +36414,7 @@ shared_examples_for 'null_binarykey_integervalue' do
|
|
|
36414
36414
|
end
|
|
36415
36415
|
|
|
36416
36416
|
it 'accepts frozen options' do
|
|
36417
|
-
options = {:
|
|
36417
|
+
options = {option1: 1, options2: 2}
|
|
36418
36418
|
options.freeze
|
|
36419
36419
|
store.key?("über", options).should be_false
|
|
36420
36420
|
store.load("über", options).should be_nil
|
|
@@ -36465,7 +36465,7 @@ shared_examples_for 'null_binarykey_integervalue' do
|
|
|
36465
36465
|
end
|
|
36466
36466
|
|
|
36467
36467
|
it 'accepts frozen options' do
|
|
36468
|
-
options = {:
|
|
36468
|
+
options = {option1: 1, options2: 2}
|
|
36469
36469
|
options.freeze
|
|
36470
36470
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
36471
36471
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -36808,7 +36808,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
36808
36808
|
end
|
|
36809
36809
|
|
|
36810
36810
|
it 'accepts frozen options' do
|
|
36811
|
-
options = {:
|
|
36811
|
+
options = {option1: 1, options2: 2}
|
|
36812
36812
|
options.freeze
|
|
36813
36813
|
store.key?("über", options).should be_false
|
|
36814
36814
|
store.load("über", options).should be_nil
|
|
@@ -36859,7 +36859,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
36859
36859
|
end
|
|
36860
36860
|
|
|
36861
36861
|
it 'accepts frozen options' do
|
|
36862
|
-
options = {:
|
|
36862
|
+
options = {option1: 1, options2: 2}
|
|
36863
36863
|
options.freeze
|
|
36864
36864
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
36865
36865
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -36910,7 +36910,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
36910
36910
|
end
|
|
36911
36911
|
|
|
36912
36912
|
it 'accepts frozen options' do
|
|
36913
|
-
options = {:
|
|
36913
|
+
options = {option1: 1, options2: 2}
|
|
36914
36914
|
options.freeze
|
|
36915
36915
|
store.key?("über", options).should be_false
|
|
36916
36916
|
store.load("über", options).should be_nil
|
|
@@ -36961,7 +36961,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
36961
36961
|
end
|
|
36962
36962
|
|
|
36963
36963
|
it 'accepts frozen options' do
|
|
36964
|
-
options = {:
|
|
36964
|
+
options = {option1: 1, options2: 2}
|
|
36965
36965
|
options.freeze
|
|
36966
36966
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
36967
36967
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -37012,7 +37012,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
37012
37012
|
end
|
|
37013
37013
|
|
|
37014
37014
|
it 'accepts frozen options' do
|
|
37015
|
-
options = {:
|
|
37015
|
+
options = {option1: 1, options2: 2}
|
|
37016
37016
|
options.freeze
|
|
37017
37017
|
store.key?("über", options).should be_false
|
|
37018
37018
|
store.load("über", options).should be_nil
|
|
@@ -37063,7 +37063,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
37063
37063
|
end
|
|
37064
37064
|
|
|
37065
37065
|
it 'accepts frozen options' do
|
|
37066
|
-
options = {:
|
|
37066
|
+
options = {option1: 1, options2: 2}
|
|
37067
37067
|
options.freeze
|
|
37068
37068
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
37069
37069
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -37114,7 +37114,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
37114
37114
|
end
|
|
37115
37115
|
|
|
37116
37116
|
it 'accepts frozen options' do
|
|
37117
|
-
options = {:
|
|
37117
|
+
options = {option1: 1, options2: 2}
|
|
37118
37118
|
options.freeze
|
|
37119
37119
|
store.key?("über", options).should be_false
|
|
37120
37120
|
store.load("über", options).should be_nil
|
|
@@ -37165,7 +37165,7 @@ shared_examples_for 'null_binarykey_numbervalue' do
|
|
|
37165
37165
|
end
|
|
37166
37166
|
|
|
37167
37167
|
it 'accepts frozen options' do
|
|
37168
|
-
options = {:
|
|
37168
|
+
options = {option1: 1, options2: 2}
|
|
37169
37169
|
options.freeze
|
|
37170
37170
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
37171
37171
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -37788,7 +37788,7 @@ shared_examples_for 'null_binarykey_booleanvalue' do
|
|
|
37788
37788
|
end
|
|
37789
37789
|
|
|
37790
37790
|
it 'accepts frozen options' do
|
|
37791
|
-
options = {:
|
|
37791
|
+
options = {option1: 1, options2: 2}
|
|
37792
37792
|
options.freeze
|
|
37793
37793
|
store.key?("über", options).should be_false
|
|
37794
37794
|
store.load("über", options).should be_nil
|
|
@@ -37839,7 +37839,7 @@ shared_examples_for 'null_binarykey_booleanvalue' do
|
|
|
37839
37839
|
end
|
|
37840
37840
|
|
|
37841
37841
|
it 'accepts frozen options' do
|
|
37842
|
-
options = {:
|
|
37842
|
+
options = {option1: 1, options2: 2}
|
|
37843
37843
|
options.freeze
|
|
37844
37844
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
37845
37845
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -37890,7 +37890,7 @@ shared_examples_for 'null_binarykey_booleanvalue' do
|
|
|
37890
37890
|
end
|
|
37891
37891
|
|
|
37892
37892
|
it 'accepts frozen options' do
|
|
37893
|
-
options = {:
|
|
37893
|
+
options = {option1: 1, options2: 2}
|
|
37894
37894
|
options.freeze
|
|
37895
37895
|
store.key?("über", options).should be_false
|
|
37896
37896
|
store.load("über", options).should be_nil
|
|
@@ -37941,7 +37941,7 @@ shared_examples_for 'null_binarykey_booleanvalue' do
|
|
|
37941
37941
|
end
|
|
37942
37942
|
|
|
37943
37943
|
it 'accepts frozen options' do
|
|
37944
|
-
options = {:
|
|
37944
|
+
options = {option1: 1, options2: 2}
|
|
37945
37945
|
options.freeze
|
|
37946
37946
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
37947
37947
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -38284,7 +38284,7 @@ shared_examples_for 'null_binarykey_stringvalue' do
|
|
|
38284
38284
|
end
|
|
38285
38285
|
|
|
38286
38286
|
it 'accepts frozen options' do
|
|
38287
|
-
options = {:
|
|
38287
|
+
options = {option1: 1, options2: 2}
|
|
38288
38288
|
options.freeze
|
|
38289
38289
|
store.key?("über", options).should be_false
|
|
38290
38290
|
store.load("über", options).should be_nil
|
|
@@ -38335,7 +38335,7 @@ shared_examples_for 'null_binarykey_stringvalue' do
|
|
|
38335
38335
|
end
|
|
38336
38336
|
|
|
38337
38337
|
it 'accepts frozen options' do
|
|
38338
|
-
options = {:
|
|
38338
|
+
options = {option1: 1, options2: 2}
|
|
38339
38339
|
options.freeze
|
|
38340
38340
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
38341
38341
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -38386,7 +38386,7 @@ shared_examples_for 'null_binarykey_stringvalue' do
|
|
|
38386
38386
|
end
|
|
38387
38387
|
|
|
38388
38388
|
it 'accepts frozen options' do
|
|
38389
|
-
options = {:
|
|
38389
|
+
options = {option1: 1, options2: 2}
|
|
38390
38390
|
options.freeze
|
|
38391
38391
|
store.key?("über", options).should be_false
|
|
38392
38392
|
store.load("über", options).should be_nil
|
|
@@ -38437,7 +38437,7 @@ shared_examples_for 'null_binarykey_stringvalue' do
|
|
|
38437
38437
|
end
|
|
38438
38438
|
|
|
38439
38439
|
it 'accepts frozen options' do
|
|
38440
|
-
options = {:
|
|
38440
|
+
options = {option1: 1, options2: 2}
|
|
38441
38441
|
options.freeze
|
|
38442
38442
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
38443
38443
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -38836,7 +38836,7 @@ shared_examples_for 'null_binarykey_binaryvalue' do
|
|
|
38836
38836
|
end
|
|
38837
38837
|
|
|
38838
38838
|
it 'accepts frozen options' do
|
|
38839
|
-
options = {:
|
|
38839
|
+
options = {option1: 1, options2: 2}
|
|
38840
38840
|
options.freeze
|
|
38841
38841
|
store.key?("über", options).should be_false
|
|
38842
38842
|
store.load("über", options).should be_nil
|
|
@@ -38887,7 +38887,7 @@ shared_examples_for 'null_binarykey_binaryvalue' do
|
|
|
38887
38887
|
end
|
|
38888
38888
|
|
|
38889
38889
|
it 'accepts frozen options' do
|
|
38890
|
-
options = {:
|
|
38890
|
+
options = {option1: 1, options2: 2}
|
|
38891
38891
|
options.freeze
|
|
38892
38892
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
38893
38893
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -38938,7 +38938,7 @@ shared_examples_for 'null_binarykey_binaryvalue' do
|
|
|
38938
38938
|
end
|
|
38939
38939
|
|
|
38940
38940
|
it 'accepts frozen options' do
|
|
38941
|
-
options = {:
|
|
38941
|
+
options = {option1: 1, options2: 2}
|
|
38942
38942
|
options.freeze
|
|
38943
38943
|
store.key?("über", options).should be_false
|
|
38944
38944
|
store.load("über", options).should be_nil
|
|
@@ -38989,7 +38989,7 @@ shared_examples_for 'null_binarykey_binaryvalue' do
|
|
|
38989
38989
|
end
|
|
38990
38990
|
|
|
38991
38991
|
it 'accepts frozen options' do
|
|
38992
|
-
options = {:
|
|
38992
|
+
options = {option1: 1, options2: 2}
|
|
38993
38993
|
options.freeze
|
|
38994
38994
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
38995
38995
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -39388,7 +39388,7 @@ shared_examples_for 'null_binarykey_hashvalue' do
|
|
|
39388
39388
|
end
|
|
39389
39389
|
|
|
39390
39390
|
it 'accepts frozen options' do
|
|
39391
|
-
options = {:
|
|
39391
|
+
options = {option1: 1, options2: 2}
|
|
39392
39392
|
options.freeze
|
|
39393
39393
|
store.key?("über", options).should be_false
|
|
39394
39394
|
store.load("über", options).should be_nil
|
|
@@ -39439,7 +39439,7 @@ shared_examples_for 'null_binarykey_hashvalue' do
|
|
|
39439
39439
|
end
|
|
39440
39440
|
|
|
39441
39441
|
it 'accepts frozen options' do
|
|
39442
|
-
options = {:
|
|
39442
|
+
options = {option1: 1, options2: 2}
|
|
39443
39443
|
options.freeze
|
|
39444
39444
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
39445
39445
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -39490,7 +39490,7 @@ shared_examples_for 'null_binarykey_hashvalue' do
|
|
|
39490
39490
|
end
|
|
39491
39491
|
|
|
39492
39492
|
it 'accepts frozen options' do
|
|
39493
|
-
options = {:
|
|
39493
|
+
options = {option1: 1, options2: 2}
|
|
39494
39494
|
options.freeze
|
|
39495
39495
|
store.key?("über", options).should be_false
|
|
39496
39496
|
store.load("über", options).should be_nil
|
|
@@ -39541,7 +39541,7 @@ shared_examples_for 'null_binarykey_hashvalue' do
|
|
|
39541
39541
|
end
|
|
39542
39542
|
|
|
39543
39543
|
it 'accepts frozen options' do
|
|
39544
|
-
options = {:
|
|
39544
|
+
options = {option1: 1, options2: 2}
|
|
39545
39545
|
options.freeze
|
|
39546
39546
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
39547
39547
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -39940,7 +39940,7 @@ shared_examples_for 'null_binarykey_objectvalue' do
|
|
|
39940
39940
|
end
|
|
39941
39941
|
|
|
39942
39942
|
it 'accepts frozen options' do
|
|
39943
|
-
options = {:
|
|
39943
|
+
options = {option1: 1, options2: 2}
|
|
39944
39944
|
options.freeze
|
|
39945
39945
|
store.key?("über", options).should be_false
|
|
39946
39946
|
store.load("über", options).should be_nil
|
|
@@ -39991,7 +39991,7 @@ shared_examples_for 'null_binarykey_objectvalue' do
|
|
|
39991
39991
|
end
|
|
39992
39992
|
|
|
39993
39993
|
it 'accepts frozen options' do
|
|
39994
|
-
options = {:
|
|
39994
|
+
options = {option1: 1, options2: 2}
|
|
39995
39995
|
options.freeze
|
|
39996
39996
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
39997
39997
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -40042,7 +40042,7 @@ shared_examples_for 'null_binarykey_objectvalue' do
|
|
|
40042
40042
|
end
|
|
40043
40043
|
|
|
40044
40044
|
it 'accepts frozen options' do
|
|
40045
|
-
options = {:
|
|
40045
|
+
options = {option1: 1, options2: 2}
|
|
40046
40046
|
options.freeze
|
|
40047
40047
|
store.key?("über", options).should be_false
|
|
40048
40048
|
store.load("über", options).should be_nil
|
|
@@ -40093,7 +40093,7 @@ shared_examples_for 'null_binarykey_objectvalue' do
|
|
|
40093
40093
|
end
|
|
40094
40094
|
|
|
40095
40095
|
it 'accepts frozen options' do
|
|
40096
|
-
options = {:
|
|
40096
|
+
options = {option1: 1, options2: 2}
|
|
40097
40097
|
options.freeze
|
|
40098
40098
|
store.key?("\xAA\xBB\xCC", options).should be_false
|
|
40099
40099
|
store.load("\xAA\xBB\xCC", options).should be_nil
|
|
@@ -40492,7 +40492,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40492
40492
|
end
|
|
40493
40493
|
|
|
40494
40494
|
it 'accepts frozen options' do
|
|
40495
|
-
options = {:
|
|
40495
|
+
options = {option1: 1, options2: 2}
|
|
40496
40496
|
options.freeze
|
|
40497
40497
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
40498
40498
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -40543,7 +40543,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40543
40543
|
end
|
|
40544
40544
|
|
|
40545
40545
|
it 'accepts frozen options' do
|
|
40546
|
-
options = {:
|
|
40546
|
+
options = {option1: 1, options2: 2}
|
|
40547
40547
|
options.freeze
|
|
40548
40548
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
40549
40549
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -40594,7 +40594,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40594
40594
|
end
|
|
40595
40595
|
|
|
40596
40596
|
it 'accepts frozen options' do
|
|
40597
|
-
options = {:
|
|
40597
|
+
options = {option1: 1, options2: 2}
|
|
40598
40598
|
options.freeze
|
|
40599
40599
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
40600
40600
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -40645,7 +40645,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40645
40645
|
end
|
|
40646
40646
|
|
|
40647
40647
|
it 'accepts frozen options' do
|
|
40648
|
-
options = {:
|
|
40648
|
+
options = {option1: 1, options2: 2}
|
|
40649
40649
|
options.freeze
|
|
40650
40650
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
40651
40651
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -40696,7 +40696,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40696
40696
|
end
|
|
40697
40697
|
|
|
40698
40698
|
it 'accepts frozen options' do
|
|
40699
|
-
options = {:
|
|
40699
|
+
options = {option1: 1, options2: 2}
|
|
40700
40700
|
options.freeze
|
|
40701
40701
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
40702
40702
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -40747,7 +40747,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40747
40747
|
end
|
|
40748
40748
|
|
|
40749
40749
|
it 'accepts frozen options' do
|
|
40750
|
-
options = {:
|
|
40750
|
+
options = {option1: 1, options2: 2}
|
|
40751
40751
|
options.freeze
|
|
40752
40752
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
40753
40753
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -40798,7 +40798,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40798
40798
|
end
|
|
40799
40799
|
|
|
40800
40800
|
it 'accepts frozen options' do
|
|
40801
|
-
options = {:
|
|
40801
|
+
options = {option1: 1, options2: 2}
|
|
40802
40802
|
options.freeze
|
|
40803
40803
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
40804
40804
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -40849,7 +40849,7 @@ shared_examples_for 'null_objectkey_nilvalue' do
|
|
|
40849
40849
|
end
|
|
40850
40850
|
|
|
40851
40851
|
it 'accepts frozen options' do
|
|
40852
|
-
options = {:
|
|
40852
|
+
options = {option1: 1, options2: 2}
|
|
40853
40853
|
options.freeze
|
|
40854
40854
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
40855
40855
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -41384,7 +41384,7 @@ shared_examples_for 'null_objectkey_integervalue' do
|
|
|
41384
41384
|
end
|
|
41385
41385
|
|
|
41386
41386
|
it 'accepts frozen options' do
|
|
41387
|
-
options = {:
|
|
41387
|
+
options = {option1: 1, options2: 2}
|
|
41388
41388
|
options.freeze
|
|
41389
41389
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
41390
41390
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -41435,7 +41435,7 @@ shared_examples_for 'null_objectkey_integervalue' do
|
|
|
41435
41435
|
end
|
|
41436
41436
|
|
|
41437
41437
|
it 'accepts frozen options' do
|
|
41438
|
-
options = {:
|
|
41438
|
+
options = {option1: 1, options2: 2}
|
|
41439
41439
|
options.freeze
|
|
41440
41440
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
41441
41441
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -41486,7 +41486,7 @@ shared_examples_for 'null_objectkey_integervalue' do
|
|
|
41486
41486
|
end
|
|
41487
41487
|
|
|
41488
41488
|
it 'accepts frozen options' do
|
|
41489
|
-
options = {:
|
|
41489
|
+
options = {option1: 1, options2: 2}
|
|
41490
41490
|
options.freeze
|
|
41491
41491
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
41492
41492
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -41537,7 +41537,7 @@ shared_examples_for 'null_objectkey_integervalue' do
|
|
|
41537
41537
|
end
|
|
41538
41538
|
|
|
41539
41539
|
it 'accepts frozen options' do
|
|
41540
|
-
options = {:
|
|
41540
|
+
options = {option1: 1, options2: 2}
|
|
41541
41541
|
options.freeze
|
|
41542
41542
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
41543
41543
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -41880,7 +41880,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
41880
41880
|
end
|
|
41881
41881
|
|
|
41882
41882
|
it 'accepts frozen options' do
|
|
41883
|
-
options = {:
|
|
41883
|
+
options = {option1: 1, options2: 2}
|
|
41884
41884
|
options.freeze
|
|
41885
41885
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
41886
41886
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -41931,7 +41931,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
41931
41931
|
end
|
|
41932
41932
|
|
|
41933
41933
|
it 'accepts frozen options' do
|
|
41934
|
-
options = {:
|
|
41934
|
+
options = {option1: 1, options2: 2}
|
|
41935
41935
|
options.freeze
|
|
41936
41936
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
41937
41937
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -41982,7 +41982,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
41982
41982
|
end
|
|
41983
41983
|
|
|
41984
41984
|
it 'accepts frozen options' do
|
|
41985
|
-
options = {:
|
|
41985
|
+
options = {option1: 1, options2: 2}
|
|
41986
41986
|
options.freeze
|
|
41987
41987
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
41988
41988
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -42033,7 +42033,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
42033
42033
|
end
|
|
42034
42034
|
|
|
42035
42035
|
it 'accepts frozen options' do
|
|
42036
|
-
options = {:
|
|
42036
|
+
options = {option1: 1, options2: 2}
|
|
42037
42037
|
options.freeze
|
|
42038
42038
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
42039
42039
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -42084,7 +42084,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
42084
42084
|
end
|
|
42085
42085
|
|
|
42086
42086
|
it 'accepts frozen options' do
|
|
42087
|
-
options = {:
|
|
42087
|
+
options = {option1: 1, options2: 2}
|
|
42088
42088
|
options.freeze
|
|
42089
42089
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
42090
42090
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -42135,7 +42135,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
42135
42135
|
end
|
|
42136
42136
|
|
|
42137
42137
|
it 'accepts frozen options' do
|
|
42138
|
-
options = {:
|
|
42138
|
+
options = {option1: 1, options2: 2}
|
|
42139
42139
|
options.freeze
|
|
42140
42140
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
42141
42141
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -42186,7 +42186,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
42186
42186
|
end
|
|
42187
42187
|
|
|
42188
42188
|
it 'accepts frozen options' do
|
|
42189
|
-
options = {:
|
|
42189
|
+
options = {option1: 1, options2: 2}
|
|
42190
42190
|
options.freeze
|
|
42191
42191
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
42192
42192
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -42237,7 +42237,7 @@ shared_examples_for 'null_objectkey_numbervalue' do
|
|
|
42237
42237
|
end
|
|
42238
42238
|
|
|
42239
42239
|
it 'accepts frozen options' do
|
|
42240
|
-
options = {:
|
|
42240
|
+
options = {option1: 1, options2: 2}
|
|
42241
42241
|
options.freeze
|
|
42242
42242
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
42243
42243
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -42860,7 +42860,7 @@ shared_examples_for 'null_objectkey_booleanvalue' do
|
|
|
42860
42860
|
end
|
|
42861
42861
|
|
|
42862
42862
|
it 'accepts frozen options' do
|
|
42863
|
-
options = {:
|
|
42863
|
+
options = {option1: 1, options2: 2}
|
|
42864
42864
|
options.freeze
|
|
42865
42865
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
42866
42866
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -42911,7 +42911,7 @@ shared_examples_for 'null_objectkey_booleanvalue' do
|
|
|
42911
42911
|
end
|
|
42912
42912
|
|
|
42913
42913
|
it 'accepts frozen options' do
|
|
42914
|
-
options = {:
|
|
42914
|
+
options = {option1: 1, options2: 2}
|
|
42915
42915
|
options.freeze
|
|
42916
42916
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
42917
42917
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -42962,7 +42962,7 @@ shared_examples_for 'null_objectkey_booleanvalue' do
|
|
|
42962
42962
|
end
|
|
42963
42963
|
|
|
42964
42964
|
it 'accepts frozen options' do
|
|
42965
|
-
options = {:
|
|
42965
|
+
options = {option1: 1, options2: 2}
|
|
42966
42966
|
options.freeze
|
|
42967
42967
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
42968
42968
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -43013,7 +43013,7 @@ shared_examples_for 'null_objectkey_booleanvalue' do
|
|
|
43013
43013
|
end
|
|
43014
43014
|
|
|
43015
43015
|
it 'accepts frozen options' do
|
|
43016
|
-
options = {:
|
|
43016
|
+
options = {option1: 1, options2: 2}
|
|
43017
43017
|
options.freeze
|
|
43018
43018
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
43019
43019
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -43356,7 +43356,7 @@ shared_examples_for 'null_objectkey_stringvalue' do
|
|
|
43356
43356
|
end
|
|
43357
43357
|
|
|
43358
43358
|
it 'accepts frozen options' do
|
|
43359
|
-
options = {:
|
|
43359
|
+
options = {option1: 1, options2: 2}
|
|
43360
43360
|
options.freeze
|
|
43361
43361
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
43362
43362
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -43407,7 +43407,7 @@ shared_examples_for 'null_objectkey_stringvalue' do
|
|
|
43407
43407
|
end
|
|
43408
43408
|
|
|
43409
43409
|
it 'accepts frozen options' do
|
|
43410
|
-
options = {:
|
|
43410
|
+
options = {option1: 1, options2: 2}
|
|
43411
43411
|
options.freeze
|
|
43412
43412
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
43413
43413
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -43458,7 +43458,7 @@ shared_examples_for 'null_objectkey_stringvalue' do
|
|
|
43458
43458
|
end
|
|
43459
43459
|
|
|
43460
43460
|
it 'accepts frozen options' do
|
|
43461
|
-
options = {:
|
|
43461
|
+
options = {option1: 1, options2: 2}
|
|
43462
43462
|
options.freeze
|
|
43463
43463
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
43464
43464
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -43509,7 +43509,7 @@ shared_examples_for 'null_objectkey_stringvalue' do
|
|
|
43509
43509
|
end
|
|
43510
43510
|
|
|
43511
43511
|
it 'accepts frozen options' do
|
|
43512
|
-
options = {:
|
|
43512
|
+
options = {option1: 1, options2: 2}
|
|
43513
43513
|
options.freeze
|
|
43514
43514
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
43515
43515
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -43908,7 +43908,7 @@ shared_examples_for 'null_objectkey_binaryvalue' do
|
|
|
43908
43908
|
end
|
|
43909
43909
|
|
|
43910
43910
|
it 'accepts frozen options' do
|
|
43911
|
-
options = {:
|
|
43911
|
+
options = {option1: 1, options2: 2}
|
|
43912
43912
|
options.freeze
|
|
43913
43913
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
43914
43914
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -43959,7 +43959,7 @@ shared_examples_for 'null_objectkey_binaryvalue' do
|
|
|
43959
43959
|
end
|
|
43960
43960
|
|
|
43961
43961
|
it 'accepts frozen options' do
|
|
43962
|
-
options = {:
|
|
43962
|
+
options = {option1: 1, options2: 2}
|
|
43963
43963
|
options.freeze
|
|
43964
43964
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
43965
43965
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -44010,7 +44010,7 @@ shared_examples_for 'null_objectkey_binaryvalue' do
|
|
|
44010
44010
|
end
|
|
44011
44011
|
|
|
44012
44012
|
it 'accepts frozen options' do
|
|
44013
|
-
options = {:
|
|
44013
|
+
options = {option1: 1, options2: 2}
|
|
44014
44014
|
options.freeze
|
|
44015
44015
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
44016
44016
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -44061,7 +44061,7 @@ shared_examples_for 'null_objectkey_binaryvalue' do
|
|
|
44061
44061
|
end
|
|
44062
44062
|
|
|
44063
44063
|
it 'accepts frozen options' do
|
|
44064
|
-
options = {:
|
|
44064
|
+
options = {option1: 1, options2: 2}
|
|
44065
44065
|
options.freeze
|
|
44066
44066
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
44067
44067
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -44460,7 +44460,7 @@ shared_examples_for 'null_objectkey_hashvalue' do
|
|
|
44460
44460
|
end
|
|
44461
44461
|
|
|
44462
44462
|
it 'accepts frozen options' do
|
|
44463
|
-
options = {:
|
|
44463
|
+
options = {option1: 1, options2: 2}
|
|
44464
44464
|
options.freeze
|
|
44465
44465
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
44466
44466
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -44511,7 +44511,7 @@ shared_examples_for 'null_objectkey_hashvalue' do
|
|
|
44511
44511
|
end
|
|
44512
44512
|
|
|
44513
44513
|
it 'accepts frozen options' do
|
|
44514
|
-
options = {:
|
|
44514
|
+
options = {option1: 1, options2: 2}
|
|
44515
44515
|
options.freeze
|
|
44516
44516
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
44517
44517
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -44562,7 +44562,7 @@ shared_examples_for 'null_objectkey_hashvalue' do
|
|
|
44562
44562
|
end
|
|
44563
44563
|
|
|
44564
44564
|
it 'accepts frozen options' do
|
|
44565
|
-
options = {:
|
|
44565
|
+
options = {option1: 1, options2: 2}
|
|
44566
44566
|
options.freeze
|
|
44567
44567
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
44568
44568
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -44613,7 +44613,7 @@ shared_examples_for 'null_objectkey_hashvalue' do
|
|
|
44613
44613
|
end
|
|
44614
44614
|
|
|
44615
44615
|
it 'accepts frozen options' do
|
|
44616
|
-
options = {:
|
|
44616
|
+
options = {option1: 1, options2: 2}
|
|
44617
44617
|
options.freeze
|
|
44618
44618
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
44619
44619
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -45012,7 +45012,7 @@ shared_examples_for 'null_objectkey_objectvalue' do
|
|
|
45012
45012
|
end
|
|
45013
45013
|
|
|
45014
45014
|
it 'accepts frozen options' do
|
|
45015
|
-
options = {:
|
|
45015
|
+
options = {option1: 1, options2: 2}
|
|
45016
45016
|
options.freeze
|
|
45017
45017
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
45018
45018
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -45063,7 +45063,7 @@ shared_examples_for 'null_objectkey_objectvalue' do
|
|
|
45063
45063
|
end
|
|
45064
45064
|
|
|
45065
45065
|
it 'accepts frozen options' do
|
|
45066
|
-
options = {:
|
|
45066
|
+
options = {option1: 1, options2: 2}
|
|
45067
45067
|
options.freeze
|
|
45068
45068
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
45069
45069
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -45114,7 +45114,7 @@ shared_examples_for 'null_objectkey_objectvalue' do
|
|
|
45114
45114
|
end
|
|
45115
45115
|
|
|
45116
45116
|
it 'accepts frozen options' do
|
|
45117
|
-
options = {:
|
|
45117
|
+
options = {option1: 1, options2: 2}
|
|
45118
45118
|
options.freeze
|
|
45119
45119
|
store.key?(Value.new(:objkey1), options).should be_false
|
|
45120
45120
|
store.load(Value.new(:objkey1), options).should be_nil
|
|
@@ -45165,7 +45165,7 @@ shared_examples_for 'null_objectkey_objectvalue' do
|
|
|
45165
45165
|
end
|
|
45166
45166
|
|
|
45167
45167
|
it 'accepts frozen options' do
|
|
45168
|
-
options = {:
|
|
45168
|
+
options = {option1: 1, options2: 2}
|
|
45169
45169
|
options.freeze
|
|
45170
45170
|
store.key?(Value.new(:objkey2), options).should be_false
|
|
45171
45171
|
store.load(Value.new(:objkey2), options).should be_nil
|
|
@@ -45564,7 +45564,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45564
45564
|
end
|
|
45565
45565
|
|
|
45566
45566
|
it 'accepts frozen options' do
|
|
45567
|
-
options = {:
|
|
45567
|
+
options = {option1: 1, options2: 2}
|
|
45568
45568
|
options.freeze
|
|
45569
45569
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
45570
45570
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -45615,7 +45615,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45615
45615
|
end
|
|
45616
45616
|
|
|
45617
45617
|
it 'accepts frozen options' do
|
|
45618
|
-
options = {:
|
|
45618
|
+
options = {option1: 1, options2: 2}
|
|
45619
45619
|
options.freeze
|
|
45620
45620
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
45621
45621
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -45666,7 +45666,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45666
45666
|
end
|
|
45667
45667
|
|
|
45668
45668
|
it 'accepts frozen options' do
|
|
45669
|
-
options = {:
|
|
45669
|
+
options = {option1: 1, options2: 2}
|
|
45670
45670
|
options.freeze
|
|
45671
45671
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
45672
45672
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -45717,7 +45717,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45717
45717
|
end
|
|
45718
45718
|
|
|
45719
45719
|
it 'accepts frozen options' do
|
|
45720
|
-
options = {:
|
|
45720
|
+
options = {option1: 1, options2: 2}
|
|
45721
45721
|
options.freeze
|
|
45722
45722
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
45723
45723
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -45768,7 +45768,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45768
45768
|
end
|
|
45769
45769
|
|
|
45770
45770
|
it 'accepts frozen options' do
|
|
45771
|
-
options = {:
|
|
45771
|
+
options = {option1: 1, options2: 2}
|
|
45772
45772
|
options.freeze
|
|
45773
45773
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
45774
45774
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -45819,7 +45819,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45819
45819
|
end
|
|
45820
45820
|
|
|
45821
45821
|
it 'accepts frozen options' do
|
|
45822
|
-
options = {:
|
|
45822
|
+
options = {option1: 1, options2: 2}
|
|
45823
45823
|
options.freeze
|
|
45824
45824
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
45825
45825
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -45870,7 +45870,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45870
45870
|
end
|
|
45871
45871
|
|
|
45872
45872
|
it 'accepts frozen options' do
|
|
45873
|
-
options = {:
|
|
45873
|
+
options = {option1: 1, options2: 2}
|
|
45874
45874
|
options.freeze
|
|
45875
45875
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
45876
45876
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -45921,7 +45921,7 @@ shared_examples_for 'null_hashkey_nilvalue' do
|
|
|
45921
45921
|
end
|
|
45922
45922
|
|
|
45923
45923
|
it 'accepts frozen options' do
|
|
45924
|
-
options = {:
|
|
45924
|
+
options = {option1: 1, options2: 2}
|
|
45925
45925
|
options.freeze
|
|
45926
45926
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
45927
45927
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -46456,7 +46456,7 @@ shared_examples_for 'null_hashkey_integervalue' do
|
|
|
46456
46456
|
end
|
|
46457
46457
|
|
|
46458
46458
|
it 'accepts frozen options' do
|
|
46459
|
-
options = {:
|
|
46459
|
+
options = {option1: 1, options2: 2}
|
|
46460
46460
|
options.freeze
|
|
46461
46461
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
46462
46462
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -46507,7 +46507,7 @@ shared_examples_for 'null_hashkey_integervalue' do
|
|
|
46507
46507
|
end
|
|
46508
46508
|
|
|
46509
46509
|
it 'accepts frozen options' do
|
|
46510
|
-
options = {:
|
|
46510
|
+
options = {option1: 1, options2: 2}
|
|
46511
46511
|
options.freeze
|
|
46512
46512
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
46513
46513
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -46558,7 +46558,7 @@ shared_examples_for 'null_hashkey_integervalue' do
|
|
|
46558
46558
|
end
|
|
46559
46559
|
|
|
46560
46560
|
it 'accepts frozen options' do
|
|
46561
|
-
options = {:
|
|
46561
|
+
options = {option1: 1, options2: 2}
|
|
46562
46562
|
options.freeze
|
|
46563
46563
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
46564
46564
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -46609,7 +46609,7 @@ shared_examples_for 'null_hashkey_integervalue' do
|
|
|
46609
46609
|
end
|
|
46610
46610
|
|
|
46611
46611
|
it 'accepts frozen options' do
|
|
46612
|
-
options = {:
|
|
46612
|
+
options = {option1: 1, options2: 2}
|
|
46613
46613
|
options.freeze
|
|
46614
46614
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
46615
46615
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -46952,7 +46952,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
46952
46952
|
end
|
|
46953
46953
|
|
|
46954
46954
|
it 'accepts frozen options' do
|
|
46955
|
-
options = {:
|
|
46955
|
+
options = {option1: 1, options2: 2}
|
|
46956
46956
|
options.freeze
|
|
46957
46957
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
46958
46958
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -47003,7 +47003,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
47003
47003
|
end
|
|
47004
47004
|
|
|
47005
47005
|
it 'accepts frozen options' do
|
|
47006
|
-
options = {:
|
|
47006
|
+
options = {option1: 1, options2: 2}
|
|
47007
47007
|
options.freeze
|
|
47008
47008
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
47009
47009
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -47054,7 +47054,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
47054
47054
|
end
|
|
47055
47055
|
|
|
47056
47056
|
it 'accepts frozen options' do
|
|
47057
|
-
options = {:
|
|
47057
|
+
options = {option1: 1, options2: 2}
|
|
47058
47058
|
options.freeze
|
|
47059
47059
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
47060
47060
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -47105,7 +47105,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
47105
47105
|
end
|
|
47106
47106
|
|
|
47107
47107
|
it 'accepts frozen options' do
|
|
47108
|
-
options = {:
|
|
47108
|
+
options = {option1: 1, options2: 2}
|
|
47109
47109
|
options.freeze
|
|
47110
47110
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
47111
47111
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -47156,7 +47156,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
47156
47156
|
end
|
|
47157
47157
|
|
|
47158
47158
|
it 'accepts frozen options' do
|
|
47159
|
-
options = {:
|
|
47159
|
+
options = {option1: 1, options2: 2}
|
|
47160
47160
|
options.freeze
|
|
47161
47161
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
47162
47162
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -47207,7 +47207,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
47207
47207
|
end
|
|
47208
47208
|
|
|
47209
47209
|
it 'accepts frozen options' do
|
|
47210
|
-
options = {:
|
|
47210
|
+
options = {option1: 1, options2: 2}
|
|
47211
47211
|
options.freeze
|
|
47212
47212
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
47213
47213
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -47258,7 +47258,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
47258
47258
|
end
|
|
47259
47259
|
|
|
47260
47260
|
it 'accepts frozen options' do
|
|
47261
|
-
options = {:
|
|
47261
|
+
options = {option1: 1, options2: 2}
|
|
47262
47262
|
options.freeze
|
|
47263
47263
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
47264
47264
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -47309,7 +47309,7 @@ shared_examples_for 'null_hashkey_numbervalue' do
|
|
|
47309
47309
|
end
|
|
47310
47310
|
|
|
47311
47311
|
it 'accepts frozen options' do
|
|
47312
|
-
options = {:
|
|
47312
|
+
options = {option1: 1, options2: 2}
|
|
47313
47313
|
options.freeze
|
|
47314
47314
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
47315
47315
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -47932,7 +47932,7 @@ shared_examples_for 'null_hashkey_booleanvalue' do
|
|
|
47932
47932
|
end
|
|
47933
47933
|
|
|
47934
47934
|
it 'accepts frozen options' do
|
|
47935
|
-
options = {:
|
|
47935
|
+
options = {option1: 1, options2: 2}
|
|
47936
47936
|
options.freeze
|
|
47937
47937
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
47938
47938
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -47983,7 +47983,7 @@ shared_examples_for 'null_hashkey_booleanvalue' do
|
|
|
47983
47983
|
end
|
|
47984
47984
|
|
|
47985
47985
|
it 'accepts frozen options' do
|
|
47986
|
-
options = {:
|
|
47986
|
+
options = {option1: 1, options2: 2}
|
|
47987
47987
|
options.freeze
|
|
47988
47988
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
47989
47989
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -48034,7 +48034,7 @@ shared_examples_for 'null_hashkey_booleanvalue' do
|
|
|
48034
48034
|
end
|
|
48035
48035
|
|
|
48036
48036
|
it 'accepts frozen options' do
|
|
48037
|
-
options = {:
|
|
48037
|
+
options = {option1: 1, options2: 2}
|
|
48038
48038
|
options.freeze
|
|
48039
48039
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
48040
48040
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -48085,7 +48085,7 @@ shared_examples_for 'null_hashkey_booleanvalue' do
|
|
|
48085
48085
|
end
|
|
48086
48086
|
|
|
48087
48087
|
it 'accepts frozen options' do
|
|
48088
|
-
options = {:
|
|
48088
|
+
options = {option1: 1, options2: 2}
|
|
48089
48089
|
options.freeze
|
|
48090
48090
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
48091
48091
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -48428,7 +48428,7 @@ shared_examples_for 'null_hashkey_stringvalue' do
|
|
|
48428
48428
|
end
|
|
48429
48429
|
|
|
48430
48430
|
it 'accepts frozen options' do
|
|
48431
|
-
options = {:
|
|
48431
|
+
options = {option1: 1, options2: 2}
|
|
48432
48432
|
options.freeze
|
|
48433
48433
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
48434
48434
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -48479,7 +48479,7 @@ shared_examples_for 'null_hashkey_stringvalue' do
|
|
|
48479
48479
|
end
|
|
48480
48480
|
|
|
48481
48481
|
it 'accepts frozen options' do
|
|
48482
|
-
options = {:
|
|
48482
|
+
options = {option1: 1, options2: 2}
|
|
48483
48483
|
options.freeze
|
|
48484
48484
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
48485
48485
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -48530,7 +48530,7 @@ shared_examples_for 'null_hashkey_stringvalue' do
|
|
|
48530
48530
|
end
|
|
48531
48531
|
|
|
48532
48532
|
it 'accepts frozen options' do
|
|
48533
|
-
options = {:
|
|
48533
|
+
options = {option1: 1, options2: 2}
|
|
48534
48534
|
options.freeze
|
|
48535
48535
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
48536
48536
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -48581,7 +48581,7 @@ shared_examples_for 'null_hashkey_stringvalue' do
|
|
|
48581
48581
|
end
|
|
48582
48582
|
|
|
48583
48583
|
it 'accepts frozen options' do
|
|
48584
|
-
options = {:
|
|
48584
|
+
options = {option1: 1, options2: 2}
|
|
48585
48585
|
options.freeze
|
|
48586
48586
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
48587
48587
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -48980,7 +48980,7 @@ shared_examples_for 'null_hashkey_binaryvalue' do
|
|
|
48980
48980
|
end
|
|
48981
48981
|
|
|
48982
48982
|
it 'accepts frozen options' do
|
|
48983
|
-
options = {:
|
|
48983
|
+
options = {option1: 1, options2: 2}
|
|
48984
48984
|
options.freeze
|
|
48985
48985
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
48986
48986
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -49031,7 +49031,7 @@ shared_examples_for 'null_hashkey_binaryvalue' do
|
|
|
49031
49031
|
end
|
|
49032
49032
|
|
|
49033
49033
|
it 'accepts frozen options' do
|
|
49034
|
-
options = {:
|
|
49034
|
+
options = {option1: 1, options2: 2}
|
|
49035
49035
|
options.freeze
|
|
49036
49036
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
49037
49037
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -49082,7 +49082,7 @@ shared_examples_for 'null_hashkey_binaryvalue' do
|
|
|
49082
49082
|
end
|
|
49083
49083
|
|
|
49084
49084
|
it 'accepts frozen options' do
|
|
49085
|
-
options = {:
|
|
49085
|
+
options = {option1: 1, options2: 2}
|
|
49086
49086
|
options.freeze
|
|
49087
49087
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
49088
49088
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -49133,7 +49133,7 @@ shared_examples_for 'null_hashkey_binaryvalue' do
|
|
|
49133
49133
|
end
|
|
49134
49134
|
|
|
49135
49135
|
it 'accepts frozen options' do
|
|
49136
|
-
options = {:
|
|
49136
|
+
options = {option1: 1, options2: 2}
|
|
49137
49137
|
options.freeze
|
|
49138
49138
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
49139
49139
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -49532,7 +49532,7 @@ shared_examples_for 'null_hashkey_hashvalue' do
|
|
|
49532
49532
|
end
|
|
49533
49533
|
|
|
49534
49534
|
it 'accepts frozen options' do
|
|
49535
|
-
options = {:
|
|
49535
|
+
options = {option1: 1, options2: 2}
|
|
49536
49536
|
options.freeze
|
|
49537
49537
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
49538
49538
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -49583,7 +49583,7 @@ shared_examples_for 'null_hashkey_hashvalue' do
|
|
|
49583
49583
|
end
|
|
49584
49584
|
|
|
49585
49585
|
it 'accepts frozen options' do
|
|
49586
|
-
options = {:
|
|
49586
|
+
options = {option1: 1, options2: 2}
|
|
49587
49587
|
options.freeze
|
|
49588
49588
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
49589
49589
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -49634,7 +49634,7 @@ shared_examples_for 'null_hashkey_hashvalue' do
|
|
|
49634
49634
|
end
|
|
49635
49635
|
|
|
49636
49636
|
it 'accepts frozen options' do
|
|
49637
|
-
options = {:
|
|
49637
|
+
options = {option1: 1, options2: 2}
|
|
49638
49638
|
options.freeze
|
|
49639
49639
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
49640
49640
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -49685,7 +49685,7 @@ shared_examples_for 'null_hashkey_hashvalue' do
|
|
|
49685
49685
|
end
|
|
49686
49686
|
|
|
49687
49687
|
it 'accepts frozen options' do
|
|
49688
|
-
options = {:
|
|
49688
|
+
options = {option1: 1, options2: 2}
|
|
49689
49689
|
options.freeze
|
|
49690
49690
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
49691
49691
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -50084,7 +50084,7 @@ shared_examples_for 'null_hashkey_objectvalue' do
|
|
|
50084
50084
|
end
|
|
50085
50085
|
|
|
50086
50086
|
it 'accepts frozen options' do
|
|
50087
|
-
options = {:
|
|
50087
|
+
options = {option1: 1, options2: 2}
|
|
50088
50088
|
options.freeze
|
|
50089
50089
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
50090
50090
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -50135,7 +50135,7 @@ shared_examples_for 'null_hashkey_objectvalue' do
|
|
|
50135
50135
|
end
|
|
50136
50136
|
|
|
50137
50137
|
it 'accepts frozen options' do
|
|
50138
|
-
options = {:
|
|
50138
|
+
options = {option1: 1, options2: 2}
|
|
50139
50139
|
options.freeze
|
|
50140
50140
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
50141
50141
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -50186,7 +50186,7 @@ shared_examples_for 'null_hashkey_objectvalue' do
|
|
|
50186
50186
|
end
|
|
50187
50187
|
|
|
50188
50188
|
it 'accepts frozen options' do
|
|
50189
|
-
options = {:
|
|
50189
|
+
options = {option1: 1, options2: 2}
|
|
50190
50190
|
options.freeze
|
|
50191
50191
|
store.key?({"hashkey1"=>"hashkey2"}, options).should be_false
|
|
50192
50192
|
store.load({"hashkey1"=>"hashkey2"}, options).should be_nil
|
|
@@ -50237,7 +50237,7 @@ shared_examples_for 'null_hashkey_objectvalue' do
|
|
|
50237
50237
|
end
|
|
50238
50238
|
|
|
50239
50239
|
it 'accepts frozen options' do
|
|
50240
|
-
options = {:
|
|
50240
|
+
options = {option1: 1, options2: 2}
|
|
50241
50241
|
options.freeze
|
|
50242
50242
|
store.key?({"hashkey3"=>"hashkey4"}, options).should be_false
|
|
50243
50243
|
store.load({"hashkey3"=>"hashkey4"}, options).should be_nil
|
|
@@ -50635,8 +50635,8 @@ end
|
|
|
50635
50635
|
#################### expires ####################
|
|
50636
50636
|
|
|
50637
50637
|
shared_examples_for 'expires' do
|
|
50638
|
-
it 'supports expires on store and []', :
|
|
50639
|
-
store.store('key1', 'val1', :
|
|
50638
|
+
it 'supports expires on store and []', retry: 3 do
|
|
50639
|
+
store.store('key1', 'val1', expires: 3)
|
|
50640
50640
|
store['key1'].should == 'val1'
|
|
50641
50641
|
sleep 1
|
|
50642
50642
|
store['key1'].should == 'val1'
|
|
@@ -50645,14 +50645,14 @@ shared_examples_for 'expires' do
|
|
|
50645
50645
|
end
|
|
50646
50646
|
|
|
50647
50647
|
it 'supports strict expires on store and []' do
|
|
50648
|
-
store.store('key1', 'val1', :
|
|
50648
|
+
store.store('key1', 'val1', expires: 2)
|
|
50649
50649
|
store['key1'].should == 'val1'
|
|
50650
50650
|
sleep 3 # Sleep 3 seconds because after 2 seconds the value can still exist!
|
|
50651
50651
|
store['key1'].should be_nil
|
|
50652
50652
|
end
|
|
50653
50653
|
|
|
50654
|
-
it 'supports expires on store and fetch', :
|
|
50655
|
-
store.store('key1', 'val1', :
|
|
50654
|
+
it 'supports expires on store and fetch', retry: 3 do
|
|
50655
|
+
store.store('key1', 'val1', expires: 3)
|
|
50656
50656
|
store.fetch('key1').should == 'val1'
|
|
50657
50657
|
sleep 1
|
|
50658
50658
|
store.fetch('key1').should == 'val1'
|
|
@@ -50661,28 +50661,28 @@ shared_examples_for 'expires' do
|
|
|
50661
50661
|
end
|
|
50662
50662
|
|
|
50663
50663
|
it 'supports strict expires on store and fetch' do
|
|
50664
|
-
store.store('key1', 'val1', :
|
|
50664
|
+
store.store('key1', 'val1', expires: 2)
|
|
50665
50665
|
store.fetch('key1').should == 'val1'
|
|
50666
50666
|
sleep 3 # Sleep 3 seconds because after 2 seconds the value can still exist!
|
|
50667
50667
|
store.fetch('key1').should be_nil
|
|
50668
50668
|
end
|
|
50669
50669
|
|
|
50670
50670
|
it 'supports 0 as no-expires on store and []' do
|
|
50671
|
-
store.store('key1', 'val1', :
|
|
50671
|
+
store.store('key1', 'val1', expires: 0)
|
|
50672
50672
|
store['key1'].should == 'val1'
|
|
50673
50673
|
sleep 2
|
|
50674
50674
|
store['key1'].should == 'val1'
|
|
50675
50675
|
end
|
|
50676
50676
|
|
|
50677
50677
|
it 'supports false as no-expires on store and []' do
|
|
50678
|
-
store.store('key1', 'val1', :
|
|
50678
|
+
store.store('key1', 'val1', expires: false)
|
|
50679
50679
|
store['key1'].should == 'val1'
|
|
50680
50680
|
sleep 2
|
|
50681
50681
|
store['key1'].should == 'val1'
|
|
50682
50682
|
end
|
|
50683
50683
|
|
|
50684
|
-
it 'supports expires on store and load', :
|
|
50685
|
-
store.store('key1', 'val1', :
|
|
50684
|
+
it 'supports expires on store and load', retry: 3 do
|
|
50685
|
+
store.store('key1', 'val1', expires: 3)
|
|
50686
50686
|
store.load('key1').should == 'val1'
|
|
50687
50687
|
sleep 1
|
|
50688
50688
|
store.load('key1').should == 'val1'
|
|
@@ -50691,14 +50691,14 @@ shared_examples_for 'expires' do
|
|
|
50691
50691
|
end
|
|
50692
50692
|
|
|
50693
50693
|
it 'supports strict expires on store and load' do
|
|
50694
|
-
store.store('key1', 'val1', :
|
|
50694
|
+
store.store('key1', 'val1', expires: 2)
|
|
50695
50695
|
store.load('key1').should == 'val1'
|
|
50696
50696
|
sleep 3 # Sleep 3 seconds because after 2 seconds the value can still exist!
|
|
50697
50697
|
store.load('key1').should be_nil
|
|
50698
50698
|
end
|
|
50699
50699
|
|
|
50700
|
-
it 'supports expires on store and #key?', :
|
|
50701
|
-
store.store('key1', 'val1', :
|
|
50700
|
+
it 'supports expires on store and #key?', retry: 3 do
|
|
50701
|
+
store.store('key1', 'val1', expires: 3)
|
|
50702
50702
|
store.key?('key1').should be_true
|
|
50703
50703
|
sleep 1
|
|
50704
50704
|
store.key?('key1').should be_true
|
|
@@ -50707,17 +50707,17 @@ shared_examples_for 'expires' do
|
|
|
50707
50707
|
end
|
|
50708
50708
|
|
|
50709
50709
|
it 'supports strict expires on store and #key?' do
|
|
50710
|
-
store.store('key1', 'val1', :
|
|
50710
|
+
store.store('key1', 'val1', expires: 2)
|
|
50711
50711
|
store.key?('key1').should be_true
|
|
50712
50712
|
sleep 3 # Sleep 3 seconds because after 2 seconds the value can still exist!
|
|
50713
50713
|
store.key?('key1').should be_false
|
|
50714
50714
|
end
|
|
50715
50715
|
|
|
50716
|
-
it 'supports updating the expiration time in load', :
|
|
50717
|
-
store.store('key2', 'val2', :
|
|
50716
|
+
it 'supports updating the expiration time in load', retry: 3 do
|
|
50717
|
+
store.store('key2', 'val2', expires: 3)
|
|
50718
50718
|
store['key2'].should == 'val2'
|
|
50719
50719
|
sleep 1
|
|
50720
|
-
store.load('key2', :
|
|
50720
|
+
store.load('key2', expires: 5).should == 'val2'
|
|
50721
50721
|
store['key2'].should == 'val2'
|
|
50722
50722
|
sleep 3
|
|
50723
50723
|
store['key2'].should == 'val2'
|
|
@@ -50726,24 +50726,24 @@ shared_examples_for 'expires' do
|
|
|
50726
50726
|
end
|
|
50727
50727
|
|
|
50728
50728
|
it 'supports 0 as no-expires in load' do
|
|
50729
|
-
store.store('key1', 'val1', :
|
|
50730
|
-
store.load('key1', :
|
|
50729
|
+
store.store('key1', 'val1', expires: 2)
|
|
50730
|
+
store.load('key1', expires: 0).should == 'val1'
|
|
50731
50731
|
sleep 3
|
|
50732
50732
|
store.load('key1').should == 'val1'
|
|
50733
50733
|
end
|
|
50734
50734
|
|
|
50735
50735
|
it 'supports false as no-expires in load' do
|
|
50736
|
-
store.store('key1', 'val1', :
|
|
50737
|
-
store.load('key1', :
|
|
50736
|
+
store.store('key1', 'val1', expires: 2)
|
|
50737
|
+
store.load('key1', expires: false).should == 'val1'
|
|
50738
50738
|
sleep 3
|
|
50739
50739
|
store.load('key1').should == 'val1'
|
|
50740
50740
|
end
|
|
50741
50741
|
|
|
50742
|
-
it 'supports updating the expiration time in #key?', :
|
|
50743
|
-
store.store('key2', 'val2', :
|
|
50742
|
+
it 'supports updating the expiration time in #key?', retry: 3 do
|
|
50743
|
+
store.store('key2', 'val2', expires: 3)
|
|
50744
50744
|
store['key2'].should == 'val2'
|
|
50745
50745
|
sleep 1
|
|
50746
|
-
store.key?('key2', :
|
|
50746
|
+
store.key?('key2', expires: 5).should be_true
|
|
50747
50747
|
store['key2'].should == 'val2'
|
|
50748
50748
|
sleep 3
|
|
50749
50749
|
store['key2'].should == 'val2'
|
|
@@ -50752,24 +50752,24 @@ shared_examples_for 'expires' do
|
|
|
50752
50752
|
end
|
|
50753
50753
|
|
|
50754
50754
|
it 'supports 0 as no-expires in #key?' do
|
|
50755
|
-
store.store('key1', 'val1', :
|
|
50756
|
-
store.key?('key1', :
|
|
50755
|
+
store.store('key1', 'val1', expires: 2)
|
|
50756
|
+
store.key?('key1', expires: 0).should be_true
|
|
50757
50757
|
sleep 3
|
|
50758
50758
|
store['key1'].should == 'val1'
|
|
50759
50759
|
end
|
|
50760
50760
|
|
|
50761
50761
|
it 'supports false as no-expires in #key?' do
|
|
50762
|
-
store.store('key1', 'val1', :
|
|
50763
|
-
store.key?('key1', :
|
|
50762
|
+
store.store('key1', 'val1', expires: 2)
|
|
50763
|
+
store.key?('key1', expires: false ).should be_true
|
|
50764
50764
|
sleep 3
|
|
50765
50765
|
store['key1'].should == 'val1'
|
|
50766
50766
|
end
|
|
50767
50767
|
|
|
50768
|
-
it 'supports updating the expiration time in fetch', :
|
|
50769
|
-
store.store('key1', 'val1', :
|
|
50768
|
+
it 'supports updating the expiration time in fetch', retry: 3 do
|
|
50769
|
+
store.store('key1', 'val1', expires: 3)
|
|
50770
50770
|
store['key1'].should == 'val1'
|
|
50771
50771
|
sleep 1
|
|
50772
|
-
store.fetch('key1', nil, :
|
|
50772
|
+
store.fetch('key1', nil, expires: 5).should == 'val1'
|
|
50773
50773
|
store['key1'].should == 'val1'
|
|
50774
50774
|
sleep 3
|
|
50775
50775
|
store['key1'].should == 'val1'
|
|
@@ -50778,28 +50778,28 @@ shared_examples_for 'expires' do
|
|
|
50778
50778
|
end
|
|
50779
50779
|
|
|
50780
50780
|
it 'supports 0 as no-expires in fetch' do
|
|
50781
|
-
store.store('key1', 'val1', :
|
|
50782
|
-
store.fetch('key1', nil, :
|
|
50781
|
+
store.store('key1', 'val1', expires: 2)
|
|
50782
|
+
store.fetch('key1', nil, expires: 0).should == 'val1'
|
|
50783
50783
|
sleep 3
|
|
50784
50784
|
store.load('key1').should == 'val1'
|
|
50785
50785
|
end
|
|
50786
50786
|
|
|
50787
50787
|
it 'supports false as no-expires in fetch' do
|
|
50788
|
-
store.store('key1', 'val1', :
|
|
50789
|
-
store.fetch('key1', nil, :
|
|
50788
|
+
store.store('key1', 'val1', expires: 2)
|
|
50789
|
+
store.fetch('key1', nil, expires: false).should == 'val1'
|
|
50790
50790
|
sleep 3
|
|
50791
50791
|
store.load('key1').should == 'val1'
|
|
50792
50792
|
end
|
|
50793
50793
|
|
|
50794
50794
|
it 'strictly respects expires in delete' do
|
|
50795
|
-
store.store('key2', 'val2', :
|
|
50795
|
+
store.store('key2', 'val2', expires: 2)
|
|
50796
50796
|
store['key2'].should == 'val2'
|
|
50797
50797
|
sleep 3 # Sleep 3 seconds because after 2 seconds the value can still exist!
|
|
50798
50798
|
store.delete('key2').should be_nil
|
|
50799
50799
|
end
|
|
50800
50800
|
|
|
50801
|
-
it 'respects expires in delete', :
|
|
50802
|
-
store.store('key2', 'val2', :
|
|
50801
|
+
it 'respects expires in delete', retry: 3 do
|
|
50802
|
+
store.store('key2', 'val2', expires: 3)
|
|
50803
50803
|
store['key2'].should == 'val2'
|
|
50804
50804
|
sleep 1
|
|
50805
50805
|
store['key2'].should == 'val2'
|
|
@@ -50807,8 +50807,8 @@ shared_examples_for 'expires' do
|
|
|
50807
50807
|
store.delete('key2').should be_nil
|
|
50808
50808
|
end
|
|
50809
50809
|
|
|
50810
|
-
it 'supports the #expires syntactic sugar', :
|
|
50811
|
-
store.store('persistent_key', 'persistent_value', :
|
|
50810
|
+
it 'supports the #expires syntactic sugar', retry: 3 do
|
|
50811
|
+
store.store('persistent_key', 'persistent_value', expires: 0)
|
|
50812
50812
|
store.expires(1).store('key2', 'val2')
|
|
50813
50813
|
store['key2'].should == 'val2'
|
|
50814
50814
|
sleep 2
|
|
@@ -50817,32 +50817,32 @@ shared_examples_for 'expires' do
|
|
|
50817
50817
|
end
|
|
50818
50818
|
|
|
50819
50819
|
it 'supports false as no-expires on store and []' do
|
|
50820
|
-
store.store('key1', 'val1', :
|
|
50820
|
+
store.store('key1', 'val1', expires: false)
|
|
50821
50821
|
store['key1'].should == 'val1'
|
|
50822
50822
|
sleep 2
|
|
50823
50823
|
store['key1'].should == 'val1'
|
|
50824
50824
|
end
|
|
50825
50825
|
|
|
50826
|
-
it 'does not update the expiration time in #key? when not asked to do so', :
|
|
50827
|
-
store.store('key1', 'val1', :
|
|
50826
|
+
it 'does not update the expiration time in #key? when not asked to do so', retry: 3 do
|
|
50827
|
+
store.store('key1', 'val1', expires: 1)
|
|
50828
50828
|
store.key?('key1').should be_true
|
|
50829
|
-
store.key?('key1', :
|
|
50829
|
+
store.key?('key1', expires: nil).should be_true
|
|
50830
50830
|
sleep 2
|
|
50831
50831
|
store.key?('key1').should be_false
|
|
50832
50832
|
end
|
|
50833
50833
|
|
|
50834
|
-
it 'does not update the expiration time in fetch when not asked to do so', :
|
|
50835
|
-
store.store('key1', 'val1', :
|
|
50834
|
+
it 'does not update the expiration time in fetch when not asked to do so', retry: 3 do
|
|
50835
|
+
store.store('key1', 'val1', expires: 1)
|
|
50836
50836
|
store.fetch('key1').should == 'val1'
|
|
50837
|
-
store.fetch('key1', :
|
|
50837
|
+
store.fetch('key1', expires: nil).should == 'val1'
|
|
50838
50838
|
sleep 2
|
|
50839
50839
|
store.fetch('key1').should be_nil
|
|
50840
50840
|
end
|
|
50841
50841
|
|
|
50842
|
-
it 'does not update the expiration time in load when not asked to do so', :
|
|
50843
|
-
store.store('key1', 'val1', :
|
|
50842
|
+
it 'does not update the expiration time in load when not asked to do so', retry: 3 do
|
|
50843
|
+
store.store('key1', 'val1', expires: 1)
|
|
50844
50844
|
store.load('key1').should == 'val1'
|
|
50845
|
-
store.load('key1', :
|
|
50845
|
+
store.load('key1', expires: nil).should == 'val1'
|
|
50846
50846
|
sleep 2
|
|
50847
50847
|
store.load('key1').should be_nil
|
|
50848
50848
|
end
|
|
@@ -50887,10 +50887,10 @@ shared_examples_for 'concurrent_increment' do
|
|
|
50887
50887
|
s = new_store
|
|
50888
50888
|
100.times do |i|
|
|
50889
50889
|
100.times do |j|
|
|
50890
|
-
s.increment("counter#{j}", 1, :
|
|
50890
|
+
s.increment("counter#{j}", 1, expires: false)
|
|
50891
50891
|
Thread.pass if rand(1000) >= 995
|
|
50892
50892
|
end
|
|
50893
|
-
s.store("#{name}#{i}", i.to_s, :
|
|
50893
|
+
s.store("#{name}#{i}", i.to_s, expires: false)
|
|
50894
50894
|
end
|
|
50895
50895
|
s.close
|
|
50896
50896
|
end
|
|
@@ -50921,7 +50921,7 @@ shared_examples_for 'concurrent_create' do
|
|
|
50921
50921
|
Thread.new do
|
|
50922
50922
|
s = new_store
|
|
50923
50923
|
1000.times do |i|
|
|
50924
|
-
s[i.to_s].should == name if s.create(i.to_s, name, :
|
|
50924
|
+
s[i.to_s].should == name if s.create(i.to_s, name, expires: false)
|
|
50925
50925
|
Thread.pass if rand(100) >= 99
|
|
50926
50926
|
end
|
|
50927
50927
|
s.close
|
|
@@ -50947,9 +50947,9 @@ shared_examples_for 'increment' do
|
|
|
50947
50947
|
store.key?('inckey').should be_true
|
|
50948
50948
|
store.raw['inckey'].should == '1'
|
|
50949
50949
|
store.raw.load('inckey').should == '1'
|
|
50950
|
-
store.load('inckey', :
|
|
50950
|
+
store.load('inckey', raw: true).should == '1'
|
|
50951
50951
|
|
|
50952
|
-
store.delete('inckey', :
|
|
50952
|
+
store.delete('inckey', raw: true).should == '1'
|
|
50953
50953
|
store.key?('inckey').should be_false
|
|
50954
50954
|
end
|
|
50955
50955
|
|
|
@@ -50957,14 +50957,14 @@ shared_examples_for 'increment' do
|
|
|
50957
50957
|
store.increment('inckey', 42).should == 42
|
|
50958
50958
|
store.key?('inckey').should be_true
|
|
50959
50959
|
store.raw['inckey'].should == '42'
|
|
50960
|
-
store.delete('inckey', :
|
|
50960
|
+
store.delete('inckey', raw: true).should == '42'
|
|
50961
50961
|
end
|
|
50962
50962
|
|
|
50963
50963
|
it 'initializes in #increment with 0' do
|
|
50964
50964
|
store.increment('inckey', 0).should == 0
|
|
50965
50965
|
store.key?('inckey').should be_true
|
|
50966
50966
|
store.raw['inckey'].should == '0'
|
|
50967
|
-
store.delete('inckey', :
|
|
50967
|
+
store.delete('inckey', raw: true).should == '0'
|
|
50968
50968
|
end
|
|
50969
50969
|
|
|
50970
50970
|
it 'initializes in #decrement with 0' do
|
|
@@ -51006,7 +51006,7 @@ shared_examples_for 'increment' do
|
|
|
51006
51006
|
end
|
|
51007
51007
|
|
|
51008
51008
|
it 'interprets raw value as integer' do
|
|
51009
|
-
store.store('inckey', '42', :
|
|
51009
|
+
store.store('inckey', '42', raw: true)
|
|
51010
51010
|
store.increment('inckey').should == 43
|
|
51011
51011
|
store.raw['inckey'].should == '43'
|
|
51012
51012
|
end
|
|
@@ -51083,15 +51083,15 @@ end
|
|
|
51083
51083
|
|
|
51084
51084
|
shared_examples_for 'create_expires' do
|
|
51085
51085
|
it 'creates the given key and expires it' do
|
|
51086
|
-
store.create('key','value', :
|
|
51086
|
+
store.create('key','value', expires: 1).should be_true
|
|
51087
51087
|
store['key'].should == 'value'
|
|
51088
51088
|
sleep 2
|
|
51089
51089
|
store.key?('key').should be_false
|
|
51090
51090
|
end
|
|
51091
51091
|
|
|
51092
51092
|
it 'does not change expires if the key exists' do
|
|
51093
|
-
store.store('key', 'value', :
|
|
51094
|
-
store.create('key','another value', :
|
|
51093
|
+
store.store('key', 'value', expires: false).should == 'value'
|
|
51094
|
+
store.create('key','another value', expires: 1).should be_false
|
|
51095
51095
|
store['key'].should == 'value'
|
|
51096
51096
|
sleep 2
|
|
51097
51097
|
store['key'].should == 'value'
|
|
@@ -51160,11 +51160,11 @@ end
|
|
|
51160
51160
|
shared_examples_for 'transform_value' do
|
|
51161
51161
|
it 'allows to bypass transformer with :raw' do
|
|
51162
51162
|
store['key'] = 'value'
|
|
51163
|
-
load_value(store.load('key', :
|
|
51163
|
+
load_value(store.load('key', raw: true)).should == 'value'
|
|
51164
51164
|
|
|
51165
|
-
store.store('key', 'value', :
|
|
51166
|
-
store.load('key', :
|
|
51167
|
-
store.delete('key', :
|
|
51165
|
+
store.store('key', 'value', raw: true)
|
|
51166
|
+
store.load('key', raw: true).should == 'value'
|
|
51167
|
+
store.delete('key', raw: true).should == 'value'
|
|
51168
51168
|
end
|
|
51169
51169
|
|
|
51170
51170
|
it 'allows to bypass transformer with raw syntactic sugar' do
|
|
@@ -51181,12 +51181,12 @@ shared_examples_for 'transform_value' do
|
|
|
51181
51181
|
end
|
|
51182
51182
|
|
|
51183
51183
|
it 'returns unmarshalled value' do
|
|
51184
|
-
store.store('key', 'unmarshalled value', :
|
|
51185
|
-
store.load('key', :
|
|
51184
|
+
store.store('key', 'unmarshalled value', raw: true)
|
|
51185
|
+
store.load('key', raw: true).should == 'unmarshalled value'
|
|
51186
51186
|
end
|
|
51187
51187
|
|
|
51188
51188
|
it 'might raise exception on invalid value' do
|
|
51189
|
-
store.store('key', 'unmarshalled value', :
|
|
51189
|
+
store.store('key', 'unmarshalled value', raw: true)
|
|
51190
51190
|
|
|
51191
51191
|
begin
|
|
51192
51192
|
store['key'].should == load_value('unmarshalled value')
|
|
@@ -51207,30 +51207,30 @@ end
|
|
|
51207
51207
|
shared_examples_for 'transform_value_expires' do
|
|
51208
51208
|
it 'allows to bypass transformer with :raw' do
|
|
51209
51209
|
store['key'] = 'value'
|
|
51210
|
-
load_value(store.load('key', :
|
|
51210
|
+
load_value(store.load('key', raw: true)).should == 'value'
|
|
51211
51211
|
store['key'] = [1,2,3]
|
|
51212
|
-
load_value(store.load('key', :
|
|
51212
|
+
load_value(store.load('key', raw: true)).should == [[1,2,3]]
|
|
51213
51213
|
store['key'] = nil
|
|
51214
|
-
load_value(store.load('key', :
|
|
51214
|
+
load_value(store.load('key', raw: true)).should == [nil]
|
|
51215
51215
|
store['key'] = false
|
|
51216
|
-
load_value(store.load('key', :
|
|
51216
|
+
load_value(store.load('key', raw: true)).should be_false
|
|
51217
51217
|
|
|
51218
|
-
store.store('key', 'value', :
|
|
51219
|
-
load_value(store.load('key', :
|
|
51220
|
-
load_value(store.load('key', :
|
|
51218
|
+
store.store('key', 'value', expires: 10)
|
|
51219
|
+
load_value(store.load('key', raw: true)).first.should == 'value'
|
|
51220
|
+
load_value(store.load('key', raw: true)).last.should respond_to(:to_int)
|
|
51221
51221
|
|
|
51222
|
-
store.store('key', 'value', :
|
|
51223
|
-
store.load('key', :
|
|
51224
|
-
store.delete('key', :
|
|
51222
|
+
store.store('key', 'value', raw: true)
|
|
51223
|
+
store.load('key', raw: true).should == 'value'
|
|
51224
|
+
store.delete('key', raw: true).should == 'value'
|
|
51225
51225
|
end
|
|
51226
51226
|
|
|
51227
51227
|
it 'returns unmarshalled value' do
|
|
51228
|
-
store.store('key', 'unmarshalled value', :
|
|
51229
|
-
store.load('key', :
|
|
51228
|
+
store.store('key', 'unmarshalled value', raw: true)
|
|
51229
|
+
store.load('key', raw: true).should == 'unmarshalled value'
|
|
51230
51230
|
end
|
|
51231
51231
|
|
|
51232
51232
|
it 'might raise exception on invalid value' do
|
|
51233
|
-
store.store('key', 'unmarshalled value', :
|
|
51233
|
+
store.store('key', 'unmarshalled value', raw: true)
|
|
51234
51234
|
|
|
51235
51235
|
begin
|
|
51236
51236
|
store['key'].should == load_value('unmarshalled value')
|