Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update defaults to use changes in 1.1.1

  • Loading branch information...
commit 1b1e992db2920f9197b57a6b4e9a64795506b6d2 1 parent 997bd33
@binarylogic authored
Showing with 5 additions and 1 deletion.
  1. +4 −0 CHANGELOG.rdoc
  2. +1 −1  lib/addresslogic.rb
View
4 CHANGELOG.rdoc
@@ -1,3 +1,7 @@
+== 1.1.2
+
+* Update defaults to use changes in 1.1.1
+
== 1.1.1
* Clean up code to use recursion and allow fields to be specified like: [:street1, :street2, [:city, [:state, :zip]], :country]. Which is the standard american way of displaying address. Which looks like: [street1, street2, "#{city}, #{state} #{zip}", country]
View
2  lib/addresslogic.rb
@@ -23,7 +23,7 @@ module ClassMethods
attr_accessor :address_parts_fields
def apply_addresslogic(args = {})
- self.address_parts_fields = args[:fields] || [:street1, :street2, :city, [:state, :zip], :country]
+ self.address_parts_fields = args[:fields] || [:street1, :street2, [:city, [:state, :zip]], :country]
include Addresslogic::InstanceMethods
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.