Patch #28943 ยป remove_nodoc.patch
| lib/redmine/core_ext/string.rb | ||
|---|---|---|
|
require File.dirname(__FILE__) + '/string/conversions'
|
||
|
require File.dirname(__FILE__) + '/string/inflections'
|
||
|
class String #:nodoc:
|
||
|
# @private
|
||
|
class String
|
||
|
include Redmine::CoreExtensions::String::Conversions
|
||
|
include Redmine::CoreExtensions::String::Inflections
|
||
|
end
|
||
| lib/redmine/core_ext/string/conversions.rb | ||
|---|---|---|
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
module Redmine #:nodoc:
|
||
|
module CoreExtensions #:nodoc:
|
||
|
module String #:nodoc:
|
||
|
module Redmine
|
||
|
# @private
|
||
|
module CoreExtensions
|
||
|
# @private
|
||
|
module String
|
||
|
# Custom string conversions
|
||
|
# @private
|
||
|
module Conversions
|
||
|
# Parses hours format and returns a float
|
||
|
def to_hours
|
||
| lib/redmine/core_ext/string/inflections.rb | ||
|---|---|---|
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
module Redmine #:nodoc:
|
||
|
module CoreExtensions #:nodoc:
|
||
|
module String #:nodoc:
|
||
|
module Redmine
|
||
|
# @private
|
||
|
module CoreExtensions
|
||
|
# @private
|
||
|
module String
|
||
|
# Custom string inflections
|
||
|
# @private
|
||
|
module Inflections
|
||
|
def with_leading_slash
|
||
|
starts_with?('/') ? self : "/#{ self }"
|
||
| lib/redmine/helpers/gantt.rb | ||
|---|---|---|
|
IssueRelation::TYPE_PRECEDES => { :landscape_margin => 20, :color => '#628FEA' }
|
||
|
}.freeze
|
||
|
# :nodoc:
|
||
|
# Some utility methods for the PDF export
|
||
|
# @private
|
||
|
class PDF
|
||
|
MaxCharactorsForSubject = 45
|
||
|
TotalWidth = 280
|
||
| lib/redmine/menu_manager.rb | ||
|---|---|---|
|
module Redmine
|
||
|
module MenuManager
|
||
|
class MenuError < StandardError #:nodoc:
|
||
|
# @private
|
||
|
class MenuError < StandardError
|
||
|
end
|
||
|
module MenuController
|
||
| lib/redmine/plugin.rb | ||
|---|---|---|
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
module Redmine #:nodoc:
|
||
|
module Redmine
|
||
|
class PluginNotFound < StandardError; end
|
||
|
class PluginRequirementError < StandardError; end
|
||
| lib/redmine/scm/adapters/abstract_adapter.rb | ||
|---|---|---|
|
module Redmine
|
||
|
module Scm
|
||
|
module Adapters
|
||
|
class AbstractAdapter #:nodoc:
|
||
|
# @private
|
||
|
class AbstractAdapter
|
||
|
include Redmine::Utils::Shell
|
||
|
# raised if scm command exited with error, e.g. unknown revision.
|
||
| lib/redmine/scm/adapters/command_failed.rb | ||
|---|---|---|
|
module Redmine
|
||
|
module Scm
|
||
|
module Adapters
|
||
|
class CommandFailed < StandardError #:nodoc:
|
||
|
# @private
|
||
|
class CommandFailed < StandardError
|
||
|
end
|
||
|
end
|
||
|
end
|
||
| lib/redmine/version.rb | ||
|---|---|---|
|
require 'rexml/document'
|
||
|
module Redmine
|
||
|
module VERSION #:nodoc:
|
||
|
# @private
|
||
|
module VERSION
|
||
|
MAJOR = 3
|
||
|
MINOR = 4
|
||
|
TINY = 4
|
||
| lib/tasks/yardoc.rake | ||
|---|---|---|
|
'doc/RUNNING_TESTS',
|
||
|
'doc/UPGRADING'].join(',')
|
||
|
t.options += ['--output-dir', './doc/app', '--files', static_files]
|
||
|
t.options += ['--no-private', '--output-dir', './doc/app', '--files', static_files]
|
||
|
end
|
||
|
rescue LoadError
|
||