Skip to content

Commit 903ac01

Browse files
author
root
committed
Rename Cache in ShellRedirector
1 parent e5c34d9 commit 903ac01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/redmine_git_hosting/cache_manager.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def execute(cmd_str, repo_id, options = {}, &block)
3333
status = nil
3434
else
3535
# Create redirector stream and call block
36-
redirector = RedmineGitHosting::Cache.new(cmd_str, repo_id, options)
36+
redirector = RedmineGitHosting::ShellRedirector.new(cmd_str, repo_id, options)
3737
block.call(redirector)
3838
retio, status = redirector.exit_shell
3939
end

Diff for: lib/redmine_git_hosting/cache.rb renamed to lib/redmine_git_hosting/shell_redirector.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'stringio'
22

33
module RedmineGitHosting
4-
class Cache
4+
class ShellRedirector
55

66
# Rewritten version of caching functionality to accommodate Redmine 1.4+
77
# When the shell is called with options[:write_stdin], then part of the

0 commit comments

Comments
 (0)