memcache 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/ext/extconf.rb +8 -10
- data/ext/libmemcached-1.0.16.tar.gz +0 -0
- data/lib/memcache/server.rb +2 -0
- data/test/memcache_native_server_test.rb +1 -1
- metadata +4 -4
- data/ext/libmemcached-0.51.tar.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64e93a0909f6ab28e666762ba98e0da2e816e0ed
|
4
|
+
data.tar.gz: f2a3ebfe903b525c2589769d8e64d82e6655bdd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9bffbfcb0542127a9d7d068460266ccf2d680f40a0bab5eb41a8109010ca522eb1bda82632d219242c7e73de5feb982117e7fca7ccd27ab545669f46c69716c
|
7
|
+
data.tar.gz: fe8b4cceaf29f9b09b52a15ff6c6419cc0cbcd60c8c3fe9a87a80b841769a7821b956a29bf94e4efd928961bfbb921d1f2baf1e80be91793c1b475324002936d
|
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ end
|
|
10
10
|
task :test => 'lib/memcache/native_server.o'
|
11
11
|
|
12
12
|
file 'lib/memcache/native_server.o' do
|
13
|
-
`cd ext && ruby extconf.rb && make && cp native_server.bundle native_server.o ../lib/memcache/`
|
13
|
+
`cd ext && ruby extconf.rb && make && cp native_server.bundle native_server.o native_server.so ../lib/memcache/`
|
14
14
|
end
|
15
15
|
|
16
16
|
task :default => :test
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
data/ext/extconf.rb
CHANGED
@@ -8,13 +8,13 @@ HERE = File.expand_path(File.dirname(__FILE__))
|
|
8
8
|
BUNDLE = Dir.glob("libmemcached-*.tar.gz").first
|
9
9
|
BUNDLE_PATH = BUNDLE.sub(".tar.gz", "")
|
10
10
|
|
11
|
-
$CXXFLAGS = " -std=gnu++98"
|
11
|
+
$CXXFLAGS = " -std=gnu++98 -fPIC"
|
12
12
|
|
13
13
|
if !ENV["EXTERNAL_LIB"]
|
14
14
|
$includes = " -I#{HERE}/include"
|
15
15
|
$libraries = " -L#{HERE}/lib"
|
16
|
-
$CFLAGS = "#{$includes} #{$libraries} #{
|
17
|
-
$LDFLAGS = "#{$libraries} #{
|
16
|
+
$CFLAGS = "#{$includes} #{$libraries} #{ENV['CFLAGS']}"
|
17
|
+
$LDFLAGS = "#{$libraries} #{ENV['LDFLAGS']}"
|
18
18
|
$LIBPATH = ["#{HERE}/lib"]
|
19
19
|
$DEFLIBPATH = []
|
20
20
|
|
@@ -27,13 +27,13 @@ if !ENV["EXTERNAL_LIB"]
|
|
27
27
|
raise "'#{cmd}' failed" unless system(cmd)
|
28
28
|
|
29
29
|
Dir.chdir(BUNDLE_PATH) do
|
30
|
-
puts(cmd = "
|
30
|
+
puts(cmd = "./configure --prefix=#{HERE} --without-memcached --disable-dependency-tracking #{ARGV.join(' ')} 2>&1")
|
31
31
|
raise "'#{cmd}' failed" unless system(cmd)
|
32
32
|
|
33
|
-
puts(cmd = "make CXXFLAGS='#{$CXXFLAGS}'
|
33
|
+
puts(cmd = "make CXXFLAGS='#{$CXXFLAGS}' 2>&1")
|
34
34
|
raise "'#{cmd}' failed" unless system(cmd)
|
35
35
|
|
36
|
-
puts(cmd = "make install
|
36
|
+
puts(cmd = "make install 2>&1")
|
37
37
|
raise "'#{cmd}' failed" unless system(cmd)
|
38
38
|
end
|
39
39
|
|
@@ -46,13 +46,11 @@ if !ENV["EXTERNAL_LIB"]
|
|
46
46
|
# fix linking issue under solaris
|
47
47
|
# https://github.com/ninjudd/memcache/issues/5
|
48
48
|
Dir.chdir("#{HERE}/lib/amd64") do
|
49
|
-
system('cp -f libmemcached.
|
50
|
-
system('cp -f libmemcached.la ../libmemcached_gem.la')
|
49
|
+
system('cp -f libmemcached.so ../libmemcached_gem.so')
|
51
50
|
end
|
52
51
|
else
|
53
52
|
Dir.chdir("#{HERE}/lib") do
|
54
|
-
system('cp -f libmemcached.
|
55
|
-
system('cp -f libmemcached.la libmemcached_gem.la')
|
53
|
+
system('cp -f libmemcached.so libmemcached_gem.so')
|
56
54
|
end
|
57
55
|
end
|
58
56
|
|
Binary file
|
data/lib/memcache/server.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memcache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Balthrop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -100,7 +100,7 @@ files:
|
|
100
100
|
- bench/benchmark.rb
|
101
101
|
- ext/LICENSE_AFL3
|
102
102
|
- ext/extconf.rb
|
103
|
-
- ext/libmemcached-0.
|
103
|
+
- ext/libmemcached-1.0.16.tar.gz
|
104
104
|
- ext/native_server.c
|
105
105
|
- lib/memcache.rb
|
106
106
|
- lib/memcache/base.rb
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.0.
|
145
|
+
rubygems_version: 2.0.5
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Ruby client for memcached supporting advanced protocol features and pluggable
|
Binary file
|