kamelopard 0.0.3 → 0.0.4

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.
@@ -31,7 +31,11 @@ end
31
31
 
32
32
  # Returns the KML that makes up the current Document, as a string.
33
33
  def get_kml
34
- Document.instance.to_kml
34
+ Document.instance.get_kml_document
35
+ end
36
+
37
+ def get_kml_string
38
+ get_kml.to_s
35
39
  end
36
40
 
37
41
  def pause(p)
@@ -1,5 +1,6 @@
1
1
  # vim:ts=4:sw=4:et:smartindent:nowrap
2
2
 
3
+ require 'rubygems'
3
4
  require 'net/http'
4
5
  require 'uri'
5
6
  require 'cgi'
metadata CHANGED
@@ -1,50 +1,71 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: kamelopard
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 4
10
+ version: 0.0.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Joshua Tolley
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-08-24 00:00:00.000000000 Z
17
+
18
+ date: 2011-11-23 00:00:00 -07:00
19
+ default_executable:
13
20
  dependencies: []
14
- description: Various classes and functions used to ease development of KML files,
15
- in particular for development of Google Earth tours
21
+
22
+ description: Various classes and functions used to ease development of KML files, in particular for development of Google Earth tours
16
23
  email: josh@endpoint.com
17
24
  executables: []
25
+
18
26
  extensions: []
27
+
19
28
  extra_rdoc_files: []
20
- files:
29
+
30
+ files:
21
31
  - lib/kamelopard/geocode.rb
22
32
  - lib/kamelopard/classes.rb
23
33
  - lib/kamelopard/functions.rb
24
34
  - lib/kamelopard/pointlist.rb
25
35
  - lib/kamelopard.rb
36
+ has_rdoc: true
26
37
  homepage: http://www.endpoint.com/services/liquid_galaxy
27
38
  licenses: []
39
+
28
40
  post_install_message:
29
41
  rdoc_options: []
30
- require_paths:
42
+
43
+ require_paths:
31
44
  - lib
32
- required_ruby_version: !ruby/object:Gem::Requirement
45
+ required_ruby_version: !ruby/object:Gem::Requirement
33
46
  none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ hash: 3
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
55
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
44
63
  requirements: []
64
+
45
65
  rubyforge_project:
46
- rubygems_version: 1.8.9
66
+ rubygems_version: 1.5.3
47
67
  signing_key:
48
68
  specification_version: 3
49
69
  summary: Tools for building KML
50
70
  test_files: []
71
+