Commit Graph

13 Commits (3abba74eef774cdc3486a47ee4646e90ea1096a2)

Author SHA1 Message Date
Doug Fales 3abba74eef Adding some new unit tests and fixing several file export bugs reported by Jochen Topf.
New unit tests also uncovered a bug where the number of trackpoints reported in a file was twice the actual number.
2008-02-19 04:06:29 +00:00
Doug Fales ef1eac8cbb Going to version 0.3. 2008-02-11 21:20:16 +00:00
Doug Fales 8df3cb1ea3 Thanks to Mike Gauland for discovering some route- and waypoint-related bugs. I've fixed them and also added #to_s on Waypoint so it's easier to debug. 2008-02-08 23:26:14 +00:00
Doug Fales 59aa3e5b9b Thanks to Christian Koerner for finding and fixing these bugs in the waypoint
code.
2007-12-04 17:58:48 +00:00
Doug Fales a79761711b Another patch from Gaku Ueda. This one allows you to pass in a string of GPX
data using the :gpx_date => option.  Thanks Gaku!
2007-12-04 17:52:29 +00:00
Doug Fales 8c45e64039 Updating the version #. 2007-11-30 06:29:00 +00:00
Doug Fales 5aa64f2c3a Updates courtesy of Gaku Ueda:
* Adding support for GPX 1.0 as well as 1.1 (since libxml namespace parsing
   was hard-coded to 1.1. previously).
 * Adding a GPX 1.0 unit test file.
 * Miscellaneous updates to make it work with Ruby 1.8.6.
2007-11-30 06:26:26 +00:00
Doug Fales 022c7c6813 First stab at using libxml-ruby instead of REXML. I'm seeing the unit tests
finish in under 14 seconds.  That is compared to 2 minutes using REXML.
2006-12-04 06:47:41 +00:00
Doug Fales fcf2b9e9a9 Fixing more nil time exceptions. 2006-12-03 07:31:18 +00:00
Doug Fales a60385ba51 Fixing an exception in contains_time?. 2006-12-03 06:59:58 +00:00
Doug Fales 931a10cd17 A couple of fixes to make the library comply with the different attribute names
possible on the bounds element.

Formerly, a bounds element with a minlat or minLat attribute (instead of
min_lat) would not be properly parsed.  Now all three styles of attribute name
are accepted.
2006-11-28 15:35:25 +00:00
Doug Fales 48053d44c4 Fixing nil time bug. 2006-10-28 22:09:14 +00:00
Doug Fales 371a3fa0b9 Initial import of gpx gem. 2006-10-14 13:20:23 +00:00