AdoccaMemcache 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'hoe'
5
- require './lib/adocca_memcache.rb'
5
+ #require './lib/adocca_memcache.rb'
6
6
 
7
- Hoe.new('AdoccaMemcache', '0.1.9') do |p|
7
+ Hoe.new('AdoccaMemcache', '0.1.10') 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.'
@@ -2,7 +2,7 @@
2
2
 
3
3
  $: << File.dirname(__FILE__)
4
4
 
5
- require_gem 'rails'
5
+ gem 'rails'
6
6
  require 'am_memcache.rb'
7
7
  require 'am_memcache_store.rb'
8
8
  require 'am_caching.rb'
@@ -580,10 +580,10 @@ module Adocca
580
580
  namespace_key << ":#{make_namespace_key(o).first}" unless o.empty?
581
581
 
582
582
  key = "#{@namespace}#{namespace_key}:#{key}"
583
- Digest::SHA1.new(key)
583
+ Digest::SHA1.hexdigest(key)
584
584
  else
585
585
  key = "#{@namespace}:#{o}"
586
- Digest::SHA1.new(key)
586
+ Digest::SHA1.hexdigest(key)
587
587
  end
588
588
  end
589
589
 
@@ -1,4 +1,6 @@
1
1
 
2
+ gem 'actionpack'
3
+
2
4
  class CGI::Session::MemCacheStore
3
5
  def restore
4
6
  begin
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: AdoccaMemcache
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.9
7
- date: 2007-02-16 00:00:00 +01:00
6
+ version: 0.1.10
7
+ date: 2007-04-11 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
@@ -25,6 +25,7 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: ruby
26
26
  signing_key:
27
27
  cert_chain:
28
+ post_install_message:
28
29
  authors:
29
30
  - adocca Entertainment AB
30
31
  files: