Update gemspec to be a bit more modern

This commit is contained in:
Mitchell Hashimoto 2010-08-19 22:25:23 -07:00
parent 7bf9c6203d
commit 0bd01137a1
2 changed files with 9 additions and 9 deletions

0
bin/.gitignore vendored Normal file → Executable file
View File

View File

@ -1,8 +1,4 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path("../lib/", __FILE__)
$:.unshift(lib) unless $:.include?(lib)
require 'vagrant/version'
require File.expand_path("../lib/vagrant/version", __FILE__)
Gem::Specification.new do |s|
s.name = "vagrant"
@ -13,9 +9,8 @@ Gem::Specification.new do |s|
s.homepage = "http://vagrantup.com"
s.summary = "Build and distribute virtualized development environments."
s.description = "Vagrant is a tool for building and distributing virtualized development environments."
s.executables = ["vagrant"]
s.require_paths = ["lib"]
s.files = Dir.glob("{bin,config,keys,lib,templates}/**/*") + %W[LICENSE README.md]
s.required_rubygems_version = ">= 1.3.6"
s.rubyforge_project = "vagrant"
s.add_dependency("virtualbox", "~> 0.7.3")
@ -30,5 +25,10 @@ Gem::Specification.new do |s|
s.add_development_dependency("contest", ">= 0.1.2")
s.add_development_dependency("mocha")
s.add_development_dependency("ruby-debug")
s.add_development_dependency("bundler", ">= 1.0.0.rc.5")
s.files = `git ls-files`.split("\n")
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
s.require_path = 'lib'
end