- 'app/views/common/feed.atom.builder'
- 'lib/redmine/access_keys.rb'
- 'lib/redmine/helpers/gantt.rb'
- - 'lib/redmine/scm/adapters/git_adapter.rb'
- 'lib/redmine/wiki_formatting.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- 'test/mocks/open_id_authentication_mock.rb'
- 'app/models/issue_query.rb'
- 'lib/redmine/ciphering.rb'
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
- - 'lib/redmine/scm/adapters/git_adapter.rb'
Style/MultipleComparison:
Exclude:
full_path = p.empty? ? name : "#{p}/#{name}"
n = scm_iconv('UTF-8', @path_encoding, name)
full_p = scm_iconv('UTF-8', @path_encoding, full_path)
- entries << Entry.new({:name => n,
- :path => full_p,
- :kind => (type == "tree") ? 'dir' : 'file',
- :size => (type == "tree") ? nil : size,
- :lastrev => options[:report_last_commit] ?
- lastrev(full_path, identifier) : Revision.new
- }) unless entries.detect{|entry| entry.name == name}
+ unless entries.detect{|entry| entry.name == name}
+ entries <<
+ Entry.
+ new(
+ {
+ :name => n,
+ :path => full_p,
+ :kind => (type == "tree") ? 'dir' : 'file',
+ :size => (type == "tree") ? nil : size,
+ :lastrev =>
+ if options[:report_last_commit]
+ lastrev(full_path, identifier)
+ else
+ Revision.new
+ end
+ }
+ )
+ end
end
end
end