Skip to content

Commit

Permalink
constants are fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
moskyt committed Jan 12, 2010
1 parent f89cece commit 45856e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/model_cache.rb
@@ -1,7 +1,7 @@
module ModelCache

DEFAULT_TIME = 12.hours unless const_defined?(:DEFAULT_TIME)
NIL_OBJECT = Object.new unless const_defined?(:NIL_OBJECT)
NIL_OBJECT = :__i_have_no_idea_how_to_do_this_without_an_ugly_symbol unless const_defined?(:NIL_OBJECT)

def self.included(klass)
klass.extend ClassMethods
Expand Down
2 changes: 1 addition & 1 deletion model-cache.gemspec
@@ -1,7 +1,7 @@
require 'rubygems' unless defined?(Gem)
s = Gem::Specification.new do |s|
s.name = "model-cache"
s.version = "0.1.3"
s.version = "0.1.4"
s.summary = "Rails plugin for caching in models."
s.author = "Frantisek Havluj"
s.email = "moskyt@rozhled.cz"
Expand Down

0 comments on commit 45856e5

Please sign in to comment.