1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'notiffany/version'
Gem::Specification.new do |spec|
spec.name = "notiffany"
spec.version = Notiffany::VERSION
spec.authors = [
"Cezary Baginski",
"Rémy Coutable",
"Thibaud Guillaume-Gentil"
]
spec.email = ["cezary@chronomantic.net"]
spec.summary = 'Notifier library (extracted from Guard project)'
spec.description = <<-EOF
Wrapper libray for most popular notification
libraries such as Growl, Libnotify, Notifu
EOF
spec.homepage = "https://github.com/guard/notiffany"
spec.license = "MIT"
git_files = Dir['**/*'].reject { |f| f =~ %r{^debian/} }
files = git_files.select { |f| %r{^lib/.*$} =~ f }
files += %w(README.md LICENSE.txt)
# skip the large images/guard.png
files += %w(images/pending.png images/failed.png images/success.png)
spec.files = files
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_runtime_dependency "nenv", "~> 0.1"
spec.add_runtime_dependency "shellany", "~> 0.0"
spec.add_development_dependency "bundler", "~> 1.7"
end
|