daveworth / indirizzo Goto Github PK
View Code? Open in Web Editor NEWExtraction of Address class from geocommons/geocoder
License: GNU Lesser General Public License v3.0
Extraction of Address class from geocommons/geocoder
License: GNU Lesser General Public License v3.0
Hi -
Your gem was a great resource - I used it to parse addresses for an app I created. I tried to deploy the app to Heroku and keep getting this error:
NameError (uninitialized constant HomesController::Indirizzo):
Do you know how to correct this? Have you run into a similar issue?
Thanks,
Carly
It would be nice if some segments are not downcased. For example city name or street names are all in lowercase. Reverting this is not always possible.
First off, naming this with a capital "I" defies most convention and I am frowning upon it.
Second, this gem doesn't work.
Installing the gem works OK, but it's unusable.
require 'Indirizzo'
does not work.
lower case also does not work:
require 'indirizzo'
LoadError: cannot load such file -- indirizzo
And as some have suggested, including the useful Address
class directly also doesn't work:
require 'indirizzo/address' LoadError: cannot load such file -- indirizzo/constants
Someone with a working knowledge of proper Gem creation should be able to fix this. Really sad to see potentially useful but likely malformed and abandoned gems out there. Kudos if someone helps. I can't waste my time on broken stuff for that long, as I have to move on and solve my actual problem.
Thanks for getting this code almost there.
While using the GEM I noticed that Military base addresses return nil on lookup when providing the short postal abbreviation AA,AE,AP. These represent a number of "US" addresses states and are valid for a number of customers. I've added this issue here and already put together a pullrequest to add the states.
This is completely trivial, but I was wanting to contribute to this project and was going to start by doing some general cleanup of code. One thing is that usually in ruby you do:
require 'foo'
Foo.class
instead of:
require 'Foo'
Foo.class
Is it possible to change from Indirizzo to indirizzo sometime? Maybe we could do it by the 1.0.0 release or something?
It looks like the files packaged in the 0.1.7 gem are not world readable, which is causing problems on my app server as the gems are installed globally and the server process is running as a different user than installed the gems.
-rw------- 1 jcn staff 140 Oct 28 17:23 Gemfile
-rw------- 1 jcn staff 970 Oct 28 17:23 Indirizzo.gemspec
-rw------- 1 jcn staff 7637 Oct 28 17:23 LICENSE.txt
-rw------- 1 jcn staff 3413 Oct 28 17:23 README.md
-rw------- 1 jcn staff 638 Oct 28 17:23 Rakefile
-rw------- 1 jcn staff 5 Oct 28 17:23 VERSION
lib:
total 8
drwxr-xr-x 5 jcn staff 170 Oct 28 17:23 indirizzo/
-rw------- 1 jcn staff 28 Oct 28 17:23 indirizzo.rb
test:
total 48
-rw------- 1 jcn staff 9958 Oct 28 17:23 test_address.rb
-rw------- 1 jcn staff 1560 Oct 28 17:23 test_constants.rb
-rw------- 1 jcn staff 39 Oct 28 17:23 test_helper.rb
-rw------- 1 jcn staff 1384 Oct 28 17:23 test_numbers.rb
I think that a simple chmod should do the trick here. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.