vinted-memcached 1.8.0 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +4 -0
- data/Gemfile +0 -7
- data/Gemfile.lock +27 -22
- data/Manifest +1 -1
- data/Rakefile +5 -2
- data/ext/libmemcached-0.32/libmemcached/memcached_purge.c +1 -1
- data/lib/memcached.rb +1 -1
- data/memcached.gemspec +0 -0
- metadata +21 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 13cde54f6e1847f98268057c739d2f62164027c552a1fb98293ba938639d9e4e
|
4
|
+
data.tar.gz: 3515a98e83b269f71c65c5635e2f4b1640b5febd78a5ea6a166b19338b53808a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9d8430ccaca6c524601996cae6ce9226ef0ccf071237153645a766586b391aabd22e86ca8ed410bfee8d8a4c700b11e26af3d799689c919dd5af15a6d01bfc3
|
7
|
+
data.tar.gz: f733be908ea0b0a2c147d24931424c8c20314fb0ab7105bfc87c2b2fd7d97791842315678de02c40c911662b32e509727b4ee1ecc435fab3f6588c27db720b01
|
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,45 +1,50 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
memcached (1.8.
|
4
|
+
vinted-memcached (1.8.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
activesupport (
|
10
|
-
|
11
|
-
|
9
|
+
activesupport (7.0.7.2)
|
10
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
11
|
+
i18n (>= 1.6, < 2)
|
12
|
+
minitest (>= 5.1)
|
13
|
+
tzinfo (~> 2.0)
|
12
14
|
allison (2.0.3)
|
13
|
-
|
14
|
-
echoe (4.6.
|
15
|
+
concurrent-ruby (1.2.2)
|
16
|
+
echoe (4.6.6)
|
15
17
|
allison (>= 2.0.3)
|
16
18
|
rake (>= 0.9.2)
|
17
19
|
rdoc (>= 2.5.11)
|
18
20
|
rubyforge (>= 2.0.4)
|
19
|
-
i18n (
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
rake (0.
|
28
|
-
rdoc (
|
29
|
-
|
21
|
+
i18n (1.14.1)
|
22
|
+
concurrent-ruby (~> 1.0)
|
23
|
+
json_pure (2.6.3)
|
24
|
+
minitest (5.19.0)
|
25
|
+
mocha (2.1.0)
|
26
|
+
ruby2_keywords (>= 0.0.5)
|
27
|
+
psych (5.1.0)
|
28
|
+
stringio
|
29
|
+
rake (13.0.6)
|
30
|
+
rdoc (6.5.0)
|
31
|
+
psych (>= 4.0.0)
|
32
|
+
ruby2_keywords (0.0.5)
|
30
33
|
rubyforge (2.0.4)
|
31
34
|
json_pure (>= 1.1.7)
|
35
|
+
stringio (3.0.8)
|
36
|
+
tzinfo (2.0.6)
|
37
|
+
concurrent-ruby (~> 1.0)
|
32
38
|
|
33
39
|
PLATFORMS
|
34
40
|
ruby
|
35
41
|
|
36
42
|
DEPENDENCIES
|
37
43
|
activesupport
|
38
|
-
dalli (~> 2.6.4)
|
39
44
|
echoe (>= 4.6.5)
|
40
|
-
memcache (= 1.4.1)
|
41
|
-
memcache-client (~> 1.8.5)
|
42
|
-
memcached!
|
43
45
|
mocha
|
44
46
|
rake
|
45
|
-
|
47
|
+
vinted-memcached!
|
48
|
+
|
49
|
+
BUNDLED WITH
|
50
|
+
2.1.4
|
data/Manifest
CHANGED
@@ -193,8 +193,8 @@ lib/memcached/experimental.rb
|
|
193
193
|
lib/memcached/marshal_codec.rb
|
194
194
|
lib/memcached/memcached.rb
|
195
195
|
lib/memcached/rails.rb
|
196
|
+
lib/memcached/version.rb
|
196
197
|
memcached.gemspec
|
197
|
-
memcached.pem
|
198
198
|
test/profile/benchmark.rb
|
199
199
|
test/profile/c_profiler.rb
|
200
200
|
test/profile/exercise.rb
|
data/Rakefile
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
require 'echoe'
|
2
2
|
|
3
|
-
# ENV["GEM_CERTIFICATE_CHAIN"]="memcached.pem"
|
4
|
-
|
5
3
|
Echoe.new("memcached") do |p|
|
6
4
|
p.author = "Evan Weaver"
|
7
5
|
p.project = "evan"
|
@@ -132,3 +130,8 @@ def run(cmd, reason)
|
|
132
130
|
puts cmd
|
133
131
|
raise "'#{cmd}' failed" unless system(cmd)
|
134
132
|
end
|
133
|
+
|
134
|
+
task :version do |t|
|
135
|
+
require 'memcached/version'
|
136
|
+
puts Memcached::VERSION
|
137
|
+
end
|
@@ -10,7 +10,7 @@ memcached_return memcached_purge(memcached_server_st *ptr)
|
|
10
10
|
if (ptr->root->purging || /* already purging */
|
11
11
|
(memcached_server_response_count(ptr) < ptr->root->io_msg_watermark &&
|
12
12
|
ptr->io_bytes_sent < ptr->root->io_bytes_watermark) ||
|
13
|
-
(ptr->io_bytes_sent
|
13
|
+
(ptr->io_bytes_sent >= ptr->root->io_bytes_watermark &&
|
14
14
|
memcached_server_response_count(ptr) < 2))
|
15
15
|
{
|
16
16
|
return MEMCACHED_SUCCESS;
|
data/lib/memcached.rb
CHANGED
@@ -21,7 +21,6 @@ require 'rlibmemcached'
|
|
21
21
|
class Memcached
|
22
22
|
Lib = Rlibmemcached
|
23
23
|
raise "libmemcached 0.32 required; you somehow linked to #{Lib.memcached_lib_version}." unless "0.32" == Lib.memcached_lib_version
|
24
|
-
VERSION = File.read("#{File.dirname(__FILE__)}/../CHANGELOG")[/v([\d\.]+)\./, 1]
|
25
24
|
end
|
26
25
|
|
27
26
|
require 'memcached/exceptions'
|
@@ -31,3 +30,4 @@ require 'memcached/marshal_codec'
|
|
31
30
|
require 'memcached/memcached'
|
32
31
|
require 'memcached/rails'
|
33
32
|
require 'memcached/experimental'
|
33
|
+
require 'memcached/version'
|
data/memcached.gemspec
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vinted-memcached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Weaver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mocha
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: echoe
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activesupport
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
description: An interface to the libmemcached C client.
|
@@ -301,36 +301,35 @@ licenses:
|
|
301
301
|
metadata: {}
|
302
302
|
post_install_message:
|
303
303
|
rdoc_options:
|
304
|
-
- --line-numbers
|
305
|
-
- --inline-source
|
306
|
-
- --title
|
304
|
+
- "--line-numbers"
|
305
|
+
- "--inline-source"
|
306
|
+
- "--title"
|
307
307
|
- Memcached
|
308
|
-
- --main
|
308
|
+
- "--main"
|
309
309
|
- README.rdoc
|
310
|
-
- --exclude=ext/bin
|
311
|
-
- --exclude=ext/libmemcached-.*/(clients|tests)
|
310
|
+
- "--exclude=ext/bin"
|
311
|
+
- "--exclude=ext/libmemcached-.*/(clients|tests)"
|
312
312
|
require_paths:
|
313
313
|
- lib
|
314
314
|
- ext
|
315
315
|
required_ruby_version: !ruby/object:Gem::Requirement
|
316
316
|
requirements:
|
317
|
-
- -
|
317
|
+
- - ">="
|
318
318
|
- !ruby/object:Gem::Version
|
319
319
|
version: '0'
|
320
320
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
321
321
|
requirements:
|
322
|
-
- -
|
322
|
+
- - ">="
|
323
323
|
- !ruby/object:Gem::Version
|
324
324
|
version: '1.2'
|
325
325
|
requirements: []
|
326
|
-
|
327
|
-
rubygems_version: 2.6.0
|
326
|
+
rubygems_version: 3.1.4
|
328
327
|
signing_key:
|
329
328
|
specification_version: 4
|
330
329
|
summary: An interface to the libmemcached C client.
|
331
330
|
test_files:
|
332
|
-
- test/test_helper.rb
|
333
|
-
- test/unit/binding_test.rb
|
334
331
|
- test/unit/memcached_experimental_test.rb
|
335
332
|
- test/unit/memcached_test.rb
|
336
333
|
- test/unit/rails_test.rb
|
334
|
+
- test/unit/binding_test.rb
|
335
|
+
- test/test_helper.rb
|