We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31928c commit 0d2bc0dCopy full SHA for 0d2bc0d
Rakefile
@@ -366,14 +366,15 @@ end
366
367
task :rdoc => ["doc:clobber", "doc:generate"]
368
369
+desc "List contributors to RSpec"
370
task :contributors do
- Projects.inject("") do |logs, dir|
371
+ logs = Projects.each_with_object("") do |dir, _logs|
372
path = ReposPath.join(dir)
373
FileUtils.cd(path) do
- logs << `git log`
374
+ _logs << `git log`
375
end
- logs
376
377
+
378
authors = logs.split("\n").grep(/^Author/).
379
map{|l| l.sub(/Author: /,'')}.
380
map{|l| l.split('<').first}.
0 commit comments