Permalink
Please sign in to comment.
Showing
with
123 additions
and 7 deletions.
- +1 −0 .gitignore
- +6 −0 History.txt
- +18 −0 Manifest.txt
- +48 −0 README.txt
- +29 −0 Rakefile
- +1 −1 demo/views/index.builder
- +16 −6 demo/ws.rb
- +4 −0 lib/geocoder/us.rb
| @@ -0,0 +1,6 @@ | ||
| +=== 1.0.0 / 2009-06-02 | ||
| + | ||
| +* 1 major enhancement | ||
| + | ||
| + * Birthday! | ||
| + |
18
Manifest.txt
| @@ -0,0 +1,18 @@ | ||
| +History.txt | ||
| +Manifest.txt | ||
| +README.txt | ||
| +Rakefile | ||
| +lib/geocoder/us/database.rb | ||
| +lib/geocoder/us/numbers.rb | ||
| +lib/geocoder/us/address.rb | ||
| +lib/geocoder/us/constants.rb | ||
| +tests/database.rb | ||
| +tests/numbers.rb | ||
| +tests/generate.rb | ||
| +tests/run.rb | ||
| +tests/address.rb | ||
| +tests/benchmark.rb | ||
| +tests/constants.rb | ||
| +tests/data/address-sample.csv | ||
| +tests/data/locations.csv | ||
| +tests/data/db-test.csv |
48
README.txt
| @@ -0,0 +1,48 @@ | ||
| += geocoder_us | ||
| + | ||
| +* FIX (url) | ||
| + | ||
| +== DESCRIPTION: | ||
| + | ||
| +FIX (describe your package) | ||
| + | ||
| +== FEATURES/PROBLEMS: | ||
| + | ||
| +* FIX (list of features or problems) | ||
| + | ||
| +== SYNOPSIS: | ||
| + | ||
| + FIX (code sample of usage) | ||
| + | ||
| +== REQUIREMENTS: | ||
| + | ||
| +* FIX (list of requirements) | ||
| + | ||
| +== INSTALL: | ||
| + | ||
| +* FIX (sudo gem install, anything else) | ||
| + | ||
| +== LICENSE: | ||
| + | ||
| +(The MIT License) | ||
| + | ||
| +Copyright (c) 2009 FIX | ||
| + | ||
| +Permission is hereby granted, free of charge, to any person obtaining | ||
| +a copy of this software and associated documentation files (the | ||
| +'Software'), to deal in the Software without restriction, including | ||
| +without limitation the rights to use, copy, modify, merge, publish, | ||
| +distribute, sublicense, and/or sell copies of the Software, and to | ||
| +permit persons to whom the Software is furnished to do so, subject to | ||
| +the following conditions: | ||
| + | ||
| +The above copyright notice and this permission notice shall be | ||
| +included in all copies or substantial portions of the Software. | ||
| + | ||
| +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
| +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
| +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
| +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
| +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
| +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| @@ -0,0 +1,29 @@ | ||
| +require 'rubygems' | ||
| +Gem::manage_gems | ||
| +require 'rake/gempackagetask' | ||
| + | ||
| +spec = Gem::Specification.new do |s| | ||
| + s.platform = Gem::Platform::RUBY | ||
| + s.name = 'Geocoder-US' | ||
| + s.version = "1.0.0" | ||
| + s.author = "Schuyler Erle" | ||
| + s.email = 'geocoder@entropyfree.com' | ||
| + s.description = "US address geocoding based on TIGER/Line." | ||
| + s.summary = "US address geocoding based on TIGER/Line." | ||
| + s.homepage = "http://geocoder.us/" | ||
| + s.files = FileList[ | ||
| + 'lib/geocoder/*.rb', 'lib/geocoder/us/*.rb', 'tests/*'].to_a | ||
| + s.require_path = "lib" | ||
| + s.test_files = "tests/run.rb" | ||
| + s.has_rdoc = true | ||
| + s.extra_rdoc_files = ["README"] | ||
| +end | ||
| + | ||
| +Rake::GemPackageTask.new(spec) do |pkg| | ||
| + pkg.need_tar = true | ||
| +end | ||
| + | ||
| +task :default => "pkg/#{spec.name}-#{spec.version}.gem" do | ||
| + puts "generated latest version" | ||
| +end | ||
| + |
22
demo/ws.rb
| @@ -0,0 +1,4 @@ | ||
| +require "geocoder/us/database" | ||
| +require "geocoder/us/address" | ||
| + | ||
| +Geocoder::US::VERSION = "1.0.0" |
0 comments on commit
9ddaa99