Add bundle support

master
Guillaume Dott 2013-06-15 12:07:59 +02:00
parent 4bca65aeec
commit 66d384b46d
5 changed files with 22 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
tests/output/*
.*.swp
Gemfile.lock

4
Gemfile 100644
View File

@ -0,0 +1,4 @@
source 'https://rubygems.org'
# Specify your gem's dependencies in seryz.gemspec
gemspec

View File

@ -1,16 +1,22 @@
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"]
s.email = ["guillaume+github@dott.fr", "doug.fales@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.add_dependency 'hpricot'
end

View File

@ -21,8 +21,6 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#++
module GPX
VERSION = "0.7"
# A common base class which provides a useful initializer method to many
# class in the GPX library.
class Base

View File

@ -0,0 +1,3 @@
module GPX
VERSION = "0.7"
end