Sha256: d314f2a768db9ada0dbaf371c992ce579c836a3719d6a7723980d91de7909aa5

Contents?: true

Size: 707 Bytes

Versions: 23

Compression:

Stored size: 707 Bytes

Contents

# encoding: utf-8
task :contributors do
  contributors = `git log --pretty=short --no-merges | git shortlog -ne | egrep -ve '^ +' | egrep -ve '^$'`
  puts contributors.split("\n").length
end

task :codeswarm do
  sh "code_swarm --reload" rescue nil # Fails because of encoding - which we'll fix
  sh "iconv -f latin1 -t utf-8 .git/.code_swarm/log.xml > tmp.xml && mv tmp.xml .git/.code_swarm/log.xml"
  sh "sed -e 's/Aslak\ Hellesøy@.BEKK.no/aslak.hellesoy@gmail.com/g' .git/.code_swarm/log.xml > tmp.xml && mv tmp.xml .git/.code_swarm/log.xml"
  sh "sed -e 's/josephwilk@joesniff.co.uk/joe@josephwilk.net/g' .git/.code_swarm/log.xml > tmp.xml && mv tmp.xml .git/.code_swarm/log.xml"
  sh "code_swarm"
end

Version data entries

23 entries across 23 versions & 5 rubygems

Version Path
cucumber-0.6.3 gem_tasks/contributors.rake
davidtrogers-cucumber-0.6.2 gem_tasks/contributors.rake
cucumber-0.6.2 gem_tasks/contributors.rake
cucumber-0.6.1 gem_tasks/contributors.rake
cucumber-0.6.0 gem_tasks/contributors.rake
cucumber-0.5.3 gem_tasks/contributors.rake
cucumber-0.5.2 gem_tasks/contributors.rake
cucumber-0.5.1 gem_tasks/contributors.rake
cucumber-0.5.0 gem_tasks/contributors.rake
cucumber-0.4.5.rc2 gem_tasks/contributors.rake
kbaum-cucumber-0.4.5.pre gem_tasks/contributors.rake
cucumber-0.4.5.rc1 gem_tasks/contributors.rake
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/gem_tasks/contributors.rake
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/gem_tasks/contributors.rake
middleman-0.10.15 vendor/gems/gems/cucumber-0.4.4/gem_tasks/contributors.rake
rackjour-0.1.8 vendor/gems/gems/cucumber-0.4.4/gem_tasks/contributors.rake
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/gem_tasks/contributors.rake
cucumber-0.4.4 gem_tasks/contributors.rake
cucumber-0.4.3 gem_tasks/contributors.rake
cucumber-0.4.2 gem_tasks/contributors.rake