couchbase-memcached 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v1.2.9. Fix test_all task to properly run tests on both platforms. Fix build for ruby 1.8 (enterprise edition)
2
+
1
3
  v1.2.8. Upgrade to libmemcached 0.50. Implement TOUCH command.
2
4
 
3
5
  v1.2.7. Fix prefix keys on binary (multi)gets. Remove extraneous space from CAS requests.
data/Rakefile CHANGED
@@ -1,5 +1,4 @@
1
- require 'psych'
2
- gem 'echoe', '>= 4.5.6'
1
+ gem 'echoe', '~> 4.5.6'
3
2
  require 'echoe'
4
3
 
5
4
  Echoe.new("couchbase-memcached") do |p|
@@ -54,11 +53,11 @@ task :exceptions do
54
53
  end
55
54
 
56
55
  task :test_all do
57
- if !system("rvm use ree-1.8.7-2010.02 && rake clean && rake")
56
+ if !system("rvm ree rake clean test")
58
57
  puts "REE test failed"
59
58
  exit(1)
60
59
  end
61
- if !system("rvm use ruby-1.9.2 && rake clean && rake")
60
+ if !system("rvm 1.9.2 rake clean test")
62
61
  puts "1.9 test failed"
63
62
  exit(1)
64
63
  end
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{couchbase-memcached}
5
- s.version = "1.2.8"
5
+ s.version = "1.2.9"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Evan Weaver}]
9
9
  s.cert_chain = [%q{/home/avsej/.gem/keys/gem-public_cert.pem}]
10
- s.date = %q{2011-07-06}
10
+ s.date = %q{2011-07-07}
11
11
  s.description = %q{An interface to the libmemcached C client.}
12
12
  s.email = %q{}
13
13
  s.extensions = [%q{ext/extconf.rb}]
@@ -13,7 +13,7 @@ $CFLAGS << " -I/usr/local/include" if BSD
13
13
  $EXTRA_CONF = " --disable-64bit" if SOLARIS_32
14
14
 
15
15
  $LDFLAGS = "#{RbConfig::CONFIG['LDFLAGS']} #{$LDFLAGS} -L#{RbConfig::CONFIG['libdir']}".gsub("$(ldflags)", "").gsub("-fno-common", "")
16
- $CXXFLAGS = " -std=gnu++98"
16
+ $CXXFLAGS = "-fPIC -std=gnu++98"
17
17
  $CPPFLAGS = $ARCH_FLAG = $DLDFLAGS = ""
18
18
 
19
19
  # JRuby's default configure options can't build libmemcached properly
@@ -51,7 +51,7 @@ def check_libmemcached
51
51
  run("touch -r #{BUNDLE_PATH}/configure.ac #{BUNDLE_PATH}/m4/pandora_have_sasl.m4", "Touching aclocal.m4 in libmemcached.")
52
52
 
53
53
  Dir.chdir(BUNDLE_PATH) do
54
- run("env CFLAGS='-fPIC #{LIBM_CFLAGS}' LDFLAGS='-fPIC #{LIBM_LDFLAGS}' ./configure --prefix=#{HERE} --without-memcached --disable-shared --disable-dependency-tracking #{$EXTRA_CONF} 2>&1", "Configuring libmemcached.")
54
+ run("env CFLAGS='-fPIC #{LIBM_CFLAGS}' CXXFLAGS='#{$CXXFLAGS} #{LIBM_CFLAGS}' LDFLAGS='-fPIC #{LIBM_LDFLAGS}' ./configure --prefix=#{HERE} --without-memcached --disable-shared --disable-dependency-tracking #{$EXTRA_CONF} 2>&1", "Configuring libmemcached.")
55
55
  end
56
56
 
57
57
  Dir.chdir(BUNDLE_PATH) do
@@ -15206,13 +15206,13 @@ _wrap_memcached_touch(int argc, VALUE *argv, VALUE self) {
15206
15206
  int ecode4 = 0 ;
15207
15207
  memcached_return_t result;
15208
15208
  VALUE vresult = Qnil;
15209
-
15209
+
15210
15210
  if ((argc < 3) || (argc > 3)) {
15211
15211
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
15212
15212
  }
15213
15213
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_memcached_st, 0 | 0 );
15214
15214
  if (!SWIG_IsOK(res1)) {
15215
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "memcached_st *","memcached_touch", 1, argv[0] ));
15215
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "memcached_st *","memcached_touch", 1, argv[0] ));
15216
15216
  }
15217
15217
  arg1 = (memcached_st *)(argp1);
15218
15218
  {
@@ -15222,7 +15222,7 @@ _wrap_memcached_touch(int argc, VALUE *argv, VALUE self) {
15222
15222
  ecode4 = SWIG_AsVal_unsigned_SS_long(argv[2], &val4);
15223
15223
  if (!SWIG_IsOK(ecode4)) {
15224
15224
  SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "time_t","memcached_touch", 4, argv[2] ));
15225
- }
15225
+ }
15226
15226
  arg4 = (time_t)(val4);
15227
15227
  result = (memcached_return_t)memcached_touch(arg1,(char const *)arg2,arg3,arg4);
15228
15228
  vresult = SWIG_From_int((int)(result));
@@ -15251,13 +15251,13 @@ _wrap_memcached_touch_by_key(int argc, VALUE *argv, VALUE self) {
15251
15251
  int ecode6 = 0 ;
15252
15252
  memcached_return_t result;
15253
15253
  VALUE vresult = Qnil;
15254
-
15254
+
15255
15255
  if ((argc < 5) || (argc > 5)) {
15256
15256
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
15257
15257
  }
15258
15258
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_memcached_st, 0 | 0 );
15259
15259
  if (!SWIG_IsOK(res1)) {
15260
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "memcached_st *","memcached_touch_by_key", 1, argv[0] ));
15260
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "memcached_st *","memcached_touch_by_key", 1, argv[0] ));
15261
15261
  }
15262
15262
  arg1 = (memcached_st *)(argp1);
15263
15263
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
@@ -15268,7 +15268,7 @@ _wrap_memcached_touch_by_key(int argc, VALUE *argv, VALUE self) {
15268
15268
  ecode3 = SWIG_AsVal_size_t(argv[2], &val3);
15269
15269
  if (!SWIG_IsOK(ecode3)) {
15270
15270
  SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "size_t","memcached_touch_by_key", 3, argv[2] ));
15271
- }
15271
+ }
15272
15272
  arg3 = (size_t)(val3);
15273
15273
  {
15274
15274
  arg4 = StringValuePtr(argv[3]);
@@ -15277,7 +15277,7 @@ _wrap_memcached_touch_by_key(int argc, VALUE *argv, VALUE self) {
15277
15277
  ecode6 = SWIG_AsVal_unsigned_SS_long(argv[4], &val6);
15278
15278
  if (!SWIG_IsOK(ecode6)) {
15279
15279
  SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "time_t","memcached_touch_by_key", 6, argv[4] ));
15280
- }
15280
+ }
15281
15281
  arg6 = (time_t)(val6);
15282
15282
  result = (memcached_return_t)memcached_touch_by_key(arg1,(char const *)arg2,arg3,(char const *)arg4,arg5,arg6);
15283
15283
  vresult = SWIG_From_int((int)(result));
metadata CHANGED
@@ -1,63 +1,51 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: couchbase-memcached
3
- version: !ruby/object:Gem::Version
4
- version: 1.2.8
3
+ version: !ruby/object:Gem::Version
4
+ hash: 13
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 9
10
+ version: 1.2.9
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Evan Weaver
9
14
  autorequire:
10
15
  bindir: bin
11
- cert_chain:
12
- - ! '-----BEGIN CERTIFICATE-----
13
-
16
+ cert_chain:
17
+ - |
18
+ -----BEGIN CERTIFICATE-----
14
19
  MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRcwFQYDVQQDDA5zZXJn
15
-
16
20
  ZXkuYXZzZXlldjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQB
17
-
18
21
  GRYDY29tMB4XDTExMDcwNjExNTcyOFoXDTEyMDcwNTExNTcyOFowRTEXMBUGA1UE
19
-
20
22
  AwwOc2VyZ2V5LmF2c2V5ZXYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmS
21
-
22
23
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALoc
23
-
24
24
  QacD5O88aMGijLTFVYkNiuoC5+UvbGCl/rTE+Un9/bE/0aVn/LOSUVO2ejJSDHam
25
-
26
25
  GmOxnBwf6fFqJxLt3cD1tvYJaN3DNZIu3zKPTNn/zomEXmuTBTL9qjOEenmcnb/f
27
-
28
26
  z2XlgG1MlkodFdiNxGfStW8c2oM2LipQRtMK3ya78geIMH3bB+JNUmVfqOmTmway
29
-
30
27
  ddL7oJt4U5MWvwHFoHDGiYURmj2VAETZy05xUU7uQ71qUBjw4/ujUwFdswX3iT2z
31
-
32
28
  hdPLyAllVVXPA/AxfK8q1Y8R7fBYEn4Z8o1vP1LnzRfz+wOhTEttt7zSzJhrwMVC
33
-
34
29
  mHp7qaBjPVo4dl+RMacCAwEAAaM5MDcwCQYDVR0TBAIwADAdBgNVHQ4EFgQUPfv+
35
-
36
30
  2olOX2/ZPqZg6c6g9Ms/KS0wCwYDVR0PBAQDAgSwMA0GCSqGSIb3DQEBBQUAA4IB
37
-
38
31
  AQCkQ2hx5hj+Id0UOXzy+dHX9TJXXRg5gnSf+X92vFfYptdUS9wfjwbGoQeVT5/p
39
-
40
32
  c2apo3Gaw0w9k30+Fbt1bbpfg5XQyKlnLmciPrzeaJLkQ1rinreVlC7eXKj3HMTE
41
-
42
33
  QYKsWT8CJcCByLPjWfx1mmBUNIQPnMO9lQrv2HQckqEeZXClPCrLQcp5zUj6deN/
43
-
44
34
  Lolty1nz50mseJ5AJz0nyjdpedxGCwHm51GBhGiEZaJ0zboguiCPC+uYEZOxQRIH
45
-
46
35
  ANLruem4eqvjbHARur8XzSisE6495q5eNRI497/k+l0dkME3QHdvfKo2e87+Hgei
47
-
48
36
  LYAFXGZjixXjcjuuFQP26Wb8
49
-
50
37
  -----END CERTIFICATE-----
51
38
 
52
- '
53
- date: 2011-07-06 00:00:00.000000000Z
39
+ date: 2011-07-07 00:00:00 Z
54
40
  dependencies: []
41
+
55
42
  description: An interface to the libmemcached C client.
56
- email: ''
43
+ email: ""
57
44
  executables: []
58
- extensions:
45
+
46
+ extensions:
59
47
  - ext/extconf.rb
60
- extra_rdoc_files:
48
+ extra_rdoc_files:
61
49
  - BENCHMARKS
62
50
  - CHANGELOG
63
51
  - LICENSE
@@ -74,7 +62,7 @@ extra_rdoc_files:
74
62
  - lib/memcached/experimental.rb
75
63
  - lib/memcached/memcached.rb
76
64
  - lib/memcached/rails.rb
77
- files:
65
+ files:
78
66
  - BENCHMARKS
79
67
  - CHANGELOG
80
68
  - LICENSE
@@ -613,36 +601,45 @@ files:
613
601
  - couchbase-memcached.gemspec
614
602
  homepage: http://fauna.github.com/fauna/couchbase-memcached/
615
603
  licenses: []
604
+
616
605
  post_install_message:
617
- rdoc_options:
606
+ rdoc_options:
618
607
  - --line-numbers
619
608
  - --inline-source
620
609
  - --title
621
610
  - Couchbase-memcached
622
611
  - --main
623
612
  - README
624
- require_paths:
613
+ require_paths:
625
614
  - lib
626
615
  - ext
627
- required_ruby_version: !ruby/object:Gem::Requirement
616
+ required_ruby_version: !ruby/object:Gem::Requirement
628
617
  none: false
629
- requirements:
630
- - - ! '>='
631
- - !ruby/object:Gem::Version
632
- version: '0'
633
- required_rubygems_version: !ruby/object:Gem::Requirement
618
+ requirements:
619
+ - - ">="
620
+ - !ruby/object:Gem::Version
621
+ hash: 3
622
+ segments:
623
+ - 0
624
+ version: "0"
625
+ required_rubygems_version: !ruby/object:Gem::Requirement
634
626
  none: false
635
- requirements:
636
- - - ! '>='
637
- - !ruby/object:Gem::Version
638
- version: '1.2'
627
+ requirements:
628
+ - - ">="
629
+ - !ruby/object:Gem::Version
630
+ hash: 11
631
+ segments:
632
+ - 1
633
+ - 2
634
+ version: "1.2"
639
635
  requirements: []
636
+
640
637
  rubyforge_project: fauna
641
638
  rubygems_version: 1.8.5
642
639
  signing_key:
643
640
  specification_version: 3
644
641
  summary: An interface to the libmemcached C client.
645
- test_files:
642
+ test_files:
646
643
  - test/unit/binding_test.rb
647
644
  - test/unit/rails_test.rb
648
645
  - test/unit/memcached_test.rb
metadata.gz.sig CHANGED
Binary file