Use a more futureproof gemspec file

This commit is contained in:
Rémi Prévost 2011-10-10 08:33:31 -04:00
parent d023edf475
commit 5719c924b9

View File

@ -3,6 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
require "teamocil"
spec = Gem::Specification.new do |s|
# Metadata
s.name = "teamocil"
s.version = Teamocil::VERSION
s.platform = Gem::Platform::RUBY
@ -11,13 +12,17 @@ spec = Gem::Specification.new do |s|
s.homepage = "http://github.com/remiprev/teamocil"
s.summary = "Easy window and split layouts for tmux"
s.description = "Teamocil helps you set up window and splits layouts for tmux using YAML configuration files."
s.files = Dir["lib/**/*.rb", "README.md", "LICENSE", "bin/*", "spec/**/*.rb"]
s.require_path = "lib"
s.executables << "teamocil"
s.add_development_dependency("rake")
s.add_development_dependency("rspec")
s.add_development_dependency("yard")
s.add_development_dependency("maruku")
# Manifest
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
# Dependencies
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "yard"
s.add_development_dependency "maruku"
end