public
Rubygem
Description: Seattle.rb's memcache-client 1.5.0 with fixes
Clone URL: git://github.com/fiveruns/memcache-client.git
Search Repo:
Update C extension to use standard Rubygems conventions so it will be 
auto-built.
Release 1.5.0.3
mperham (author)
Thu Jun 26 14:09:31 -0700 2008
commit  3413a758909e660638ca2096eba97a209bdd7ea2
tree    58692eac1019206f9d63c0511fcb62ef03f95a65
parent  20b14a9e27238b4bf1a07d13cf2f980b13ee4549
...
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
0
@@ -1,3 +1,7 @@
0
+= 1.5.0.3 (FiveRuns fork)
0
+
0
+* Integrated ITU-T CRC32 operation in native C extension for speed. Thanks to Justin Balthrop!
0
+
0
 = 1.5.0.2 (FiveRuns fork)
0
 
0
 * Add support for seamless failover between servers. If one server connection dies,
...
10
11
12
13
 
14
15
16
17
18
 
 
19
20
21
...
10
11
12
 
13
14
15
16
 
 
17
18
19
20
21
0
@@ -10,12 +10,12 @@ class String
0
   ##
0
   # Uses the ITU-T polynomial in the CRC32 algorithm.
0
   begin
0
- require File.dirname(__FILE__) + '/crc32'
0
+ require 'crc32'
0
     def crc32_ITU_T
0
       CRC32.itu_t(self)
0
     end
0
- rescue LoadError
0
- puts 'Loading with slow CRC32 ITU-T implementation.'
0
+ rescue LoadError => e
0
+ puts "Loading with slow CRC32 ITU-T implementation: #{e.message}"
0
     
0
     def crc32_ITU_T
0
       n = length
...
1
2
3
 
4
5
6
7
8
 
9
10
11
...
1
2
 
3
4
5
6
7
8
9
10
11
12
0
@@ -1,11 +1,12 @@
0
 Gem::Specification.new do |s|
0
   s.name = 'fiveruns-memcache-client'
0
- s.version = '1.5.0.2'
0
+ s.version = '1.5.0.3'
0
   s.authors = ['Eric Hodel', 'Robert Cottrell', 'Mike Perham']
0
   s.email = 'mike@fiveruns.com'
0
   s.homepage = 'http://github.com/fiveruns/memcache-client'
0
   s.summary = 'A Ruby-based memcached client library'
0
   s.description = s.summary
0
+ s.extensions << 'ext/crc32/extconf.rb'
0
 
0
   s.require_path = 'lib'
0
 

Comments

    No one has commented yet.