summaryrefslogtreecommitdiff
path: root/bundler.gemspec
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-02-02 15:51:08 -0800
committerAndre Arko <andre@arko.net>2013-02-02 15:51:08 -0800
commit66e0823ffd53db1b41b3bf67dffd79a8c63c45fb (patch)
treed9259bc36c250326f34e18b6dbfdca68192a8bdf /bundler.gemspec
parent717470ad67b5f85e95dbc01a8e3f8a07791842bf (diff)
downloadbundler-66e0823ffd53db1b41b3bf67dffd79a8c63c45fb.tar.gz
fix version constraints, clean up git in gemspec
Diffstat (limited to 'bundler.gemspec')
-rw-r--r--bundler.gemspec14
1 files changed, 5 insertions, 9 deletions
diff --git a/bundler.gemspec b/bundler.gemspec
index 3a5ebf985c..16e3999ed4 100644
--- a/bundler.gemspec
+++ b/bundler.gemspec
@@ -16,16 +16,12 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 1.8.7'
spec.required_rubygems_version = '>= 1.3.6'
- spec.add_development_dependency 'ronn'
- spec.add_development_dependency 'rspec', '>= 2.11'
+ spec.add_development_dependency 'ronn', '~> 0.7.3'
+ spec.add_development_dependency 'rspec', '~> 2.11'
- # Man files are required because they are ignored by git
- spec.files = %w(CHANGELOG.md CONTRIBUTE.md CONTRIBUTING.md ISSUES.md LICENSE.md README.md Rakefile UPGRADING.md bundler.gemspec)
- spec.files += Dir.glob("lib/**/*.rb")
- spec.files += Dir.glob("bin/**/*")
- spec.files += Dir.glob("man/**/*")
- spec.files += Dir.glob("spec/**/*")
- spec.test_files = Dir.glob("spec/**/*")
+ spec.files = `git ls-files`.split($/)
+ spec.files += Dir.glob('man/**/*') # man/ is ignored by git
+ spec.test_files = spec.files.grep(%r{^spec/})
spec.executables = %w(bundle)
spec.require_paths = ["lib"]