Git Product home page Git Product logo

indirizzo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

indirizzo's Issues

Problem deploying to Heroku

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

Gem inclusion does not work

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.

Gem does not support US military base state codes

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.

Is it possible to change from Indirizzo to indirizzo

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

etc.

instead of:

require 'Foo'
Foo.class

etc.

Is it possible to change from Indirizzo to indirizzo sometime? Maybe we could do it by the 1.0.0 release or something?

Files in published gem are not world readable

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.