AdoccaMemcache 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/am_memcache.rb +3 -3
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  require 'hoe'
5
5
  #require './lib/adocca_memcache.rb'
6
6
 
7
- Hoe.new('AdoccaMemcache', '0.1.10') do |p|
7
+ Hoe.new('AdoccaMemcache', '0.1.11') do |p|
8
8
  p.rubyforge_name = 'adocca-plugins'
9
9
  p.author = 'adocca Entertainment AB'
10
10
  p.summary = 'A client library to simplify using memcached with Ruby on Rails projects.'
@@ -146,7 +146,7 @@ module Adocca
146
146
  sock.timeout_gets(LIVELINESS_TIMEOUT)
147
147
  sock.timeout_gets(LIVELINESS_TIMEOUT)
148
148
  rescue Exception => err
149
- server.mark_dead(err.message)
149
+ server.mark_dead(err.message) if server
150
150
 
151
151
  self.class.log_error(err)
152
152
  return :MemCache_no_such_entry
@@ -254,7 +254,7 @@ module Adocca
254
254
  sock.timeout_gets(LIVELINESS_TIMEOUT)
255
255
  sock.timeout_gets(LIVELINESS_TIMEOUT)
256
256
  rescue Exception => err
257
- server.mark_dead(err.message)
257
+ server.mark_dead(err.message) if server
258
258
  self.class.log_error(err)
259
259
  return false
260
260
  end
@@ -275,7 +275,7 @@ module Adocca
275
275
  sock.timeout_write("flush_all\r\n", LIVELINESS_TIMEOUT)
276
276
  sock.timeout_gets(LIVELINESS_TIMEOUT)
277
277
  rescue Exception => err
278
- server.mark_dead(err.message)
278
+ server.mark_dead(err.message) if server
279
279
  self.class.log_error(err)
280
280
  end
281
281
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: AdoccaMemcache
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.10
7
- date: 2007-04-11 00:00:00 +02:00
6
+ version: 0.1.11
7
+ date: 2007-06-01 00:00:00 +02:00
8
8
  summary: A client library to simplify using memcached with Ruby on Rails projects.
9
9
  require_paths:
10
10
  - lib