moneta 0.7.17 → 0.7.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +15 -9
  4. data/CHANGES +12 -1
  5. data/CONTRIBUTORS +2 -2
  6. data/Gemfile +3 -0
  7. data/README.md +30 -5
  8. data/Rakefile +1 -1
  9. data/lib/active_support/cache/moneta_store.rb +5 -2
  10. data/lib/moneta/adapters/couch.rb +63 -5
  11. data/lib/moneta/adapters/file.rb +29 -12
  12. data/lib/moneta/adapters/fog.rb +1 -0
  13. data/lib/moneta/adapters/mongo.rb +74 -22
  14. data/lib/moneta/adapters/sqlite.rb +6 -5
  15. data/lib/moneta/pool.rb +28 -5
  16. data/lib/moneta/transformer/config.rb +37 -34
  17. data/lib/moneta/version.rb +1 -1
  18. data/script/contributors +7 -0
  19. data/script/generate-specs +89 -30
  20. data/script/install-bundle +1 -1
  21. data/script/start-services +6 -12
  22. data/script/wait-services +15 -0
  23. data/spec/active_support/cache_moneta_store_spec.rb +3 -3
  24. data/spec/moneta/adapter_couch_spec.rb +14 -6
  25. data/spec/moneta/adapter_memory_spec.rb +29 -0
  26. data/spec/moneta/adapter_mongo_spec.rb +7 -0
  27. data/spec/moneta/adapter_mongo_with_default_expires_spec.rb +7 -0
  28. data/spec/moneta/adapter_pstore_spec.rb +42 -0
  29. data/spec/moneta/expires_file_spec.rb +4 -0
  30. data/spec/moneta/expires_memory_spec.rb +29 -0
  31. data/spec/moneta/expires_memory_with_default_expires_spec.rb +29 -0
  32. data/spec/moneta/lock_spec.rb +29 -0
  33. data/spec/moneta/null_adapter_spec.rb +13 -0
  34. data/spec/moneta/proxy_expires_memory_spec.rb +29 -0
  35. data/spec/moneta/simple_activerecord_spec.rb +42 -0
  36. data/spec/moneta/simple_activerecord_with_expires_spec.rb +42 -0
  37. data/spec/moneta/simple_cassandra_spec.rb +42 -0
  38. data/spec/moneta/simple_client_tcp_spec.rb +42 -0
  39. data/spec/moneta/simple_client_unix_spec.rb +42 -0
  40. data/spec/moneta/simple_couch_spec.rb +45 -2
  41. data/spec/moneta/simple_couch_with_expires_spec.rb +46 -2
  42. data/spec/moneta/simple_datamapper_spec.rb +42 -0
  43. data/spec/moneta/simple_datamapper_with_expires_spec.rb +42 -0
  44. data/spec/moneta/simple_datamapper_with_repository_spec.rb +42 -0
  45. data/spec/moneta/simple_daybreak_spec.rb +42 -0
  46. data/spec/moneta/simple_daybreak_with_expires_spec.rb +42 -0
  47. data/spec/moneta/simple_dbm_spec.rb +42 -0
  48. data/spec/moneta/simple_dbm_with_expires_spec.rb +42 -0
  49. data/spec/moneta/simple_file_spec.rb +42 -0
  50. data/spec/moneta/simple_file_with_expires_spec.rb +42 -0
  51. data/spec/moneta/simple_fog_spec.rb +42 -0
  52. data/spec/moneta/simple_fog_with_expires_spec.rb +42 -0
  53. data/spec/moneta/simple_gdbm_spec.rb +42 -0
  54. data/spec/moneta/simple_gdbm_with_expires_spec.rb +42 -0
  55. data/spec/moneta/simple_hashfile_spec.rb +42 -0
  56. data/spec/moneta/simple_hashfile_with_expires_spec.rb +42 -0
  57. data/spec/moneta/simple_hbase_spec.rb +42 -0
  58. data/spec/moneta/simple_hbase_with_expires_spec.rb +42 -0
  59. data/spec/moneta/simple_kyotocabinet_spec.rb +42 -0
  60. data/spec/moneta/simple_kyotocabinet_with_expires_spec.rb +42 -0
  61. data/spec/moneta/simple_leveldb_spec.rb +42 -0
  62. data/spec/moneta/simple_leveldb_with_expires_spec.rb +42 -0
  63. data/spec/moneta/simple_localmemcache_spec.rb +42 -0
  64. data/spec/moneta/simple_localmemcache_with_expires_spec.rb +42 -0
  65. data/spec/moneta/simple_lruhash_spec.rb +29 -0
  66. data/spec/moneta/simple_lruhash_with_expires_spec.rb +29 -0
  67. data/spec/moneta/simple_memcached_dalli_spec.rb +42 -0
  68. data/spec/moneta/simple_memcached_native_spec.rb +42 -0
  69. data/spec/moneta/simple_memcached_spec.rb +42 -0
  70. data/spec/moneta/simple_memory_spec.rb +29 -0
  71. data/spec/moneta/simple_memory_with_compress_spec.rb +29 -0
  72. data/spec/moneta/simple_memory_with_expires_spec.rb +29 -0
  73. data/spec/moneta/simple_memory_with_json_key_serializer_spec.rb +6 -0
  74. data/spec/moneta/simple_memory_with_json_value_serializer_spec.rb +8 -0
  75. data/spec/moneta/simple_memory_with_prefix_spec.rb +29 -0
  76. data/spec/moneta/simple_memory_with_snappy_compress_spec.rb +29 -0
  77. data/spec/moneta/simple_mongo_spec.rb +42 -0
  78. data/spec/moneta/simple_null_spec.rb +16 -0
  79. data/spec/moneta/simple_pstore_spec.rb +42 -0
  80. data/spec/moneta/simple_pstore_with_expires_spec.rb +42 -0
  81. data/spec/moneta/simple_redis_spec.rb +42 -0
  82. data/spec/moneta/simple_restclient_spec.rb +42 -0
  83. data/spec/moneta/simple_riak_spec.rb +42 -0
  84. data/spec/moneta/simple_riak_with_expires_spec.rb +42 -0
  85. data/spec/moneta/simple_sdbm_spec.rb +42 -0
  86. data/spec/moneta/simple_sdbm_with_expires_spec.rb +42 -0
  87. data/spec/moneta/simple_sequel_spec.rb +42 -0
  88. data/spec/moneta/simple_sequel_with_expires_spec.rb +42 -0
  89. data/spec/moneta/simple_sqlite_spec.rb +42 -0
  90. data/spec/moneta/simple_sqlite_with_expires_spec.rb +42 -0
  91. data/spec/moneta/simple_tdb_spec.rb +42 -0
  92. data/spec/moneta/simple_tdb_with_expires_spec.rb +42 -0
  93. data/spec/moneta/simple_tokyocabinet_spec.rb +42 -0
  94. data/spec/moneta/simple_tokyocabinet_with_expires_spec.rb +42 -0
  95. data/spec/moneta/simple_tokyotyrant_spec.rb +42 -0
  96. data/spec/moneta/simple_tokyotyrant_with_expires_spec.rb +42 -0
  97. data/spec/moneta/simple_yaml_spec.rb +42 -0
  98. data/spec/moneta/simple_yaml_with_expires_spec.rb +42 -0
  99. data/spec/moneta/transformer_bzip2_spec.rb +3 -0
  100. data/spec/moneta/transformer_key_inspect_spec.rb +6 -0
  101. data/spec/moneta/transformer_key_marshal_spec.rb +29 -0
  102. data/spec/moneta/transformer_key_to_s_spec.rb +6 -0
  103. data/spec/moneta/transformer_key_yaml_spec.rb +29 -0
  104. data/spec/moneta/transformer_lz4_spec.rb +3 -0
  105. data/spec/moneta/transformer_lzma_spec.rb +3 -0
  106. data/spec/moneta/transformer_lzo_spec.rb +3 -0
  107. data/spec/moneta/transformer_marshal_base64_spec.rb +29 -0
  108. data/spec/moneta/transformer_marshal_city128_spec.rb +152 -0
  109. data/spec/moneta/transformer_marshal_city32_spec.rb +152 -0
  110. data/spec/moneta/transformer_marshal_city64_spec.rb +152 -0
  111. data/spec/moneta/transformer_marshal_escape_spec.rb +29 -0
  112. data/spec/moneta/transformer_marshal_hmac_spec.rb +29 -0
  113. data/spec/moneta/transformer_marshal_md5_spec.rb +29 -0
  114. data/spec/moneta/transformer_marshal_md5_spread_spec.rb +29 -0
  115. data/spec/moneta/transformer_marshal_prefix_spec.rb +29 -0
  116. data/spec/moneta/transformer_marshal_qp_spec.rb +29 -0
  117. data/spec/moneta/transformer_marshal_rmd160_spec.rb +29 -0
  118. data/spec/moneta/transformer_marshal_sha1_spec.rb +29 -0
  119. data/spec/moneta/transformer_marshal_sha256_spec.rb +29 -0
  120. data/spec/moneta/transformer_marshal_sha384_spec.rb +29 -0
  121. data/spec/moneta/transformer_marshal_sha512_spec.rb +29 -0
  122. data/spec/moneta/transformer_marshal_spec.rb +29 -0
  123. data/spec/moneta/transformer_marshal_truncate_spec.rb +29 -0
  124. data/spec/moneta/transformer_marshal_uuencode_spec.rb +29 -0
  125. data/spec/moneta/transformer_ox_spec.rb +29 -0
  126. data/spec/moneta/transformer_quicklz_spec.rb +3 -0
  127. data/spec/moneta/transformer_snappy_spec.rb +3 -0
  128. data/spec/moneta/transformer_value_marshal_spec.rb +29 -0
  129. data/spec/moneta/transformer_value_yaml_spec.rb +29 -0
  130. data/spec/moneta/transformer_yaml_spec.rb +29 -0
  131. data/spec/moneta/transformer_zlib_spec.rb +3 -0
  132. data/spec/moneta/weak_create_spec.rb +2 -1
  133. data/spec/moneta/weak_increment_spec.rb +2 -1
  134. data/spec/monetaspecs.rb +29879 -6167
  135. metadata +10 -2
@@ -30,36 +30,49 @@ describe_moneta "transformer_marshal_md5_spread" do
30
30
  it_should_behave_like 'null_objectkey_booleanvalue'
31
31
  it_should_behave_like 'null_objectkey_nilvalue'
32
32
  it_should_behave_like 'null_objectkey_integervalue'
33
+ it_should_behave_like 'null_objectkey_numbervalue'
33
34
  it_should_behave_like 'null_stringkey_objectvalue'
34
35
  it_should_behave_like 'null_stringkey_stringvalue'
35
36
  it_should_behave_like 'null_stringkey_hashvalue'
36
37
  it_should_behave_like 'null_stringkey_booleanvalue'
37
38
  it_should_behave_like 'null_stringkey_nilvalue'
38
39
  it_should_behave_like 'null_stringkey_integervalue'
40
+ it_should_behave_like 'null_stringkey_numbervalue'
39
41
  it_should_behave_like 'null_hashkey_objectvalue'
40
42
  it_should_behave_like 'null_hashkey_stringvalue'
41
43
  it_should_behave_like 'null_hashkey_hashvalue'
42
44
  it_should_behave_like 'null_hashkey_booleanvalue'
43
45
  it_should_behave_like 'null_hashkey_nilvalue'
44
46
  it_should_behave_like 'null_hashkey_integervalue'
47
+ it_should_behave_like 'null_hashkey_numbervalue'
45
48
  it_should_behave_like 'null_booleankey_objectvalue'
46
49
  it_should_behave_like 'null_booleankey_stringvalue'
47
50
  it_should_behave_like 'null_booleankey_hashvalue'
48
51
  it_should_behave_like 'null_booleankey_booleanvalue'
49
52
  it_should_behave_like 'null_booleankey_nilvalue'
50
53
  it_should_behave_like 'null_booleankey_integervalue'
54
+ it_should_behave_like 'null_booleankey_numbervalue'
51
55
  it_should_behave_like 'null_nilkey_objectvalue'
52
56
  it_should_behave_like 'null_nilkey_stringvalue'
53
57
  it_should_behave_like 'null_nilkey_hashvalue'
54
58
  it_should_behave_like 'null_nilkey_booleanvalue'
55
59
  it_should_behave_like 'null_nilkey_nilvalue'
56
60
  it_should_behave_like 'null_nilkey_integervalue'
61
+ it_should_behave_like 'null_nilkey_numbervalue'
57
62
  it_should_behave_like 'null_integerkey_objectvalue'
58
63
  it_should_behave_like 'null_integerkey_stringvalue'
59
64
  it_should_behave_like 'null_integerkey_hashvalue'
60
65
  it_should_behave_like 'null_integerkey_booleanvalue'
61
66
  it_should_behave_like 'null_integerkey_nilvalue'
62
67
  it_should_behave_like 'null_integerkey_integervalue'
68
+ it_should_behave_like 'null_integerkey_numbervalue'
69
+ it_should_behave_like 'null_numberkey_objectvalue'
70
+ it_should_behave_like 'null_numberkey_stringvalue'
71
+ it_should_behave_like 'null_numberkey_hashvalue'
72
+ it_should_behave_like 'null_numberkey_booleanvalue'
73
+ it_should_behave_like 'null_numberkey_nilvalue'
74
+ it_should_behave_like 'null_numberkey_integervalue'
75
+ it_should_behave_like 'null_numberkey_numbervalue'
63
76
  it_should_behave_like 'returndifferent_objectkey_objectvalue'
64
77
  it_should_behave_like 'returndifferent_objectkey_stringvalue'
65
78
  it_should_behave_like 'returndifferent_objectkey_hashvalue'
@@ -78,42 +91,58 @@ describe_moneta "transformer_marshal_md5_spread" do
78
91
  it_should_behave_like 'returndifferent_integerkey_objectvalue'
79
92
  it_should_behave_like 'returndifferent_integerkey_stringvalue'
80
93
  it_should_behave_like 'returndifferent_integerkey_hashvalue'
94
+ it_should_behave_like 'returndifferent_numberkey_objectvalue'
95
+ it_should_behave_like 'returndifferent_numberkey_stringvalue'
96
+ it_should_behave_like 'returndifferent_numberkey_hashvalue'
81
97
  it_should_behave_like 'store_objectkey_objectvalue'
82
98
  it_should_behave_like 'store_objectkey_stringvalue'
83
99
  it_should_behave_like 'store_objectkey_hashvalue'
84
100
  it_should_behave_like 'store_objectkey_booleanvalue'
85
101
  it_should_behave_like 'store_objectkey_nilvalue'
86
102
  it_should_behave_like 'store_objectkey_integervalue'
103
+ it_should_behave_like 'store_objectkey_numbervalue'
87
104
  it_should_behave_like 'store_stringkey_objectvalue'
88
105
  it_should_behave_like 'store_stringkey_stringvalue'
89
106
  it_should_behave_like 'store_stringkey_hashvalue'
90
107
  it_should_behave_like 'store_stringkey_booleanvalue'
91
108
  it_should_behave_like 'store_stringkey_nilvalue'
92
109
  it_should_behave_like 'store_stringkey_integervalue'
110
+ it_should_behave_like 'store_stringkey_numbervalue'
93
111
  it_should_behave_like 'store_hashkey_objectvalue'
94
112
  it_should_behave_like 'store_hashkey_stringvalue'
95
113
  it_should_behave_like 'store_hashkey_hashvalue'
96
114
  it_should_behave_like 'store_hashkey_booleanvalue'
97
115
  it_should_behave_like 'store_hashkey_nilvalue'
98
116
  it_should_behave_like 'store_hashkey_integervalue'
117
+ it_should_behave_like 'store_hashkey_numbervalue'
99
118
  it_should_behave_like 'store_booleankey_objectvalue'
100
119
  it_should_behave_like 'store_booleankey_stringvalue'
101
120
  it_should_behave_like 'store_booleankey_hashvalue'
102
121
  it_should_behave_like 'store_booleankey_booleanvalue'
103
122
  it_should_behave_like 'store_booleankey_nilvalue'
104
123
  it_should_behave_like 'store_booleankey_integervalue'
124
+ it_should_behave_like 'store_booleankey_numbervalue'
105
125
  it_should_behave_like 'store_nilkey_objectvalue'
106
126
  it_should_behave_like 'store_nilkey_stringvalue'
107
127
  it_should_behave_like 'store_nilkey_hashvalue'
108
128
  it_should_behave_like 'store_nilkey_booleanvalue'
109
129
  it_should_behave_like 'store_nilkey_nilvalue'
110
130
  it_should_behave_like 'store_nilkey_integervalue'
131
+ it_should_behave_like 'store_nilkey_numbervalue'
111
132
  it_should_behave_like 'store_integerkey_objectvalue'
112
133
  it_should_behave_like 'store_integerkey_stringvalue'
113
134
  it_should_behave_like 'store_integerkey_hashvalue'
114
135
  it_should_behave_like 'store_integerkey_booleanvalue'
115
136
  it_should_behave_like 'store_integerkey_nilvalue'
116
137
  it_should_behave_like 'store_integerkey_integervalue'
138
+ it_should_behave_like 'store_integerkey_numbervalue'
139
+ it_should_behave_like 'store_numberkey_objectvalue'
140
+ it_should_behave_like 'store_numberkey_stringvalue'
141
+ it_should_behave_like 'store_numberkey_hashvalue'
142
+ it_should_behave_like 'store_numberkey_booleanvalue'
143
+ it_should_behave_like 'store_numberkey_nilvalue'
144
+ it_should_behave_like 'store_numberkey_integervalue'
145
+ it_should_behave_like 'store_numberkey_numbervalue'
117
146
  it_should_behave_like 'store_large'
118
147
  it_should_behave_like 'transform_value'
119
148
  it 'compile transformer class' do
@@ -30,36 +30,49 @@ describe_moneta "transformer_marshal_prefix" do
30
30
  it_should_behave_like 'null_objectkey_booleanvalue'
31
31
  it_should_behave_like 'null_objectkey_nilvalue'
32
32
  it_should_behave_like 'null_objectkey_integervalue'
33
+ it_should_behave_like 'null_objectkey_numbervalue'
33
34
  it_should_behave_like 'null_stringkey_objectvalue'
34
35
  it_should_behave_like 'null_stringkey_stringvalue'
35
36
  it_should_behave_like 'null_stringkey_hashvalue'
36
37
  it_should_behave_like 'null_stringkey_booleanvalue'
37
38
  it_should_behave_like 'null_stringkey_nilvalue'
38
39
  it_should_behave_like 'null_stringkey_integervalue'
40
+ it_should_behave_like 'null_stringkey_numbervalue'
39
41
  it_should_behave_like 'null_hashkey_objectvalue'
40
42
  it_should_behave_like 'null_hashkey_stringvalue'
41
43
  it_should_behave_like 'null_hashkey_hashvalue'
42
44
  it_should_behave_like 'null_hashkey_booleanvalue'
43
45
  it_should_behave_like 'null_hashkey_nilvalue'
44
46
  it_should_behave_like 'null_hashkey_integervalue'
47
+ it_should_behave_like 'null_hashkey_numbervalue'
45
48
  it_should_behave_like 'null_booleankey_objectvalue'
46
49
  it_should_behave_like 'null_booleankey_stringvalue'
47
50
  it_should_behave_like 'null_booleankey_hashvalue'
48
51
  it_should_behave_like 'null_booleankey_booleanvalue'
49
52
  it_should_behave_like 'null_booleankey_nilvalue'
50
53
  it_should_behave_like 'null_booleankey_integervalue'
54
+ it_should_behave_like 'null_booleankey_numbervalue'
51
55
  it_should_behave_like 'null_nilkey_objectvalue'
52
56
  it_should_behave_like 'null_nilkey_stringvalue'
53
57
  it_should_behave_like 'null_nilkey_hashvalue'
54
58
  it_should_behave_like 'null_nilkey_booleanvalue'
55
59
  it_should_behave_like 'null_nilkey_nilvalue'
56
60
  it_should_behave_like 'null_nilkey_integervalue'
61
+ it_should_behave_like 'null_nilkey_numbervalue'
57
62
  it_should_behave_like 'null_integerkey_objectvalue'
58
63
  it_should_behave_like 'null_integerkey_stringvalue'
59
64
  it_should_behave_like 'null_integerkey_hashvalue'
60
65
  it_should_behave_like 'null_integerkey_booleanvalue'
61
66
  it_should_behave_like 'null_integerkey_nilvalue'
62
67
  it_should_behave_like 'null_integerkey_integervalue'
68
+ it_should_behave_like 'null_integerkey_numbervalue'
69
+ it_should_behave_like 'null_numberkey_objectvalue'
70
+ it_should_behave_like 'null_numberkey_stringvalue'
71
+ it_should_behave_like 'null_numberkey_hashvalue'
72
+ it_should_behave_like 'null_numberkey_booleanvalue'
73
+ it_should_behave_like 'null_numberkey_nilvalue'
74
+ it_should_behave_like 'null_numberkey_integervalue'
75
+ it_should_behave_like 'null_numberkey_numbervalue'
63
76
  it_should_behave_like 'returndifferent_objectkey_objectvalue'
64
77
  it_should_behave_like 'returndifferent_objectkey_stringvalue'
65
78
  it_should_behave_like 'returndifferent_objectkey_hashvalue'
@@ -78,42 +91,58 @@ describe_moneta "transformer_marshal_prefix" do
78
91
  it_should_behave_like 'returndifferent_integerkey_objectvalue'
79
92
  it_should_behave_like 'returndifferent_integerkey_stringvalue'
80
93
  it_should_behave_like 'returndifferent_integerkey_hashvalue'
94
+ it_should_behave_like 'returndifferent_numberkey_objectvalue'
95
+ it_should_behave_like 'returndifferent_numberkey_stringvalue'
96
+ it_should_behave_like 'returndifferent_numberkey_hashvalue'
81
97
  it_should_behave_like 'store_objectkey_objectvalue'
82
98
  it_should_behave_like 'store_objectkey_stringvalue'
83
99
  it_should_behave_like 'store_objectkey_hashvalue'
84
100
  it_should_behave_like 'store_objectkey_booleanvalue'
85
101
  it_should_behave_like 'store_objectkey_nilvalue'
86
102
  it_should_behave_like 'store_objectkey_integervalue'
103
+ it_should_behave_like 'store_objectkey_numbervalue'
87
104
  it_should_behave_like 'store_stringkey_objectvalue'
88
105
  it_should_behave_like 'store_stringkey_stringvalue'
89
106
  it_should_behave_like 'store_stringkey_hashvalue'
90
107
  it_should_behave_like 'store_stringkey_booleanvalue'
91
108
  it_should_behave_like 'store_stringkey_nilvalue'
92
109
  it_should_behave_like 'store_stringkey_integervalue'
110
+ it_should_behave_like 'store_stringkey_numbervalue'
93
111
  it_should_behave_like 'store_hashkey_objectvalue'
94
112
  it_should_behave_like 'store_hashkey_stringvalue'
95
113
  it_should_behave_like 'store_hashkey_hashvalue'
96
114
  it_should_behave_like 'store_hashkey_booleanvalue'
97
115
  it_should_behave_like 'store_hashkey_nilvalue'
98
116
  it_should_behave_like 'store_hashkey_integervalue'
117
+ it_should_behave_like 'store_hashkey_numbervalue'
99
118
  it_should_behave_like 'store_booleankey_objectvalue'
100
119
  it_should_behave_like 'store_booleankey_stringvalue'
101
120
  it_should_behave_like 'store_booleankey_hashvalue'
102
121
  it_should_behave_like 'store_booleankey_booleanvalue'
103
122
  it_should_behave_like 'store_booleankey_nilvalue'
104
123
  it_should_behave_like 'store_booleankey_integervalue'
124
+ it_should_behave_like 'store_booleankey_numbervalue'
105
125
  it_should_behave_like 'store_nilkey_objectvalue'
106
126
  it_should_behave_like 'store_nilkey_stringvalue'
107
127
  it_should_behave_like 'store_nilkey_hashvalue'
108
128
  it_should_behave_like 'store_nilkey_booleanvalue'
109
129
  it_should_behave_like 'store_nilkey_nilvalue'
110
130
  it_should_behave_like 'store_nilkey_integervalue'
131
+ it_should_behave_like 'store_nilkey_numbervalue'
111
132
  it_should_behave_like 'store_integerkey_objectvalue'
112
133
  it_should_behave_like 'store_integerkey_stringvalue'
113
134
  it_should_behave_like 'store_integerkey_hashvalue'
114
135
  it_should_behave_like 'store_integerkey_booleanvalue'
115
136
  it_should_behave_like 'store_integerkey_nilvalue'
116
137
  it_should_behave_like 'store_integerkey_integervalue'
138
+ it_should_behave_like 'store_integerkey_numbervalue'
139
+ it_should_behave_like 'store_numberkey_objectvalue'
140
+ it_should_behave_like 'store_numberkey_stringvalue'
141
+ it_should_behave_like 'store_numberkey_hashvalue'
142
+ it_should_behave_like 'store_numberkey_booleanvalue'
143
+ it_should_behave_like 'store_numberkey_nilvalue'
144
+ it_should_behave_like 'store_numberkey_integervalue'
145
+ it_should_behave_like 'store_numberkey_numbervalue'
117
146
  it_should_behave_like 'store_large'
118
147
  it_should_behave_like 'transform_value'
119
148
  it 'compile transformer class' do
@@ -30,36 +30,49 @@ describe_moneta "transformer_marshal_qp" do
30
30
  it_should_behave_like 'null_objectkey_booleanvalue'
31
31
  it_should_behave_like 'null_objectkey_nilvalue'
32
32
  it_should_behave_like 'null_objectkey_integervalue'
33
+ it_should_behave_like 'null_objectkey_numbervalue'
33
34
  it_should_behave_like 'null_stringkey_objectvalue'
34
35
  it_should_behave_like 'null_stringkey_stringvalue'
35
36
  it_should_behave_like 'null_stringkey_hashvalue'
36
37
  it_should_behave_like 'null_stringkey_booleanvalue'
37
38
  it_should_behave_like 'null_stringkey_nilvalue'
38
39
  it_should_behave_like 'null_stringkey_integervalue'
40
+ it_should_behave_like 'null_stringkey_numbervalue'
39
41
  it_should_behave_like 'null_hashkey_objectvalue'
40
42
  it_should_behave_like 'null_hashkey_stringvalue'
41
43
  it_should_behave_like 'null_hashkey_hashvalue'
42
44
  it_should_behave_like 'null_hashkey_booleanvalue'
43
45
  it_should_behave_like 'null_hashkey_nilvalue'
44
46
  it_should_behave_like 'null_hashkey_integervalue'
47
+ it_should_behave_like 'null_hashkey_numbervalue'
45
48
  it_should_behave_like 'null_booleankey_objectvalue'
46
49
  it_should_behave_like 'null_booleankey_stringvalue'
47
50
  it_should_behave_like 'null_booleankey_hashvalue'
48
51
  it_should_behave_like 'null_booleankey_booleanvalue'
49
52
  it_should_behave_like 'null_booleankey_nilvalue'
50
53
  it_should_behave_like 'null_booleankey_integervalue'
54
+ it_should_behave_like 'null_booleankey_numbervalue'
51
55
  it_should_behave_like 'null_nilkey_objectvalue'
52
56
  it_should_behave_like 'null_nilkey_stringvalue'
53
57
  it_should_behave_like 'null_nilkey_hashvalue'
54
58
  it_should_behave_like 'null_nilkey_booleanvalue'
55
59
  it_should_behave_like 'null_nilkey_nilvalue'
56
60
  it_should_behave_like 'null_nilkey_integervalue'
61
+ it_should_behave_like 'null_nilkey_numbervalue'
57
62
  it_should_behave_like 'null_integerkey_objectvalue'
58
63
  it_should_behave_like 'null_integerkey_stringvalue'
59
64
  it_should_behave_like 'null_integerkey_hashvalue'
60
65
  it_should_behave_like 'null_integerkey_booleanvalue'
61
66
  it_should_behave_like 'null_integerkey_nilvalue'
62
67
  it_should_behave_like 'null_integerkey_integervalue'
68
+ it_should_behave_like 'null_integerkey_numbervalue'
69
+ it_should_behave_like 'null_numberkey_objectvalue'
70
+ it_should_behave_like 'null_numberkey_stringvalue'
71
+ it_should_behave_like 'null_numberkey_hashvalue'
72
+ it_should_behave_like 'null_numberkey_booleanvalue'
73
+ it_should_behave_like 'null_numberkey_nilvalue'
74
+ it_should_behave_like 'null_numberkey_integervalue'
75
+ it_should_behave_like 'null_numberkey_numbervalue'
63
76
  it_should_behave_like 'returndifferent_objectkey_objectvalue'
64
77
  it_should_behave_like 'returndifferent_objectkey_stringvalue'
65
78
  it_should_behave_like 'returndifferent_objectkey_hashvalue'
@@ -78,42 +91,58 @@ describe_moneta "transformer_marshal_qp" do
78
91
  it_should_behave_like 'returndifferent_integerkey_objectvalue'
79
92
  it_should_behave_like 'returndifferent_integerkey_stringvalue'
80
93
  it_should_behave_like 'returndifferent_integerkey_hashvalue'
94
+ it_should_behave_like 'returndifferent_numberkey_objectvalue'
95
+ it_should_behave_like 'returndifferent_numberkey_stringvalue'
96
+ it_should_behave_like 'returndifferent_numberkey_hashvalue'
81
97
  it_should_behave_like 'store_objectkey_objectvalue'
82
98
  it_should_behave_like 'store_objectkey_stringvalue'
83
99
  it_should_behave_like 'store_objectkey_hashvalue'
84
100
  it_should_behave_like 'store_objectkey_booleanvalue'
85
101
  it_should_behave_like 'store_objectkey_nilvalue'
86
102
  it_should_behave_like 'store_objectkey_integervalue'
103
+ it_should_behave_like 'store_objectkey_numbervalue'
87
104
  it_should_behave_like 'store_stringkey_objectvalue'
88
105
  it_should_behave_like 'store_stringkey_stringvalue'
89
106
  it_should_behave_like 'store_stringkey_hashvalue'
90
107
  it_should_behave_like 'store_stringkey_booleanvalue'
91
108
  it_should_behave_like 'store_stringkey_nilvalue'
92
109
  it_should_behave_like 'store_stringkey_integervalue'
110
+ it_should_behave_like 'store_stringkey_numbervalue'
93
111
  it_should_behave_like 'store_hashkey_objectvalue'
94
112
  it_should_behave_like 'store_hashkey_stringvalue'
95
113
  it_should_behave_like 'store_hashkey_hashvalue'
96
114
  it_should_behave_like 'store_hashkey_booleanvalue'
97
115
  it_should_behave_like 'store_hashkey_nilvalue'
98
116
  it_should_behave_like 'store_hashkey_integervalue'
117
+ it_should_behave_like 'store_hashkey_numbervalue'
99
118
  it_should_behave_like 'store_booleankey_objectvalue'
100
119
  it_should_behave_like 'store_booleankey_stringvalue'
101
120
  it_should_behave_like 'store_booleankey_hashvalue'
102
121
  it_should_behave_like 'store_booleankey_booleanvalue'
103
122
  it_should_behave_like 'store_booleankey_nilvalue'
104
123
  it_should_behave_like 'store_booleankey_integervalue'
124
+ it_should_behave_like 'store_booleankey_numbervalue'
105
125
  it_should_behave_like 'store_nilkey_objectvalue'
106
126
  it_should_behave_like 'store_nilkey_stringvalue'
107
127
  it_should_behave_like 'store_nilkey_hashvalue'
108
128
  it_should_behave_like 'store_nilkey_booleanvalue'
109
129
  it_should_behave_like 'store_nilkey_nilvalue'
110
130
  it_should_behave_like 'store_nilkey_integervalue'
131
+ it_should_behave_like 'store_nilkey_numbervalue'
111
132
  it_should_behave_like 'store_integerkey_objectvalue'
112
133
  it_should_behave_like 'store_integerkey_stringvalue'
113
134
  it_should_behave_like 'store_integerkey_hashvalue'
114
135
  it_should_behave_like 'store_integerkey_booleanvalue'
115
136
  it_should_behave_like 'store_integerkey_nilvalue'
116
137
  it_should_behave_like 'store_integerkey_integervalue'
138
+ it_should_behave_like 'store_integerkey_numbervalue'
139
+ it_should_behave_like 'store_numberkey_objectvalue'
140
+ it_should_behave_like 'store_numberkey_stringvalue'
141
+ it_should_behave_like 'store_numberkey_hashvalue'
142
+ it_should_behave_like 'store_numberkey_booleanvalue'
143
+ it_should_behave_like 'store_numberkey_nilvalue'
144
+ it_should_behave_like 'store_numberkey_integervalue'
145
+ it_should_behave_like 'store_numberkey_numbervalue'
117
146
  it_should_behave_like 'store_large'
118
147
  it_should_behave_like 'transform_value'
119
148
  it 'compile transformer class' do
@@ -30,36 +30,49 @@ describe_moneta "transformer_marshal_rmd160" do
30
30
  it_should_behave_like 'null_objectkey_booleanvalue'
31
31
  it_should_behave_like 'null_objectkey_nilvalue'
32
32
  it_should_behave_like 'null_objectkey_integervalue'
33
+ it_should_behave_like 'null_objectkey_numbervalue'
33
34
  it_should_behave_like 'null_stringkey_objectvalue'
34
35
  it_should_behave_like 'null_stringkey_stringvalue'
35
36
  it_should_behave_like 'null_stringkey_hashvalue'
36
37
  it_should_behave_like 'null_stringkey_booleanvalue'
37
38
  it_should_behave_like 'null_stringkey_nilvalue'
38
39
  it_should_behave_like 'null_stringkey_integervalue'
40
+ it_should_behave_like 'null_stringkey_numbervalue'
39
41
  it_should_behave_like 'null_hashkey_objectvalue'
40
42
  it_should_behave_like 'null_hashkey_stringvalue'
41
43
  it_should_behave_like 'null_hashkey_hashvalue'
42
44
  it_should_behave_like 'null_hashkey_booleanvalue'
43
45
  it_should_behave_like 'null_hashkey_nilvalue'
44
46
  it_should_behave_like 'null_hashkey_integervalue'
47
+ it_should_behave_like 'null_hashkey_numbervalue'
45
48
  it_should_behave_like 'null_booleankey_objectvalue'
46
49
  it_should_behave_like 'null_booleankey_stringvalue'
47
50
  it_should_behave_like 'null_booleankey_hashvalue'
48
51
  it_should_behave_like 'null_booleankey_booleanvalue'
49
52
  it_should_behave_like 'null_booleankey_nilvalue'
50
53
  it_should_behave_like 'null_booleankey_integervalue'
54
+ it_should_behave_like 'null_booleankey_numbervalue'
51
55
  it_should_behave_like 'null_nilkey_objectvalue'
52
56
  it_should_behave_like 'null_nilkey_stringvalue'
53
57
  it_should_behave_like 'null_nilkey_hashvalue'
54
58
  it_should_behave_like 'null_nilkey_booleanvalue'
55
59
  it_should_behave_like 'null_nilkey_nilvalue'
56
60
  it_should_behave_like 'null_nilkey_integervalue'
61
+ it_should_behave_like 'null_nilkey_numbervalue'
57
62
  it_should_behave_like 'null_integerkey_objectvalue'
58
63
  it_should_behave_like 'null_integerkey_stringvalue'
59
64
  it_should_behave_like 'null_integerkey_hashvalue'
60
65
  it_should_behave_like 'null_integerkey_booleanvalue'
61
66
  it_should_behave_like 'null_integerkey_nilvalue'
62
67
  it_should_behave_like 'null_integerkey_integervalue'
68
+ it_should_behave_like 'null_integerkey_numbervalue'
69
+ it_should_behave_like 'null_numberkey_objectvalue'
70
+ it_should_behave_like 'null_numberkey_stringvalue'
71
+ it_should_behave_like 'null_numberkey_hashvalue'
72
+ it_should_behave_like 'null_numberkey_booleanvalue'
73
+ it_should_behave_like 'null_numberkey_nilvalue'
74
+ it_should_behave_like 'null_numberkey_integervalue'
75
+ it_should_behave_like 'null_numberkey_numbervalue'
63
76
  it_should_behave_like 'returndifferent_objectkey_objectvalue'
64
77
  it_should_behave_like 'returndifferent_objectkey_stringvalue'
65
78
  it_should_behave_like 'returndifferent_objectkey_hashvalue'
@@ -78,42 +91,58 @@ describe_moneta "transformer_marshal_rmd160" do
78
91
  it_should_behave_like 'returndifferent_integerkey_objectvalue'
79
92
  it_should_behave_like 'returndifferent_integerkey_stringvalue'
80
93
  it_should_behave_like 'returndifferent_integerkey_hashvalue'
94
+ it_should_behave_like 'returndifferent_numberkey_objectvalue'
95
+ it_should_behave_like 'returndifferent_numberkey_stringvalue'
96
+ it_should_behave_like 'returndifferent_numberkey_hashvalue'
81
97
  it_should_behave_like 'store_objectkey_objectvalue'
82
98
  it_should_behave_like 'store_objectkey_stringvalue'
83
99
  it_should_behave_like 'store_objectkey_hashvalue'
84
100
  it_should_behave_like 'store_objectkey_booleanvalue'
85
101
  it_should_behave_like 'store_objectkey_nilvalue'
86
102
  it_should_behave_like 'store_objectkey_integervalue'
103
+ it_should_behave_like 'store_objectkey_numbervalue'
87
104
  it_should_behave_like 'store_stringkey_objectvalue'
88
105
  it_should_behave_like 'store_stringkey_stringvalue'
89
106
  it_should_behave_like 'store_stringkey_hashvalue'
90
107
  it_should_behave_like 'store_stringkey_booleanvalue'
91
108
  it_should_behave_like 'store_stringkey_nilvalue'
92
109
  it_should_behave_like 'store_stringkey_integervalue'
110
+ it_should_behave_like 'store_stringkey_numbervalue'
93
111
  it_should_behave_like 'store_hashkey_objectvalue'
94
112
  it_should_behave_like 'store_hashkey_stringvalue'
95
113
  it_should_behave_like 'store_hashkey_hashvalue'
96
114
  it_should_behave_like 'store_hashkey_booleanvalue'
97
115
  it_should_behave_like 'store_hashkey_nilvalue'
98
116
  it_should_behave_like 'store_hashkey_integervalue'
117
+ it_should_behave_like 'store_hashkey_numbervalue'
99
118
  it_should_behave_like 'store_booleankey_objectvalue'
100
119
  it_should_behave_like 'store_booleankey_stringvalue'
101
120
  it_should_behave_like 'store_booleankey_hashvalue'
102
121
  it_should_behave_like 'store_booleankey_booleanvalue'
103
122
  it_should_behave_like 'store_booleankey_nilvalue'
104
123
  it_should_behave_like 'store_booleankey_integervalue'
124
+ it_should_behave_like 'store_booleankey_numbervalue'
105
125
  it_should_behave_like 'store_nilkey_objectvalue'
106
126
  it_should_behave_like 'store_nilkey_stringvalue'
107
127
  it_should_behave_like 'store_nilkey_hashvalue'
108
128
  it_should_behave_like 'store_nilkey_booleanvalue'
109
129
  it_should_behave_like 'store_nilkey_nilvalue'
110
130
  it_should_behave_like 'store_nilkey_integervalue'
131
+ it_should_behave_like 'store_nilkey_numbervalue'
111
132
  it_should_behave_like 'store_integerkey_objectvalue'
112
133
  it_should_behave_like 'store_integerkey_stringvalue'
113
134
  it_should_behave_like 'store_integerkey_hashvalue'
114
135
  it_should_behave_like 'store_integerkey_booleanvalue'
115
136
  it_should_behave_like 'store_integerkey_nilvalue'
116
137
  it_should_behave_like 'store_integerkey_integervalue'
138
+ it_should_behave_like 'store_integerkey_numbervalue'
139
+ it_should_behave_like 'store_numberkey_objectvalue'
140
+ it_should_behave_like 'store_numberkey_stringvalue'
141
+ it_should_behave_like 'store_numberkey_hashvalue'
142
+ it_should_behave_like 'store_numberkey_booleanvalue'
143
+ it_should_behave_like 'store_numberkey_nilvalue'
144
+ it_should_behave_like 'store_numberkey_integervalue'
145
+ it_should_behave_like 'store_numberkey_numbervalue'
117
146
  it_should_behave_like 'store_large'
118
147
  it_should_behave_like 'transform_value'
119
148
  it 'compile transformer class' do
@@ -30,36 +30,49 @@ describe_moneta "transformer_marshal_sha1" do
30
30
  it_should_behave_like 'null_objectkey_booleanvalue'
31
31
  it_should_behave_like 'null_objectkey_nilvalue'
32
32
  it_should_behave_like 'null_objectkey_integervalue'
33
+ it_should_behave_like 'null_objectkey_numbervalue'
33
34
  it_should_behave_like 'null_stringkey_objectvalue'
34
35
  it_should_behave_like 'null_stringkey_stringvalue'
35
36
  it_should_behave_like 'null_stringkey_hashvalue'
36
37
  it_should_behave_like 'null_stringkey_booleanvalue'
37
38
  it_should_behave_like 'null_stringkey_nilvalue'
38
39
  it_should_behave_like 'null_stringkey_integervalue'
40
+ it_should_behave_like 'null_stringkey_numbervalue'
39
41
  it_should_behave_like 'null_hashkey_objectvalue'
40
42
  it_should_behave_like 'null_hashkey_stringvalue'
41
43
  it_should_behave_like 'null_hashkey_hashvalue'
42
44
  it_should_behave_like 'null_hashkey_booleanvalue'
43
45
  it_should_behave_like 'null_hashkey_nilvalue'
44
46
  it_should_behave_like 'null_hashkey_integervalue'
47
+ it_should_behave_like 'null_hashkey_numbervalue'
45
48
  it_should_behave_like 'null_booleankey_objectvalue'
46
49
  it_should_behave_like 'null_booleankey_stringvalue'
47
50
  it_should_behave_like 'null_booleankey_hashvalue'
48
51
  it_should_behave_like 'null_booleankey_booleanvalue'
49
52
  it_should_behave_like 'null_booleankey_nilvalue'
50
53
  it_should_behave_like 'null_booleankey_integervalue'
54
+ it_should_behave_like 'null_booleankey_numbervalue'
51
55
  it_should_behave_like 'null_nilkey_objectvalue'
52
56
  it_should_behave_like 'null_nilkey_stringvalue'
53
57
  it_should_behave_like 'null_nilkey_hashvalue'
54
58
  it_should_behave_like 'null_nilkey_booleanvalue'
55
59
  it_should_behave_like 'null_nilkey_nilvalue'
56
60
  it_should_behave_like 'null_nilkey_integervalue'
61
+ it_should_behave_like 'null_nilkey_numbervalue'
57
62
  it_should_behave_like 'null_integerkey_objectvalue'
58
63
  it_should_behave_like 'null_integerkey_stringvalue'
59
64
  it_should_behave_like 'null_integerkey_hashvalue'
60
65
  it_should_behave_like 'null_integerkey_booleanvalue'
61
66
  it_should_behave_like 'null_integerkey_nilvalue'
62
67
  it_should_behave_like 'null_integerkey_integervalue'
68
+ it_should_behave_like 'null_integerkey_numbervalue'
69
+ it_should_behave_like 'null_numberkey_objectvalue'
70
+ it_should_behave_like 'null_numberkey_stringvalue'
71
+ it_should_behave_like 'null_numberkey_hashvalue'
72
+ it_should_behave_like 'null_numberkey_booleanvalue'
73
+ it_should_behave_like 'null_numberkey_nilvalue'
74
+ it_should_behave_like 'null_numberkey_integervalue'
75
+ it_should_behave_like 'null_numberkey_numbervalue'
63
76
  it_should_behave_like 'returndifferent_objectkey_objectvalue'
64
77
  it_should_behave_like 'returndifferent_objectkey_stringvalue'
65
78
  it_should_behave_like 'returndifferent_objectkey_hashvalue'
@@ -78,42 +91,58 @@ describe_moneta "transformer_marshal_sha1" do
78
91
  it_should_behave_like 'returndifferent_integerkey_objectvalue'
79
92
  it_should_behave_like 'returndifferent_integerkey_stringvalue'
80
93
  it_should_behave_like 'returndifferent_integerkey_hashvalue'
94
+ it_should_behave_like 'returndifferent_numberkey_objectvalue'
95
+ it_should_behave_like 'returndifferent_numberkey_stringvalue'
96
+ it_should_behave_like 'returndifferent_numberkey_hashvalue'
81
97
  it_should_behave_like 'store_objectkey_objectvalue'
82
98
  it_should_behave_like 'store_objectkey_stringvalue'
83
99
  it_should_behave_like 'store_objectkey_hashvalue'
84
100
  it_should_behave_like 'store_objectkey_booleanvalue'
85
101
  it_should_behave_like 'store_objectkey_nilvalue'
86
102
  it_should_behave_like 'store_objectkey_integervalue'
103
+ it_should_behave_like 'store_objectkey_numbervalue'
87
104
  it_should_behave_like 'store_stringkey_objectvalue'
88
105
  it_should_behave_like 'store_stringkey_stringvalue'
89
106
  it_should_behave_like 'store_stringkey_hashvalue'
90
107
  it_should_behave_like 'store_stringkey_booleanvalue'
91
108
  it_should_behave_like 'store_stringkey_nilvalue'
92
109
  it_should_behave_like 'store_stringkey_integervalue'
110
+ it_should_behave_like 'store_stringkey_numbervalue'
93
111
  it_should_behave_like 'store_hashkey_objectvalue'
94
112
  it_should_behave_like 'store_hashkey_stringvalue'
95
113
  it_should_behave_like 'store_hashkey_hashvalue'
96
114
  it_should_behave_like 'store_hashkey_booleanvalue'
97
115
  it_should_behave_like 'store_hashkey_nilvalue'
98
116
  it_should_behave_like 'store_hashkey_integervalue'
117
+ it_should_behave_like 'store_hashkey_numbervalue'
99
118
  it_should_behave_like 'store_booleankey_objectvalue'
100
119
  it_should_behave_like 'store_booleankey_stringvalue'
101
120
  it_should_behave_like 'store_booleankey_hashvalue'
102
121
  it_should_behave_like 'store_booleankey_booleanvalue'
103
122
  it_should_behave_like 'store_booleankey_nilvalue'
104
123
  it_should_behave_like 'store_booleankey_integervalue'
124
+ it_should_behave_like 'store_booleankey_numbervalue'
105
125
  it_should_behave_like 'store_nilkey_objectvalue'
106
126
  it_should_behave_like 'store_nilkey_stringvalue'
107
127
  it_should_behave_like 'store_nilkey_hashvalue'
108
128
  it_should_behave_like 'store_nilkey_booleanvalue'
109
129
  it_should_behave_like 'store_nilkey_nilvalue'
110
130
  it_should_behave_like 'store_nilkey_integervalue'
131
+ it_should_behave_like 'store_nilkey_numbervalue'
111
132
  it_should_behave_like 'store_integerkey_objectvalue'
112
133
  it_should_behave_like 'store_integerkey_stringvalue'
113
134
  it_should_behave_like 'store_integerkey_hashvalue'
114
135
  it_should_behave_like 'store_integerkey_booleanvalue'
115
136
  it_should_behave_like 'store_integerkey_nilvalue'
116
137
  it_should_behave_like 'store_integerkey_integervalue'
138
+ it_should_behave_like 'store_integerkey_numbervalue'
139
+ it_should_behave_like 'store_numberkey_objectvalue'
140
+ it_should_behave_like 'store_numberkey_stringvalue'
141
+ it_should_behave_like 'store_numberkey_hashvalue'
142
+ it_should_behave_like 'store_numberkey_booleanvalue'
143
+ it_should_behave_like 'store_numberkey_nilvalue'
144
+ it_should_behave_like 'store_numberkey_integervalue'
145
+ it_should_behave_like 'store_numberkey_numbervalue'
117
146
  it_should_behave_like 'store_large'
118
147
  it_should_behave_like 'transform_value'
119
148
  it 'compile transformer class' do