addresslogic 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.1.2
2
+
3
+ * Update defaults to use changes in 1.1.1
4
+
1
5
  == 1.1.1
2
6
 
3
7
  * 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]
data/lib/addresslogic.rb CHANGED
@@ -23,7 +23,7 @@ module Addresslogic
23
23
  attr_accessor :address_parts_fields
24
24
 
25
25
  def apply_addresslogic(args = {})
26
- self.address_parts_fields = args[:fields] || [:street1, :street2, :city, [:state, :zip], :country]
26
+ self.address_parts_fields = args[:fields] || [:street1, :street2, [:city, [:state, :zip]], :country]
27
27
  include Addresslogic::InstanceMethods
28
28
  end
29
29
  end
@@ -44,7 +44,7 @@ module Addresslogic
44
44
 
45
45
  MAJOR = 1
46
46
  MINOR = 1
47
- TINY = 1
47
+ TINY = 2
48
48
 
49
49
  # The current version as a Version instance
50
50
  CURRENT = new(MAJOR, MINOR, TINY)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addresslogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson of Binary Logic