Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix rake thanks

  • Loading branch information...
commit cf628ddcd76dc93960fc5226e537eff524c30a14 1 parent 82009d4
@rkh rkh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -98,8 +98,8 @@ desc "list of contributors"
task :thanks, [:release,:backports] do |t, a|
a.with_defaults :release => "#{prev_version}..HEAD",
:backports => "#{prev_feature}.0..#{prev_feature}.x"
- included = `git log --format=format:"%aN\t%s" #{a.release}`.lines.to_a
- excluded = `git log --format=format:"%aN\t%s" #{a.backports}`.lines.to_a
+ included = `git log --format=format:"%aN\t%s" #{a.release}`.lines.map { |l| l.force_encoding('binary') }
+ excluded = `git log --format=format:"%aN\t%s" #{a.backports}`.lines.map { |l| l.force_encoding('binary') }
commits = (included - excluded).group_by { |c| c[/^[^\t]+/] }
authors = commits.keys.sort_by { |n| - commits[n].size } - team
puts authors[0..-2].join(', ') << " and " << authors.last,
Please sign in to comment.
Something went wrong with that request. Please try again.