-
Notifications
You must be signed in to change notification settings - Fork 53
/
pomo.gemspec
29 lines (25 loc) · 1.29 KB
/
pomo.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
27
28
29
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pomo/os'
require 'pomo/version'
Gem::Specification.new do |spec|
spec.name = 'pomo'
spec.version = Pomo::VERSION
spec.authors = ['TJ Holowaychuk', 'Steve McKinney']
spec.email = ['tj@vision-media.ca', 'stevemckinney@gmail.com']
spec.summary = "pomo-#{Pomo::VERSION}"
spec.description = 'Pomodoro time management for the command-line'
spec.homepage = 'https://github.com/visionmedia/pomo'
spec.rubyforge_project = 'pomo'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.rdoc_options = ['--line-numbers', '--inline-source', '--title', 'Pomo', '--main', 'README.md']
spec.add_dependency('commander', '~> 4.1')
spec.add_dependency('octokit', '~> 1.19')
spec.add_dependency('terminal-notifier', '~> 1.4') if Pomo::OS.mac?
spec.add_dependency('growl', '~> 1.0') if Pomo::OS.mac? || Pomo::OS.windows?
spec.add_dependency('libnotify', '~> 0.8') if Pomo::OS.linux?
end