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