xero_gateway 2.0.10 → 2.0.11

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.
@@ -55,7 +55,7 @@ module XeroGateway
55
55
  # option, and the Options tag is omitted
56
56
  def to_xml_for_invoice_messages(b = Builder::XmlMarkup.new)
57
57
  b.TrackingCategory {
58
- b.TrackingCategoryID self.tracking_category_id
58
+ b.TrackingCategoryID self.tracking_category_id unless tracking_category_id.nil?
59
59
  b.Name self.name
60
60
  b.Option self.options.is_a?(Array) ? self.options.first : self.options.to_s
61
61
  }
data/xero_gateway.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "xero_gateway"
3
- s.version = "2.0.10"
4
- s.date = "2011-04-12"
3
+ s.version = "2.0.11"
4
+ s.date = "2011-04-18"
5
5
  s.summary = "Enables ruby based applications to communicate with the Xero API"
6
6
  s.email = "tim@connorsoftware.com"
7
7
  s.homepage = "http://github.com/tlconnor/xero_gateway"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xero_gateway
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 10
10
- version: 2.0.10
9
+ - 11
10
+ version: 2.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tim Connor
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-04-12 00:00:00 +12:00
19
+ date: 2011-04-18 00:00:00 +12:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency