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 +1 -1
- data/lib/xeroizer/http.rb +1 -1
- data/lib/xeroizer/models/option.rb +4 -1
- data/xeroizer.gemspec +2 -2
- metadata +37 -37
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.15.
|
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,
|
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.
|
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-
|
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:
|
4
|
+
hash: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 15
|
9
|
-
-
|
10
|
-
version: 2.15.
|
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-
|
18
|
+
date: 2012-11-05 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
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
|
-
|
35
|
+
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
|
-
|
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
|
-
|
51
|
+
version_requirements: *id002
|
52
52
|
- !ruby/object:Gem::Dependency
|
53
|
-
|
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
|
-
|
65
|
+
version_requirements: *id003
|
66
66
|
- !ruby/object:Gem::Dependency
|
67
|
-
|
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
|
-
|
79
|
+
version_requirements: *id004
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
|
-
|
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
|
-
|
93
|
+
version_requirements: *id005
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
|
-
|
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
|
-
|
109
|
+
version_requirements: *id006
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
|
-
|
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
|
-
|
125
|
+
version_requirements: *id007
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
|
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
|
-
|
139
|
+
version_requirements: *id008
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
|
-
|
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
|
-
|
153
|
+
version_requirements: *id009
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
|
-
|
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
|
-
|
167
|
+
version_requirements: *id010
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
|
-
|
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
|
-
|
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: []
|