From 61a8c39ea55094017cf1e86cb51598ffd7a4bba9 Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Tue, 28 May 2013 18:17:53 +0200 Subject: [PATCH] Updated reporting to use reportingengine without openproject namespace --- app/models/cost_query.rb | 2 +- lib/open_project/reporting/engine.rb | 4 ++-- openproject-reporting.gemspec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/cost_query.rb b/app/models/cost_query.rb index cb727ad3c2..566b71f540 100644 --- a/app/models/cost_query.rb +++ b/app/models/cost_query.rb @@ -1,4 +1,4 @@ -require 'open_project/reporting_engine/report' +require 'reporting_engine/report' class CostQuery < Report def_delegators :result, :real_costs diff --git a/lib/open_project/reporting/engine.rb b/lib/open_project/reporting/engine.rb index 5dfcf3de88..c4a5e9a488 100644 --- a/lib/open_project/reporting/engine.rb +++ b/lib/open_project/reporting/engine.rb @@ -1,5 +1,5 @@ require 'openproject_costs' -require 'openproject-reportingengine' +require 'reporting_engine' module OpenProject::Reporting class Engine < ::Rails::Engine @@ -38,7 +38,7 @@ module OpenProject::Reporting end config.to_prepare do - require_dependency 'open_project/reporting_engine/widget.rb' + require_dependency 'reporting_engine/widget.rb' require_dependency 'open_project/reporting/widgets/simple_table' require_dependency 'open_project/reporting/widgets/entry_table' require_dependency 'open_project/reporting/widgets/cost_types' diff --git a/openproject-reporting.gemspec b/openproject-reporting.gemspec index 8915dd8f63..86cceda439 100644 --- a/openproject-reporting.gemspec +++ b/openproject-reporting.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| # FIXME # s.test_files = Dir["spec/**/*"] - s.add_dependency "openproject-reportingengine", "~> 0.0.1" + s.add_dependency "reportingengine", "~> 0.0.1" s.add_dependency "openproject_costs", "> 4.0.0" s.add_development_dependency "factory_girl_rails", "~> 4.0"