street-address-rb / street-address

Detect, and dissect, US Street Addresses in strings.
MIT License
168 stars 85 forks source link

Addresses with grid system displays incorrectly #9

Closed zhon closed 9 years ago

zhon commented 11 years ago

Version 1.0.5

a = StreetAddress::US.parse(
  '88 E 1160 S SUITE A, ST GEORGE, UT')
a.to_s  # => "88 E 1160 Suite A S, ST GEORGE, UT"

It seems like the street suffix is displayed after the unit_prefix and unit.

Love the gem, BTW.

derrek commented 11 years ago

Sorry back from vacation - will take a look at this soon!

derrek commented 9 years ago

Kinda fixed in version 2. Not totally sure what you would expect for #street and #number.