moved lib/openproject to lib/open_project to use autoloading

pull/6827/head
Jens Ulferts 12 years ago
parent edb6a03003
commit b2e9d06a22
  1. 4
      lib/open_project/backlogs.rb
  2. 0
      lib/open_project/backlogs/burndown/series.rb
  3. 0
      lib/open_project/backlogs/burndown/series_raw_data.rb
  4. 0
      lib/open_project/backlogs/compatibility.rb
  5. 35
      lib/open_project/backlogs/engine.rb
  6. 0
      lib/open_project/backlogs/hooks.rb
  7. 0
      lib/open_project/backlogs/issue_actions.rb
  8. 0
      lib/open_project/backlogs/issue_edit_actions.rb
  9. 0
      lib/open_project/backlogs/issue_form.rb
  10. 0
      lib/open_project/backlogs/issue_form/custom_field_paragraph.rb
  11. 0
      lib/open_project/backlogs/issue_form/description_paragraph.rb
  12. 0
      lib/open_project/backlogs/issue_form/fields_paragraph.rb
  13. 0
      lib/open_project/backlogs/issue_form/heading.rb
  14. 0
      lib/open_project/backlogs/issue_form/notes_paragraph.rb
  15. 0
      lib/open_project/backlogs/issue_view.rb
  16. 0
      lib/open_project/backlogs/issue_view/fields_paragraph.rb
  17. 0
      lib/open_project/backlogs/issue_view/heading.rb
  18. 0
      lib/open_project/backlogs/issue_view/issue_hierarchy_paragraph.rb
  19. 0
      lib/open_project/backlogs/list.rb
  20. 0
      lib/open_project/backlogs/patches.rb
  21. 1
      lib/open_project/backlogs/patches/issue_patch.rb
  22. 0
      lib/open_project/backlogs/patches/issue_status_patch.rb
  23. 0
      lib/open_project/backlogs/patches/my_controller_patch.rb
  24. 0
      lib/open_project/backlogs/patches/project_patch.rb
  25. 0
      lib/open_project/backlogs/patches/projects_controller_patch.rb
  26. 0
      lib/open_project/backlogs/patches/projects_helper_patch.rb
  27. 0
      lib/open_project/backlogs/patches/query_patch.rb
  28. 0
      lib/open_project/backlogs/patches/user_patch.rb
  29. 0
      lib/open_project/backlogs/patches/version_controller_patch.rb
  30. 0
      lib/open_project/backlogs/patches/version_patch.rb
  31. 2
      lib/open_project/backlogs/taskboard_card.rb
  32. 0
      lib/open_project/backlogs/taskboard_card/bottom_attributes.rb
  33. 0
      lib/open_project/backlogs/taskboard_card/box.rb
  34. 0
      lib/open_project/backlogs/taskboard_card/card.rb
  35. 0
      lib/open_project/backlogs/taskboard_card/card_area.rb
  36. 0
      lib/open_project/backlogs/taskboard_card/description.rb
  37. 0
      lib/open_project/backlogs/taskboard_card/document.rb
  38. 0
      lib/open_project/backlogs/taskboard_card/header.rb
  39. 0
      lib/open_project/backlogs/taskboard_card/measurement.rb
  40. 2
      lib/open_project/backlogs/taskboard_card/page_layout.rb
  41. 0
      lib/open_project/backlogs/taskboard_card/top_attributes.rb
  42. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSans-Bold.ttf
  43. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSans-BoldOblique.ttf
  44. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSans-ExtraLight.ttf
  45. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSans-Oblique.ttf
  46. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSans.ttf
  47. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansCondensed-Bold.ttf
  48. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansCondensed-BoldOblique.ttf
  49. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansCondensed-Oblique.ttf
  50. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansCondensed.ttf
  51. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansMono-Bold.ttf
  52. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansMono-BoldOblique.ttf
  53. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansMono-Oblique.ttf
  54. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSansMono.ttf
  55. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerif-Bold.ttf
  56. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerif-BoldItalic.ttf
  57. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerif-Italic.ttf
  58. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerif.ttf
  59. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerifCondensed-Bold.ttf
  60. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerifCondensed-BoldItalic.ttf
  61. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerifCondensed-Italic.ttf
  62. 0
      lib/open_project/backlogs/taskboard_card/ttf/DejaVuSerifCondensed.ttf
  63. 0
      lib/open_project/backlogs/version.rb
  64. 4
      lib/openproject/backlogs.rb
  65. 4
      lib/openproject/backlogs/taskboard_card.rb
  66. 2
      lib/openproject_backlogs.rb
  67. 2
      openproject_backlogs.gemspec

@ -0,0 +1,4 @@
require "open_project/backlogs/engine"
module OpenProject::Backlogs
end

@ -10,7 +10,7 @@ module OpenProject::Backlogs
:partial => 'shared/settings' }
end
#config.paths["lib"] = "lib/openproject"
config.autoload_paths += Dir["#{config.root}/lib/"]
initializer 'backlogs.precompile_assets' do
Rails.application.config.assets.precompile += %w( backlogs.css backlogs.js )
@ -33,23 +33,22 @@ module OpenProject::Backlogs
Issue.safe_attributes "story_points", "remaining_hours", "position"
end
require_dependency 'openproject/backlogs/issue_view'
require_dependency 'openproject/backlogs/issue_form'
require_dependency 'openproject/backlogs/hooks'
require_dependency 'openproject/backlogs/taskboard_card'
require_dependency 'openproject/backlogs/patches'
require_dependency 'openproject/backlogs/patches/issue_patch'
require_dependency 'openproject/backlogs/patches/issue_status_patch'
require_dependency 'openproject/backlogs/patches/my_controller_patch'
require_dependency 'openproject/backlogs/patches/project_patch'
require_dependency 'openproject/backlogs/patches/projects_controller_patch'
require_dependency 'openproject/backlogs/patches/projects_helper_patch'
require_dependency 'openproject/backlogs/patches/query_patch'
require_dependency 'openproject/backlogs/patches/user_patch'
require_dependency 'openproject/backlogs/patches/version_controller_patch'
require_dependency 'openproject/backlogs/patches/version_patch'
require_dependency 'open_project/backlogs/issue_view'
require_dependency 'open_project/backlogs/issue_form'
require_dependency 'open_project/backlogs/hooks'
require_dependency 'open_project/backlogs/patches'
require_dependency 'open_project/backlogs/patches/issue_patch'
require_dependency 'open_project/backlogs/patches/issue_status_patch'
require_dependency 'open_project/backlogs/patches/my_controller_patch'
require_dependency 'open_project/backlogs/patches/project_patch'
require_dependency 'open_project/backlogs/patches/projects_controller_patch'
require_dependency 'open_project/backlogs/patches/projects_helper_patch'
require_dependency 'open_project/backlogs/patches/query_patch'
require_dependency 'open_project/backlogs/patches/user_patch'
require_dependency 'open_project/backlogs/patches/version_controller_patch'
require_dependency 'open_project/backlogs/patches/version_patch'
end

@ -1,5 +1,4 @@
require_dependency 'issue'
require_dependency 'openproject/backlogs/list'
module OpenProject::Backlogs::Patches::IssuePatch
def self.included(base)

@ -0,0 +1,2 @@
module OpenProject::Backlogs::TaskboardCard
end

@ -6,8 +6,6 @@ require 'uri/common'
require 'prawn'
require_dependency 'openproject/backlogs/taskboard_card/measurement'
module OpenProject::Backlogs::TaskboardCard
class PageLayout
unloadable

@ -1,4 +0,0 @@
require "openproject/backlogs/engine"
module OpenProject::Backlogs
end

@ -1,4 +0,0 @@
module OpenProject::Backlogs::TaskboardCard
end
require_dependency 'openproject/backlogs/taskboard_card/page_layout'

@ -1 +1 @@
require "openproject/backlogs"
require "open_project/backlogs"

@ -1,7 +1,7 @@
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "openproject/backlogs/version"
require "open_project/backlogs/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|

Loading…
Cancel
Save