moneta 0.7.19 → 0.7.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGES +11 -0
- data/Gemfile +9 -0
- data/README.md +15 -2
- data/lib/moneta.rb +8 -9
- data/lib/moneta/adapters/cassandra.rb +11 -11
- data/lib/moneta/adapters/lmdb.rb +93 -0
- data/lib/moneta/adapters/lruhash.rb +16 -10
- data/lib/moneta/adapters/mongo.rb +2 -3
- data/lib/moneta/adapters/sequel.rb +12 -5
- data/lib/moneta/cache.rb +1 -2
- data/lib/moneta/proxy.rb +1 -0
- data/lib/moneta/synchronize.rb +2 -3
- data/lib/moneta/transformer/config.rb +5 -3
- data/lib/moneta/utils.rb +8 -0
- data/lib/moneta/version.rb +1 -1
- data/script/benchmarks +1 -0
- data/script/generate-specs +139 -92
- data/script/travis-logs +2 -1
- data/spec/helper.rb +2 -2
- data/spec/moneta/adapter_activerecord_exisiting_connection_spec.rb +5 -0
- data/spec/moneta/adapter_activerecord_spec.rb +5 -0
- data/spec/moneta/adapter_cassandra_spec.rb +5 -0
- data/spec/moneta/adapter_cassandra_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_client_spec.rb +5 -0
- data/spec/moneta/adapter_cookie_spec.rb +4 -0
- data/spec/moneta/adapter_couch_spec.rb +12 -11
- data/spec/moneta/adapter_datamapper_spec.rb +5 -0
- data/spec/moneta/adapter_daybreak_spec.rb +5 -0
- data/spec/moneta/adapter_dbm_spec.rb +5 -0
- data/spec/moneta/adapter_file_spec.rb +5 -0
- data/spec/moneta/adapter_fog_spec.rb +5 -0
- data/spec/moneta/adapter_gdbm_spec.rb +5 -0
- data/spec/moneta/adapter_hbase_spec.rb +5 -0
- data/spec/moneta/adapter_kyotocabinet_spec.rb +5 -0
- data/spec/moneta/adapter_leveldb_spec.rb +5 -0
- data/spec/moneta/adapter_lmdb_spec.rb +32 -0
- data/spec/moneta/adapter_lmdb_with_db_spec.rb +32 -0
- data/spec/moneta/adapter_localmemcache_spec.rb +5 -0
- data/spec/moneta/adapter_lruhash_spec.rb +4 -0
- data/spec/moneta/adapter_memcached_dalli_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_dalli_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_native_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_native_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memory_spec.rb +42 -0
- data/spec/moneta/adapter_mongo_spec.rb +12 -0
- data/spec/moneta/adapter_mongo_with_default_expires_spec.rb +12 -0
- data/spec/moneta/adapter_pstore_spec.rb +57 -0
- data/spec/moneta/adapter_redis_spec.rb +5 -0
- data/spec/moneta/adapter_redis_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_restclient_spec.rb +5 -0
- data/spec/moneta/adapter_riak_spec.rb +5 -0
- data/spec/moneta/adapter_sdbm_spec.rb +5 -0
- data/spec/moneta/adapter_sequel_spec.rb +5 -0
- data/spec/moneta/adapter_sqlite_spec.rb +5 -0
- data/spec/moneta/adapter_tdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyocabinet_bdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyocabinet_hdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyotyrant_spec.rb +5 -0
- data/spec/moneta/adapter_yaml_spec.rb +1 -0
- data/spec/moneta/cache_file_memory_spec.rb +5 -0
- data/spec/moneta/cache_memory_null_spec.rb +4 -0
- data/spec/moneta/expires_file_spec.rb +5 -0
- data/spec/moneta/expires_memory_spec.rb +42 -0
- data/spec/moneta/expires_memory_with_default_expires_spec.rb +42 -0
- data/spec/moneta/lock_spec.rb +42 -0
- data/spec/moneta/mutex_spec.rb +1 -0
- data/spec/moneta/null_adapter_spec.rb +16 -0
- data/spec/moneta/optionmerger_spec.rb +1 -0
- data/spec/moneta/pool_spec.rb +5 -0
- data/spec/moneta/proxy_expires_memory_spec.rb +42 -0
- data/spec/moneta/proxy_redis_spec.rb +5 -0
- data/spec/moneta/semaphore_spec.rb +1 -0
- data/spec/moneta/shared_tcp_spec.rb +5 -0
- data/spec/moneta/shared_unix_spec.rb +5 -0
- data/spec/moneta/stack_file_memory_spec.rb +5 -0
- data/spec/moneta/stack_memory_file_spec.rb +5 -0
- data/spec/moneta/{simple_activerecord_spec.rb → standard_activerecord_spec.rb} +59 -2
- data/spec/moneta/{simple_activerecord_with_expires_spec.rb → standard_activerecord_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_cassandra_spec.rb → standard_cassandra_spec.rb} +59 -2
- data/spec/moneta/{simple_client_tcp_spec.rb → standard_client_tcp_spec.rb} +59 -2
- data/spec/moneta/standard_client_unix_spec.rb +254 -0
- data/spec/moneta/{simple_couch_spec.rb → standard_couch_spec.rb} +59 -2
- data/spec/moneta/{simple_couch_with_expires_spec.rb → standard_couch_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_spec.rb → standard_datamapper_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_with_expires_spec.rb → standard_datamapper_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_with_repository_spec.rb → standard_datamapper_with_repository_spec.rb} +59 -2
- data/spec/moneta/{simple_daybreak_spec.rb → standard_daybreak_spec.rb} +59 -2
- data/spec/moneta/{simple_daybreak_with_expires_spec.rb → standard_daybreak_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_dbm_spec.rb → standard_dbm_spec.rb} +59 -2
- data/spec/moneta/{simple_dbm_with_expires_spec.rb → standard_dbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_file_spec.rb → standard_file_spec.rb} +59 -2
- data/spec/moneta/{simple_file_with_expires_spec.rb → standard_file_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_fog_spec.rb → standard_fog_spec.rb} +59 -2
- data/spec/moneta/{simple_fog_with_expires_spec.rb → standard_fog_with_expires_spec.rb} +60 -3
- data/spec/moneta/{simple_gdbm_spec.rb → standard_gdbm_spec.rb} +59 -2
- data/spec/moneta/{simple_gdbm_with_expires_spec.rb → standard_gdbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_hashfile_spec.rb → standard_hashfile_spec.rb} +59 -2
- data/spec/moneta/{simple_hashfile_with_expires_spec.rb → standard_hashfile_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_hbase_spec.rb → standard_hbase_spec.rb} +59 -2
- data/spec/moneta/{simple_hbase_with_expires_spec.rb → standard_hbase_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_kyotocabinet_spec.rb → standard_kyotocabinet_spec.rb} +59 -2
- data/spec/moneta/{simple_kyotocabinet_with_expires_spec.rb → standard_kyotocabinet_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_leveldb_spec.rb → standard_leveldb_spec.rb} +59 -2
- data/spec/moneta/{simple_leveldb_with_expires_spec.rb → standard_leveldb_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_client_unix_spec.rb → standard_lmdb_spec.rb} +59 -5
- data/spec/moneta/standard_lmdb_with_expires_spec.rb +253 -0
- data/spec/moneta/{simple_localmemcache_spec.rb → standard_localmemcache_spec.rb} +59 -2
- data/spec/moneta/{simple_localmemcache_with_expires_spec.rb → standard_localmemcache_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_lruhash_spec.rb → standard_lruhash_spec.rb} +44 -2
- data/spec/moneta/{simple_lruhash_with_expires_spec.rb → standard_lruhash_with_expires_spec.rb} +44 -2
- data/spec/moneta/{simple_memcached_dalli_spec.rb → standard_memcached_dalli_spec.rb} +59 -2
- data/spec/moneta/{simple_memcached_native_spec.rb → standard_memcached_native_spec.rb} +59 -2
- data/spec/moneta/{simple_memcached_spec.rb → standard_memcached_spec.rb} +59 -2
- data/spec/moneta/{simple_memory_spec.rb → standard_memory_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_compress_spec.rb → standard_memory_with_compress_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_expires_spec.rb → standard_memory_with_expires_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_json_key_serializer_spec.rb → standard_memory_with_json_key_serializer_spec.rb} +12 -2
- data/spec/moneta/{simple_memory_with_json_serializer_spec.rb → standard_memory_with_json_serializer_spec.rb} +4 -3
- data/spec/moneta/{simple_memory_with_json_value_serializer_spec.rb → standard_memory_with_json_value_serializer_spec.rb} +12 -3
- data/spec/moneta/{simple_memory_with_prefix_spec.rb → standard_memory_with_prefix_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_snappy_compress_spec.rb → standard_memory_with_snappy_compress_spec.rb} +44 -2
- data/spec/moneta/{simple_mongo_spec.rb → standard_mongo_spec.rb} +59 -2
- data/spec/moneta/{simple_null_spec.rb → standard_null_spec.rb} +29 -2
- data/spec/moneta/{simple_pstore_spec.rb → standard_pstore_spec.rb} +59 -2
- data/spec/moneta/{simple_pstore_with_expires_spec.rb → standard_pstore_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_redis_spec.rb → standard_redis_spec.rb} +59 -2
- data/spec/moneta/{simple_restclient_spec.rb → standard_restclient_spec.rb} +59 -2
- data/spec/moneta/{simple_riak_spec.rb → standard_riak_spec.rb} +59 -2
- data/spec/moneta/{simple_riak_with_expires_spec.rb → standard_riak_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_sdbm_spec.rb → standard_sdbm_spec.rb} +59 -2
- data/spec/moneta/{simple_sdbm_with_expires_spec.rb → standard_sdbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_sequel_spec.rb → standard_sequel_spec.rb} +60 -3
- data/spec/moneta/{simple_sequel_with_expires_spec.rb → standard_sequel_with_expires_spec.rb} +60 -3
- data/spec/moneta/{simple_sqlite_spec.rb → standard_sqlite_spec.rb} +59 -2
- data/spec/moneta/{simple_sqlite_with_expires_spec.rb → standard_sqlite_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tdb_spec.rb → standard_tdb_spec.rb} +59 -2
- data/spec/moneta/{simple_tdb_with_expires_spec.rb → standard_tdb_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyocabinet_spec.rb → standard_tokyocabinet_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyocabinet_with_expires_spec.rb → standard_tokyocabinet_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyotyrant_spec.rb → standard_tokyotyrant_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyotyrant_with_expires_spec.rb → standard_tokyotyrant_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_yaml_spec.rb → standard_yaml_spec.rb} +59 -2
- data/spec/moneta/{simple_yaml_with_expires_spec.rb → standard_yaml_with_expires_spec.rb} +59 -2
- data/spec/moneta/transformer_bencode_spec.rb +1 -0
- data/spec/moneta/transformer_bert_spec.rb +1 -0
- data/spec/moneta/transformer_bson_spec.rb +1 -0
- data/spec/moneta/transformer_bzip2_spec.rb +4 -0
- data/spec/moneta/transformer_json_spec.rb +2 -1
- data/spec/moneta/transformer_key_inspect_spec.rb +10 -0
- data/spec/moneta/transformer_key_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_key_to_s_spec.rb +10 -0
- data/spec/moneta/transformer_key_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_lz4_spec.rb +4 -0
- data/spec/moneta/transformer_lzma_spec.rb +4 -0
- data/spec/moneta/transformer_lzo_spec.rb +4 -0
- data/spec/moneta/transformer_marshal_base64_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city128_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city32_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city64_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_escape_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_hex_spec.rb +194 -0
- data/spec/moneta/transformer_marshal_hmac_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_md5_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_md5_spread_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_prefix_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_qp_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_rmd160_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha1_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha256_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha384_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha512_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_truncate_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_uuencode_spec.rb +42 -0
- data/spec/moneta/transformer_msgpack_spec.rb +1 -0
- data/spec/moneta/transformer_ox_spec.rb +42 -0
- data/spec/moneta/transformer_php_spec.rb +55 -0
- data/spec/moneta/transformer_quicklz_spec.rb +4 -0
- data/spec/moneta/transformer_snappy_spec.rb +4 -0
- data/spec/moneta/transformer_tnet_spec.rb +1 -0
- data/spec/moneta/transformer_value_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_value_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_zlib_spec.rb +4 -0
- data/spec/moneta/weak_create_spec.rb +5 -0
- data/spec/moneta/weak_increment_spec.rb +5 -0
- data/spec/monetaspecs.rb +26531 -16522
- metadata +145 -133
- data/script/kill-travis +0 -16
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.