vinted-memcached 1.8.3 → 1.8.4

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
  SHA256:
3
- metadata.gz: ebb503903c65babc319191cf4ffb0798535a54c3a95fe72426a51aac514a4654
4
- data.tar.gz: 4904b11d45beb58f278e01a6fb4c29a8dc11e4a91123df06111d7cf21d2dd733
3
+ metadata.gz: 4894e2b1d343d24f89d354ffb3a7ce08a96419173c3664f9a0942658606d1712
4
+ data.tar.gz: 8459807c29e5647f357cc489352589f08c444e074cbec1561b3e5929b15006cc
5
5
  SHA512:
6
- metadata.gz: 4422cb627a78cfbf2810c4b18f2389887c59b99e6bd72d97a5819b6a4d435bc81e7130f32b8ab6509a6b7436fde1e93a90ff1e3ad3f7c440557d6c66518a3a58
7
- data.tar.gz: 05abc7595a174121345252f4828f9999813122d20d1c3ef3bc96f3fa975460b5e82dd7a555863ba17737fab65d3b417d7d0e7726c1244bc6ad434e9526b44581
6
+ metadata.gz: '09ba79d16567f3e5324badc26378068946bf76ad21c6d386665bf2decbfea0eb031a39efcfdec45e9f57f2a491c4bd0ffeed0f3757c1af999668b9ac87c9c3e6'
7
+ data.tar.gz: 194a771d1ed13165563d0aefa66e3ae68c07ebe0bda6568be446d7bea06d3e3b44cd7327c5879fadb72b34c2a35ccfbaa48649bc54a2d4e65d5a164dc5aa57f3
data/Gemfile.lock CHANGED
@@ -1,18 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vinted-memcached (1.8.3)
4
+ vinted-memcached (1.8.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- activesupport (7.0.7.2)
9
+ activesupport (7.1.3)
10
+ base64
11
+ bigdecimal
10
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ connection_pool (>= 2.2.5)
14
+ drb
11
15
  i18n (>= 1.6, < 2)
12
16
  minitest (>= 5.1)
17
+ mutex_m
13
18
  tzinfo (~> 2.0)
14
19
  allison (2.0.3)
15
- concurrent-ruby (1.2.2)
20
+ base64 (0.2.0)
21
+ bigdecimal (3.1.6)
22
+ concurrent-ruby (1.2.3)
23
+ connection_pool (2.4.1)
24
+ drb (2.2.0)
25
+ ruby2_keywords
16
26
  echoe (4.6.6)
17
27
  allison (>= 2.0.3)
18
28
  rake (>= 0.9.2)
@@ -20,21 +30,23 @@ GEM
20
30
  rubyforge (>= 2.0.4)
21
31
  i18n (1.14.1)
22
32
  concurrent-ruby (~> 1.0)
23
- json_pure (2.6.3)
24
- minitest (5.19.0)
33
+ json_pure (2.7.1)
34
+ minitest (5.22.0)
25
35
  mocha (2.1.0)
26
36
  ruby2_keywords (>= 0.0.5)
27
- psych (5.1.0)
37
+ mutex_m (0.2.0)
38
+ psych (5.1.2)
28
39
  stringio
29
- rake (13.0.6)
30
- rdoc (6.5.0)
40
+ rake (13.1.0)
41
+ rdoc (6.6.2)
31
42
  psych (>= 4.0.0)
32
43
  ruby2_keywords (0.0.5)
33
44
  rubyforge (2.0.4)
34
45
  json_pure (>= 1.1.7)
35
- stringio (3.0.8)
46
+ stringio (3.1.0)
36
47
  tzinfo (2.0.6)
37
48
  concurrent-ruby (~> 1.0)
49
+ webrick (1.8.1)
38
50
 
39
51
  PLATFORMS
40
52
  ruby
@@ -45,6 +57,7 @@ DEPENDENCIES
45
57
  mocha
46
58
  rake
47
59
  vinted-memcached!
60
+ webrick
48
61
 
49
62
  BUNDLED WITH
50
63
  2.1.4
data/ext/rlibmemcached.i CHANGED
@@ -3,6 +3,7 @@
3
3
  #include <libmemcached/visibility.h>
4
4
  #include <libmemcached/memcached.h>
5
5
  #include <libmemcached/memcached_exist.h>
6
+ #include <ruby/version.h>
6
7
  %}
7
8
 
8
9
  %warnfilter(SWIGWARN_RUBY_WRONG_NAME) memcached_st;
@@ -161,7 +162,12 @@ VALUE rb_str_new_by_ref(char *ptr, long len)
161
162
  #ifdef RSTRING_NOEMBED
162
163
  /* Ruby 1.9 */
163
164
  str->as.heap.ptr = ptr;
164
- str->as.heap.len = len;
165
+ #if RUBY_API_VERSION_MAJOR < 3 || (RUBY_API_VERSION_MAJOR == 3 && RUBY_API_VERSION_MINOR < 3)
166
+ str->as.heap.len = len;
167
+ #else
168
+ // Ruby 3.3.0 moved the len field out of heap into toplevel RString
169
+ str->len = len;
170
+ #endif
165
171
  str->as.heap.aux.capa = len + 1;
166
172
  // Set STR_NOEMBED
167
173
  FL_SET(str, FL_USER1);