Updated reporting to use reportingengine without openproject namespace

pull/6827/head
Sebastian Schuster 12 years ago
parent 8a27c22d2b
commit 61a8c39ea5
  1. 2
      app/models/cost_query.rb
  2. 4
      lib/open_project/reporting/engine.rb
  3. 2
      openproject-reporting.gemspec

@ -1,4 +1,4 @@
require 'open_project/reporting_engine/report'
require 'reporting_engine/report'
class CostQuery < Report
def_delegators :result, :real_costs

@ -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'

@ -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"

Loading…
Cancel
Save