-
Notifications
You must be signed in to change notification settings - Fork 2
/
terminal-notifier.gemspec
26 lines (21 loc) · 1.12 KB
/
terminal-notifier.gemspec
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
# -*- encoding: utf-8 -*-
plist = File.expand_path('../../Terminal Notifier/Terminal Notifier-Info.plist', __FILE__)
# Also run on non-OSX machines, otherwise bundle installs directly from the repo will fail.
# version = `/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' '#{plist}'`.strip
version = File.read(plist).match(%r{<string>(\d+\.\d+\.\d+)</string>})[1]
Gem::Specification.new do |gem|
gem.name = "terminal-notifier"
gem.version = version
gem.summary = 'Send User Notifications on Mac OS X 10.8 or higher.'
gem.authors = ["Eloy Duran"]
gem.email = ["eloy.de.enige@gmail.com"]
gem.homepage = 'https://github.com/alloy/terminal-notifier'
gem.license = 'MIT'
gem.executables = ['terminal-notifier']
gem.files = ['bin/terminal-notifier', 'lib/terminal-notifier.rb'] + Dir.glob('vendor/terminal-notifier/**/*')
gem.require_paths = ['lib']
gem.extra_rdoc_files = ['README.markdown']
gem.add_development_dependency 'bacon'
gem.add_development_dependency 'mocha'
gem.add_development_dependency 'mocha-on-bacon'
end