summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/source/source.rb2
-rw-r--r--oxidized.gemspec4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/source/source.rb b/lib/oxidized/source/source.rb
index 93c9b6f..5093950 100644
--- a/lib/oxidized/source/source.rb
+++ b/lib/oxidized/source/source.rb
@@ -10,7 +10,7 @@ module Oxidized
@map = (CFG.model_map or {})
end
def map_model model
- @map.key?(model) ? @map[model] : model
+ @map.has_key?(model) ? @map[model] : model
end
end
end
diff --git a/oxidized.gemspec b/oxidized.gemspec
index ec2506b..b06cdfd 100644
--- a/oxidized.gemspec
+++ b/oxidized.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'oxidized'
- s.version = '0.0.50'
+ s.version = '0.0.51'
s.platform = Gem::Platform::RUBY
s.authors = [ 'Saku Ytti' ]
s.email = %w( saku@ytti.fi )
@@ -22,6 +22,6 @@ Gem::Specification.new do |s|
s.add_dependency 'haml'
s.add_dependency 'sass'
s.add_dependency 'slop'
- s.add_dependency 'asetus', '>= 0.0.5'
+ s.add_dependency 'asetus', '>= 0.0.6'
end