This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
begin | |
require 'metric_fu' | |
require 'reek' | |
require 'roodi' | |
rescue LoadError | |
puts "Error loading gems. Try this: gem install metric_fu reek roodi" | |
exit | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "yaml" | |
info = File.open( "#{ENV["HOME"]}/.git_authoring.yml" ) { |yf| YAML::load( yf ) } | |
PAIR_EMAIL = info['email'] | |
AUTHORS = info['authors'] | |
unless File.exists?(".git") | |
puts "This doesn't look like a git repository." |
NewerOlder