update gemspec, do not use git to determine files

This commit is contained in:
Josh Holtrop 2014-06-12 11:13:56 -04:00
parent 9f75ea9d21
commit 08b8a2e6be

View File

@ -1,19 +1,19 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__) lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rscons/version' require "rscons/version"
Gem::Specification.new do |gem| Gem::Specification.new do |gem|
gem.name = "rscons" gem.name = "rscons"
gem.version = Rscons::VERSION gem.version = Rscons::VERSION
gem.authors = ["Josh Holtrop"] gem.authors = ["Josh Holtrop"]
gem.email = ["jholtrop@gmail.com"] gem.email = ["jholtrop@gmail.com"]
gem.description = %q{Software construction library inspired by SCons and implemented in Ruby} gem.description = %q{Software construction library inspired by SCons and implemented in Ruby.}
gem.summary = %q{Software construction library inspired by SCons and implemented in Ruby} gem.summary = %q{Software construction library inspired by SCons and implemented in Ruby}
gem.homepage = "https://github.com/holtrop/rscons" gem.homepage = "https://github.com/holtrop/rscons"
gem.license = 'MIT' gem.license = "MIT"
gem.files = `git ls-files`.split($/) gem.files = Dir["{bin,assets,lib}/**/*", "*.gemspec", "LICENSE.txt"]
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"] gem.require_paths = ["lib"]
@ -26,6 +26,5 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "rspec" gem.add_development_dependency "rspec"
gem.add_development_dependency "rake" gem.add_development_dependency "rake"
gem.add_development_dependency "simplecov" gem.add_development_dependency "simplecov"
gem.add_development_dependency 'rdoc'
gem.add_development_dependency "yard" gem.add_development_dependency "yard"
end end