lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'tty/pager/version' Gem::Specification.new do |spec| spec.name = "tty-pager" spec.version = TTY::Pager::VERSION spec.authors = ["Piotr Murach"] spec.email = [""] spec.summary = %q{Terminal output paging in a cross-platform way supporting all major ruby interpreters.} spec.description = %q{Terminal output paging in a cross-platform way supporting all major ruby interpreters.} spec.homepage = "https://piotrmurach.github.io/tty" spec.license = "MIT" spec.files = Dir['{lib,spec,examples}/**/*.rb'] spec.files += Dir['tasks/*', 'tty-pager.gemspec'] spec.files += Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt', 'Rakefile'] spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^spec/}) spec.require_paths = ["lib"] spec.required_ruby_version = '>= 2.0.0' spec.add_dependency 'tty-screen', '~> 0.6' spec.add_dependency 'tty-which', '~> 0.4' spec.add_dependency 'strings', '~> 0.1.4' spec.add_development_dependency 'bundler' spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec', '~> 3.6' end