We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: ActiveSupport::Cache wrapper for libmemcached
Clone URL: git://github.com/37signals/libmemcached_store.git
Update tests to reflect that the 'namespace' option was renamed to 
'prefix_key' in memcached-0.11
packagethief (author)
Sat Aug 23 16:42:08 -0700 2008
commit  a8224ae3220876802af3ace6e775f416657ce11f
tree    cdf95d9808d124eea9786ff2a2863220def98021
parent  e417fabeddca9028ffd5f50df8fcef5178e0c5a6
...
42
43
44
45
 
46
47
48
...
50
51
52
53
 
54
55
56
...
42
43
44
 
45
46
47
48
...
50
51
52
 
53
54
55
56
0
@@ -42,7 +42,7 @@ class LibmemcachedStoreTest < Test::Unit::TestCase
0
 
0
   def test_should_allow_configuration_of_custom_options
0
     options = {
0
- :namespace => 'test',
0
+ :prefix_key => 'test',
0
       :distribution => :modula,
0
       :no_block => false,
0
       :failover => false
0
@@ -50,7 +50,7 @@ class LibmemcachedStoreTest < Test::Unit::TestCase
0
 
0
     store = ActiveSupport::Cache.lookup_store :libmemcached_store, 'localhost', options
0
     
0
- assert_equal 'test', store.options[:namespace]
0
+ assert_equal 'test', store.options[:prefix_key]
0
     assert_equal :modula, store.options[:distribution]
0
     assert_equal false, store.options[:no_block]
0
     assert_equal false, store.options[:failover]

Comments

    No one has commented yet.