xeroizer 2.15.1 → 2.15.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.15.1
1
+ 2.15.2
data/lib/xeroizer/http.rb CHANGED
@@ -136,7 +136,7 @@ module Xeroizer
136
136
  # doc = REXML::Document.new(raw_response, :ignore_whitespace_nodes => :all)
137
137
  doc = Nokogiri::XML(raw_response)
138
138
 
139
- if doc.root.name == "ApiException"
139
+ if doc && doc.root && doc.root.name == "ApiException"
140
140
 
141
141
  raise ApiException.new(doc.root.xpath("Type").text,
142
142
  doc.root.xpath("Message").text,
@@ -7,9 +7,12 @@ module Xeroizer
7
7
 
8
8
  class Option < Base
9
9
 
10
+ set_primary_key :tracking_option_id
11
+
12
+ guid :tracking_option_id
10
13
  string :name
11
14
 
12
15
  end
13
16
 
14
17
  end
15
- end
18
+ end
data/xeroizer.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "xeroizer"
8
- s.version = "2.15.1"
8
+ s.version = "2.15.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Wayne Robinson"]
12
- s.date = "2012-08-28"
12
+ s.date = "2012-11-05"
13
13
  s.description = "Ruby library for the Xero accounting system API."
14
14
  s.email = "wayne.robinson@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xeroizer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 15
9
- - 1
10
- version: 2.15.1
9
+ - 2
10
+ version: 2.15.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Wayne Robinson
@@ -15,10 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-28 00:00:00 Z
18
+ date: 2012-11-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
22
23
  none: false
23
24
  requirements:
24
25
  - - ">="
@@ -29,12 +30,12 @@ dependencies:
29
30
  - 1
30
31
  - 2
31
32
  version: 2.1.2
32
- prerelease: false
33
33
  type: :runtime
34
34
  name: builder
35
- requirement: *id001
35
+ version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
38
39
  none: false
39
40
  requirements:
40
41
  - - "="
@@ -45,12 +46,12 @@ dependencies:
45
46
  - 4
46
47
  - 5
47
48
  version: 0.4.5
48
- prerelease: false
49
49
  type: :runtime
50
50
  name: oauth
51
- requirement: *id002
51
+ version_requirements: *id002
52
52
  - !ruby/object:Gem::Dependency
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
54
55
  none: false
55
56
  requirements:
56
57
  - - ">="
@@ -59,12 +60,12 @@ dependencies:
59
60
  segments:
60
61
  - 0
61
62
  version: "0"
62
- prerelease: false
63
63
  type: :runtime
64
64
  name: activesupport
65
- requirement: *id003
65
+ version_requirements: *id003
66
66
  - !ruby/object:Gem::Dependency
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
68
69
  none: false
69
70
  requirements:
70
71
  - - ">="
@@ -73,12 +74,12 @@ dependencies:
73
74
  segments:
74
75
  - 0
75
76
  version: "0"
76
- prerelease: false
77
77
  type: :runtime
78
78
  name: nokogiri
79
- requirement: *id004
79
+ version_requirements: *id004
80
80
  - !ruby/object:Gem::Dependency
81
- version_requirements: &id005 !ruby/object:Gem::Requirement
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
82
83
  none: false
83
84
  requirements:
84
85
  - - ">="
@@ -87,12 +88,12 @@ dependencies:
87
88
  segments:
88
89
  - 0
89
90
  version: "0"
90
- prerelease: false
91
91
  type: :runtime
92
92
  name: i18n
93
- requirement: *id005
93
+ version_requirements: *id005
94
94
  - !ruby/object:Gem::Dependency
95
- version_requirements: &id006 !ruby/object:Gem::Requirement
95
+ prerelease: false
96
+ requirement: &id006 !ruby/object:Gem::Requirement
96
97
  none: false
97
98
  requirements:
98
99
  - - ">="
@@ -103,12 +104,12 @@ dependencies:
103
104
  - 1
104
105
  - 2
105
106
  version: 2.1.2
106
- prerelease: false
107
107
  type: :runtime
108
108
  name: builder
109
- requirement: *id006
109
+ version_requirements: *id006
110
110
  - !ruby/object:Gem::Dependency
111
- version_requirements: &id007 !ruby/object:Gem::Requirement
111
+ prerelease: false
112
+ requirement: &id007 !ruby/object:Gem::Requirement
112
113
  none: false
113
114
  requirements:
114
115
  - - ">="
@@ -119,12 +120,12 @@ dependencies:
119
120
  - 3
120
121
  - 6
121
122
  version: 0.3.6
122
- prerelease: false
123
123
  type: :runtime
124
124
  name: oauth
125
- requirement: *id007
125
+ version_requirements: *id007
126
126
  - !ruby/object:Gem::Dependency
127
- version_requirements: &id008 !ruby/object:Gem::Requirement
127
+ prerelease: false
128
+ requirement: &id008 !ruby/object:Gem::Requirement
128
129
  none: false
129
130
  requirements:
130
131
  - - ">="
@@ -133,12 +134,12 @@ dependencies:
133
134
  segments:
134
135
  - 0
135
136
  version: "0"
136
- prerelease: false
137
137
  type: :runtime
138
138
  name: activesupport
139
- requirement: *id008
139
+ version_requirements: *id008
140
140
  - !ruby/object:Gem::Dependency
141
- version_requirements: &id009 !ruby/object:Gem::Requirement
141
+ prerelease: false
142
+ requirement: &id009 !ruby/object:Gem::Requirement
142
143
  none: false
143
144
  requirements:
144
145
  - - ">="
@@ -147,12 +148,12 @@ dependencies:
147
148
  segments:
148
149
  - 0
149
150
  version: "0"
150
- prerelease: false
151
151
  type: :runtime
152
152
  name: nokogiri
153
- requirement: *id009
153
+ version_requirements: *id009
154
154
  - !ruby/object:Gem::Dependency
155
- version_requirements: &id010 !ruby/object:Gem::Requirement
155
+ prerelease: false
156
+ requirement: &id010 !ruby/object:Gem::Requirement
156
157
  none: false
157
158
  requirements:
158
159
  - - ">="
@@ -161,12 +162,12 @@ dependencies:
161
162
  segments:
162
163
  - 0
163
164
  version: "0"
164
- prerelease: false
165
165
  type: :development
166
166
  name: mocha
167
- requirement: *id010
167
+ version_requirements: *id010
168
168
  - !ruby/object:Gem::Dependency
169
- version_requirements: &id011 !ruby/object:Gem::Requirement
169
+ prerelease: false
170
+ requirement: &id011 !ruby/object:Gem::Requirement
170
171
  none: false
171
172
  requirements:
172
173
  - - ">="
@@ -175,10 +176,9 @@ dependencies:
175
176
  segments:
176
177
  - 0
177
178
  version: "0"
178
- prerelease: false
179
179
  type: :development
180
180
  name: shoulda
181
- requirement: *id011
181
+ version_requirements: *id011
182
182
  description: Ruby library for the Xero accounting system API.
183
183
  email: wayne.robinson@gmail.com
184
184
  executables: []