Permalink
Browse files

added gemspec and some documentation

  • Loading branch information...
1 parent bd44332 commit 4076105c7d497f2adf1d5a1ae42752b2702f040a @tusharr tusharr committed May 11, 2012
Showing with 78 additions and 12 deletions.
  1. +0 −1 Gemfile
  2. +0 −2 Gemfile.lock
  3. +1 −1 LICENSE.txt
  4. 0 README
  5. +14 −5 README.rdoc → README.md
  6. +0 −3 Rakefile
  7. +63 −0 geocode.gemspec
View
@@ -9,7 +9,6 @@ gem 'activesupport'
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
- gem "yard", "~> 0.7"
gem "bundler", "~> 1.0.0"
gem "jeweler", "~> 1.8.3"
gem 'mocha'
View
@@ -22,7 +22,6 @@ GEM
json (~> 1.4)
rest-client (1.6.7)
mime-types (>= 1.16)
- yard (0.8.1)
PLATFORMS
ruby
@@ -33,4 +32,3 @@ DEPENDENCIES
jeweler (~> 1.8.3)
mocha
rest-client
- yard (~> 0.7)
View
@@ -1,4 +1,4 @@
-Copyright (c) 2012 Tushar Ranka
+Copyright (c) 2012 AppFolio, Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
0 README
No changes.
View
@@ -1,8 +1,18 @@
-= geocode
+# geocode
-Description goes here.
+Geocode addresses using Google's Geocode v3 API.
-== Contributing to geocode
+## Installation
+
+Using bundler
+ gem 'geocode'
+
+## Usage
+
+ result = Geocode::Google.locate! "50 Castilian Drive"
+
+
+## Contributing to geocode
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
@@ -14,6 +24,5 @@ Description goes here.
== Copyright
-Copyright (c) 2012 Tushar Ranka. See LICENSE.txt for
-further details.
+Copyright (c) 2012 AppFolio, Inc. See LICENSE.txt for further details.
View
@@ -32,6 +32,3 @@ Rake::TestTask.new(:test) do |test|
end
task :default => :test
-
-require 'yard'
-YARD::Rake::YardocTask.new
View
@@ -0,0 +1,63 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = "geocode"
+ s.version = "0.1.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Tushar Ranka"]
+ s.date = "2012-05-11"
+ s.description = "Geocode addresses using google geocode v3 API"
+ s.email = "tusharranka@gmail.com"
+ s.extra_rdoc_files = [
+ "LICENSE.txt",
+ "README.md"
+ ]
+ s.files = [
+ ".document",
+ "Gemfile",
+ "Gemfile.lock",
+ "LICENSE.txt",
+ "Rakefile",
+ "VERSION",
+ "lib/geocode.rb",
+ "lib/geocode/google.rb",
+ "lib/geocode/location.rb",
+ "lib/geocode/result.rb",
+ "test/geocode/google_test.rb",
+ "test/test_helper.rb"
+ ]
+ s.homepage = "http://github.com/appfolio/geocode"
+ s.licenses = ["MIT"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = "1.8.12"
+ s.summary = "Geocode addresses using google geocode v3 API"
+
+ if s.respond_to? :specification_version then
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<rest-client>, [">= 0"])
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
+ s.add_development_dependency(%q<mocha>, [">= 0"])
+ else
+ s.add_dependency(%q<rest-client>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<rest-client>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ end
+end
+

0 comments on commit 4076105

Please sign in to comment.