moneta 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.rspec +4 -0
- data/.travis.yml +83 -32
- data/.yardopts +6 -1
- data/CHANGES +30 -0
- data/CONTRIBUTORS +4 -0
- data/Gemfile +28 -36
- data/LICENSE +1 -1
- data/README.md +136 -67
- data/SPEC.md +70 -0
- data/feature_matrix.yaml +235 -0
- data/lib/active_support/cache/moneta_store.rb +102 -6
- data/lib/moneta.rb +9 -2
- data/lib/moneta/adapters/activerecord.rb +258 -98
- data/lib/moneta/adapters/activesupportcache.rb +133 -0
- data/lib/moneta/adapters/cassandra.rb +290 -44
- data/lib/moneta/adapters/client.rb +11 -2
- data/lib/moneta/adapters/couch.rb +179 -25
- data/lib/moneta/adapters/datamapper.rb +1 -0
- data/lib/moneta/adapters/daybreak.rb +21 -4
- data/lib/moneta/adapters/dbm.rb +7 -7
- data/lib/moneta/adapters/file.rb +11 -1
- data/lib/moneta/adapters/gdbm.rb +7 -7
- data/lib/moneta/adapters/kyotocabinet.rb +66 -1
- data/lib/moneta/adapters/leveldb.rb +27 -1
- data/lib/moneta/adapters/lmdb.rb +29 -1
- data/lib/moneta/adapters/lruhash.rb +30 -0
- data/lib/moneta/adapters/memcached/dalli.rb +50 -5
- data/lib/moneta/adapters/memcached/native.rb +11 -4
- data/lib/moneta/adapters/memory.rb +2 -0
- data/lib/moneta/adapters/mongo/base.rb +32 -7
- data/lib/moneta/adapters/mongo/moped.rb +59 -2
- data/lib/moneta/adapters/mongo/official.rb +40 -0
- data/lib/moneta/adapters/pstore.rb +56 -8
- data/lib/moneta/adapters/redis.rb +79 -19
- data/lib/moneta/adapters/sdbm.rb +7 -7
- data/lib/moneta/adapters/sequel.rb +440 -39
- data/lib/moneta/adapters/sqlite.rb +74 -10
- data/lib/moneta/adapters/tdb.rb +16 -1
- data/lib/moneta/adapters/tokyocabinet.rb +7 -1
- data/lib/moneta/adapters/tokyotyrant.rb +22 -0
- data/lib/moneta/cache.rb +11 -1
- data/lib/moneta/expires.rb +110 -8
- data/lib/moneta/lock.rb +21 -2
- data/lib/moneta/mixins.rb +279 -3
- data/lib/moneta/pool.rb +15 -6
- data/lib/moneta/proxy.rb +46 -2
- data/lib/moneta/server.rb +5 -1
- data/lib/moneta/shared.rb +27 -11
- data/lib/moneta/stack.rb +1 -1
- data/lib/moneta/synchronize.rb +2 -8
- data/lib/moneta/transformer.rb +152 -2
- data/lib/moneta/transformer/config.rb +2 -0
- data/lib/moneta/transformer/helper.rb +2 -2
- data/lib/moneta/version.rb +1 -1
- data/lib/moneta/weak_each_key.rb +74 -0
- data/lib/moneta/wrapper.rb +25 -0
- data/moneta.gemspec +2 -2
- data/script/benchmarks +174 -62
- data/script/parallel-tests +58 -83
- data/script/start-hbase +46 -0
- data/script/start-services +9 -2
- data/script/update-feature-matrix +148 -0
- data/spec/active_support/cache_moneta_store_spec.rb +132 -109
- data/spec/features/concurrent_create.rb +21 -0
- data/spec/features/concurrent_increment.rb +32 -0
- data/spec/features/create.rb +25 -0
- data/spec/features/create_expires.rb +19 -0
- data/spec/features/default_expires.rb +15 -0
- data/spec/features/each_key.rb +119 -0
- data/spec/features/expires.rb +291 -0
- data/spec/features/features.rb +16 -0
- data/spec/features/increment.rb +98 -0
- data/spec/features/marshallable_key.rb +43 -0
- data/spec/features/marshallable_value.rb +7 -0
- data/spec/features/multiprocess.rb +8 -0
- data/spec/features/not_create.rb +7 -0
- data/spec/features/not_each_key.rb +7 -0
- data/spec/features/not_increment.rb +13 -0
- data/spec/features/not_persist.rb +9 -0
- data/spec/features/null.rb +66 -0
- data/spec/features/persist.rb +14 -0
- data/spec/features/returndifferent.rb +9 -0
- data/spec/features/returnsame.rb +9 -0
- data/spec/features/store.rb +261 -0
- data/spec/features/store_large.rb +13 -0
- data/spec/features/transform_value.rb +44 -0
- data/spec/features/transform_value_expires.rb +41 -0
- data/spec/helper.rb +391 -74
- data/spec/moneta/adapters/activerecord/adapter_activerecord_existing_connection_spec.rb +59 -0
- data/spec/moneta/adapters/activerecord/adapter_activerecord_spec.rb +118 -0
- data/spec/moneta/adapters/activerecord/standard_activerecord_spec.rb +18 -0
- data/spec/moneta/adapters/activerecord/standard_activerecord_with_expires_spec.rb +24 -0
- data/spec/moneta/adapters/activesupportcache/adapter_activesupportcache_spec.rb +51 -0
- data/spec/moneta/adapters/activesupportcache/adapter_activesupportcache_with_default_expires_spec.rb +51 -0
- data/spec/moneta/adapters/cassandra/adapter_cassandra_spec.rb +17 -0
- data/spec/moneta/adapters/cassandra/adapter_cassandra_with_default_expires_spec.rb +18 -0
- data/spec/moneta/adapters/cassandra/helper.rb +18 -0
- data/spec/moneta/adapters/cassandra/standard_cassandra_spec.rb +18 -0
- data/spec/moneta/adapters/client/adapter_client_spec.rb +11 -0
- data/spec/moneta/adapters/client/standard_client_tcp_spec.rb +23 -0
- data/spec/moneta/adapters/client/standard_client_unix_spec.rb +12 -0
- data/spec/moneta/adapters/cookie/adapter_cookie_spec.rb +7 -0
- data/spec/moneta/adapters/couch/adapter_couch_spec.rb +7 -0
- data/spec/moneta/adapters/couch/standard_couch_spec.rb +9 -0
- data/spec/moneta/adapters/couch/standard_couch_with_expires_spec.rb +13 -0
- data/spec/moneta/adapters/datamapper/adapter_datamapper_spec.rb +43 -0
- data/spec/moneta/adapters/datamapper/standard_datamapper_spec.rb +21 -0
- data/spec/moneta/adapters/datamapper/standard_datamapper_with_expires_spec.rb +26 -0
- data/spec/moneta/adapters/datamapper/standard_datamapper_with_repository_spec.rb +22 -0
- data/spec/moneta/adapters/daybreak/adapter_daybreak_spec.rb +7 -0
- data/spec/moneta/adapters/daybreak/standard_daybreak_spec.rb +7 -0
- data/spec/moneta/adapters/daybreak/standard_daybreak_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/dbm/adapter_dbm_spec.rb +7 -0
- data/spec/moneta/adapters/dbm/standard_dbm_spec.rb +7 -0
- data/spec/moneta/adapters/dbm/standard_dbm_with_expires_spec.rb +12 -0
- data/spec/moneta/adapters/file/adapter_file_spec.rb +7 -0
- data/spec/moneta/adapters/file/standard_file_spec.rb +7 -0
- data/spec/moneta/adapters/file/standard_file_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/fog/adapter_fog_spec.rb +16 -0
- data/spec/moneta/adapters/fog/standard_fog_spec.rb +15 -0
- data/spec/moneta/adapters/fog/standard_fog_with_expires_spec.rb +20 -0
- data/spec/moneta/adapters/gdbm/adapter_gdbm_spec.rb +7 -0
- data/spec/moneta/adapters/gdbm/standard_gdbm_spec.rb +7 -0
- data/spec/moneta/adapters/gdbm/standard_gdbm_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/hashfile/standard_hashfile_spec.rb +7 -0
- data/spec/moneta/adapters/hashfile/standard_hashfile_with_expires_spec.rb +12 -0
- data/spec/moneta/adapters/hbase/adapter_hbase_spec.rb +7 -0
- data/spec/moneta/adapters/hbase/standard_hbase_spec.rb +4 -0
- data/spec/moneta/adapters/hbase/standard_hbase_with_expires_spec.rb +8 -0
- data/spec/moneta/adapters/kyotocabinet/adapter_kyotocabinet_spec.rb +7 -0
- data/spec/moneta/adapters/kyotocabinet/standard_kyotocabinet_spec.rb +7 -0
- data/spec/moneta/adapters/kyotocabinet/standard_kyotocabinet_with_expires_spec.rb +14 -0
- data/spec/moneta/adapters/leveldb/adapter_leveldb_spec.rb +7 -0
- data/spec/moneta/adapters/leveldb/standard_leveldb_spec.rb +7 -0
- data/spec/moneta/adapters/leveldb/standard_leveldb_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/lmdb/adapter_lmdb_spec.rb +7 -0
- data/spec/moneta/adapters/lmdb/adapter_lmdb_with_db_spec.rb +7 -0
- data/spec/moneta/adapters/lmdb/standard_lmdb_spec.rb +7 -0
- data/spec/moneta/adapters/lmdb/standard_lmdb_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/localmemcache/adapter_localmemcache_spec.rb +7 -0
- data/spec/moneta/adapters/localmemcache/standard_localmemcache_spec.rb +7 -0
- data/spec/moneta/adapters/localmemcache/standard_localmemcache_with_expires_spec.rb +11 -0
- data/spec/moneta/{adapter_lruhash_spec.rb → adapters/lruhash/adapter_lruhash_spec.rb} +3 -25
- data/spec/moneta/adapters/lruhash/standard_lruhash_spec.rb +4 -0
- data/spec/moneta/adapters/lruhash/standard_lruhash_with_expires_spec.rb +8 -0
- data/spec/moneta/adapters/memcached/adapter_memcached_spec.rb +13 -0
- data/spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_spec.rb +15 -0
- data/spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_with_default_expires_spec.rb +15 -0
- data/spec/moneta/adapters/memcached/dalli/standard_memcached_dalli_spec.rb +11 -0
- data/spec/moneta/adapters/memcached/helper.rb +20 -0
- data/spec/moneta/adapters/memcached/native/adapter_memcached_native_spec.rb +15 -0
- data/spec/moneta/adapters/memcached/native/adapter_memcached_native_with_default_expires_spec.rb +15 -0
- data/spec/moneta/adapters/memcached/native/standard_memcached_native_spec.rb +11 -0
- data/spec/moneta/adapters/memcached/standard_memcached_spec.rb +17 -0
- data/spec/moneta/adapters/memory/adapter_memory_spec.rb +7 -0
- data/spec/moneta/adapters/memory/standard_memory_spec.rb +4 -0
- data/spec/moneta/adapters/memory/standard_memory_with_compress_spec.rb +9 -0
- data/spec/moneta/adapters/memory/standard_memory_with_expires_spec.rb +8 -0
- data/spec/moneta/adapters/memory/standard_memory_with_json_key_serializer_spec.rb +4 -0
- data/spec/moneta/adapters/memory/standard_memory_with_json_serializer_spec.rb +9 -0
- data/spec/moneta/adapters/memory/standard_memory_with_json_value_serializer_spec.rb +9 -0
- data/spec/moneta/adapters/memory/standard_memory_with_prefix_spec.rb +4 -0
- data/spec/moneta/adapters/memory/standard_memory_with_snappy_compress_spec.rb +9 -0
- data/spec/moneta/adapters/mongo/adapter_mongo_moped_spec.rb +25 -0
- data/spec/moneta/adapters/mongo/adapter_mongo_moped_with_default_expires_spec.rb +12 -0
- data/spec/moneta/adapters/mongo/adapter_mongo_official_spec.rb +25 -0
- data/spec/moneta/adapters/mongo/adapter_mongo_official_with_default_expires_spec.rb +12 -0
- data/spec/moneta/adapters/mongo/adapter_mongo_spec.rb +11 -0
- data/spec/moneta/adapters/mongo/adapter_mongo_with_default_expires_spec.rb +12 -0
- data/spec/moneta/adapters/mongo/standard_mongo_moped_spec.rb +7 -0
- data/spec/moneta/adapters/mongo/standard_mongo_official_spec.rb +7 -0
- data/spec/moneta/adapters/mongo/standard_mongo_spec.rb +7 -0
- data/spec/moneta/adapters/null/null_adapter_spec.rb +7 -0
- data/spec/moneta/adapters/null/standard_null_spec.rb +4 -0
- data/spec/moneta/adapters/pstore/adapter_pstore_spec.rb +7 -0
- data/spec/moneta/adapters/pstore/standard_pstore_spec.rb +9 -0
- data/spec/moneta/adapters/pstore/standard_pstore_with_expires_spec.rb +13 -0
- data/spec/moneta/adapters/redis/adapter_redis_spec.rb +10 -0
- data/spec/moneta/adapters/redis/adapter_redis_with_default_expires_spec.rb +10 -0
- data/spec/moneta/adapters/redis/standard_redis_spec.rb +7 -0
- data/spec/moneta/adapters/restclient/adapter_restclient_spec.rb +11 -0
- data/spec/moneta/adapters/restclient/standard_restclient_spec.rb +10 -0
- data/spec/moneta/adapters/riak/adapter_riak_spec.rb +14 -0
- data/spec/moneta/adapters/riak/standard_riak_spec.rb +10 -0
- data/spec/moneta/adapters/riak/standard_riak_with_expires_spec.rb +10 -0
- data/spec/moneta/adapters/sdbm/adapter_sdbm_spec.rb +7 -0
- data/spec/moneta/adapters/sdbm/standard_sdbm_spec.rb +7 -0
- data/spec/moneta/adapters/sdbm/standard_sdbm_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/sequel/adapter_sequel_spec.rb +181 -0
- data/spec/moneta/adapters/sequel/standard_sequel_spec.rb +14 -0
- data/spec/moneta/adapters/sequel/standard_sequel_with_expires_spec.rb +19 -0
- data/spec/moneta/adapters/sqlite/adapter_sqlite_spec.rb +7 -0
- data/spec/moneta/adapters/sqlite/standard_sqlite_spec.rb +7 -0
- data/spec/moneta/adapters/sqlite/standard_sqlite_with_expires_spec.rb +15 -0
- data/spec/moneta/adapters/tdb/adapter_tdb_spec.rb +7 -0
- data/spec/moneta/adapters/tdb/standard_tdb_spec.rb +7 -0
- data/spec/moneta/adapters/tdb/standard_tdb_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/tokyocabinet/adapter_tokyocabinet_bdb_spec.rb +7 -0
- data/spec/moneta/adapters/tokyocabinet/adapter_tokyocabinet_hdb_spec.rb +7 -0
- data/spec/moneta/adapters/tokyocabinet/standard_tokyocabinet_spec.rb +7 -0
- data/spec/moneta/adapters/tokyocabinet/standard_tokyocabinet_with_expires_spec.rb +11 -0
- data/spec/moneta/adapters/tokyotyrant/adapter_tokyotyrant_spec.rb +7 -0
- data/spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_spec.rb +4 -0
- data/spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_with_expires_spec.rb +8 -0
- data/spec/moneta/adapters/yaml/adapter_yaml_spec.rb +7 -0
- data/spec/moneta/adapters/yaml/standard_yaml_spec.rb +9 -0
- data/spec/moneta/adapters/yaml/standard_yaml_with_expires_spec.rb +13 -0
- data/spec/moneta/builder_spec.rb +0 -1
- data/spec/moneta/mutex_spec.rb +6 -23
- data/spec/moneta/proxies/cache/cache_file_memory_spec.rb +24 -0
- data/spec/moneta/proxies/cache/cache_memory_null_spec.rb +12 -0
- data/spec/moneta/proxies/expires/expires_file_spec.rb +28 -0
- data/spec/moneta/proxies/expires/expires_memory_spec.rb +15 -0
- data/spec/moneta/proxies/expires/expires_memory_with_default_expires_spec.rb +16 -0
- data/spec/moneta/proxies/lock/lock_spec.rb +10 -0
- data/spec/moneta/{optionmerger_spec.rb → proxies/optionmerger/optionmerger_spec.rb} +2 -18
- data/spec/moneta/proxies/pool/pool_spec.rb +12 -0
- data/spec/moneta/proxies/proxy/proxy_expires_memory_spec.rb +16 -0
- data/spec/moneta/proxies/proxy/proxy_redis_spec.rb +13 -0
- data/spec/moneta/proxies/shared/shared_tcp_spec.rb +49 -0
- data/spec/moneta/proxies/shared/shared_unix_spec.rb +48 -0
- data/spec/moneta/proxies/transformer/transformer_bencode_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_bert_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_bson_spec.rb +23 -0
- data/spec/moneta/proxies/transformer/transformer_bzip2_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_json_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_key_inspect_spec.rb +17 -0
- data/spec/moneta/proxies/transformer/transformer_key_marshal_spec.rb +17 -0
- data/spec/moneta/proxies/transformer/transformer_key_to_s_spec.rb +17 -0
- data/spec/moneta/proxies/transformer/transformer_key_yaml_spec.rb +17 -0
- data/spec/moneta/proxies/transformer/transformer_lz4_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_lzma_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_lzo_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb +20 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_city128_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_city32_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_city64_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_escape_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_hex_spec.rb +20 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_hmac_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_md5_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_md5_spread_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_prefix_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_qp_spec.rb +20 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_rmd160_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_sha1_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_sha256_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_sha384_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_sha512_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_truncate_spec.rb +15 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_urlsafe_base64_spec.rb +20 -0
- data/spec/moneta/proxies/transformer/transformer_marshal_uuencode_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_msgpack_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_ox_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_php_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_quicklz_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_snappy_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_tnet_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_value_marshal_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_value_yaml_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_yaml_spec.rb +19 -0
- data/spec/moneta/proxies/transformer/transformer_zlib_spec.rb +19 -0
- data/spec/moneta/proxies/weak_create/weak_create_spec.rb +21 -0
- data/spec/moneta/proxies/weak_each_key/weak_each_key_spec.rb +24 -0
- data/spec/moneta/proxies/weak_increment/weak_increment_spec.rb +21 -0
- data/spec/moneta/semaphore_spec.rb +6 -23
- data/spec/moneta/stack_file_memory_spec.rb +5 -29
- data/spec/moneta/stack_memory_file_spec.rb +5 -31
- data/spec/quality_spec.rb +1 -1
- data/{spec → test}/action_dispatch/fixtures/session_autoload_test/foo.rb +0 -0
- data/{spec/action_dispatch/session_moneta_store_spec.rb → test/action_dispatch/session_moneta_store_test.rb} +13 -5
- metadata +415 -355
- data/script/generate-specs +0 -2696
- data/spec/moneta/adapter_activerecord_exisiting_connection_spec.rb +0 -36
- data/spec/moneta/adapter_activerecord_spec.rb +0 -65
- data/spec/moneta/adapter_cassandra_spec.rb +0 -33
- data/spec/moneta/adapter_cassandra_with_default_expires_spec.rb +0 -34
- data/spec/moneta/adapter_client_spec.rb +0 -35
- data/spec/moneta/adapter_cookie_spec.rb +0 -30
- data/spec/moneta/adapter_couch_spec.rb +0 -36
- data/spec/moneta/adapter_datamapper_spec.rb +0 -64
- data/spec/moneta/adapter_daybreak_spec.rb +0 -31
- data/spec/moneta/adapter_dbm_spec.rb +0 -31
- data/spec/moneta/adapter_file_spec.rb +0 -34
- data/spec/moneta/adapter_fog_spec.rb +0 -37
- data/spec/moneta/adapter_gdbm_spec.rb +0 -31
- data/spec/moneta/adapter_hbase_spec.rb +0 -33
- data/spec/moneta/adapter_kyotocabinet_spec.rb +0 -31
- data/spec/moneta/adapter_leveldb_spec.rb +0 -31
- data/spec/moneta/adapter_lmdb_spec.rb +0 -32
- data/spec/moneta/adapter_lmdb_with_db_spec.rb +0 -32
- data/spec/moneta/adapter_localmemcache_spec.rb +0 -32
- data/spec/moneta/adapter_memcached_dalli_spec.rb +0 -36
- data/spec/moneta/adapter_memcached_dalli_with_default_expires_spec.rb +0 -37
- data/spec/moneta/adapter_memcached_native_spec.rb +0 -36
- data/spec/moneta/adapter_memcached_native_with_default_expires_spec.rb +0 -37
- data/spec/moneta/adapter_memcached_spec.rb +0 -36
- data/spec/moneta/adapter_memcached_with_default_expires_spec.rb +0 -37
- data/spec/moneta/adapter_memory_spec.rb +0 -184
- data/spec/moneta/adapter_mongo_moped_spec.rb +0 -64
- data/spec/moneta/adapter_mongo_moped_with_default_expires_spec.rb +0 -53
- data/spec/moneta/adapter_mongo_official_spec.rb +0 -64
- data/spec/moneta/adapter_mongo_official_with_default_expires_spec.rb +0 -53
- data/spec/moneta/adapter_mongo_spec.rb +0 -51
- data/spec/moneta/adapter_mongo_with_default_expires_spec.rb +0 -53
- data/spec/moneta/adapter_pstore_spec.rb +0 -250
- data/spec/moneta/adapter_redis_spec.rb +0 -36
- data/spec/moneta/adapter_redis_with_default_expires_spec.rb +0 -37
- data/spec/moneta/adapter_restclient_spec.rb +0 -33
- data/spec/moneta/adapter_riak_spec.rb +0 -36
- data/spec/moneta/adapter_sdbm_spec.rb +0 -30
- data/spec/moneta/adapter_sequel_spec.rb +0 -34
- data/spec/moneta/adapter_sqlite_spec.rb +0 -32
- data/spec/moneta/adapter_tdb_spec.rb +0 -31
- data/spec/moneta/adapter_tokyocabinet_bdb_spec.rb +0 -31
- data/spec/moneta/adapter_tokyocabinet_hdb_spec.rb +0 -31
- data/spec/moneta/adapter_tokyotyrant_spec.rb +0 -34
- data/spec/moneta/adapter_yaml_spec.rb +0 -57
- data/spec/moneta/cache_file_memory_spec.rb +0 -50
- data/spec/moneta/cache_memory_null_spec.rb +0 -35
- data/spec/moneta/expires_file_spec.rb +0 -78
- data/spec/moneta/expires_memory_spec.rb +0 -189
- data/spec/moneta/expires_memory_with_default_expires_spec.rb +0 -190
- data/spec/moneta/lock_spec.rb +0 -187
- data/spec/moneta/null_adapter_spec.rb +0 -86
- data/spec/moneta/pool_spec.rb +0 -38
- data/spec/moneta/proxy_expires_memory_spec.rb +0 -191
- data/spec/moneta/proxy_redis_spec.rb +0 -40
- data/spec/moneta/shared_tcp_spec.rb +0 -46
- data/spec/moneta/shared_unix_spec.rb +0 -46
- data/spec/moneta/standard_activerecord_spec.rb +0 -253
- data/spec/moneta/standard_activerecord_with_expires_spec.rb +0 -255
- data/spec/moneta/standard_cassandra_spec.rb +0 -252
- data/spec/moneta/standard_client_tcp_spec.rb +0 -269
- data/spec/moneta/standard_client_unix_spec.rb +0 -254
- data/spec/moneta/standard_couch_spec.rb +0 -252
- data/spec/moneta/standard_couch_with_expires_spec.rb +0 -254
- data/spec/moneta/standard_datamapper_spec.rb +0 -254
- data/spec/moneta/standard_datamapper_with_expires_spec.rb +0 -256
- data/spec/moneta/standard_datamapper_with_repository_spec.rb +0 -254
- data/spec/moneta/standard_daybreak_spec.rb +0 -250
- data/spec/moneta/standard_daybreak_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_dbm_spec.rb +0 -250
- data/spec/moneta/standard_dbm_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_file_spec.rb +0 -253
- data/spec/moneta/standard_file_with_expires_spec.rb +0 -255
- data/spec/moneta/standard_fog_spec.rb +0 -256
- data/spec/moneta/standard_fog_with_expires_spec.rb +0 -258
- data/spec/moneta/standard_gdbm_spec.rb +0 -250
- data/spec/moneta/standard_gdbm_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_hashfile_spec.rb +0 -253
- data/spec/moneta/standard_hashfile_with_expires_spec.rb +0 -255
- data/spec/moneta/standard_hbase_spec.rb +0 -252
- data/spec/moneta/standard_hbase_with_expires_spec.rb +0 -255
- data/spec/moneta/standard_kyotocabinet_spec.rb +0 -250
- data/spec/moneta/standard_kyotocabinet_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_leveldb_spec.rb +0 -250
- data/spec/moneta/standard_leveldb_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_lmdb_spec.rb +0 -251
- data/spec/moneta/standard_lmdb_with_expires_spec.rb +0 -253
- data/spec/moneta/standard_localmemcache_spec.rb +0 -251
- data/spec/moneta/standard_localmemcache_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_lruhash_spec.rb +0 -187
- data/spec/moneta/standard_lruhash_with_expires_spec.rb +0 -189
- data/spec/moneta/standard_memcached_dalli_spec.rb +0 -255
- data/spec/moneta/standard_memcached_native_spec.rb +0 -255
- data/spec/moneta/standard_memcached_spec.rb +0 -255
- data/spec/moneta/standard_memory_spec.rb +0 -187
- data/spec/moneta/standard_memory_with_compress_spec.rb +0 -187
- data/spec/moneta/standard_memory_with_expires_spec.rb +0 -189
- data/spec/moneta/standard_memory_with_json_key_serializer_spec.rb +0 -86
- data/spec/moneta/standard_memory_with_json_serializer_spec.rb +0 -49
- data/spec/moneta/standard_memory_with_json_value_serializer_spec.rb +0 -90
- data/spec/moneta/standard_memory_with_prefix_spec.rb +0 -187
- data/spec/moneta/standard_memory_with_snappy_compress_spec.rb +0 -187
- data/spec/moneta/standard_mongo_moped_spec.rb +0 -255
- data/spec/moneta/standard_mongo_official_spec.rb +0 -255
- data/spec/moneta/standard_mongo_spec.rb +0 -255
- data/spec/moneta/standard_null_spec.rb +0 -120
- data/spec/moneta/standard_pstore_spec.rb +0 -253
- data/spec/moneta/standard_pstore_with_expires_spec.rb +0 -255
- data/spec/moneta/standard_redis_spec.rb +0 -255
- data/spec/moneta/standard_restclient_spec.rb +0 -252
- data/spec/moneta/standard_riak_spec.rb +0 -255
- data/spec/moneta/standard_riak_with_expires_spec.rb +0 -256
- data/spec/moneta/standard_sdbm_spec.rb +0 -249
- data/spec/moneta/standard_sdbm_with_expires_spec.rb +0 -251
- data/spec/moneta/standard_sequel_spec.rb +0 -253
- data/spec/moneta/standard_sequel_with_expires_spec.rb +0 -255
- data/spec/moneta/standard_sqlite_spec.rb +0 -251
- data/spec/moneta/standard_sqlite_with_expires_spec.rb +0 -253
- data/spec/moneta/standard_tdb_spec.rb +0 -250
- data/spec/moneta/standard_tdb_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_tokyocabinet_spec.rb +0 -250
- data/spec/moneta/standard_tokyocabinet_with_expires_spec.rb +0 -252
- data/spec/moneta/standard_tokyotyrant_spec.rb +0 -253
- data/spec/moneta/standard_tokyotyrant_with_expires_spec.rb +0 -255
- data/spec/moneta/standard_yaml_spec.rb +0 -250
- data/spec/moneta/standard_yaml_with_expires_spec.rb +0 -252
- data/spec/moneta/transformer_bencode_spec.rb +0 -55
- data/spec/moneta/transformer_bert_spec.rb +0 -55
- data/spec/moneta/transformer_bson_spec.rb +0 -60
- data/spec/moneta/transformer_bzip2_spec.rb +0 -55
- data/spec/moneta/transformer_json_spec.rb +0 -55
- data/spec/moneta/transformer_key_inspect_spec.rb +0 -91
- data/spec/moneta/transformer_key_marshal_spec.rb +0 -191
- data/spec/moneta/transformer_key_to_s_spec.rb +0 -91
- data/spec/moneta/transformer_key_yaml_spec.rb +0 -191
- data/spec/moneta/transformer_lz4_spec.rb +0 -55
- data/spec/moneta/transformer_lzma_spec.rb +0 -55
- data/spec/moneta/transformer_lzo_spec.rb +0 -55
- data/spec/moneta/transformer_marshal_base64_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_city128_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_city32_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_city64_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_escape_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_hex_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_hmac_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_md5_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_md5_spread_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_prefix_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_qp_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_rmd160_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_sha1_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_sha256_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_sha384_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_sha512_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_spec.rb +0 -191
- data/spec/moneta/transformer_marshal_truncate_spec.rb +0 -194
- data/spec/moneta/transformer_marshal_uuencode_spec.rb +0 -194
- data/spec/moneta/transformer_msgpack_spec.rb +0 -55
- data/spec/moneta/transformer_ox_spec.rb +0 -191
- data/spec/moneta/transformer_php_spec.rb +0 -55
- data/spec/moneta/transformer_quicklz_spec.rb +0 -55
- data/spec/moneta/transformer_snappy_spec.rb +0 -55
- data/spec/moneta/transformer_tnet_spec.rb +0 -55
- data/spec/moneta/transformer_value_marshal_spec.rb +0 -191
- data/spec/moneta/transformer_value_yaml_spec.rb +0 -191
- data/spec/moneta/transformer_yaml_spec.rb +0 -191
- data/spec/moneta/transformer_zlib_spec.rb +0 -55
- data/spec/moneta/weak_create_spec.rb +0 -41
- data/spec/moneta/weak_increment_spec.rb +0 -41
- data/spec/monetaspecs.rb +0 -51267
@@ -1,194 +0,0 @@
|
|
1
|
-
# coding: binary
|
2
|
-
# Generated by generate-specs
|
3
|
-
require 'helper'
|
4
|
-
|
5
|
-
describe_moneta "transformer_marshal_sha384" do
|
6
|
-
def features
|
7
|
-
[:create, :increment]
|
8
|
-
end
|
9
|
-
|
10
|
-
def new_store
|
11
|
-
Moneta.build do
|
12
|
-
use :Transformer, key: [:marshal, :sha384], value: :marshal
|
13
|
-
adapter :Memory
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def load_value(value)
|
18
|
-
Marshal.load(value)
|
19
|
-
end
|
20
|
-
|
21
|
-
include_context 'setup_store'
|
22
|
-
it_should_behave_like 'create'
|
23
|
-
it_should_behave_like 'features'
|
24
|
-
it_should_behave_like 'increment'
|
25
|
-
it_should_behave_like 'marshallable_key'
|
26
|
-
it_should_behave_like 'marshallable_value'
|
27
|
-
it_should_behave_like 'not_persist'
|
28
|
-
it_should_behave_like 'null_objectkey_objectvalue'
|
29
|
-
it_should_behave_like 'null_objectkey_stringvalue'
|
30
|
-
it_should_behave_like 'null_objectkey_binaryvalue'
|
31
|
-
it_should_behave_like 'null_objectkey_hashvalue'
|
32
|
-
it_should_behave_like 'null_objectkey_booleanvalue'
|
33
|
-
it_should_behave_like 'null_objectkey_nilvalue'
|
34
|
-
it_should_behave_like 'null_objectkey_integervalue'
|
35
|
-
it_should_behave_like 'null_objectkey_numbervalue'
|
36
|
-
it_should_behave_like 'null_stringkey_objectvalue'
|
37
|
-
it_should_behave_like 'null_stringkey_stringvalue'
|
38
|
-
it_should_behave_like 'null_stringkey_binaryvalue'
|
39
|
-
it_should_behave_like 'null_stringkey_hashvalue'
|
40
|
-
it_should_behave_like 'null_stringkey_booleanvalue'
|
41
|
-
it_should_behave_like 'null_stringkey_nilvalue'
|
42
|
-
it_should_behave_like 'null_stringkey_integervalue'
|
43
|
-
it_should_behave_like 'null_stringkey_numbervalue'
|
44
|
-
it_should_behave_like 'null_binarykey_objectvalue'
|
45
|
-
it_should_behave_like 'null_binarykey_stringvalue'
|
46
|
-
it_should_behave_like 'null_binarykey_binaryvalue'
|
47
|
-
it_should_behave_like 'null_binarykey_hashvalue'
|
48
|
-
it_should_behave_like 'null_binarykey_booleanvalue'
|
49
|
-
it_should_behave_like 'null_binarykey_nilvalue'
|
50
|
-
it_should_behave_like 'null_binarykey_integervalue'
|
51
|
-
it_should_behave_like 'null_binarykey_numbervalue'
|
52
|
-
it_should_behave_like 'null_hashkey_objectvalue'
|
53
|
-
it_should_behave_like 'null_hashkey_stringvalue'
|
54
|
-
it_should_behave_like 'null_hashkey_binaryvalue'
|
55
|
-
it_should_behave_like 'null_hashkey_hashvalue'
|
56
|
-
it_should_behave_like 'null_hashkey_booleanvalue'
|
57
|
-
it_should_behave_like 'null_hashkey_nilvalue'
|
58
|
-
it_should_behave_like 'null_hashkey_integervalue'
|
59
|
-
it_should_behave_like 'null_hashkey_numbervalue'
|
60
|
-
it_should_behave_like 'null_booleankey_objectvalue'
|
61
|
-
it_should_behave_like 'null_booleankey_stringvalue'
|
62
|
-
it_should_behave_like 'null_booleankey_binaryvalue'
|
63
|
-
it_should_behave_like 'null_booleankey_hashvalue'
|
64
|
-
it_should_behave_like 'null_booleankey_booleanvalue'
|
65
|
-
it_should_behave_like 'null_booleankey_nilvalue'
|
66
|
-
it_should_behave_like 'null_booleankey_integervalue'
|
67
|
-
it_should_behave_like 'null_booleankey_numbervalue'
|
68
|
-
it_should_behave_like 'null_nilkey_objectvalue'
|
69
|
-
it_should_behave_like 'null_nilkey_stringvalue'
|
70
|
-
it_should_behave_like 'null_nilkey_binaryvalue'
|
71
|
-
it_should_behave_like 'null_nilkey_hashvalue'
|
72
|
-
it_should_behave_like 'null_nilkey_booleanvalue'
|
73
|
-
it_should_behave_like 'null_nilkey_nilvalue'
|
74
|
-
it_should_behave_like 'null_nilkey_integervalue'
|
75
|
-
it_should_behave_like 'null_nilkey_numbervalue'
|
76
|
-
it_should_behave_like 'null_integerkey_objectvalue'
|
77
|
-
it_should_behave_like 'null_integerkey_stringvalue'
|
78
|
-
it_should_behave_like 'null_integerkey_binaryvalue'
|
79
|
-
it_should_behave_like 'null_integerkey_hashvalue'
|
80
|
-
it_should_behave_like 'null_integerkey_booleanvalue'
|
81
|
-
it_should_behave_like 'null_integerkey_nilvalue'
|
82
|
-
it_should_behave_like 'null_integerkey_integervalue'
|
83
|
-
it_should_behave_like 'null_integerkey_numbervalue'
|
84
|
-
it_should_behave_like 'null_numberkey_objectvalue'
|
85
|
-
it_should_behave_like 'null_numberkey_stringvalue'
|
86
|
-
it_should_behave_like 'null_numberkey_binaryvalue'
|
87
|
-
it_should_behave_like 'null_numberkey_hashvalue'
|
88
|
-
it_should_behave_like 'null_numberkey_booleanvalue'
|
89
|
-
it_should_behave_like 'null_numberkey_nilvalue'
|
90
|
-
it_should_behave_like 'null_numberkey_integervalue'
|
91
|
-
it_should_behave_like 'null_numberkey_numbervalue'
|
92
|
-
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
93
|
-
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
94
|
-
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
95
|
-
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
96
|
-
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
97
|
-
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
98
|
-
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
99
|
-
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
100
|
-
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
101
|
-
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
102
|
-
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
103
|
-
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
104
|
-
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
105
|
-
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
106
|
-
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
107
|
-
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
108
|
-
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
109
|
-
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
110
|
-
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
111
|
-
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
112
|
-
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
113
|
-
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
114
|
-
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
115
|
-
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
116
|
-
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
117
|
-
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
118
|
-
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
119
|
-
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
120
|
-
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
121
|
-
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
122
|
-
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
123
|
-
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
124
|
-
it_should_behave_like 'store_objectkey_objectvalue'
|
125
|
-
it_should_behave_like 'store_objectkey_stringvalue'
|
126
|
-
it_should_behave_like 'store_objectkey_binaryvalue'
|
127
|
-
it_should_behave_like 'store_objectkey_hashvalue'
|
128
|
-
it_should_behave_like 'store_objectkey_booleanvalue'
|
129
|
-
it_should_behave_like 'store_objectkey_nilvalue'
|
130
|
-
it_should_behave_like 'store_objectkey_integervalue'
|
131
|
-
it_should_behave_like 'store_objectkey_numbervalue'
|
132
|
-
it_should_behave_like 'store_stringkey_objectvalue'
|
133
|
-
it_should_behave_like 'store_stringkey_stringvalue'
|
134
|
-
it_should_behave_like 'store_stringkey_binaryvalue'
|
135
|
-
it_should_behave_like 'store_stringkey_hashvalue'
|
136
|
-
it_should_behave_like 'store_stringkey_booleanvalue'
|
137
|
-
it_should_behave_like 'store_stringkey_nilvalue'
|
138
|
-
it_should_behave_like 'store_stringkey_integervalue'
|
139
|
-
it_should_behave_like 'store_stringkey_numbervalue'
|
140
|
-
it_should_behave_like 'store_binarykey_objectvalue'
|
141
|
-
it_should_behave_like 'store_binarykey_stringvalue'
|
142
|
-
it_should_behave_like 'store_binarykey_binaryvalue'
|
143
|
-
it_should_behave_like 'store_binarykey_hashvalue'
|
144
|
-
it_should_behave_like 'store_binarykey_booleanvalue'
|
145
|
-
it_should_behave_like 'store_binarykey_nilvalue'
|
146
|
-
it_should_behave_like 'store_binarykey_integervalue'
|
147
|
-
it_should_behave_like 'store_binarykey_numbervalue'
|
148
|
-
it_should_behave_like 'store_hashkey_objectvalue'
|
149
|
-
it_should_behave_like 'store_hashkey_stringvalue'
|
150
|
-
it_should_behave_like 'store_hashkey_binaryvalue'
|
151
|
-
it_should_behave_like 'store_hashkey_hashvalue'
|
152
|
-
it_should_behave_like 'store_hashkey_booleanvalue'
|
153
|
-
it_should_behave_like 'store_hashkey_nilvalue'
|
154
|
-
it_should_behave_like 'store_hashkey_integervalue'
|
155
|
-
it_should_behave_like 'store_hashkey_numbervalue'
|
156
|
-
it_should_behave_like 'store_booleankey_objectvalue'
|
157
|
-
it_should_behave_like 'store_booleankey_stringvalue'
|
158
|
-
it_should_behave_like 'store_booleankey_binaryvalue'
|
159
|
-
it_should_behave_like 'store_booleankey_hashvalue'
|
160
|
-
it_should_behave_like 'store_booleankey_booleanvalue'
|
161
|
-
it_should_behave_like 'store_booleankey_nilvalue'
|
162
|
-
it_should_behave_like 'store_booleankey_integervalue'
|
163
|
-
it_should_behave_like 'store_booleankey_numbervalue'
|
164
|
-
it_should_behave_like 'store_nilkey_objectvalue'
|
165
|
-
it_should_behave_like 'store_nilkey_stringvalue'
|
166
|
-
it_should_behave_like 'store_nilkey_binaryvalue'
|
167
|
-
it_should_behave_like 'store_nilkey_hashvalue'
|
168
|
-
it_should_behave_like 'store_nilkey_booleanvalue'
|
169
|
-
it_should_behave_like 'store_nilkey_nilvalue'
|
170
|
-
it_should_behave_like 'store_nilkey_integervalue'
|
171
|
-
it_should_behave_like 'store_nilkey_numbervalue'
|
172
|
-
it_should_behave_like 'store_integerkey_objectvalue'
|
173
|
-
it_should_behave_like 'store_integerkey_stringvalue'
|
174
|
-
it_should_behave_like 'store_integerkey_binaryvalue'
|
175
|
-
it_should_behave_like 'store_integerkey_hashvalue'
|
176
|
-
it_should_behave_like 'store_integerkey_booleanvalue'
|
177
|
-
it_should_behave_like 'store_integerkey_nilvalue'
|
178
|
-
it_should_behave_like 'store_integerkey_integervalue'
|
179
|
-
it_should_behave_like 'store_integerkey_numbervalue'
|
180
|
-
it_should_behave_like 'store_numberkey_objectvalue'
|
181
|
-
it_should_behave_like 'store_numberkey_stringvalue'
|
182
|
-
it_should_behave_like 'store_numberkey_binaryvalue'
|
183
|
-
it_should_behave_like 'store_numberkey_hashvalue'
|
184
|
-
it_should_behave_like 'store_numberkey_booleanvalue'
|
185
|
-
it_should_behave_like 'store_numberkey_nilvalue'
|
186
|
-
it_should_behave_like 'store_numberkey_integervalue'
|
187
|
-
it_should_behave_like 'store_numberkey_numbervalue'
|
188
|
-
it_should_behave_like 'store_large'
|
189
|
-
it_should_behave_like 'transform_value'
|
190
|
-
it 'compile transformer class' do
|
191
|
-
store.should_not be_nil
|
192
|
-
Moneta::Transformer::MarshalSha384KeyMarshalValue.should_not be_nil
|
193
|
-
end
|
194
|
-
end
|
@@ -1,194 +0,0 @@
|
|
1
|
-
# coding: binary
|
2
|
-
# Generated by generate-specs
|
3
|
-
require 'helper'
|
4
|
-
|
5
|
-
describe_moneta "transformer_marshal_sha512" do
|
6
|
-
def features
|
7
|
-
[:create, :increment]
|
8
|
-
end
|
9
|
-
|
10
|
-
def new_store
|
11
|
-
Moneta.build do
|
12
|
-
use :Transformer, key: [:marshal, :sha512], value: :marshal
|
13
|
-
adapter :Memory
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def load_value(value)
|
18
|
-
Marshal.load(value)
|
19
|
-
end
|
20
|
-
|
21
|
-
include_context 'setup_store'
|
22
|
-
it_should_behave_like 'create'
|
23
|
-
it_should_behave_like 'features'
|
24
|
-
it_should_behave_like 'increment'
|
25
|
-
it_should_behave_like 'marshallable_key'
|
26
|
-
it_should_behave_like 'marshallable_value'
|
27
|
-
it_should_behave_like 'not_persist'
|
28
|
-
it_should_behave_like 'null_objectkey_objectvalue'
|
29
|
-
it_should_behave_like 'null_objectkey_stringvalue'
|
30
|
-
it_should_behave_like 'null_objectkey_binaryvalue'
|
31
|
-
it_should_behave_like 'null_objectkey_hashvalue'
|
32
|
-
it_should_behave_like 'null_objectkey_booleanvalue'
|
33
|
-
it_should_behave_like 'null_objectkey_nilvalue'
|
34
|
-
it_should_behave_like 'null_objectkey_integervalue'
|
35
|
-
it_should_behave_like 'null_objectkey_numbervalue'
|
36
|
-
it_should_behave_like 'null_stringkey_objectvalue'
|
37
|
-
it_should_behave_like 'null_stringkey_stringvalue'
|
38
|
-
it_should_behave_like 'null_stringkey_binaryvalue'
|
39
|
-
it_should_behave_like 'null_stringkey_hashvalue'
|
40
|
-
it_should_behave_like 'null_stringkey_booleanvalue'
|
41
|
-
it_should_behave_like 'null_stringkey_nilvalue'
|
42
|
-
it_should_behave_like 'null_stringkey_integervalue'
|
43
|
-
it_should_behave_like 'null_stringkey_numbervalue'
|
44
|
-
it_should_behave_like 'null_binarykey_objectvalue'
|
45
|
-
it_should_behave_like 'null_binarykey_stringvalue'
|
46
|
-
it_should_behave_like 'null_binarykey_binaryvalue'
|
47
|
-
it_should_behave_like 'null_binarykey_hashvalue'
|
48
|
-
it_should_behave_like 'null_binarykey_booleanvalue'
|
49
|
-
it_should_behave_like 'null_binarykey_nilvalue'
|
50
|
-
it_should_behave_like 'null_binarykey_integervalue'
|
51
|
-
it_should_behave_like 'null_binarykey_numbervalue'
|
52
|
-
it_should_behave_like 'null_hashkey_objectvalue'
|
53
|
-
it_should_behave_like 'null_hashkey_stringvalue'
|
54
|
-
it_should_behave_like 'null_hashkey_binaryvalue'
|
55
|
-
it_should_behave_like 'null_hashkey_hashvalue'
|
56
|
-
it_should_behave_like 'null_hashkey_booleanvalue'
|
57
|
-
it_should_behave_like 'null_hashkey_nilvalue'
|
58
|
-
it_should_behave_like 'null_hashkey_integervalue'
|
59
|
-
it_should_behave_like 'null_hashkey_numbervalue'
|
60
|
-
it_should_behave_like 'null_booleankey_objectvalue'
|
61
|
-
it_should_behave_like 'null_booleankey_stringvalue'
|
62
|
-
it_should_behave_like 'null_booleankey_binaryvalue'
|
63
|
-
it_should_behave_like 'null_booleankey_hashvalue'
|
64
|
-
it_should_behave_like 'null_booleankey_booleanvalue'
|
65
|
-
it_should_behave_like 'null_booleankey_nilvalue'
|
66
|
-
it_should_behave_like 'null_booleankey_integervalue'
|
67
|
-
it_should_behave_like 'null_booleankey_numbervalue'
|
68
|
-
it_should_behave_like 'null_nilkey_objectvalue'
|
69
|
-
it_should_behave_like 'null_nilkey_stringvalue'
|
70
|
-
it_should_behave_like 'null_nilkey_binaryvalue'
|
71
|
-
it_should_behave_like 'null_nilkey_hashvalue'
|
72
|
-
it_should_behave_like 'null_nilkey_booleanvalue'
|
73
|
-
it_should_behave_like 'null_nilkey_nilvalue'
|
74
|
-
it_should_behave_like 'null_nilkey_integervalue'
|
75
|
-
it_should_behave_like 'null_nilkey_numbervalue'
|
76
|
-
it_should_behave_like 'null_integerkey_objectvalue'
|
77
|
-
it_should_behave_like 'null_integerkey_stringvalue'
|
78
|
-
it_should_behave_like 'null_integerkey_binaryvalue'
|
79
|
-
it_should_behave_like 'null_integerkey_hashvalue'
|
80
|
-
it_should_behave_like 'null_integerkey_booleanvalue'
|
81
|
-
it_should_behave_like 'null_integerkey_nilvalue'
|
82
|
-
it_should_behave_like 'null_integerkey_integervalue'
|
83
|
-
it_should_behave_like 'null_integerkey_numbervalue'
|
84
|
-
it_should_behave_like 'null_numberkey_objectvalue'
|
85
|
-
it_should_behave_like 'null_numberkey_stringvalue'
|
86
|
-
it_should_behave_like 'null_numberkey_binaryvalue'
|
87
|
-
it_should_behave_like 'null_numberkey_hashvalue'
|
88
|
-
it_should_behave_like 'null_numberkey_booleanvalue'
|
89
|
-
it_should_behave_like 'null_numberkey_nilvalue'
|
90
|
-
it_should_behave_like 'null_numberkey_integervalue'
|
91
|
-
it_should_behave_like 'null_numberkey_numbervalue'
|
92
|
-
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
93
|
-
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
94
|
-
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
95
|
-
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
96
|
-
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
97
|
-
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
98
|
-
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
99
|
-
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
100
|
-
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
101
|
-
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
102
|
-
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
103
|
-
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
104
|
-
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
105
|
-
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
106
|
-
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
107
|
-
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
108
|
-
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
109
|
-
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
110
|
-
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
111
|
-
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
112
|
-
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
113
|
-
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
114
|
-
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
115
|
-
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
116
|
-
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
117
|
-
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
118
|
-
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
119
|
-
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
120
|
-
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
121
|
-
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
122
|
-
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
123
|
-
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
124
|
-
it_should_behave_like 'store_objectkey_objectvalue'
|
125
|
-
it_should_behave_like 'store_objectkey_stringvalue'
|
126
|
-
it_should_behave_like 'store_objectkey_binaryvalue'
|
127
|
-
it_should_behave_like 'store_objectkey_hashvalue'
|
128
|
-
it_should_behave_like 'store_objectkey_booleanvalue'
|
129
|
-
it_should_behave_like 'store_objectkey_nilvalue'
|
130
|
-
it_should_behave_like 'store_objectkey_integervalue'
|
131
|
-
it_should_behave_like 'store_objectkey_numbervalue'
|
132
|
-
it_should_behave_like 'store_stringkey_objectvalue'
|
133
|
-
it_should_behave_like 'store_stringkey_stringvalue'
|
134
|
-
it_should_behave_like 'store_stringkey_binaryvalue'
|
135
|
-
it_should_behave_like 'store_stringkey_hashvalue'
|
136
|
-
it_should_behave_like 'store_stringkey_booleanvalue'
|
137
|
-
it_should_behave_like 'store_stringkey_nilvalue'
|
138
|
-
it_should_behave_like 'store_stringkey_integervalue'
|
139
|
-
it_should_behave_like 'store_stringkey_numbervalue'
|
140
|
-
it_should_behave_like 'store_binarykey_objectvalue'
|
141
|
-
it_should_behave_like 'store_binarykey_stringvalue'
|
142
|
-
it_should_behave_like 'store_binarykey_binaryvalue'
|
143
|
-
it_should_behave_like 'store_binarykey_hashvalue'
|
144
|
-
it_should_behave_like 'store_binarykey_booleanvalue'
|
145
|
-
it_should_behave_like 'store_binarykey_nilvalue'
|
146
|
-
it_should_behave_like 'store_binarykey_integervalue'
|
147
|
-
it_should_behave_like 'store_binarykey_numbervalue'
|
148
|
-
it_should_behave_like 'store_hashkey_objectvalue'
|
149
|
-
it_should_behave_like 'store_hashkey_stringvalue'
|
150
|
-
it_should_behave_like 'store_hashkey_binaryvalue'
|
151
|
-
it_should_behave_like 'store_hashkey_hashvalue'
|
152
|
-
it_should_behave_like 'store_hashkey_booleanvalue'
|
153
|
-
it_should_behave_like 'store_hashkey_nilvalue'
|
154
|
-
it_should_behave_like 'store_hashkey_integervalue'
|
155
|
-
it_should_behave_like 'store_hashkey_numbervalue'
|
156
|
-
it_should_behave_like 'store_booleankey_objectvalue'
|
157
|
-
it_should_behave_like 'store_booleankey_stringvalue'
|
158
|
-
it_should_behave_like 'store_booleankey_binaryvalue'
|
159
|
-
it_should_behave_like 'store_booleankey_hashvalue'
|
160
|
-
it_should_behave_like 'store_booleankey_booleanvalue'
|
161
|
-
it_should_behave_like 'store_booleankey_nilvalue'
|
162
|
-
it_should_behave_like 'store_booleankey_integervalue'
|
163
|
-
it_should_behave_like 'store_booleankey_numbervalue'
|
164
|
-
it_should_behave_like 'store_nilkey_objectvalue'
|
165
|
-
it_should_behave_like 'store_nilkey_stringvalue'
|
166
|
-
it_should_behave_like 'store_nilkey_binaryvalue'
|
167
|
-
it_should_behave_like 'store_nilkey_hashvalue'
|
168
|
-
it_should_behave_like 'store_nilkey_booleanvalue'
|
169
|
-
it_should_behave_like 'store_nilkey_nilvalue'
|
170
|
-
it_should_behave_like 'store_nilkey_integervalue'
|
171
|
-
it_should_behave_like 'store_nilkey_numbervalue'
|
172
|
-
it_should_behave_like 'store_integerkey_objectvalue'
|
173
|
-
it_should_behave_like 'store_integerkey_stringvalue'
|
174
|
-
it_should_behave_like 'store_integerkey_binaryvalue'
|
175
|
-
it_should_behave_like 'store_integerkey_hashvalue'
|
176
|
-
it_should_behave_like 'store_integerkey_booleanvalue'
|
177
|
-
it_should_behave_like 'store_integerkey_nilvalue'
|
178
|
-
it_should_behave_like 'store_integerkey_integervalue'
|
179
|
-
it_should_behave_like 'store_integerkey_numbervalue'
|
180
|
-
it_should_behave_like 'store_numberkey_objectvalue'
|
181
|
-
it_should_behave_like 'store_numberkey_stringvalue'
|
182
|
-
it_should_behave_like 'store_numberkey_binaryvalue'
|
183
|
-
it_should_behave_like 'store_numberkey_hashvalue'
|
184
|
-
it_should_behave_like 'store_numberkey_booleanvalue'
|
185
|
-
it_should_behave_like 'store_numberkey_nilvalue'
|
186
|
-
it_should_behave_like 'store_numberkey_integervalue'
|
187
|
-
it_should_behave_like 'store_numberkey_numbervalue'
|
188
|
-
it_should_behave_like 'store_large'
|
189
|
-
it_should_behave_like 'transform_value'
|
190
|
-
it 'compile transformer class' do
|
191
|
-
store.should_not be_nil
|
192
|
-
Moneta::Transformer::MarshalSha512KeyMarshalValue.should_not be_nil
|
193
|
-
end
|
194
|
-
end
|
@@ -1,191 +0,0 @@
|
|
1
|
-
# coding: binary
|
2
|
-
# Generated by generate-specs
|
3
|
-
require 'helper'
|
4
|
-
|
5
|
-
describe_moneta "transformer_marshal" do
|
6
|
-
def features
|
7
|
-
[:create, :increment]
|
8
|
-
end
|
9
|
-
|
10
|
-
def new_store
|
11
|
-
Moneta.build do
|
12
|
-
use :Transformer, key: :marshal, value: :marshal
|
13
|
-
adapter :Memory
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def load_value(value)
|
18
|
-
::Marshal.load(value)
|
19
|
-
end
|
20
|
-
|
21
|
-
include_context 'setup_store'
|
22
|
-
it_should_behave_like 'create'
|
23
|
-
it_should_behave_like 'features'
|
24
|
-
it_should_behave_like 'increment'
|
25
|
-
it_should_behave_like 'null_objectkey_objectvalue'
|
26
|
-
it_should_behave_like 'null_objectkey_stringvalue'
|
27
|
-
it_should_behave_like 'null_objectkey_binaryvalue'
|
28
|
-
it_should_behave_like 'null_objectkey_hashvalue'
|
29
|
-
it_should_behave_like 'null_objectkey_booleanvalue'
|
30
|
-
it_should_behave_like 'null_objectkey_nilvalue'
|
31
|
-
it_should_behave_like 'null_objectkey_integervalue'
|
32
|
-
it_should_behave_like 'null_objectkey_numbervalue'
|
33
|
-
it_should_behave_like 'null_stringkey_objectvalue'
|
34
|
-
it_should_behave_like 'null_stringkey_stringvalue'
|
35
|
-
it_should_behave_like 'null_stringkey_binaryvalue'
|
36
|
-
it_should_behave_like 'null_stringkey_hashvalue'
|
37
|
-
it_should_behave_like 'null_stringkey_booleanvalue'
|
38
|
-
it_should_behave_like 'null_stringkey_nilvalue'
|
39
|
-
it_should_behave_like 'null_stringkey_integervalue'
|
40
|
-
it_should_behave_like 'null_stringkey_numbervalue'
|
41
|
-
it_should_behave_like 'null_binarykey_objectvalue'
|
42
|
-
it_should_behave_like 'null_binarykey_stringvalue'
|
43
|
-
it_should_behave_like 'null_binarykey_binaryvalue'
|
44
|
-
it_should_behave_like 'null_binarykey_hashvalue'
|
45
|
-
it_should_behave_like 'null_binarykey_booleanvalue'
|
46
|
-
it_should_behave_like 'null_binarykey_nilvalue'
|
47
|
-
it_should_behave_like 'null_binarykey_integervalue'
|
48
|
-
it_should_behave_like 'null_binarykey_numbervalue'
|
49
|
-
it_should_behave_like 'null_hashkey_objectvalue'
|
50
|
-
it_should_behave_like 'null_hashkey_stringvalue'
|
51
|
-
it_should_behave_like 'null_hashkey_binaryvalue'
|
52
|
-
it_should_behave_like 'null_hashkey_hashvalue'
|
53
|
-
it_should_behave_like 'null_hashkey_booleanvalue'
|
54
|
-
it_should_behave_like 'null_hashkey_nilvalue'
|
55
|
-
it_should_behave_like 'null_hashkey_integervalue'
|
56
|
-
it_should_behave_like 'null_hashkey_numbervalue'
|
57
|
-
it_should_behave_like 'null_booleankey_objectvalue'
|
58
|
-
it_should_behave_like 'null_booleankey_stringvalue'
|
59
|
-
it_should_behave_like 'null_booleankey_binaryvalue'
|
60
|
-
it_should_behave_like 'null_booleankey_hashvalue'
|
61
|
-
it_should_behave_like 'null_booleankey_booleanvalue'
|
62
|
-
it_should_behave_like 'null_booleankey_nilvalue'
|
63
|
-
it_should_behave_like 'null_booleankey_integervalue'
|
64
|
-
it_should_behave_like 'null_booleankey_numbervalue'
|
65
|
-
it_should_behave_like 'null_nilkey_objectvalue'
|
66
|
-
it_should_behave_like 'null_nilkey_stringvalue'
|
67
|
-
it_should_behave_like 'null_nilkey_binaryvalue'
|
68
|
-
it_should_behave_like 'null_nilkey_hashvalue'
|
69
|
-
it_should_behave_like 'null_nilkey_booleanvalue'
|
70
|
-
it_should_behave_like 'null_nilkey_nilvalue'
|
71
|
-
it_should_behave_like 'null_nilkey_integervalue'
|
72
|
-
it_should_behave_like 'null_nilkey_numbervalue'
|
73
|
-
it_should_behave_like 'null_integerkey_objectvalue'
|
74
|
-
it_should_behave_like 'null_integerkey_stringvalue'
|
75
|
-
it_should_behave_like 'null_integerkey_binaryvalue'
|
76
|
-
it_should_behave_like 'null_integerkey_hashvalue'
|
77
|
-
it_should_behave_like 'null_integerkey_booleanvalue'
|
78
|
-
it_should_behave_like 'null_integerkey_nilvalue'
|
79
|
-
it_should_behave_like 'null_integerkey_integervalue'
|
80
|
-
it_should_behave_like 'null_integerkey_numbervalue'
|
81
|
-
it_should_behave_like 'null_numberkey_objectvalue'
|
82
|
-
it_should_behave_like 'null_numberkey_stringvalue'
|
83
|
-
it_should_behave_like 'null_numberkey_binaryvalue'
|
84
|
-
it_should_behave_like 'null_numberkey_hashvalue'
|
85
|
-
it_should_behave_like 'null_numberkey_booleanvalue'
|
86
|
-
it_should_behave_like 'null_numberkey_nilvalue'
|
87
|
-
it_should_behave_like 'null_numberkey_integervalue'
|
88
|
-
it_should_behave_like 'null_numberkey_numbervalue'
|
89
|
-
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
90
|
-
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
91
|
-
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
92
|
-
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
93
|
-
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
94
|
-
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
95
|
-
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
96
|
-
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
97
|
-
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
98
|
-
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
99
|
-
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
100
|
-
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
101
|
-
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
102
|
-
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
103
|
-
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
104
|
-
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
105
|
-
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
106
|
-
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
107
|
-
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
108
|
-
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
109
|
-
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
110
|
-
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
111
|
-
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
112
|
-
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
113
|
-
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
114
|
-
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
115
|
-
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
116
|
-
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
117
|
-
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
118
|
-
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
119
|
-
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
120
|
-
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
121
|
-
it_should_behave_like 'store_objectkey_objectvalue'
|
122
|
-
it_should_behave_like 'store_objectkey_stringvalue'
|
123
|
-
it_should_behave_like 'store_objectkey_binaryvalue'
|
124
|
-
it_should_behave_like 'store_objectkey_hashvalue'
|
125
|
-
it_should_behave_like 'store_objectkey_booleanvalue'
|
126
|
-
it_should_behave_like 'store_objectkey_nilvalue'
|
127
|
-
it_should_behave_like 'store_objectkey_integervalue'
|
128
|
-
it_should_behave_like 'store_objectkey_numbervalue'
|
129
|
-
it_should_behave_like 'store_stringkey_objectvalue'
|
130
|
-
it_should_behave_like 'store_stringkey_stringvalue'
|
131
|
-
it_should_behave_like 'store_stringkey_binaryvalue'
|
132
|
-
it_should_behave_like 'store_stringkey_hashvalue'
|
133
|
-
it_should_behave_like 'store_stringkey_booleanvalue'
|
134
|
-
it_should_behave_like 'store_stringkey_nilvalue'
|
135
|
-
it_should_behave_like 'store_stringkey_integervalue'
|
136
|
-
it_should_behave_like 'store_stringkey_numbervalue'
|
137
|
-
it_should_behave_like 'store_binarykey_objectvalue'
|
138
|
-
it_should_behave_like 'store_binarykey_stringvalue'
|
139
|
-
it_should_behave_like 'store_binarykey_binaryvalue'
|
140
|
-
it_should_behave_like 'store_binarykey_hashvalue'
|
141
|
-
it_should_behave_like 'store_binarykey_booleanvalue'
|
142
|
-
it_should_behave_like 'store_binarykey_nilvalue'
|
143
|
-
it_should_behave_like 'store_binarykey_integervalue'
|
144
|
-
it_should_behave_like 'store_binarykey_numbervalue'
|
145
|
-
it_should_behave_like 'store_hashkey_objectvalue'
|
146
|
-
it_should_behave_like 'store_hashkey_stringvalue'
|
147
|
-
it_should_behave_like 'store_hashkey_binaryvalue'
|
148
|
-
it_should_behave_like 'store_hashkey_hashvalue'
|
149
|
-
it_should_behave_like 'store_hashkey_booleanvalue'
|
150
|
-
it_should_behave_like 'store_hashkey_nilvalue'
|
151
|
-
it_should_behave_like 'store_hashkey_integervalue'
|
152
|
-
it_should_behave_like 'store_hashkey_numbervalue'
|
153
|
-
it_should_behave_like 'store_booleankey_objectvalue'
|
154
|
-
it_should_behave_like 'store_booleankey_stringvalue'
|
155
|
-
it_should_behave_like 'store_booleankey_binaryvalue'
|
156
|
-
it_should_behave_like 'store_booleankey_hashvalue'
|
157
|
-
it_should_behave_like 'store_booleankey_booleanvalue'
|
158
|
-
it_should_behave_like 'store_booleankey_nilvalue'
|
159
|
-
it_should_behave_like 'store_booleankey_integervalue'
|
160
|
-
it_should_behave_like 'store_booleankey_numbervalue'
|
161
|
-
it_should_behave_like 'store_nilkey_objectvalue'
|
162
|
-
it_should_behave_like 'store_nilkey_stringvalue'
|
163
|
-
it_should_behave_like 'store_nilkey_binaryvalue'
|
164
|
-
it_should_behave_like 'store_nilkey_hashvalue'
|
165
|
-
it_should_behave_like 'store_nilkey_booleanvalue'
|
166
|
-
it_should_behave_like 'store_nilkey_nilvalue'
|
167
|
-
it_should_behave_like 'store_nilkey_integervalue'
|
168
|
-
it_should_behave_like 'store_nilkey_numbervalue'
|
169
|
-
it_should_behave_like 'store_integerkey_objectvalue'
|
170
|
-
it_should_behave_like 'store_integerkey_stringvalue'
|
171
|
-
it_should_behave_like 'store_integerkey_binaryvalue'
|
172
|
-
it_should_behave_like 'store_integerkey_hashvalue'
|
173
|
-
it_should_behave_like 'store_integerkey_booleanvalue'
|
174
|
-
it_should_behave_like 'store_integerkey_nilvalue'
|
175
|
-
it_should_behave_like 'store_integerkey_integervalue'
|
176
|
-
it_should_behave_like 'store_integerkey_numbervalue'
|
177
|
-
it_should_behave_like 'store_numberkey_objectvalue'
|
178
|
-
it_should_behave_like 'store_numberkey_stringvalue'
|
179
|
-
it_should_behave_like 'store_numberkey_binaryvalue'
|
180
|
-
it_should_behave_like 'store_numberkey_hashvalue'
|
181
|
-
it_should_behave_like 'store_numberkey_booleanvalue'
|
182
|
-
it_should_behave_like 'store_numberkey_nilvalue'
|
183
|
-
it_should_behave_like 'store_numberkey_integervalue'
|
184
|
-
it_should_behave_like 'store_numberkey_numbervalue'
|
185
|
-
it_should_behave_like 'store_large'
|
186
|
-
it_should_behave_like 'transform_value'
|
187
|
-
it 'compile transformer class' do
|
188
|
-
store.should_not be_nil
|
189
|
-
Moneta::Transformer::MarshalKeyMarshalValue.should_not be_nil
|
190
|
-
end
|
191
|
-
end
|