xaviershay-ruby_kml 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,23 @@
1
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
2
+ $:.unshift(File.dirname(__FILE__)) unless
3
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
4
+
5
+ require 'pp'
6
+ require 'test/unit'
7
+
8
+ require 'kml'
9
+
10
+ class Test::Unit::TestCase
11
+ def write_and_show(kml, file)
12
+ #puts kml.render
13
+ File.open(file, 'w') { |f| f.write kml.render }
14
+ show_file(file)
15
+ end
16
+
17
+ def show_file(file)
18
+ #tests should probably not launch visual external applications
19
+ #cmd = "open -a /Applications/Google\\ Earth.app/ #{File.expand_path(file)}"
20
+ #puts "executing command: #{cmd}"
21
+ #`#{cmd}`
22
+ end
23
+ end
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xaviershay-ruby_kml
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.1"
5
+ platform: ruby
6
+ authors:
7
+ - aeden, schleyfox, xaviershay
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-06-07 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Generate KML files with ruby
17
+ email: ""
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - CHANGELOG
26
+ - LICENSE
27
+ - Rakefile
28
+ - README.textile
29
+ - lib/kml/style.rb
30
+ - lib/kml/hot_spot.rb
31
+ - lib/kml/line_style.rb
32
+ - lib/kml/link.rb
33
+ - lib/kml/point.rb
34
+ - lib/kml/polygon.rb
35
+ - lib/kml/placemark.rb
36
+ - lib/kml/model.rb
37
+ - lib/kml/poly_style.rb
38
+ - lib/kml/line_string.rb
39
+ - lib/kml/geometry.rb
40
+ - lib/kml/snippet.rb
41
+ - lib/kml/color_style.rb
42
+ - lib/kml/folder.rb
43
+ - lib/kml/lat_lon_box.rb
44
+ - lib/kml/linear_ring.rb
45
+ - lib/kml/style_map.rb
46
+ - lib/kml/object.rb
47
+ - lib/kml/document.rb
48
+ - lib/kml/icon.rb
49
+ - lib/kml/icon_style.rb
50
+ - lib/kml/container.rb
51
+ - lib/kml/multi_geometry.rb
52
+ - lib/kml/look_at.rb
53
+ - lib/kml/overlay.rb
54
+ - lib/kml/style_selector.rb
55
+ - lib/kml/feature.rb
56
+ - lib/kml/version.rb
57
+ - lib/kml/ground_overlay.rb
58
+ - lib/kml_file.rb
59
+ - lib/kml.rb
60
+ - test/kml/point_test.rb
61
+ - test/kml_file_test.rb
62
+ - test/test_helper.rb
63
+ - examples/melbourne-stations.kml
64
+ has_rdoc: false
65
+ homepage: http://github.com/schleyfox/ruby_kml
66
+ post_install_message:
67
+ rdoc_options: []
68
+
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: "0"
76
+ version:
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: "0"
82
+ version:
83
+ requirements: []
84
+
85
+ rubyforge_project:
86
+ rubygems_version: 1.0.1
87
+ signing_key:
88
+ specification_version: 2
89
+ summary: Generate KML files with ruby
90
+ test_files:
91
+ - test/kml/point_test.rb
92
+ - test/kml_file_test.rb
93
+ - test/test_helper.rb