active_shipping 0.9.6 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,7 +74,11 @@ module ActiveMerchant
74
74
 
75
75
  def add_address(xml, destination)
76
76
  xml.tag! 'AddressInfo', :type => 'Ship' do
77
- xml.tag! 'Name', destination.name unless destination.name.blank?
77
+ if destination.name.present?
78
+ xml.tag! 'Name' do
79
+ xml.tag! 'Full', destination.name
80
+ end
81
+ end
78
82
  xml.tag! 'Address1', destination.address1
79
83
  xml.tag! 'Address2', destination.address2 unless destination.address2.blank?
80
84
  xml.tag! 'Address3', destination.address3 unless destination.address3.blank?
@@ -1,3 +1,3 @@
1
1
  module ActiveShipping
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_shipping
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 6
10
- version: 0.9.6
9
+ - 7
10
+ version: 0.9.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - James MacAulay
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-01-11 00:00:00 +01:00
21
+ date: 2011-01-14 00:00:00 +01:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency