2014-08-17 04:15:35 +08:00
require File . expand_path ( " ../lib/licensee/version " , __FILE__ )
Gem :: Specification . new do | gem |
gem . name = 'licensee'
gem . version = Licensee :: VERSION
gem . date = Date . today . to_s
2014-08-18 04:59:24 +08:00
gem . summary = " A Ruby Gem to detect under what license a project is distributed "
2014-08-17 05:04:18 +08:00
gem . description = " Licensee automates the process of reading LICENSE files and compares their contents to known licenses using a fancy math thing called the Levenshtein Distance. "
2014-08-17 04:15:35 +08:00
gem . authors = [ 'Ben Balter' ]
gem . email = 'ben.balter@github.com'
gem . homepage = 'http://github.com/benbalter/licensee'
2014-08-18 05:03:39 +08:00
gem . license = " MIT "
2014-08-17 04:15:35 +08:00
2014-08-18 04:59:24 +08:00
gem . bindir = 'bin'
gem . executables << 'licensee'
2014-08-18 08:49:56 +08:00
gem . add_dependency ( 'levenshtein-ffi' , '~> 1.0' )
2014-08-17 04:40:53 +08:00
gem . add_dependency ( 'diffy' , '~> 3.0' )
2014-08-17 04:15:35 +08:00
gem . add_development_dependency ( 'pry' , '~> 0.9' )
gem . add_development_dependency ( 'shoulda' , '~> 3.5' )
gem . add_development_dependency ( 'rake' , '~> 10.3' )
# ensure the gem is built out of versioned files
2014-09-17 23:00:59 +08:00
gem . files = Dir [ 'Rakefile' , '{bin,lib,man,test,vendor,spec}/**/*' , 'README*' , 'LICENSE*' ] & ` git ls-files -z ` . split ( " \0 " )
2014-08-17 04:15:35 +08:00
end