gpx_utils 0.0.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +51 -20
- data/README.md +4 -4
- data/VERSION +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
@@ -1,32 +1,63 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
addressable (2.3.5)
|
5
|
+
builder (3.2.2)
|
6
|
+
diff-lcs (1.2.5)
|
7
|
+
docile (1.1.1)
|
8
|
+
faraday (0.8.8)
|
9
|
+
multipart-post (~> 1.2.0)
|
10
|
+
git (1.2.6)
|
11
|
+
github_api (0.10.1)
|
12
|
+
addressable
|
13
|
+
faraday (~> 0.8.1)
|
14
|
+
hashie (>= 1.2)
|
15
|
+
multi_json (~> 1.4)
|
16
|
+
nokogiri (~> 1.5.2)
|
17
|
+
oauth2
|
18
|
+
hashie (2.0.5)
|
19
|
+
highline (1.6.20)
|
20
|
+
httpauth (0.2.0)
|
21
|
+
jeweler (1.8.8)
|
22
|
+
builder
|
8
23
|
bundler (~> 1.0)
|
9
24
|
git (>= 1.2.5)
|
25
|
+
github_api (= 0.10.1)
|
26
|
+
highline (>= 1.6.15)
|
27
|
+
nokogiri (= 1.5.10)
|
10
28
|
rake
|
11
29
|
rdoc
|
12
|
-
json (1.
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
30
|
+
json (1.8.1)
|
31
|
+
jwt (0.1.8)
|
32
|
+
multi_json (>= 1.5)
|
33
|
+
multi_json (1.8.2)
|
34
|
+
multi_xml (0.5.5)
|
35
|
+
multipart-post (1.2.0)
|
36
|
+
nokogiri (1.5.10)
|
37
|
+
oauth2 (0.9.2)
|
38
|
+
faraday (~> 0.8)
|
39
|
+
httpauth (~> 0.2)
|
40
|
+
jwt (~> 0.1.4)
|
41
|
+
multi_json (~> 1.0)
|
42
|
+
multi_xml (~> 0.5)
|
43
|
+
rack (~> 1.2)
|
44
|
+
rack (1.5.2)
|
45
|
+
rake (10.1.0)
|
46
|
+
rdoc (4.0.1)
|
17
47
|
json (~> 1.4)
|
18
|
-
rspec (2.
|
19
|
-
rspec-core (~> 2.
|
20
|
-
rspec-expectations (~> 2.
|
21
|
-
rspec-mocks (~> 2.
|
22
|
-
rspec-core (2.
|
23
|
-
rspec-expectations (2.
|
48
|
+
rspec (2.14.1)
|
49
|
+
rspec-core (~> 2.14.0)
|
50
|
+
rspec-expectations (~> 2.14.0)
|
51
|
+
rspec-mocks (~> 2.14.0)
|
52
|
+
rspec-core (2.14.7)
|
53
|
+
rspec-expectations (2.14.4)
|
24
54
|
diff-lcs (>= 1.1.3, < 2.0)
|
25
|
-
rspec-mocks (2.
|
26
|
-
simplecov (0.
|
27
|
-
|
28
|
-
|
29
|
-
|
55
|
+
rspec-mocks (2.14.4)
|
56
|
+
simplecov (0.8.2)
|
57
|
+
docile (~> 1.1.0)
|
58
|
+
multi_json
|
59
|
+
simplecov-html (~> 0.8.0)
|
60
|
+
simplecov-html (0.8.0)
|
30
61
|
|
31
62
|
PLATFORMS
|
32
63
|
ruby
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ Import waypoints file
|
|
20
20
|
|
21
21
|
|
22
22
|
Export waypoints to GPX file
|
23
|
-
|
23
|
+
----------------------------
|
24
24
|
|
25
25
|
g = GpxUtils::WaypointsExporter.new
|
26
26
|
lat = 52.384444
|
@@ -30,8 +30,8 @@ Export waypoints to GPX file
|
|
30
30
|
time = "created_at" # optional
|
31
31
|
ele = 200 # 200m above sea level, optional
|
32
32
|
sym = "Trail Head" # Garmin icon string, optional
|
33
|
-
g.
|
34
|
-
#g.
|
33
|
+
g.add(lat, lon, name, cmt, time, ele, sym)
|
34
|
+
#g.add(lat, lon, name) # w/o optional parameters
|
35
35
|
xml = g.to_xml
|
36
36
|
xmp # GPX file content
|
37
37
|
|
@@ -87,6 +87,6 @@ Contributing to gpx_utils
|
|
87
87
|
Copyright
|
88
88
|
---------
|
89
89
|
|
90
|
-
Copyright (c) 2012-
|
90
|
+
Copyright (c) 2012-2014 Aleksander Kwiatkowski. See LICENSE.txt for
|
91
91
|
further details.
|
92
92
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gpx_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: -2697726610226604423
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
none: false
|
148
148
|
requirements:
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
|
-
rubygems_version: 1.8.
|
154
|
+
rubygems_version: 1.8.25
|
155
155
|
signing_key:
|
156
156
|
specification_version: 3
|
157
157
|
summary: GPX file utilities
|