inmemory_kv 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f83c12e65316b730f53c6d223859355b5fa8e00
4
- data.tar.gz: 78c378060063ec7c7ce46721d775bfbdfcfcc741
3
+ metadata.gz: 42619c6541488e10ccb127fddf97a752ce2cff46
4
+ data.tar.gz: 83f4e1fa740d3cc0d939dc08acf6ef86629eb5be
5
5
  SHA512:
6
- metadata.gz: a64d4273444283c58f16eb5cb17536073d708bf6e9e908f28647f74268d4e606d61244a4932c1066096637a9df5d272690cc67acec877dedb8156b58424a710c
7
- data.tar.gz: 59f871c45e85e7fc198a4ebb8bd764f7676754bc9d384b1ca6ec9ed915976821d79e51f71bd6e476b9ea054ab15c5643e6f092a5fda5db76503f0b2fd125efda
6
+ metadata.gz: 546486f550f040163bc2c15eb17b3f7cc9705c8fe03d952828387d454fec94d4645e33239c3bb9f1ac5d65f5f200e2c0d13bd2e2465531e81e242fdad5f86095
7
+ data.tar.gz: 16b176ab37ee278f2baed24c3f06281d8f20bc875e298f955a21933813937c67079c167f7bfb03dfb26cd66e0a2491e96431a7f0a771a88c640dec3aac44de21
@@ -76,7 +76,7 @@ item_set_sizes(hash_item* item, u32 key_size, u32 val_size) {
76
76
 
77
77
  static inline void
78
78
  item_set_val_size(hash_item* item, u32 val_size) {
79
- assert( (val_size > 255) == (item->big == 1));
79
+ assert(val_size <= 255 || item->big == 1);
80
80
  if (item->big) {
81
81
  item->kind.big.val_size = val_size;
82
82
  } else {
@@ -1,3 +1,3 @@
1
1
  module InMemoryKV
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inmemory_kv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sokolov Yura aka funny_falcon