juno 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. data/README.md +2 -277
  2. data/juno.gemspec +6 -5
  3. data/lib/juno.rb +3 -122
  4. metadata +23 -307
  5. data/.gitignore +0 -6
  6. data/.travis.yml +0 -30
  7. data/Gemfile +0 -56
  8. data/LICENSE +0 -20
  9. data/Rakefile +0 -33
  10. data/SPEC.md +0 -71
  11. data/benchmarks/run.rb +0 -180
  12. data/lib/juno/adapters/activerecord.rb +0 -74
  13. data/lib/juno/adapters/cassandra.rb +0 -89
  14. data/lib/juno/adapters/cookie.rb +0 -35
  15. data/lib/juno/adapters/couch.rb +0 -57
  16. data/lib/juno/adapters/datamapper.rb +0 -76
  17. data/lib/juno/adapters/dbm.rb +0 -25
  18. data/lib/juno/adapters/file.rb +0 -60
  19. data/lib/juno/adapters/fog.rb +0 -51
  20. data/lib/juno/adapters/gdbm.rb +0 -25
  21. data/lib/juno/adapters/hbase.rb +0 -64
  22. data/lib/juno/adapters/leveldb.rb +0 -35
  23. data/lib/juno/adapters/localmemcache.rb +0 -26
  24. data/lib/juno/adapters/lruhash.rb +0 -83
  25. data/lib/juno/adapters/memcached.rb +0 -11
  26. data/lib/juno/adapters/memcached_dalli.rb +0 -51
  27. data/lib/juno/adapters/memcached_native.rb +0 -52
  28. data/lib/juno/adapters/memory.rb +0 -32
  29. data/lib/juno/adapters/mongo.rb +0 -50
  30. data/lib/juno/adapters/null.rb +0 -30
  31. data/lib/juno/adapters/pstore.rb +0 -58
  32. data/lib/juno/adapters/redis.rb +0 -56
  33. data/lib/juno/adapters/riak.rb +0 -57
  34. data/lib/juno/adapters/sdbm.rb +0 -35
  35. data/lib/juno/adapters/sequel.rb +0 -67
  36. data/lib/juno/adapters/sqlite.rb +0 -61
  37. data/lib/juno/adapters/tokyocabinet.rb +0 -41
  38. data/lib/juno/adapters/yaml.rb +0 -15
  39. data/lib/juno/base.rb +0 -62
  40. data/lib/juno/builder.rb +0 -39
  41. data/lib/juno/cache.rb +0 -78
  42. data/lib/juno/expires.rb +0 -47
  43. data/lib/juno/lock.rb +0 -44
  44. data/lib/juno/logger.rb +0 -86
  45. data/lib/juno/proxy.rb +0 -72
  46. data/lib/juno/stack.rb +0 -72
  47. data/lib/juno/transformer.rb +0 -176
  48. data/lib/juno/version.rb +0 -5
  49. data/lib/rack/cache/juno.rb +0 -93
  50. data/lib/rack/juno_cookies.rb +0 -64
  51. data/lib/rack/session/juno.rb +0 -63
  52. data/spec/generate.rb +0 -1068
  53. data/spec/helper.rb +0 -78
  54. data/spec/juno/adapter_activerecord_spec.rb +0 -27
  55. data/spec/juno/adapter_cassandra_spec.rb +0 -13
  56. data/spec/juno/adapter_cookie_spec.rb +0 -13
  57. data/spec/juno/adapter_couch_spec.rb +0 -13
  58. data/spec/juno/adapter_datamapper_spec.rb +0 -44
  59. data/spec/juno/adapter_dbm_spec.rb +0 -13
  60. data/spec/juno/adapter_file_spec.rb +0 -13
  61. data/spec/juno/adapter_fog_spec.rb +0 -18
  62. data/spec/juno/adapter_gdbm_spec.rb +0 -13
  63. data/spec/juno/adapter_hbase_spec.rb +0 -13
  64. data/spec/juno/adapter_leveldb_spec.rb +0 -13
  65. data/spec/juno/adapter_localmemcache_spec.rb +0 -13
  66. data/spec/juno/adapter_lruhash_spec.rb +0 -26
  67. data/spec/juno/adapter_memcached_dalli_spec.rb +0 -14
  68. data/spec/juno/adapter_memcached_native_spec.rb +0 -14
  69. data/spec/juno/adapter_memcached_spec.rb +0 -14
  70. data/spec/juno/adapter_memory_spec.rb +0 -34
  71. data/spec/juno/adapter_mongo_spec.rb +0 -13
  72. data/spec/juno/adapter_pstore_spec.rb +0 -16
  73. data/spec/juno/adapter_redis_spec.rb +0 -14
  74. data/spec/juno/adapter_riak_spec.rb +0 -17
  75. data/spec/juno/adapter_sdbm_spec.rb +0 -13
  76. data/spec/juno/adapter_sequel_spec.rb +0 -13
  77. data/spec/juno/adapter_sqlite_spec.rb +0 -13
  78. data/spec/juno/adapter_tokyocabinet_bdb_spec.rb +0 -13
  79. data/spec/juno/adapter_tokyocabinet_hdb_spec.rb +0 -13
  80. data/spec/juno/adapter_yaml_spec.rb +0 -16
  81. data/spec/juno/cache_file_memory_spec.rb +0 -29
  82. data/spec/juno/cache_memory_null_spec.rb +0 -18
  83. data/spec/juno/expires_file_spec.rb +0 -71
  84. data/spec/juno/expires_memory_spec.rb +0 -49
  85. data/spec/juno/lock_spec.rb +0 -37
  86. data/spec/juno/null_adapter_spec.rb +0 -22
  87. data/spec/juno/proxy_expires_memory_spec.rb +0 -51
  88. data/spec/juno/proxy_redis_spec.rb +0 -18
  89. data/spec/juno/simple_activerecord_spec.rb +0 -45
  90. data/spec/juno/simple_activerecord_with_expires_spec.rb +0 -46
  91. data/spec/juno/simple_cassandra_spec.rb +0 -46
  92. data/spec/juno/simple_couch_spec.rb +0 -45
  93. data/spec/juno/simple_couch_with_expires_spec.rb +0 -46
  94. data/spec/juno/simple_datamapper_spec.rb +0 -47
  95. data/spec/juno/simple_datamapper_with_expires_spec.rb +0 -48
  96. data/spec/juno/simple_datamapper_with_repository_spec.rb +0 -47
  97. data/spec/juno/simple_dbm_spec.rb +0 -45
  98. data/spec/juno/simple_dbm_with_expires_spec.rb +0 -46
  99. data/spec/juno/simple_file_spec.rb +0 -45
  100. data/spec/juno/simple_file_with_expires_spec.rb +0 -46
  101. data/spec/juno/simple_fog_spec.rb +0 -50
  102. data/spec/juno/simple_fog_with_expires_spec.rb +0 -52
  103. data/spec/juno/simple_gdbm_spec.rb +0 -45
  104. data/spec/juno/simple_gdbm_with_expires_spec.rb +0 -46
  105. data/spec/juno/simple_hashfile_spec.rb +0 -45
  106. data/spec/juno/simple_hashfile_with_expires_spec.rb +0 -46
  107. data/spec/juno/simple_hbase_spec.rb +0 -45
  108. data/spec/juno/simple_hbase_with_expires_spec.rb +0 -46
  109. data/spec/juno/simple_leveldb_spec.rb +0 -45
  110. data/spec/juno/simple_leveldb_with_expires_spec.rb +0 -46
  111. data/spec/juno/simple_localmemcache_spec.rb +0 -45
  112. data/spec/juno/simple_localmemcache_with_expires_spec.rb +0 -46
  113. data/spec/juno/simple_lruhash_spec.rb +0 -45
  114. data/spec/juno/simple_lruhash_with_expires_spec.rb +0 -46
  115. data/spec/juno/simple_memcached_dalli_spec.rb +0 -46
  116. data/spec/juno/simple_memcached_native_spec.rb +0 -46
  117. data/spec/juno/simple_memcached_spec.rb +0 -46
  118. data/spec/juno/simple_memory_spec.rb +0 -45
  119. data/spec/juno/simple_memory_with_compress_spec.rb +0 -45
  120. data/spec/juno/simple_memory_with_expires_spec.rb +0 -46
  121. data/spec/juno/simple_memory_with_json_key_serializer_spec.rb +0 -32
  122. data/spec/juno/simple_memory_with_json_md5_key_serializer_spec.rb +0 -32
  123. data/spec/juno/simple_memory_with_json_serializer_spec.rb +0 -22
  124. data/spec/juno/simple_memory_with_json_value_serializer_spec.rb +0 -29
  125. data/spec/juno/simple_memory_with_prefix_spec.rb +0 -45
  126. data/spec/juno/simple_memory_with_quicklz_compress_spec.rb +0 -45
  127. data/spec/juno/simple_mongo_spec.rb +0 -45
  128. data/spec/juno/simple_mongo_with_expires_spec.rb +0 -46
  129. data/spec/juno/simple_null_spec.rb +0 -32
  130. data/spec/juno/simple_pstore_spec.rb +0 -45
  131. data/spec/juno/simple_pstore_with_expires_spec.rb +0 -46
  132. data/spec/juno/simple_redis_spec.rb +0 -46
  133. data/spec/juno/simple_riak_spec.rb +0 -49
  134. data/spec/juno/simple_riak_with_expires_spec.rb +0 -50
  135. data/spec/juno/simple_sdbm_spec.rb +0 -45
  136. data/spec/juno/simple_sdbm_with_expires_spec.rb +0 -46
  137. data/spec/juno/simple_sequel_spec.rb +0 -45
  138. data/spec/juno/simple_sequel_with_expires_spec.rb +0 -46
  139. data/spec/juno/simple_sqlite_spec.rb +0 -45
  140. data/spec/juno/simple_sqlite_with_expires_spec.rb +0 -46
  141. data/spec/juno/simple_tokyocabinet_spec.rb +0 -45
  142. data/spec/juno/simple_tokyocabinet_with_expires_spec.rb +0 -46
  143. data/spec/juno/simple_yaml_spec.rb +0 -44
  144. data/spec/juno/simple_yaml_with_expires_spec.rb +0 -45
  145. data/spec/juno/stack_file_memory_spec.rb +0 -20
  146. data/spec/juno/stack_memory_file_spec.rb +0 -19
  147. data/spec/juno/transformer_bencode_spec.rb +0 -25
  148. data/spec/juno/transformer_bert_spec.rb +0 -25
  149. data/spec/juno/transformer_bson_spec.rb +0 -25
  150. data/spec/juno/transformer_bzip2_spec.rb +0 -22
  151. data/spec/juno/transformer_json_spec.rb +0 -25
  152. data/spec/juno/transformer_lzma_spec.rb +0 -22
  153. data/spec/juno/transformer_lzo_spec.rb +0 -22
  154. data/spec/juno/transformer_marshal_base64_spec.rb +0 -48
  155. data/spec/juno/transformer_marshal_escape_spec.rb +0 -48
  156. data/spec/juno/transformer_marshal_hmac_spec.rb +0 -48
  157. data/spec/juno/transformer_marshal_md5_spec.rb +0 -48
  158. data/spec/juno/transformer_marshal_md5_spread_spec.rb +0 -48
  159. data/spec/juno/transformer_marshal_prefix_spec.rb +0 -48
  160. data/spec/juno/transformer_marshal_rmd160_spec.rb +0 -48
  161. data/spec/juno/transformer_marshal_sha1_spec.rb +0 -48
  162. data/spec/juno/transformer_marshal_sha256_spec.rb +0 -48
  163. data/spec/juno/transformer_marshal_sha384_spec.rb +0 -48
  164. data/spec/juno/transformer_marshal_sha512_spec.rb +0 -48
  165. data/spec/juno/transformer_marshal_uuencode_spec.rb +0 -48
  166. data/spec/juno/transformer_msgpack_spec.rb +0 -25
  167. data/spec/juno/transformer_ox_spec.rb +0 -46
  168. data/spec/juno/transformer_quicklz_spec.rb +0 -22
  169. data/spec/juno/transformer_snappy_spec.rb +0 -22
  170. data/spec/juno/transformer_tnet_spec.rb +0 -25
  171. data/spec/juno/transformer_yaml_spec.rb +0 -46
  172. data/spec/juno/transformer_zlib_spec.rb +0 -22
  173. data/spec/junospecs.rb +0 -2284
  174. data/spec/rack/cache_juno_spec.rb +0 -355
  175. data/spec/rack/juno_cookies_spec.rb +0 -81
  176. data/spec/rack/session_juno_spec.rb +0 -305
@@ -1,46 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_activerecord_with_expires" do
5
- def new_store
6
- Juno.new(:ActiveRecord, :connection => { :adapter => (defined?(JRUBY_VERSION) ? 'jdbcsqlite3' : 'sqlite3'), :database => File.join(make_tempdir, 'simple_activerecord_with_expires') }, :expires => true, :logger => {:out => File.open(File.join(make_tempdir, 'simple_activerecord_with_expires.log'), 'a')})
7
- end
8
-
9
- include_context 'setup_store'
10
- it_should_behave_like 'null_objectkey_objectvalue'
11
- it_should_behave_like 'null_objectkey_stringvalue'
12
- it_should_behave_like 'null_objectkey_hashvalue'
13
- it_should_behave_like 'null_objectkey_booleanvalue'
14
- it_should_behave_like 'null_stringkey_objectvalue'
15
- it_should_behave_like 'null_stringkey_stringvalue'
16
- it_should_behave_like 'null_stringkey_hashvalue'
17
- it_should_behave_like 'null_stringkey_booleanvalue'
18
- it_should_behave_like 'null_hashkey_objectvalue'
19
- it_should_behave_like 'null_hashkey_stringvalue'
20
- it_should_behave_like 'null_hashkey_hashvalue'
21
- it_should_behave_like 'null_hashkey_booleanvalue'
22
- it_should_behave_like 'store_objectkey_objectvalue'
23
- it_should_behave_like 'store_objectkey_stringvalue'
24
- it_should_behave_like 'store_objectkey_hashvalue'
25
- it_should_behave_like 'store_objectkey_booleanvalue'
26
- it_should_behave_like 'store_stringkey_objectvalue'
27
- it_should_behave_like 'store_stringkey_stringvalue'
28
- it_should_behave_like 'store_stringkey_hashvalue'
29
- it_should_behave_like 'store_stringkey_booleanvalue'
30
- it_should_behave_like 'store_hashkey_objectvalue'
31
- it_should_behave_like 'store_hashkey_stringvalue'
32
- it_should_behave_like 'store_hashkey_hashvalue'
33
- it_should_behave_like 'store_hashkey_booleanvalue'
34
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
35
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
36
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
37
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
38
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
39
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
40
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
41
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
42
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
43
- it_should_behave_like 'marshallable_key'
44
- it_should_behave_like 'marshallable_value'
45
- it_should_behave_like 'expires_stringkey_stringvalue'
46
- end
@@ -1,46 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_cassandra" do
5
- def new_store
6
- Juno.new(:Cassandra, :keyspace => "simple_cassandra", :logger => {:out => File.open(File.join(make_tempdir, 'simple_cassandra.log'), 'a')})
7
- end
8
-
9
- include_context 'setup_store'
10
- it_should_behave_like 'null_objectkey_objectvalue'
11
- it_should_behave_like 'null_objectkey_stringvalue'
12
- it_should_behave_like 'null_objectkey_hashvalue'
13
- it_should_behave_like 'null_objectkey_booleanvalue'
14
- it_should_behave_like 'null_stringkey_objectvalue'
15
- it_should_behave_like 'null_stringkey_stringvalue'
16
- it_should_behave_like 'null_stringkey_hashvalue'
17
- it_should_behave_like 'null_stringkey_booleanvalue'
18
- it_should_behave_like 'null_hashkey_objectvalue'
19
- it_should_behave_like 'null_hashkey_stringvalue'
20
- it_should_behave_like 'null_hashkey_hashvalue'
21
- it_should_behave_like 'null_hashkey_booleanvalue'
22
- it_should_behave_like 'store_objectkey_objectvalue'
23
- it_should_behave_like 'store_objectkey_stringvalue'
24
- it_should_behave_like 'store_objectkey_hashvalue'
25
- it_should_behave_like 'store_objectkey_booleanvalue'
26
- it_should_behave_like 'store_stringkey_objectvalue'
27
- it_should_behave_like 'store_stringkey_stringvalue'
28
- it_should_behave_like 'store_stringkey_hashvalue'
29
- it_should_behave_like 'store_stringkey_booleanvalue'
30
- it_should_behave_like 'store_hashkey_objectvalue'
31
- it_should_behave_like 'store_hashkey_stringvalue'
32
- it_should_behave_like 'store_hashkey_hashvalue'
33
- it_should_behave_like 'store_hashkey_booleanvalue'
34
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
35
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
36
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
37
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
38
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
39
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
40
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
41
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
42
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
43
- it_should_behave_like 'marshallable_key'
44
- it_should_behave_like 'marshallable_value'
45
- it_should_behave_like 'expires_stringkey_stringvalue'
46
- end
@@ -1,45 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_couch" do
5
- def new_store
6
- Juno.new(:Couch, :db => 'simple_couch', :logger => {:out => File.open(File.join(make_tempdir, 'simple_couch.log'), 'a')})
7
- end
8
-
9
- include_context 'setup_store'
10
- it_should_behave_like 'null_objectkey_objectvalue'
11
- it_should_behave_like 'null_objectkey_stringvalue'
12
- it_should_behave_like 'null_objectkey_hashvalue'
13
- it_should_behave_like 'null_objectkey_booleanvalue'
14
- it_should_behave_like 'null_stringkey_objectvalue'
15
- it_should_behave_like 'null_stringkey_stringvalue'
16
- it_should_behave_like 'null_stringkey_hashvalue'
17
- it_should_behave_like 'null_stringkey_booleanvalue'
18
- it_should_behave_like 'null_hashkey_objectvalue'
19
- it_should_behave_like 'null_hashkey_stringvalue'
20
- it_should_behave_like 'null_hashkey_hashvalue'
21
- it_should_behave_like 'null_hashkey_booleanvalue'
22
- it_should_behave_like 'store_objectkey_objectvalue'
23
- it_should_behave_like 'store_objectkey_stringvalue'
24
- it_should_behave_like 'store_objectkey_hashvalue'
25
- it_should_behave_like 'store_objectkey_booleanvalue'
26
- it_should_behave_like 'store_stringkey_objectvalue'
27
- it_should_behave_like 'store_stringkey_stringvalue'
28
- it_should_behave_like 'store_stringkey_hashvalue'
29
- it_should_behave_like 'store_stringkey_booleanvalue'
30
- it_should_behave_like 'store_hashkey_objectvalue'
31
- it_should_behave_like 'store_hashkey_stringvalue'
32
- it_should_behave_like 'store_hashkey_hashvalue'
33
- it_should_behave_like 'store_hashkey_booleanvalue'
34
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
35
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
36
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
37
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
38
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
39
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
40
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
41
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
42
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
43
- it_should_behave_like 'marshallable_key'
44
- it_should_behave_like 'marshallable_value'
45
- end
@@ -1,46 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_couch_with_expires" do
5
- def new_store
6
- Juno.new(:Couch, :db => 'simple_couch_with_expires', :expires => true, :logger => {:out => File.open(File.join(make_tempdir, 'simple_couch_with_expires.log'), 'a')})
7
- end
8
-
9
- include_context 'setup_store'
10
- it_should_behave_like 'null_objectkey_objectvalue'
11
- it_should_behave_like 'null_objectkey_stringvalue'
12
- it_should_behave_like 'null_objectkey_hashvalue'
13
- it_should_behave_like 'null_objectkey_booleanvalue'
14
- it_should_behave_like 'null_stringkey_objectvalue'
15
- it_should_behave_like 'null_stringkey_stringvalue'
16
- it_should_behave_like 'null_stringkey_hashvalue'
17
- it_should_behave_like 'null_stringkey_booleanvalue'
18
- it_should_behave_like 'null_hashkey_objectvalue'
19
- it_should_behave_like 'null_hashkey_stringvalue'
20
- it_should_behave_like 'null_hashkey_hashvalue'
21
- it_should_behave_like 'null_hashkey_booleanvalue'
22
- it_should_behave_like 'store_objectkey_objectvalue'
23
- it_should_behave_like 'store_objectkey_stringvalue'
24
- it_should_behave_like 'store_objectkey_hashvalue'
25
- it_should_behave_like 'store_objectkey_booleanvalue'
26
- it_should_behave_like 'store_stringkey_objectvalue'
27
- it_should_behave_like 'store_stringkey_stringvalue'
28
- it_should_behave_like 'store_stringkey_hashvalue'
29
- it_should_behave_like 'store_stringkey_booleanvalue'
30
- it_should_behave_like 'store_hashkey_objectvalue'
31
- it_should_behave_like 'store_hashkey_stringvalue'
32
- it_should_behave_like 'store_hashkey_hashvalue'
33
- it_should_behave_like 'store_hashkey_booleanvalue'
34
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
35
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
36
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
37
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
38
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
39
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
40
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
41
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
42
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
43
- it_should_behave_like 'marshallable_key'
44
- it_should_behave_like 'marshallable_value'
45
- it_should_behave_like 'expires_stringkey_stringvalue'
46
- end
@@ -1,47 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_datamapper" do
5
- require 'dm-core'
6
- DataMapper.setup(:default, :adapter => :in_memory)
7
- def new_store
8
- Juno.new(:DataMapper, :setup => "sqlite3://#{make_tempdir}/simple_datamapper", :logger => {:out => File.open(File.join(make_tempdir, 'simple_datamapper.log'), 'a')})
9
- end
10
-
11
- include_context 'setup_store'
12
- it_should_behave_like 'null_objectkey_objectvalue'
13
- it_should_behave_like 'null_objectkey_stringvalue'
14
- it_should_behave_like 'null_objectkey_hashvalue'
15
- it_should_behave_like 'null_objectkey_booleanvalue'
16
- it_should_behave_like 'null_stringkey_objectvalue'
17
- it_should_behave_like 'null_stringkey_stringvalue'
18
- it_should_behave_like 'null_stringkey_hashvalue'
19
- it_should_behave_like 'null_stringkey_booleanvalue'
20
- it_should_behave_like 'null_hashkey_objectvalue'
21
- it_should_behave_like 'null_hashkey_stringvalue'
22
- it_should_behave_like 'null_hashkey_hashvalue'
23
- it_should_behave_like 'null_hashkey_booleanvalue'
24
- it_should_behave_like 'store_objectkey_objectvalue'
25
- it_should_behave_like 'store_objectkey_stringvalue'
26
- it_should_behave_like 'store_objectkey_hashvalue'
27
- it_should_behave_like 'store_objectkey_booleanvalue'
28
- it_should_behave_like 'store_stringkey_objectvalue'
29
- it_should_behave_like 'store_stringkey_stringvalue'
30
- it_should_behave_like 'store_stringkey_hashvalue'
31
- it_should_behave_like 'store_stringkey_booleanvalue'
32
- it_should_behave_like 'store_hashkey_objectvalue'
33
- it_should_behave_like 'store_hashkey_stringvalue'
34
- it_should_behave_like 'store_hashkey_hashvalue'
35
- it_should_behave_like 'store_hashkey_booleanvalue'
36
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
37
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
38
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
39
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
40
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
41
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
42
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
43
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
44
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
45
- it_should_behave_like 'marshallable_key'
46
- it_should_behave_like 'marshallable_value'
47
- end
@@ -1,48 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_datamapper_with_expires" do
5
- require 'dm-core'
6
- DataMapper.setup(:default, :adapter => :in_memory)
7
- def new_store
8
- Juno.new(:DataMapper, :setup => "sqlite3://#{make_tempdir}/simple_datamapper_with_expires", :expires => true, :logger => {:out => File.open(File.join(make_tempdir, 'simple_datamapper_with_expires.log'), 'a')})
9
- end
10
-
11
- include_context 'setup_store'
12
- it_should_behave_like 'null_objectkey_objectvalue'
13
- it_should_behave_like 'null_objectkey_stringvalue'
14
- it_should_behave_like 'null_objectkey_hashvalue'
15
- it_should_behave_like 'null_objectkey_booleanvalue'
16
- it_should_behave_like 'null_stringkey_objectvalue'
17
- it_should_behave_like 'null_stringkey_stringvalue'
18
- it_should_behave_like 'null_stringkey_hashvalue'
19
- it_should_behave_like 'null_stringkey_booleanvalue'
20
- it_should_behave_like 'null_hashkey_objectvalue'
21
- it_should_behave_like 'null_hashkey_stringvalue'
22
- it_should_behave_like 'null_hashkey_hashvalue'
23
- it_should_behave_like 'null_hashkey_booleanvalue'
24
- it_should_behave_like 'store_objectkey_objectvalue'
25
- it_should_behave_like 'store_objectkey_stringvalue'
26
- it_should_behave_like 'store_objectkey_hashvalue'
27
- it_should_behave_like 'store_objectkey_booleanvalue'
28
- it_should_behave_like 'store_stringkey_objectvalue'
29
- it_should_behave_like 'store_stringkey_stringvalue'
30
- it_should_behave_like 'store_stringkey_hashvalue'
31
- it_should_behave_like 'store_stringkey_booleanvalue'
32
- it_should_behave_like 'store_hashkey_objectvalue'
33
- it_should_behave_like 'store_hashkey_stringvalue'
34
- it_should_behave_like 'store_hashkey_hashvalue'
35
- it_should_behave_like 'store_hashkey_booleanvalue'
36
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
37
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
38
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
39
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
40
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
41
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
42
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
43
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
44
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
45
- it_should_behave_like 'marshallable_key'
46
- it_should_behave_like 'marshallable_value'
47
- it_should_behave_like 'expires_stringkey_stringvalue'
48
- end
@@ -1,47 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_datamapper_with_repository" do
5
- require 'dm-core'
6
- DataMapper.setup(:default, :adapter => :in_memory)
7
- def new_store
8
- Juno.new(:DataMapper, :repository => :repo, :setup => "sqlite3://#{make_tempdir}/simple_datamapper_with_repository", :logger => {:out => File.open(File.join(make_tempdir, 'simple_datamapper_with_repository.log'), 'a')})
9
- end
10
-
11
- include_context 'setup_store'
12
- it_should_behave_like 'null_objectkey_objectvalue'
13
- it_should_behave_like 'null_objectkey_stringvalue'
14
- it_should_behave_like 'null_objectkey_hashvalue'
15
- it_should_behave_like 'null_objectkey_booleanvalue'
16
- it_should_behave_like 'null_stringkey_objectvalue'
17
- it_should_behave_like 'null_stringkey_stringvalue'
18
- it_should_behave_like 'null_stringkey_hashvalue'
19
- it_should_behave_like 'null_stringkey_booleanvalue'
20
- it_should_behave_like 'null_hashkey_objectvalue'
21
- it_should_behave_like 'null_hashkey_stringvalue'
22
- it_should_behave_like 'null_hashkey_hashvalue'
23
- it_should_behave_like 'null_hashkey_booleanvalue'
24
- it_should_behave_like 'store_objectkey_objectvalue'
25
- it_should_behave_like 'store_objectkey_stringvalue'
26
- it_should_behave_like 'store_objectkey_hashvalue'
27
- it_should_behave_like 'store_objectkey_booleanvalue'
28
- it_should_behave_like 'store_stringkey_objectvalue'
29
- it_should_behave_like 'store_stringkey_stringvalue'
30
- it_should_behave_like 'store_stringkey_hashvalue'
31
- it_should_behave_like 'store_stringkey_booleanvalue'
32
- it_should_behave_like 'store_hashkey_objectvalue'
33
- it_should_behave_like 'store_hashkey_stringvalue'
34
- it_should_behave_like 'store_hashkey_hashvalue'
35
- it_should_behave_like 'store_hashkey_booleanvalue'
36
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
37
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
38
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
39
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
40
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
41
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
42
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
43
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
44
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
45
- it_should_behave_like 'marshallable_key'
46
- it_should_behave_like 'marshallable_value'
47
- end
@@ -1,45 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_dbm" do
5
- def new_store
6
- Juno.new(:DBM, :file => File.join(make_tempdir, "simple_dbm"), :logger => {:out => File.open(File.join(make_tempdir, 'simple_dbm.log'), 'a')})
7
- end
8
-
9
- include_context 'setup_store'
10
- it_should_behave_like 'null_objectkey_objectvalue'
11
- it_should_behave_like 'null_objectkey_stringvalue'
12
- it_should_behave_like 'null_objectkey_hashvalue'
13
- it_should_behave_like 'null_objectkey_booleanvalue'
14
- it_should_behave_like 'null_stringkey_objectvalue'
15
- it_should_behave_like 'null_stringkey_stringvalue'
16
- it_should_behave_like 'null_stringkey_hashvalue'
17
- it_should_behave_like 'null_stringkey_booleanvalue'
18
- it_should_behave_like 'null_hashkey_objectvalue'
19
- it_should_behave_like 'null_hashkey_stringvalue'
20
- it_should_behave_like 'null_hashkey_hashvalue'
21
- it_should_behave_like 'null_hashkey_booleanvalue'
22
- it_should_behave_like 'store_objectkey_objectvalue'
23
- it_should_behave_like 'store_objectkey_stringvalue'
24
- it_should_behave_like 'store_objectkey_hashvalue'
25
- it_should_behave_like 'store_objectkey_booleanvalue'
26
- it_should_behave_like 'store_stringkey_objectvalue'
27
- it_should_behave_like 'store_stringkey_stringvalue'
28
- it_should_behave_like 'store_stringkey_hashvalue'
29
- it_should_behave_like 'store_stringkey_booleanvalue'
30
- it_should_behave_like 'store_hashkey_objectvalue'
31
- it_should_behave_like 'store_hashkey_stringvalue'
32
- it_should_behave_like 'store_hashkey_hashvalue'
33
- it_should_behave_like 'store_hashkey_booleanvalue'
34
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
35
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
36
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
37
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
38
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
39
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
40
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
41
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
42
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
43
- it_should_behave_like 'marshallable_key'
44
- it_should_behave_like 'marshallable_value'
45
- end
@@ -1,46 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_dbm_with_expires" do
5
- def new_store
6
- Juno.new(:DBM, :file => File.join(make_tempdir, "simple_dbm_with_expires"), :expires => true, :logger => {:out => File.open(File.join(make_tempdir, 'simple_dbm_with_expires.log'), 'a')})
7
- end
8
-
9
- include_context 'setup_store'
10
- it_should_behave_like 'null_objectkey_objectvalue'
11
- it_should_behave_like 'null_objectkey_stringvalue'
12
- it_should_behave_like 'null_objectkey_hashvalue'
13
- it_should_behave_like 'null_objectkey_booleanvalue'
14
- it_should_behave_like 'null_stringkey_objectvalue'
15
- it_should_behave_like 'null_stringkey_stringvalue'
16
- it_should_behave_like 'null_stringkey_hashvalue'
17
- it_should_behave_like 'null_stringkey_booleanvalue'
18
- it_should_behave_like 'null_hashkey_objectvalue'
19
- it_should_behave_like 'null_hashkey_stringvalue'
20
- it_should_behave_like 'null_hashkey_hashvalue'
21
- it_should_behave_like 'null_hashkey_booleanvalue'
22
- it_should_behave_like 'store_objectkey_objectvalue'
23
- it_should_behave_like 'store_objectkey_stringvalue'
24
- it_should_behave_like 'store_objectkey_hashvalue'
25
- it_should_behave_like 'store_objectkey_booleanvalue'
26
- it_should_behave_like 'store_stringkey_objectvalue'
27
- it_should_behave_like 'store_stringkey_stringvalue'
28
- it_should_behave_like 'store_stringkey_hashvalue'
29
- it_should_behave_like 'store_stringkey_booleanvalue'
30
- it_should_behave_like 'store_hashkey_objectvalue'
31
- it_should_behave_like 'store_hashkey_stringvalue'
32
- it_should_behave_like 'store_hashkey_hashvalue'
33
- it_should_behave_like 'store_hashkey_booleanvalue'
34
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
35
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
36
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
37
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
38
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
39
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
40
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
41
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
42
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
43
- it_should_behave_like 'marshallable_key'
44
- it_should_behave_like 'marshallable_value'
45
- it_should_behave_like 'expires_stringkey_stringvalue'
46
- end
@@ -1,45 +0,0 @@
1
- # Generated by generate.rb
2
- require 'helper'
3
-
4
- describe_juno "simple_file" do
5
- def new_store
6
- Juno.new(:File, :dir => File.join(make_tempdir, "simple_file"), :logger => {:out => File.open(File.join(make_tempdir, 'simple_file.log'), 'a')})
7
- end
8
-
9
- include_context 'setup_store'
10
- it_should_behave_like 'null_objectkey_objectvalue'
11
- it_should_behave_like 'null_objectkey_stringvalue'
12
- it_should_behave_like 'null_objectkey_hashvalue'
13
- it_should_behave_like 'null_objectkey_booleanvalue'
14
- it_should_behave_like 'null_stringkey_objectvalue'
15
- it_should_behave_like 'null_stringkey_stringvalue'
16
- it_should_behave_like 'null_stringkey_hashvalue'
17
- it_should_behave_like 'null_stringkey_booleanvalue'
18
- it_should_behave_like 'null_hashkey_objectvalue'
19
- it_should_behave_like 'null_hashkey_stringvalue'
20
- it_should_behave_like 'null_hashkey_hashvalue'
21
- it_should_behave_like 'null_hashkey_booleanvalue'
22
- it_should_behave_like 'store_objectkey_objectvalue'
23
- it_should_behave_like 'store_objectkey_stringvalue'
24
- it_should_behave_like 'store_objectkey_hashvalue'
25
- it_should_behave_like 'store_objectkey_booleanvalue'
26
- it_should_behave_like 'store_stringkey_objectvalue'
27
- it_should_behave_like 'store_stringkey_stringvalue'
28
- it_should_behave_like 'store_stringkey_hashvalue'
29
- it_should_behave_like 'store_stringkey_booleanvalue'
30
- it_should_behave_like 'store_hashkey_objectvalue'
31
- it_should_behave_like 'store_hashkey_stringvalue'
32
- it_should_behave_like 'store_hashkey_hashvalue'
33
- it_should_behave_like 'store_hashkey_booleanvalue'
34
- it_should_behave_like 'returndifferent_objectkey_objectvalue'
35
- it_should_behave_like 'returndifferent_objectkey_stringvalue'
36
- it_should_behave_like 'returndifferent_objectkey_hashvalue'
37
- it_should_behave_like 'returndifferent_stringkey_objectvalue'
38
- it_should_behave_like 'returndifferent_stringkey_stringvalue'
39
- it_should_behave_like 'returndifferent_stringkey_hashvalue'
40
- it_should_behave_like 'returndifferent_hashkey_objectvalue'
41
- it_should_behave_like 'returndifferent_hashkey_stringvalue'
42
- it_should_behave_like 'returndifferent_hashkey_hashvalue'
43
- it_should_behave_like 'marshallable_key'
44
- it_should_behave_like 'marshallable_value'
45
- end