memcached 1.2.6.pre2 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,4 @@
1
- v1.2.6.pre2. Fix build issue on FreeBSD. Fix errno mangling on timeouts during memcached_connect().
1
+ v1.2.6. Fix build issue on FreeBSD. Fix errno mangling on timeouts during memcached_connect().
2
2
 
3
3
  v1.2.5. Compile properly on JRuby (but doesn't run yet). Do zero-copy Ruby string allocations to improve performance.
4
4
 
data/Manifest CHANGED
@@ -10,7 +10,6 @@ ext/extconf.rb
10
10
  ext/libmemcached-0.32.tar.gz
11
11
  ext/libmemcached-1.patch
12
12
  ext/libmemcached-10.patch
13
- ext/libmemcached-11.patch
14
13
  ext/libmemcached-2.patch
15
14
  ext/libmemcached-3.patch
16
15
  ext/libmemcached-4.patch
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{memcached}
5
- s.version = "1.2.6.pre2"
5
+ s.version = "1.2.6"
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"]
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.email = %q{}
12
12
  s.extensions = ["ext/extconf.rb"]
13
13
  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"]
14
- s.files = ["BENCHMARKS", "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-10.patch", "ext/libmemcached-11.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"]
14
+ s.files = ["BENCHMARKS", "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-10.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"]
15
15
  s.homepage = %q{http://fauna.github.com/fauna/memcached/}
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Memcached", "--main", "README"]
17
17
  s.require_paths = ["lib", "ext"]
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memcached
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923831965
5
- prerelease: 6
4
+ hash: 19
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 6
10
- - pre
11
- - 2
12
- version: 1.2.6.pre2
10
+ version: 1.2.6
13
11
  platform: ruby
14
12
  authors:
15
13
  - Evan Weaver
@@ -51,7 +49,6 @@ files:
51
49
  - ext/libmemcached-0.32.tar.gz
52
50
  - ext/libmemcached-1.patch
53
51
  - ext/libmemcached-10.patch
54
- - ext/libmemcached-11.patch
55
52
  - ext/libmemcached-2.patch
56
53
  - ext/libmemcached-3.patch
57
54
  - ext/libmemcached-4.patch
@@ -1,32 +0,0 @@
1
- diff -urw a/libmemcached-0.32/libmemcached/memcached_connect.c b/libmemcached-0.32/libmemcached/memcached_connect.c
2
- --- a/libmemcached-0.32/libmemcached/memcached_connect.c 2011-04-25 15:45:35.000000000 -0700
3
- +++ b/libmemcached-0.32/libmemcached/memcached_connect.c 2011-04-25 15:45:49.000000000 -0700
4
- @@ -235,6 +235,7 @@
5
- if (errno == EINPROGRESS || /* nonblocking mode - first return, */
6
- errno == EALREADY) /* nonblocking mode - subsequent returns */
7
- {
8
- + fprintf(stderr, "entering poll. errno is %d\n", errno);
9
- struct pollfd fds[1];
10
- fds[0].fd = ptr->fd;
11
- fds[0].events = POLLOUT;
12
- @@ -242,6 +243,7 @@
13
-
14
- if (error != 1 || fds[0].revents & POLLERR)
15
- {
16
- + fprintf(stderr, "poll return %d. errno is %d.\n", error, errno);
17
- ptr->cached_errno = 0;
18
-
19
- if (fds[0].revents & POLLERR)
20
- @@ -258,10 +260,12 @@
21
- }
22
- else if (errno == EISCONN) /* we are connected :-) */
23
- {
24
- + fprintf(stderr, "connect successful. errno is %d\n", errno);
25
- break;
26
- }
27
- else if (errno != EINTR)
28
- {
29
- + fprintf(stderr, "unknown errno %d.\n", errno);
30
- (void)close(ptr->fd);
31
- ptr->fd= -1;
32
- break;