cap-util.gemspec in cap-util-1.1.0 vs cap-util.gemspec in cap-util-1.2.0

- old
+ new

@@ -1,23 +1,25 @@ # -*- encoding: utf-8 -*- -require File.expand_path('../lib/cap-util/version', __FILE__) +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require "cap-util/version" Gem::Specification.new do |gem| gem.name = "cap-util" gem.version = CapUtil::VERSION - gem.description = %q{A set of utilities for writing cap tasks.} - gem.summary = %q{A set of utilities for writing cap tasks.} - gem.authors = ["Kelly Redding", "Collin Redding"] gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"] + gem.description = %q{A set of utilities for writing cap tasks.} + gem.summary = %q{A set of utilities for writing cap tasks.} gem.homepage = "http://github.com/redding/cap-util" - gem.files = `git ls-files`.split("\n") - gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + gem.files = `git ls-files`.split($/) + gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] - gem.add_development_dependency("assert", ["~>1.0"]) + gem.add_development_dependency("assert", ["~> 2.0"]) + + gem.add_dependency("scmd", ["~> 2.0"]) gem.add_dependency("capistrano") - gem.add_dependency("scmd", ["~>2.0"]) end