mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19129 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4bb24015e6
commit
a99b4e6d15
@ -13,7 +13,6 @@ Layout/AlignArguments:
|
|||||||
Exclude:
|
Exclude:
|
||||||
- 'config/application.rb'
|
- 'config/application.rb'
|
||||||
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
|
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
|
||||||
- 'lib/redmine/scm/adapters/subversion_adapter.rb'
|
|
||||||
- 'test/functional/journals_controller_test.rb'
|
- 'test/functional/journals_controller_test.rb'
|
||||||
- 'test/functional/my_controller_test.rb'
|
- 'test/functional/my_controller_test.rb'
|
||||||
- 'test/functional/roles_controller_test.rb'
|
- 'test/functional/roles_controller_test.rb'
|
||||||
|
|||||||
@ -228,12 +228,14 @@ module Redmine
|
|||||||
io.each_line do |line|
|
io.each_line do |line|
|
||||||
next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$}
|
next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$}
|
||||||
rev = $1
|
rev = $1
|
||||||
blame.add_line($3.rstrip,
|
blame.add_line(
|
||||||
Revision.new(
|
$3.rstrip,
|
||||||
:identifier => rev,
|
Revision.new(
|
||||||
:revision => rev,
|
:identifier => rev,
|
||||||
:author => $2.strip
|
:revision => rev,
|
||||||
))
|
:author => $2.strip
|
||||||
|
)
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return nil if $? && $?.exitstatus != 0
|
return nil if $? && $?.exitstatus != 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user