# -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) 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 /darwin/ =~ RUBY_PLATFORM spec.add_dependency('growl', '~> 1.0') if /darwin/ =~ RUBY_PLATFORM spec.add_dependency('libnotify', '~> 0.8') if /linux/ =~ RUBY_PLATFORM spec.add_development_dependency('rspec', '~> 2.12') end