diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-19 11:15:30 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-19 11:15:30 +0000 |
commit | 0ea9e05b688f06fc0221d28190731372a32bae45 (patch) | |
tree | 756be14943b60eb6fe32696b9f2a155a72295b58 /lib | |
parent | 77add1315ba0386725c69f0fb64aaa3f7455eec8 (diff) | |
download | redmine-0ea9e05b688f06fc0221d28190731372a32bae45.tar.gz redmine-0ea9e05b688f06fc0221d28190731372a32bae45.zip |
fix stderr_log_file and strip_credential of Redmine::Scm::Adapters::AbstractAdapter are not private
git-svn-id: http://svn.redmine.org/redmine/trunk@18757 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/abstract_adapter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 83d41c22a..c4496142a 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -232,6 +232,7 @@ module Redmine end @stderr_log_file || nil end + private_class_method :stderr_log_file def self.shellout(cmd, options = {}, &block) if logger && logger.debug? @@ -267,6 +268,7 @@ module Redmine q = (Redmine::Platform.mswin? ? '"' : "'") cmd.to_s.gsub(/(\-\-(password|username))\s+(#{q}[^#{q}]+#{q}|[^#{q}]\S+)/, '\\1 xxxx') end + private_class_method :strip_credential def strip_credential(cmd) self.class.strip_credential(cmd) |