Skip to content

Commit

Permalink
You mean I've been spelling "Kamelopard" wrong this whole time? I mea…
Browse files Browse the repository at this point in the history
…n, the "K" instead of a "C" made sense (it's "KML", after all), but ... anyway, s/leopard/lopard/
  • Loading branch information
Joshua Tolley committed Aug 24, 2011
1 parent 070777e commit caf1d55
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion NOTES
Expand Up @@ -64,7 +64,7 @@ Timing

Or perhaps just assume there will be some tweaking to follow any KML
production. I don't like that idea, though, because I'd like to be able to
regenerate any KML from a Kameleopard script.
regenerate any KML from a Kamelopard script.

SPLINE NOTES

Expand Down
4 changes: 2 additions & 2 deletions README
@@ -1,4 +1,4 @@
= kameleopard: Ruby gem to simplify production of KML
= kamelopard: Ruby gem to simplify production of KML

This gem simplifies generating KML files, especially those used by Google
Earth. See http://code.google.com/apis/kml/documentation/kmlreference.html for
Expand All @@ -14,7 +14,7 @@ what's most frequently tested.

Install via RubyGems:

gem install kameleopard
gem install kamelopard

From source:

Expand Down
2 changes: 1 addition & 1 deletion Rakefile
@@ -1,5 +1,5 @@
gemspec = eval(File.read(Dir["*.gemspec"].first))
desc 'test kameleopard'
desc 'test kamelopard'
task :test do
system "ruby test.rb"
end
Expand Down
2 changes: 1 addition & 1 deletion kameleopard.gemspec → kamelopard.gemspec
@@ -1,5 +1,5 @@
Gem::Specification.new do |s|
s.name = 'kameleopard'
s.name = 'kamelopard'
s.version = '0.0.2'
s.date = '2011-08-24'
s.files = Dir['lib/**/*.rb']
Expand Down
3 changes: 0 additions & 3 deletions lib/kameleopard.rb

This file was deleted.

3 changes: 3 additions & 0 deletions lib/kamelopard.rb
@@ -0,0 +1,3 @@
require 'kamelopard/classes'
require 'kamelopard/functions'
require 'kamelopard/geocode'
10 changes: 5 additions & 5 deletions lib/kameleopard/classes.rb → lib/kamelopard/classes.rb
Expand Up @@ -5,7 +5,7 @@
# description of KML

require 'singleton'
require 'kameleopard/pointlist'
require 'kamelopard/pointlist'

@@sequence = 0

Expand Down Expand Up @@ -81,7 +81,7 @@ def convert_coord(a) # :nodoc
return a
end

# Base class for all Kameleopard objects. Manages object ID and a single
# Base class for all Kamelopard objects. Manages object ID and a single
# comment string associated with the object
class KMLObject
attr_accessor :id, :comment
Expand Down Expand Up @@ -210,7 +210,7 @@ def add_element(a)
end
else
# I dunno what it is
raise "Kameleopard can't understand this object as a coordinate"
raise "Kamelopard can't understand this object as a coordinate"
end
elsif a.kind_of CoordinateList then
# Append this coordinate list
Expand All @@ -222,7 +222,7 @@ def add_element(a)
a.respond_to? 'altitude' then
@coordinates << [a.longitude, a.latitude, a.altitude]
else
raise "Kameleopard can't understand this object as a coordinate"
raise "Kamelopard can't understand this object as a coordinate"
end
end
end
Expand Down Expand Up @@ -574,7 +574,7 @@ def get_stack_trace # :nodoc
k
end

# Represents KML's Document class. This is a Singleton object; Kameleopard
# Represents KML's Document class. This is a Singleton object; Kamelopard
# scripts can (for now) manage only one Document at a time.
class Document < Container
include Singleton
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/kameleopard/geocode.rb → lib/kamelopard/geocode.rb
Expand Up @@ -57,6 +57,6 @@ def parse_response(resp)

# EXAMPLE
# require 'rubygems'
# require 'kameleopard'
# require 'kamelopard'
# g = YahooGeocoder.new('some-api-key')
# puts g.lookup({ 'city' => 'Springfield', 'count' => '100' })
@@ -1,6 +1,6 @@
# vim:ts=4:sw=4:et:smartindent:nowrap
require 'matrix'
#require 'kameleopard_classes'
#require 'kamelopard_classes'

class NDPointList
# Contains a list of N-dimensional numeric arrays
Expand Down
2 changes: 1 addition & 1 deletion test.rb
@@ -1,6 +1,6 @@
# vim:ts=4:sw=4:et:smartindent:nowrap
$LOAD_PATH << './lib'
require 'kameleopard'
require 'kamelopard'

def ids
l = LookAt.new()
Expand Down

0 comments on commit caf1d55

Please sign in to comment.