Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanz committed Aug 20, 2008
1 parent cd361bd commit d587dbc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
== 0.0.3 2008-08-20
* 1 bug fix
* removed un-needed marshalling
* 1 major enhancement
* added support for configurable bootstrap cache loader and event listener

== 0.0.2 2008-06-08

* 1 bug fix
Expand Down
3 changes: 2 additions & 1 deletion lib/ehcache/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def create_primary_cache(primary)
end

# creates and sets up cache configurations
def create_cache_configuration(data)
def create_cache_configuration(cache_name, data)
config = instance_variable_get("@#{cache_name}".intern)
data.each { |k,v|
# included hashes will be event listener factories, exception handler
Expand Down Expand Up @@ -104,6 +104,7 @@ def initialize_factory_proxies
def setter(factory, config)
factory = instance_variable_get("@#{factory}".intern)
config.each { |k,v| factory.send("set_#{k.to_s}",v) unless v.is_a?(Hash) }
end
end
end
end
2 changes: 1 addition & 1 deletion lib/ehcache/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Ehcache #:nodoc:
module VERSION #:nodoc:
MAJOR = 0
MINOR = 0
TINY = 2
TINY = 3

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down

0 comments on commit d587dbc

Please sign in to comment.