Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix gem release error

  • Loading branch information...
commit 4271f870b15092e1d0c0444538194d4ba3a54bbe 1 parent c65a868
Andre Lewis authored
Showing with 12 additions and 1 deletion.
  1. +8 −0 Rakefile
  2. +4 −1 geokit.gemspec
View
8 Rakefile
@@ -4,6 +4,14 @@ 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
+
project=Hoe.new('geokit', Geokit::VERSION) do |p|
#p.rubyforge_name = 'geokit' # if different than lowercase project name
p.developer('Andre Lewis', 'andre@earthcode.com')
View
5 geokit.gemspec
@@ -18,7 +18,10 @@ Gem::Specification.new do |s|
s.rubyforge_project = %q{geokit}
s.rubygems_version = %q{1.3.1}
s.summary = %q{none}
- s.test_files = ["test/test_base_geocoder.rb", "test/test_bounds.rb", "test/test_ca_geocoder.rb", "test/test_geoloc.rb", "test/test_google_geocoder.rb", "test/test_latlng.rb", "test/test_multi_geocoder.rb", "test/test_us_geocoder.rb", "test/test_yahoo_geocoder.rb"]
+ s.test_files = ["test/test_base_geocoder.rb", "test/test_bounds.rb", "test/test_ca_geocoder.rb", "test/test_geoloc.rb",
+ "test/test_geoplugin_geocoder.rb", "test/test_google_geocoder.rb", "test/test_google_reverse_geocoder.rb",
+ "test/test_inflector.rb", "test/test_ipgeocoder.rb", "test/test_latlng.rb", "test/test_multi_geocoder.rb",
+ "test/test_multi_ip_geocoder.rb", "test/test_us_geocoder.rb", "test/test_yahoo_geocoder.rb"]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
Please sign in to comment.
Something went wrong with that request. Please try again.