Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated copyright info and created CONTRIBUTORS file.

  * CONTRIBUTORS file includes all the contributors since the
    beginning of the project sorted by count of their commits.
  * I added "rake contributors" task for re-generating CONTRIBUTORS.
  • Loading branch information...
commit de4d6973494ab087a3e8da56bc230e93b7e92bd1 1 parent 1a99333
Jakub Šťastný aka Botanicus authored
Showing with 43 additions and 2 deletions.
  1. +20 −0 CONTRIBUTORS
  2. +4 −1 README.md
  3. +19 −1 Rakefile
View
20 CONTRIBUTORS
@@ -0,0 +1,20 @@
+Aman Gupta: 232
+Jakub Šťastný aka Botanicus: 31
+Michael S. Klishin: 7
+Chuck Remes: 7
+Marek Majkowski: 4
+Jake Douglas: 3
+Chris Van Pelt: 3
+Doug Barth: 2
+Brendan Ribera: 1
+dan: 1
+binary42: 1
+Daniel Neighman: 1
+Dane Jensen: 1
+Simon Horne: 1
+Cliff Moon: 1
+Coda Hale: 1
+Tony Garnock-Jones: 1
+Phil Smith: 1
+Kasper Bjørn Nielsen: 1
+John Richmond: 1
View
5 README.md
@@ -91,7 +91,10 @@ The lib/amqp/spec.rb file is generated automatically based on the [AMQP specific
Credits and more information
============================
-(c) 2008—2010 [Aman Gupta](http://github.com/tmm1) (tmm1)
+* The Original Code is tmm1/amqp.
+* The Initial Developer of the Original Code is Aman Gupta.
+* Copyright (c) 2008 - 2010 [Aman Gupta](http://github.com/tmm1) (tmm1).
+* Contributions from Jakub Stastny are Copyright (c) 2011 VMware, Inc.
Current maintainer: [Jakub Stastny](http://github.com/botanicus) aka [botanicus](http://twitter.com/botanicus).
View
20 Rakefile
@@ -17,4 +17,22 @@ end
desc "Synonym for gem"
task :pkg => :gem
desc "Synonym for gem"
-task :package => :gem
+task :package => :gem
+
+
+desc "Regenerate contributors file."
+task :contributors do
+ authors = %x{git log | grep ^Author:}.split("\n")
+ results = authors.reduce(Hash.new) do |results, line|
+ name = line.sub(/^Author: (.+) <.+>$/, '\1')
+ results[name] ||= 0
+ results[name] += 1
+ results
+ end
+ results = results.sort_by { |_, count| count }.reverse
+ File.open("CONTRIBUTORS", "w") do |file|
+ results.each do |name, count|
+ file.puts "#{name}: #{count}"
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.