Skip to content
Browse files

rake and gemspec mods

  • Loading branch information...
1 parent bf612be commit a4e0c3d2781c479d2882ebbb50973e86c2316ea7 Andre Lewis committed
Showing with 8 additions and 9 deletions.
  1. +8 −7 Rakefile
  2. +0 −2 geokit-gem.gemspec → geokit.gemspec
View
15 Rakefile
@@ -4,16 +4,17 @@ require 'rubygems'
require 'hoe'
require './lib/geokit.rb'
+
# undefined method `empty?' for nil:NilClass
# /Library/Ruby/Site/1.8/rubygems/specification.rb:886:in `validate'
-class NilClass
- def empty?
- true
- end
-end
+#class NilClass
+# def empty?
+# true
+# end
+#end
-project=Hoe.new('geokit', Geokit::VERSION) do |p|
- #p.rubyforge_name = 'geokit' # if different than lowercase project name
+Hoe.spec('geokit') do |p|
+ p.version=Geokit::VERSION
p.developer('Andre Lewis', 'andre@earthcode.com')
p.summary="Geokit provides geocoding and distance calculation in an easy-to-use API"
end
View
2 geokit-gem.gemspec → geokit.gemspec
@@ -36,5 +36,3 @@ Gem::Specification.new do |s|
end
s.add_dependency(%q{json_pure})
end
-
-

0 comments on commit a4e0c3d

Please sign in to comment.
Something went wrong with that request. Please try again.