teej-alchemy 1.0.1 → 1.1.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/alchemy.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "alchemy"
3
- s.version = "1.0.1"
3
+ s.version = "1.1.1"
4
4
  s.date = "2008-10-17"
5
5
  s.summary = "A simple, light-weight list caching server"
6
6
  s.email = "teej.murphy@gmail.com"
@@ -10,7 +10,7 @@ require File.join(here, 'handler')
10
10
 
11
11
  module AlchemyServer
12
12
 
13
- VERSION = "1.0.1"
13
+ VERSION = "1.1.1"
14
14
 
15
15
  class Base
16
16
  attr_reader :logger
@@ -21,7 +21,7 @@ module UsesAlchemy
21
21
  if reload.first || list.nil?
22
22
  refreshed_list = klass.find(:all, :select=>"#{opts[:store]}, #{opts[:on]}", :conditions=>["#{opts[:on]} = ?", self.id])
23
23
  refreshed_list = refreshed_list.map(&opts[:store])
24
- ALCHEMY.replace(send(alchemy_listname), refreshed_list.to_json)
24
+ ALCHEMY.replace(send(alchemy_listname), refreshed_list)
25
25
  list = refreshed_list
26
26
  end
27
27
  opts[:proc].call(list)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teej-alchemy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Murphy