summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/manager.rb1
-rw-r--r--lib/oxidized/output/file.rb2
-rw-r--r--oxidized.gemspec2
3 files changed, 3 insertions, 2 deletions
diff --git a/lib/oxidized/manager.rb b/lib/oxidized/manager.rb
index ed49b7e..251f0cc 100644
--- a/lib/oxidized/manager.rb
+++ b/lib/oxidized/manager.rb
@@ -11,6 +11,7 @@ module Oxidized
klass = nil
[Oxidized, Object].each do |mod|
klass = mod.constants.find { |const| const.to_s.downcase == file.downcase }
+ klass = mod.constants.find { |const| const.to_s.downcase == 'oxidized'+ file.downcase } unless klass
klass = mod.const_get klass if klass
break if klass
end
diff --git a/lib/oxidized/output/file.rb b/lib/oxidized/output/file.rb
index f3443b4..2d08106 100644
--- a/lib/oxidized/output/file.rb
+++ b/lib/oxidized/output/file.rb
@@ -1,5 +1,5 @@
module Oxidized
-class OxFile < Output
+class OxidizedFile < Output
require 'fileutils'
def initialize
diff --git a/oxidized.gemspec b/oxidized.gemspec
index f8081cc..c0ef485 100644
--- a/oxidized.gemspec
+++ b/oxidized.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'oxidized'
- s.version = '0.0.60'
+ s.version = '0.0.61'
s.platform = Gem::Platform::RUBY
s.authors = [ 'Saku Ytti' ]
s.email = %w( saku@ytti.fi )