diff --git a/lib/prawn/templates.rb b/lib/prawn/templates.rb index c512eae..0c98939 100644 --- a/lib/prawn/templates.rb +++ b/lib/prawn/templates.rb @@ -1,14 +1,14 @@ # This is free software. See LICENSE and COPYING files for details. require 'pdf/reader' require 'pdf/core' -require 'prawn/text' - -require_relative '../pdf/core/document_state' -require_relative '../pdf/core/errors' -require_relative '../pdf/core/object_store' -require_relative '../pdf/core/page' -require_relative 'text' -require_relative 'document/internals' +require 'prawn/templates/text' + +require_relative 'templates/pdf/core/document_state' +require_relative 'templates/pdf/core/errors' +require_relative 'templates/pdf/core/object_store' +require_relative 'templates/pdf/core/page' +require_relative 'templates/text' +require_relative 'templates/document/internals' module Prawn # @private diff --git a/lib/prawn/document/internals.rb b/lib/prawn/templates/document/internals.rb similarity index 100% rename from lib/prawn/document/internals.rb rename to lib/prawn/templates/document/internals.rb diff --git a/lib/pdf/core/document_state.rb b/lib/prawn/templates/pdf/core/document_state.rb similarity index 100% rename from lib/pdf/core/document_state.rb rename to lib/prawn/templates/pdf/core/document_state.rb diff --git a/lib/pdf/core/errors.rb b/lib/prawn/templates/pdf/core/errors.rb similarity index 100% rename from lib/pdf/core/errors.rb rename to lib/prawn/templates/pdf/core/errors.rb diff --git a/lib/pdf/core/object_store.rb b/lib/prawn/templates/pdf/core/object_store.rb similarity index 100% rename from lib/pdf/core/object_store.rb rename to lib/prawn/templates/pdf/core/object_store.rb diff --git a/lib/pdf/core/page.rb b/lib/prawn/templates/pdf/core/page.rb similarity index 100% rename from lib/pdf/core/page.rb rename to lib/prawn/templates/pdf/core/page.rb diff --git a/lib/prawn/text.rb b/lib/prawn/templates/text.rb similarity index 100% rename from lib/prawn/text.rb rename to lib/prawn/templates/text.rb