Skip to content

Commit

Permalink
Bump Nokogiri and Ruby minimum dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hao committed Jan 5, 2017
1 parent 6a48c48 commit 0ed825d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[<img src="https://travis-ci.org/dougfales/gpx.svg" alt="Build Status" />](https://travis-ci.org/dougfales/gpx)
[![Code Climate](https://codeclimate.com/github/dougfales/gpx/badges/gpa.svg)](https://codeclimate.com/github/dougfales/gpx)

Copyright (C) 2006 Doug Fales [email protected]
Copyright (C) 2006 Doug Fales [email protected]

Released under the MIT License.

Expand All @@ -19,9 +19,14 @@ rectangular areas within a file, and it also calculates some meta-data about
the tracks and points in a file (such as distance, duration, average speed,
etc).

## Requirements

As of `0.9.0`, `gpx` requires at least Ruby 2.1 to run.

## Examples

Reading a GPX file, and cropping its contents to a given area:

```ruby
gpx = GPX::GPXFile.new(:gpx_file => filename) # Read GPX file
bounds = GPX::Bounds.new(params) # Create a rectangular area to crop
Expand Down
4 changes: 3 additions & 1 deletion gpx.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ Gem::Specification.new do |s|
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.required_ruby_version = '~>2.1'

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.homepage = "http://www.github.com/dougfales/gpx"
s.add_dependency 'rake'
s.add_dependency 'nokogiri'
s.add_dependency 'nokogiri', '~>1.7'
s.add_development_dependency 'bundler'
s.add_development_dependency 'minitest'
end

0 comments on commit 0ed825d

Please sign in to comment.