memcached-northscale 0.19.5.2 → 0.19.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.19.5.3. (northscale) Don't barf on Rails::add.
2
+
1
3
  v0.19.5.2. (northscale) Make wording scarier so people don't accidentally use this gem.
2
4
 
3
5
  v0.19.5.1. (northscale) Test Rails compatibility fixes.
@@ -85,10 +85,10 @@ class Memcached
85
85
  def add(key, value, ttl=@default_ttl, raw=false)
86
86
  super(key, value, ttl, !raw)
87
87
  # This causes me physical pain.
88
- opts[:string_return_types] ? "STORED\r\n" : true
88
+ "STORED\r\n"
89
89
  rescue NotStored # This can still throw exceptions. What's the right behavior if the
90
90
  # server goes away?
91
- opts[:string_return_types] ? "NOT STORED\r\n" : false
91
+ "NOT STORED\r\n"
92
92
  end
93
93
 
94
94
  # Wraps Memcached#delete so that it doesn't raise.
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{memcached-northscale}
5
- s.version = "0.19.5.2"
5
+ s.version = "0.19.5.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sean Lynch"]
9
- s.date = %q{2010-06-02}
9
+ s.date = %q{2010-06-30}
10
10
  s.description = %q{Test gem. Do not use unless you know what you're doing.}
11
11
  s.email = %q{}
12
12
  s.extensions = ["ext/extconf.rb"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memcached-northscale
3
3
  version: !ruby/object:Gem::Version
4
- hash: 199
4
+ hash: 197
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 19
9
9
  - 5
10
- - 2
11
- version: 0.19.5.2
10
+ - 3
11
+ version: 0.19.5.3
12
12
  platform: ruby
13
13
  authors:
14
14
  - Sean Lynch
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-06-02 00:00:00 -07:00
19
+ date: 2010-06-30 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies: []
22
22