vinted-memcached 1.8.0 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +6 -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/version.rb +3 -0
- data/lib/memcached.rb +1 -1
- data/memcached.gemspec +0 -0
- metadata +23 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ebb503903c65babc319191cf4ffb0798535a54c3a95fe72426a51aac514a4654
|
4
|
+
data.tar.gz: 4904b11d45beb58f278e01a6fb4c29a8dc11e4a91123df06111d7cf21d2dd733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4422cb627a78cfbf2810c4b18f2389887c59b99e6bd72d97a5819b6a4d435bc81e7130f32b8ab6509a6b7436fde1e93a90ff1e3ad3f7c440557d6c66518a3a58
|
7
|
+
data.tar.gz: 05abc7595a174121345252f4828f9999813122d20d1c3ef3bc96f3fa975460b5e82dd7a555863ba17737fab65d3b417d7d0e7726c1244bc6ad434e9526b44581
|
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.3)
|
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.3
|
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.
|
@@ -86,6 +86,7 @@ extra_rdoc_files:
|
|
86
86
|
- lib/memcached/experimental.rb
|
87
87
|
- lib/memcached/memcached.rb
|
88
88
|
- lib/memcached/rails.rb
|
89
|
+
- lib/memcached/version.rb
|
89
90
|
files:
|
90
91
|
- BENCHMARKS
|
91
92
|
- CHANGELOG
|
@@ -282,6 +283,7 @@ files:
|
|
282
283
|
- lib/memcached/marshal_codec.rb
|
283
284
|
- lib/memcached/memcached.rb
|
284
285
|
- lib/memcached/rails.rb
|
286
|
+
- lib/memcached/version.rb
|
285
287
|
- memcached.gemspec
|
286
288
|
- test/profile/benchmark.rb
|
287
289
|
- test/profile/c_profiler.rb
|
@@ -301,36 +303,35 @@ licenses:
|
|
301
303
|
metadata: {}
|
302
304
|
post_install_message:
|
303
305
|
rdoc_options:
|
304
|
-
- --line-numbers
|
305
|
-
- --inline-source
|
306
|
-
- --title
|
306
|
+
- "--line-numbers"
|
307
|
+
- "--inline-source"
|
308
|
+
- "--title"
|
307
309
|
- Memcached
|
308
|
-
- --main
|
310
|
+
- "--main"
|
309
311
|
- README.rdoc
|
310
|
-
- --exclude=ext/bin
|
311
|
-
- --exclude=ext/libmemcached-.*/(clients|tests)
|
312
|
+
- "--exclude=ext/bin"
|
313
|
+
- "--exclude=ext/libmemcached-.*/(clients|tests)"
|
312
314
|
require_paths:
|
313
315
|
- lib
|
314
316
|
- ext
|
315
317
|
required_ruby_version: !ruby/object:Gem::Requirement
|
316
318
|
requirements:
|
317
|
-
- -
|
319
|
+
- - ">="
|
318
320
|
- !ruby/object:Gem::Version
|
319
321
|
version: '0'
|
320
322
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
321
323
|
requirements:
|
322
|
-
- -
|
324
|
+
- - ">="
|
323
325
|
- !ruby/object:Gem::Version
|
324
326
|
version: '1.2'
|
325
327
|
requirements: []
|
326
|
-
|
327
|
-
rubygems_version: 2.6.0
|
328
|
+
rubygems_version: 3.1.4
|
328
329
|
signing_key:
|
329
330
|
specification_version: 4
|
330
331
|
summary: An interface to the libmemcached C client.
|
331
332
|
test_files:
|
332
|
-
- test/test_helper.rb
|
333
|
-
- test/unit/binding_test.rb
|
334
333
|
- test/unit/memcached_experimental_test.rb
|
335
334
|
- test/unit/memcached_test.rb
|
336
335
|
- test/unit/rails_test.rb
|
336
|
+
- test/unit/binding_test.rb
|
337
|
+
- test/test_helper.rb
|