DeveloperInfo
Simple utility class to get developer info from git config.
Installation
Add this line to your application's Gemfile:
gem "developer_info"And then execute:
$ bundleOr install it yourself by:
$ gem install developer_infoUsage
require "developer_info"
developer_info = DeveloperInfo.new("#{ENV["HOME"]}/git/repo/path")
developer_info.editor # "mvim"
developer_info.email # "john.doe@example.org"
developer_info.name # "John Doe"
developer_info.to_s # "John Doe (john.doe@example.org)"Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request