memcached 1.2.3 → 1.2.4.pre
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +2 -0
- data/Manifest +0 -1
- data/Rakefile +1 -1
- data/ext/extconf.rb +14 -9
- data/ext/rlibmemcached_wrap.c +1 -1
- data/memcached.gemspec +3 -3
- metadata +6 -6
- metadata.gz.sig +1 -3
- data/lib/rlibmemcached.bundle.dSYM/Contents/Info.plist +0 -20
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG
CHANGED
data/Manifest
CHANGED
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ Echoe.new("memcached") do |p|
|
|
5
5
|
p.project = "fauna"
|
6
6
|
p.summary = "An interface to the libmemcached C client."
|
7
7
|
p.rdoc_pattern = /README|TODO|LICENSE|CHANGELOG|BENCH|COMPAT|exceptions|experimental.rb|behaviors|rails.rb|memcached.rb/
|
8
|
-
p.clean_pattern += ["ext/lib", "ext/include", "ext/share", "ext/libmemcached-?.??", "ext/bin", "ext/conftest.dSYM"]
|
8
|
+
p.clean_pattern += ["ext/lib", "ext/include", "ext/share", "ext/libmemcached-?.??", "ext/bin", "ext/conftest.dSYM", "lib/rlibmemcached.bundle.dSYM"]
|
9
9
|
end
|
10
10
|
|
11
11
|
task :exceptions do
|
data/ext/extconf.rb
CHANGED
@@ -11,9 +11,13 @@ $CFLAGS = "#{RbConfig::CONFIG['CFLAGS']} #{$CFLAGS}".gsub("$(cflags)", "").gsub(
|
|
11
11
|
$CFLAGS << " -std=gnu99" if SOLARIS_32
|
12
12
|
$EXTRA_CONF = " --disable-64bit" if SOLARIS_32
|
13
13
|
$LDFLAGS = "#{RbConfig::CONFIG['LDFLAGS']} #{$LDFLAGS} -L#{RbConfig::CONFIG['libdir']}".gsub("$(ldflags)", "").gsub("-fno-common", "")
|
14
|
-
$CXXFLAGS = " -std=gnu++98
|
14
|
+
$CXXFLAGS = " -std=gnu++98"
|
15
15
|
$CPPFLAGS = $ARCH_FLAG = $DLDFLAGS = ""
|
16
16
|
|
17
|
+
# JRuby's default configure options can't build libmemcached properly
|
18
|
+
LIBM_CFLAGS = defined?(JRUBY_VERSION) ? "-fPIC -g -O2" : $CFLAGS
|
19
|
+
LIBM_LDFLAGS = defined?(JRUBY_VERSION) ? "-fPIC -lsasl2 -lm" : $LDFLAGS
|
20
|
+
|
17
21
|
GMAKE_CMD = Config::CONFIG['host_os'].downcase =~ /bsd|solaris/ ? "gmake" : "make"
|
18
22
|
TAR_CMD = SOLARIS_32 ? 'gtar' : 'tar'
|
19
23
|
PATCH_CMD = SOLARIS_32 ? 'gpatch' : 'patch'
|
@@ -65,17 +69,17 @@ def check_libmemcached
|
|
65
69
|
patch("libmemcached-9", "don't clone server_st by reference server_by_key()")
|
66
70
|
|
67
71
|
run("touch -r #{BUNDLE_PATH}/m4/visibility.m4 #{BUNDLE_PATH}/configure.ac #{BUNDLE_PATH}/m4/pandora_have_sasl.m4", "Touching aclocal.m4 in libmemcached.")
|
68
|
-
end
|
69
72
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
+
Dir.chdir(BUNDLE_PATH) do
|
74
|
+
run("env CFLAGS='-fPIC #{LIBM_CFLAGS}' LDFLAGS='-fPIC #{LIBM_LDFLAGS}' ./configure --prefix=#{HERE} --without-memcached --disable-shared --disable-utils --disable-dependency-tracking #{$EXTRA_CONF} 2>&1", "Configuring libmemcached.")
|
75
|
+
end
|
73
76
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
+
Dir.chdir(BUNDLE_PATH) do
|
78
|
+
#Running the make command in another script invoked by another shell command solves the "cd ." issue on FreeBSD 6+
|
79
|
+
run("GMAKE_CMD='#{GMAKE_CMD}' CXXFLAGS='#{$CXXFLAGS} #{LIBM_CFLAGS}' SOURCE_DIR='#{BUNDLE_PATH}' HERE='#{HERE}' ruby ../extconf-make.rb", "Making libmemcached.")
|
80
|
+
end
|
77
81
|
end
|
78
|
-
|
82
|
+
end
|
79
83
|
|
80
84
|
# Absolutely prevent the linker from picking up any other libmemcached
|
81
85
|
Dir.chdir("#{HERE}/lib") do
|
@@ -92,6 +96,7 @@ if ENV['SWIG']
|
|
92
96
|
run("swig #{$defines} #{$includes} -ruby -autorename rlibmemcached.i", "Running SWIG.")
|
93
97
|
run("sed -i '' 's/STR2CSTR/StringValuePtr/' rlibmemcached_wrap.c", "Patching SWIG output for Ruby 1.9.")
|
94
98
|
run("sed -i '' 's/\"swig_runtime_data\"/\"SwigRuntimeData\"/' rlibmemcached_wrap.c", "Patching SWIG output for Ruby 1.9.")
|
99
|
+
run("sed -i '' 's/#ifndef RUBY_INIT_STACK/#ifdef __NEVER__/g' rlibmemcached_wrap.c", "Patching SWIG output for JRuby.")
|
95
100
|
end
|
96
101
|
|
97
102
|
$CFLAGS << " -Os"
|
data/ext/rlibmemcached_wrap.c
CHANGED
@@ -1324,7 +1324,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
|
|
1324
1324
|
}
|
1325
1325
|
|
1326
1326
|
/* For ruby1.8.4 and earlier. */
|
1327
|
-
#
|
1327
|
+
#ifdef __NEVER__
|
1328
1328
|
RUBY_EXTERN void Init_stack(VALUE* addr);
|
1329
1329
|
# define RUBY_INIT_STACK \
|
1330
1330
|
VALUE variable_in_this_stack_frame; \
|
data/memcached.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{memcached}
|
5
|
-
s.version = "1.2.
|
5
|
+
s.version = "1.2.4.pre"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Evan Weaver"]
|
9
9
|
s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
|
10
|
-
s.date = %q{2011-03-
|
10
|
+
s.date = %q{2011-03-28}
|
11
11
|
s.description = %q{An interface to the libmemcached C client.}
|
12
12
|
s.email = %q{}
|
13
13
|
s.extensions = ["ext/extconf.rb"]
|
14
14
|
s.extra_rdoc_files = ["BENCHMARKS", "CHANGELOG", "LICENSE", "README", "TODO", "lib/memcached.rb", "lib/memcached/behaviors.rb", "lib/memcached/exceptions.rb", "lib/memcached/experimental.rb", "lib/memcached/memcached.rb", "lib/memcached/rails.rb"]
|
15
|
-
s.files = ["BENCHMARKS", "BUG", "CHANGELOG", "LICENSE", "Manifest", "README", "Rakefile", "TODO", "ext/extconf-make.rb", "ext/extconf.rb", "ext/libmemcached-0.32.tar.gz", "ext/libmemcached-1.patch", "ext/libmemcached-2.patch", "ext/libmemcached-3.patch", "ext/libmemcached-4.patch", "ext/libmemcached-5.patch", "ext/libmemcached-6.patch", "ext/libmemcached-7.patch", "ext/libmemcached-8.patch", "ext/libmemcached-9.patch", "ext/rlibmemcached.i", "ext/rlibmemcached_wrap.c", "ext/sasl.patch", "lib/memcached.rb", "lib/memcached/auth.rb", "lib/memcached/behaviors.rb", "lib/memcached/exceptions.rb", "lib/memcached/experimental.rb", "lib/memcached/memcached.rb", "lib/memcached/rails.rb", "
|
15
|
+
s.files = ["BENCHMARKS", "BUG", "CHANGELOG", "LICENSE", "Manifest", "README", "Rakefile", "TODO", "ext/extconf-make.rb", "ext/extconf.rb", "ext/libmemcached-0.32.tar.gz", "ext/libmemcached-1.patch", "ext/libmemcached-2.patch", "ext/libmemcached-3.patch", "ext/libmemcached-4.patch", "ext/libmemcached-5.patch", "ext/libmemcached-6.patch", "ext/libmemcached-7.patch", "ext/libmemcached-8.patch", "ext/libmemcached-9.patch", "ext/rlibmemcached.i", "ext/rlibmemcached_wrap.c", "ext/sasl.patch", "lib/memcached.rb", "lib/memcached/auth.rb", "lib/memcached/behaviors.rb", "lib/memcached/exceptions.rb", "lib/memcached/experimental.rb", "lib/memcached/memcached.rb", "lib/memcached/rails.rb", "test/profile/benchmark.rb", "test/profile/c_profiler.rb", "test/profile/exercise.rb", "test/profile/rb_profiler.rb", "test/profile/valgrind.rb", "test/setup.rb", "test/teardown.rb", "test/test_helper.rb", "test/unit/binding_test.rb", "test/unit/memcached_experimental_test.rb", "test/unit/memcached_test.rb", "test/unit/rails_test.rb", "memcached.gemspec"]
|
16
16
|
s.homepage = %q{http://fauna.github.com/fauna/memcached/}
|
17
17
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Memcached", "--main", "README"]
|
18
18
|
s.require_paths = ["lib", "ext"]
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memcached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 961915988
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
|
9
|
+
- 4
|
10
|
+
- pre
|
11
|
+
version: 1.2.4.pre
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Evan Weaver
|
@@ -36,7 +37,7 @@ cert_chain:
|
|
36
37
|
yZ0=
|
37
38
|
-----END CERTIFICATE-----
|
38
39
|
|
39
|
-
date: 2011-03-
|
40
|
+
date: 2011-03-28 00:00:00 -07:00
|
40
41
|
default_executable:
|
41
42
|
dependencies: []
|
42
43
|
|
@@ -89,7 +90,6 @@ files:
|
|
89
90
|
- lib/memcached/experimental.rb
|
90
91
|
- lib/memcached/memcached.rb
|
91
92
|
- lib/memcached/rails.rb
|
92
|
-
- lib/rlibmemcached.bundle.dSYM/Contents/Info.plist
|
93
93
|
- test/profile/benchmark.rb
|
94
94
|
- test/profile/c_profiler.rb
|
95
95
|
- test/profile/exercise.rb
|
metadata.gz.sig
CHANGED
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>CFBundleDevelopmentRegion</key>
|
6
|
-
<string>English</string>
|
7
|
-
<key>CFBundleIdentifier</key>
|
8
|
-
<string>com.apple.xcode.dsym.rlibmemcached.bundle</string>
|
9
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
10
|
-
<string>6.0</string>
|
11
|
-
<key>CFBundlePackageType</key>
|
12
|
-
<string>dSYM</string>
|
13
|
-
<key>CFBundleSignature</key>
|
14
|
-
<string>????</string>
|
15
|
-
<key>CFBundleShortVersionString</key>
|
16
|
-
<string>1.0</string>
|
17
|
-
<key>CFBundleVersion</key>
|
18
|
-
<string>1</string>
|
19
|
-
</dict>
|
20
|
-
</plist>
|