rails_current 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rails_current.rb +2 -2
- data/rails_current.gemspec +1 -1
- metadata +1 -1
data/lib/rails_current.rb
CHANGED
@@ -4,7 +4,7 @@ require 'map'
|
|
4
4
|
|
5
5
|
module Current
|
6
6
|
def Current.version
|
7
|
-
'1.4.
|
7
|
+
'1.4.1'
|
8
8
|
end
|
9
9
|
|
10
10
|
def Current.data
|
@@ -62,7 +62,7 @@ module Current
|
|
62
62
|
unless respond_to?(name)
|
63
63
|
singleton_class.module_eval do
|
64
64
|
define_method(name) do
|
65
|
-
if data.has_key?(name)
|
65
|
+
if data.has_key?(name) and !data[name].nil?
|
66
66
|
data[name]
|
67
67
|
else
|
68
68
|
if generator = generators[name]
|
data/rails_current.gemspec
CHANGED