next-big-sound 0.4.0 → 0.4.1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/lib/memoize.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'memcache'
2
+ require 'digest/md5'
2
3
  module NBS
3
4
  module MemcachedMemoize
4
5
  def remember(name)
@@ -9,6 +10,7 @@ module NBS
9
10
  if defined?(KEYSTORE)
10
11
  key = args.collect {|c| c.to_s }.join("_").gsub(" ","_")
11
12
  key+=name.to_s
13
+ key = Digest::MD5.hexdigest(key)
12
14
  puts key
13
15
  if KEYSTORE.get(key)!=nil
14
16
  puts "it was memorized"
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{next-big-sound}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jeff durand"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand