gpx.gemspec in gpx-0.7 vs gpx.gemspec in gpx-0.8.1

- old
+ new

@@ -1,16 +1,24 @@ -require './lib/gpx/gpx' # load this just to get GPX::VERSION -require 'rake' # For FileList +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'gpx/version' + Gem::Specification.new do |s| s.name = 'gpx' s.version = GPX::VERSION + s.authors = ["Guillaume Dott", "Doug Fales", "Andrew Hao"] + s.email = ["guillaume+github@dott.fr", "doug.fales@gmail.com", "andrewhao@gmail.com"] s.summary = %q{A basic API for reading and writing GPX files.} s.description = %q{A basic API for reading and writing GPX files.} - s.files = FileList[ "lib/**/*", "bin/*", "tests/**/*", "[A-Z]*", "Rakefile", "doc/**/*" ] - s.require_path = 'lib' + + s.files = `git ls-files`.split($/) + s.test_files = s.files.grep(%r{^(test|spec|features)/}) + s.require_paths = ["lib"] s.has_rdoc = true - s.author = "Doug Fales" - s.email = "doug.fales@gmail.com" - s.homepage = "http://dougfales.github.com/gpx/" - s.rubyforge_project = "gpx" - s.add_dependency('hpricot') + + s.homepage = "http://www.github.com/dougfales/gpx" + s.add_dependency 'rake' + s.add_dependency 'nokogiri' + s.add_development_dependency 'bundler' + s.add_development_dependency 'minitest' end