xeroizer 2.15.5 → 2.15.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/README.md +14 -3
  2. data/lib/xeroizer.rb +5 -0
  3. data/lib/xeroizer/generic_application.rb +15 -9
  4. data/lib/xeroizer/http.rb +44 -34
  5. data/lib/xeroizer/models/account.rb +15 -11
  6. data/lib/xeroizer/models/allocation.rb +13 -0
  7. data/lib/xeroizer/models/attachment.rb +93 -0
  8. data/lib/xeroizer/models/bank_transaction.rb +3 -2
  9. data/lib/xeroizer/models/contact.rb +20 -12
  10. data/lib/xeroizer/models/contact_person.rb +20 -0
  11. data/lib/xeroizer/models/credit_note.rb +2 -0
  12. data/lib/xeroizer/models/expense_claim.rb +29 -0
  13. data/lib/xeroizer/models/invoice.rb +42 -29
  14. data/lib/xeroizer/models/line_item.rb +1 -0
  15. data/lib/xeroizer/models/organisation.rb +6 -1
  16. data/lib/xeroizer/models/payment.rb +16 -11
  17. data/lib/xeroizer/models/receipt.rb +39 -0
  18. data/lib/xeroizer/models/tax_component.rb +13 -0
  19. data/lib/xeroizer/models/tax_rate.rb +14 -3
  20. data/lib/xeroizer/models/user.rb +26 -0
  21. data/lib/xeroizer/oauth.rb +3 -3
  22. data/lib/xeroizer/record/base.rb +40 -31
  23. data/lib/xeroizer/record/base_model.rb +31 -25
  24. data/lib/xeroizer/record/base_model_http_proxy.rb +4 -1
  25. data/lib/xeroizer/record/record_association_helper.rb +35 -35
  26. data/lib/xeroizer/record/xml_helper.rb +1 -1
  27. data/lib/xeroizer/report/factory.rb +2 -1
  28. data/lib/xeroizer/version.rb +3 -0
  29. data/test/stub_responses/organisation.xml +30 -0
  30. data/test/stub_responses/tax_rates.xml +81 -1
  31. data/test/stub_responses/users.xml +17 -0
  32. data/test/unit/generic_application_test.rb +21 -0
  33. data/test/unit/http_test.rb +18 -0
  34. data/test/unit/models/bank_transaction_test.rb +1 -4
  35. data/test/unit/models/line_item_sum_test.rb +3 -2
  36. data/test/unit/models/tax_rate_test.rb +81 -0
  37. data/test/unit/oauth_test.rb +4 -2
  38. data/test/unit/record/base_test.rb +1 -1
  39. data/test/unit/record/model_definition_test.rb +9 -3
  40. data/test/unit/record/record_association_test.rb +1 -1
  41. data/test/unit/record_definition_test.rb +1 -1
  42. metadata +540 -205
  43. data/.bundle/config +0 -2
  44. data/.gitattributes +0 -22
  45. data/Gemfile +0 -20
  46. data/Gemfile.lock +0 -59
  47. data/Rakefile +0 -55
  48. data/VERSION +0 -1
  49. data/xeroizer.gemspec +0 -409
data/.bundle/config DELETED
@@ -1,2 +0,0 @@
1
- --- {}
2
-
data/.gitattributes DELETED
@@ -1,22 +0,0 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
3
-
4
- # Custom for Visual Studio
5
- *.cs diff=csharp
6
- *.sln merge=union
7
- *.csproj merge=union
8
- *.vbproj merge=union
9
- *.fsproj merge=union
10
- *.dbproj merge=union
11
-
12
- # Standard to msysgit
13
- *.doc diff=astextplain
14
- *.DOC diff=astextplain
15
- *.docx diff=astextplain
16
- *.DOCX diff=astextplain
17
- *.dot diff=astextplain
18
- *.DOT diff=astextplain
19
- *.pdf diff=astextplain
20
- *.PDF diff=astextplain
21
- *.rtf diff=astextplain
22
- *.RTF diff=astextplain
data/Gemfile DELETED
@@ -1,20 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem 'builder', '>= 2.1.2'
4
- gem 'oauth', '0.4.5'
5
- gem 'activesupport'
6
- gem 'tzinfo'
7
- gem 'nokogiri'
8
- gem 'i18n'
9
-
10
- group :test do
11
- gem 'test-unit'
12
- gem 'mocha'
13
- gem 'shoulda'
14
- gem "jeweler"
15
- gem "rest-client"
16
- gem "turn"
17
- gem "ansi"
18
- gem "redcarpet"
19
- gem 'yard'
20
- end
data/Gemfile.lock DELETED
@@ -1,59 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activesupport (3.2.3)
5
- i18n (~> 0.6)
6
- multi_json (~> 1.0)
7
- ansi (1.4.2)
8
- builder (3.0.0)
9
- git (1.2.5)
10
- i18n (0.6.0)
11
- jeweler (1.8.3)
12
- bundler (~> 1.0)
13
- git (>= 1.2.5)
14
- rake
15
- rdoc
16
- json (1.6.6)
17
- metaclass (0.0.1)
18
- mime-types (1.18)
19
- mocha (0.10.5)
20
- metaclass (~> 0.0.1)
21
- multi_json (1.2.0)
22
- nokogiri (1.5.2)
23
- oauth (0.4.5)
24
- rake (0.9.2.2)
25
- rdoc (3.12)
26
- json (~> 1.4)
27
- redcarpet (2.1.1)
28
- rest-client (1.6.7)
29
- mime-types (>= 1.16)
30
- shoulda (3.0.1)
31
- shoulda-context (~> 1.0.0)
32
- shoulda-matchers (~> 1.0.0)
33
- shoulda-context (1.0.0)
34
- shoulda-matchers (1.0.0)
35
- test-unit (2.4.8)
36
- turn (0.9.4)
37
- ansi
38
- tzinfo (0.3.35)
39
- yard (0.7.5)
40
-
41
- PLATFORMS
42
- ruby
43
-
44
- DEPENDENCIES
45
- activesupport
46
- ansi
47
- builder (>= 2.1.2)
48
- i18n
49
- jeweler
50
- mocha
51
- nokogiri
52
- oauth (= 0.4.5)
53
- redcarpet
54
- rest-client
55
- shoulda
56
- test-unit
57
- turn
58
- tzinfo
59
- yard
data/Rakefile DELETED
@@ -1,55 +0,0 @@
1
- require 'rake'
2
- require 'rake/testtask'
3
- require 'rdoc/task'
4
- require 'rubygems'
5
- require 'yard'
6
-
7
- require 'jeweler'
8
- Jeweler::Tasks.new do |gem|
9
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
10
- gem.name = "xeroizer"
11
- gem.homepage = "http://github.com/waynerobinson/xeroizer"
12
- gem.license = "MIT"
13
- gem.summary = %Q{Xero library}
14
- gem.description = %Q{Ruby library for the Xero accounting system API.}
15
- gem.email = "wayne.robinson@gmail.com"
16
- gem.authors = ["Wayne Robinson"]
17
- gem.add_runtime_dependency 'builder', '>= 2.1.2'
18
- gem.add_runtime_dependency 'oauth', '>= 0.3.6'
19
- gem.add_runtime_dependency 'activesupport'
20
- gem.add_runtime_dependency 'nokogiri'
21
- gem.add_development_dependency 'mocha'
22
- gem.add_development_dependency 'shoulda'
23
- end
24
- Jeweler::RubygemsDotOrgTasks.new
25
-
26
- desc 'Default: run unit tests.'
27
- task :default => :test
28
-
29
- desc 'Test the xero gateway.'
30
- Rake::TestTask.new(:test) do |t|
31
- t.libs << ['lib', 'test']
32
- t.pattern = 'test/**/*_test.rb'
33
- t.verbose = true
34
- end
35
-
36
- namespace :test do
37
- desc 'Run acceptance/integration tests'
38
- Rake::TestTask.new(:acceptance) do |t|
39
- t.libs << ['lib', 'test']
40
- t.pattern = 'test/acceptance/**/*_test.rb'
41
- t.verbose = true
42
- end
43
-
44
- desc 'Run unit tests'
45
- Rake::TestTask.new(:unit) do |t|
46
- t.libs << ['lib', 'test']
47
- t.pattern = 'test/unit/**/*_test.rb'
48
- t.verbose = true
49
- end
50
- end
51
-
52
- YARD::Rake::YardocTask.new do |t|
53
- # t.files = ['lib/**/*.rb', OTHER_PATHS] # optional
54
- # t.options = ['--any', '--extra', '--opts'] # optional
55
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.15.5
data/xeroizer.gemspec DELETED
@@ -1,409 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "xeroizer"
8
- s.version = "2.15.5"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Wayne Robinson"]
12
- s.date = "2013-07-04"
13
- s.description = "Ruby library for the Xero accounting system API."
14
- s.email = "wayne.robinson@gmail.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.md"
18
- ]
19
- s.files = [
20
- ".bundle/config",
21
- ".gitattributes",
22
- "Gemfile",
23
- "Gemfile.lock",
24
- "LICENSE.txt",
25
- "README.md",
26
- "Rakefile",
27
- "VERSION",
28
- "lib/big_decimal_to_s.rb",
29
- "lib/class_level_inheritable_attributes.rb",
30
- "lib/xeroizer.rb",
31
- "lib/xeroizer/application_http_proxy.rb",
32
- "lib/xeroizer/ca-certificates.crt",
33
- "lib/xeroizer/configuration.rb",
34
- "lib/xeroizer/exceptions.rb",
35
- "lib/xeroizer/generic_application.rb",
36
- "lib/xeroizer/http.rb",
37
- "lib/xeroizer/http_encoding_helper.rb",
38
- "lib/xeroizer/logging.rb",
39
- "lib/xeroizer/models/account.rb",
40
- "lib/xeroizer/models/address.rb",
41
- "lib/xeroizer/models/bank_account.rb",
42
- "lib/xeroizer/models/bank_transaction.rb",
43
- "lib/xeroizer/models/branding_theme.rb",
44
- "lib/xeroizer/models/contact.rb",
45
- "lib/xeroizer/models/contact_group.rb",
46
- "lib/xeroizer/models/credit_note.rb",
47
- "lib/xeroizer/models/currency.rb",
48
- "lib/xeroizer/models/employee.rb",
49
- "lib/xeroizer/models/external_link.rb",
50
- "lib/xeroizer/models/invoice.rb",
51
- "lib/xeroizer/models/item.rb",
52
- "lib/xeroizer/models/item_purchase_details.rb",
53
- "lib/xeroizer/models/item_sales_details.rb",
54
- "lib/xeroizer/models/journal.rb",
55
- "lib/xeroizer/models/journal_line.rb",
56
- "lib/xeroizer/models/journal_line_tracking_category.rb",
57
- "lib/xeroizer/models/line_amount_type.rb",
58
- "lib/xeroizer/models/line_item.rb",
59
- "lib/xeroizer/models/line_item_sum.rb",
60
- "lib/xeroizer/models/manual_journal.rb",
61
- "lib/xeroizer/models/manual_journal_line.rb",
62
- "lib/xeroizer/models/option.rb",
63
- "lib/xeroizer/models/organisation.rb",
64
- "lib/xeroizer/models/payment.rb",
65
- "lib/xeroizer/models/phone.rb",
66
- "lib/xeroizer/models/tax_rate.rb",
67
- "lib/xeroizer/models/tracking_category.rb",
68
- "lib/xeroizer/models/tracking_category_child.rb",
69
- "lib/xeroizer/oauth.rb",
70
- "lib/xeroizer/partner_application.rb",
71
- "lib/xeroizer/private_application.rb",
72
- "lib/xeroizer/public_application.rb",
73
- "lib/xeroizer/record/application_helper.rb",
74
- "lib/xeroizer/record/base.rb",
75
- "lib/xeroizer/record/base_model.rb",
76
- "lib/xeroizer/record/base_model_http_proxy.rb",
77
- "lib/xeroizer/record/model_definition_helper.rb",
78
- "lib/xeroizer/record/record_association_helper.rb",
79
- "lib/xeroizer/record/validation_helper.rb",
80
- "lib/xeroizer/record/validators/associated_validator.rb",
81
- "lib/xeroizer/record/validators/block_validator.rb",
82
- "lib/xeroizer/record/validators/inclusion_of_validator.rb",
83
- "lib/xeroizer/record/validators/presence_of_validator.rb",
84
- "lib/xeroizer/record/validators/validator.rb",
85
- "lib/xeroizer/record/xml_helper.rb",
86
- "lib/xeroizer/report/aged_receivables_by_contact.rb",
87
- "lib/xeroizer/report/base.rb",
88
- "lib/xeroizer/report/cell.rb",
89
- "lib/xeroizer/report/cell_xml_helper.rb",
90
- "lib/xeroizer/report/factory.rb",
91
- "lib/xeroizer/report/row/header.rb",
92
- "lib/xeroizer/report/row/row.rb",
93
- "lib/xeroizer/report/row/section.rb",
94
- "lib/xeroizer/report/row/summary.rb",
95
- "lib/xeroizer/report/row/xml_helper.rb",
96
- "lib/xeroizer/report/xml_helper.rb",
97
- "lib/xeroizer/response.rb",
98
- "test/acceptance/about_creating_bank_transactions_test.rb",
99
- "test/acceptance/about_fetching_bank_transactions_test.rb",
100
- "test/acceptance/acceptance_test.rb",
101
- "test/acceptance/bank_transaction_reference_data.rb",
102
- "test/acceptance/bulk_operations_test.rb",
103
- "test/stub_responses/accounts.xml",
104
- "test/stub_responses/api_exception.xml",
105
- "test/stub_responses/bogus_oauth_error",
106
- "test/stub_responses/branding_themes.xml",
107
- "test/stub_responses/contact.xml",
108
- "test/stub_responses/contacts.xml",
109
- "test/stub_responses/create_credit_note.xml",
110
- "test/stub_responses/create_invoice.xml",
111
- "test/stub_responses/credit_note.xml",
112
- "test/stub_responses/credit_note_not_found_error.xml",
113
- "test/stub_responses/credit_notes.xml",
114
- "test/stub_responses/currencies.xml",
115
- "test/stub_responses/employees.xml",
116
- "test/stub_responses/invalid_api_key_error.xml",
117
- "test/stub_responses/invalid_consumer_key",
118
- "test/stub_responses/invalid_request_token",
119
- "test/stub_responses/invoice.xml",
120
- "test/stub_responses/invoice_not_found_error.xml",
121
- "test/stub_responses/invoices.xml",
122
- "test/stub_responses/items.xml",
123
- "test/stub_responses/manual_journal.xml",
124
- "test/stub_responses/manual_journals.xml",
125
- "test/stub_responses/organisation.xml",
126
- "test/stub_responses/organisations.xml",
127
- "test/stub_responses/payments.xml",
128
- "test/stub_responses/rate_limit_exceeded",
129
- "test/stub_responses/records/contact-043892a1-aef1-4c18-88d8-b8ccb6d31466.xml",
130
- "test/stub_responses/records/contact-09664078-efe2-4a88-89a5-67eac9b0047b.xml",
131
- "test/stub_responses/records/contact-0a4cf37b-a1a8-4753-9ee2-f9207f63a8ff.xml",
132
- "test/stub_responses/records/contact-0e74f929-11b9-4255-a035-1fdfe573e676.xml",
133
- "test/stub_responses/records/contact-0f471ca5-15c9-405e-a1b9-7cc35194b673.xml",
134
- "test/stub_responses/records/contact-13cd4c47-baa6-4f07-93f6-6442310df4bf.xml",
135
- "test/stub_responses/records/contact-158a2667-82ee-43bf-8f33-a6cc9524092d.xml",
136
- "test/stub_responses/records/contact-17465072-6fa3-40bf-bc42-97765d9e1bea.xml",
137
- "test/stub_responses/records/contact-1975b0ed-b7ba-4c61-bae8-2aa6d78b0dee.xml",
138
- "test/stub_responses/records/contact-1b2be6e9-8d58-4da9-aaf8-4fe5471b653c.xml",
139
- "test/stub_responses/records/contact-1c40da58-fe1d-4e97-b729-b2abdae94d9e.xml",
140
- "test/stub_responses/records/contact-258176a5-c622-4394-9c94-6f88c3ea12e5.xml",
141
- "test/stub_responses/records/contact-299dd3a0-a417-4a37-8a04-2f55e91963e5.xml",
142
- "test/stub_responses/records/contact-2be39278-5154-4ed1-8eb0-676f25acfc66.xml",
143
- "test/stub_responses/records/contact-2e58cff6-488c-4a32-884b-baf848010229.xml",
144
- "test/stub_responses/records/contact-2faccd41-935e-40aa-b74e-e2fc28ac34c3.xml",
145
- "test/stub_responses/records/contact-31af01e7-2ca7-45b9-a500-b02db996568e.xml",
146
- "test/stub_responses/records/contact-344f1113-a25b-4344-b82e-bedeacc17c8e.xml",
147
- "test/stub_responses/records/contact-3e776c4b-ea9e-4bb1-96be-6b0c7a71a37f.xml",
148
- "test/stub_responses/records/contact-3fc1fc6c-e5ff-4e40-b6f3-7eb535637d87.xml",
149
- "test/stub_responses/records/contact-416ab20c-5357-4beb-a740-e8d175d71efb.xml",
150
- "test/stub_responses/records/contact-41a42865-f15a-4fa1-b643-47877608f557.xml",
151
- "test/stub_responses/records/contact-42771b60-19a7-4692-af81-dd9f9b9362d4.xml",
152
- "test/stub_responses/records/contact-451ceb28-9610-44c9-8f35-3225482f2413.xml",
153
- "test/stub_responses/records/contact-4ab343ad-1ebb-4afe-9d48-1814a93c2081.xml",
154
- "test/stub_responses/records/contact-4bb77692-42d4-4565-85a0-8849eb85e039.xml",
155
- "test/stub_responses/records/contact-4dec292f-3ab7-46a8-83e4-5fb5eac42c7f.xml",
156
- "test/stub_responses/records/contact-4e2f192e-8397-4d4d-97ca-a4fc5ac531bf.xml",
157
- "test/stub_responses/records/contact-5188c17c-7786-4436-ad6e-9da2997386d0.xml",
158
- "test/stub_responses/records/contact-52442753-b1c4-40b7-9b79-c33997de5837.xml",
159
- "test/stub_responses/records/contact-565acaa9-e7f3-4fbf-80c3-16b081ddae10.xml",
160
- "test/stub_responses/records/contact-571a2414-81ff-4f8f-8498-d91d83793131.xml",
161
- "test/stub_responses/records/contact-58697449-85ef-46ae-83fc-6a9446f037fb.xml",
162
- "test/stub_responses/records/contact-58bf2ae3-5144-4628-8de2-e165ac2bcdc6.xml",
163
- "test/stub_responses/records/contact-5d41dafd-eb7e-42c1-bd5a-ba3be1da0960.xml",
164
- "test/stub_responses/records/contact-5f005a09-5ce4-4fb4-8096-e69c18be636e.xml",
165
- "test/stub_responses/records/contact-60d578d9-3e10-4aef-b5dc-9d9fd60a3633.xml",
166
- "test/stub_responses/records/contact-62392126-dba4-4a75-b907-5875ebf75259.xml",
167
- "test/stub_responses/records/contact-642c7fb5-e8e5-48e1-a710-39a18c6c3217.xml",
168
- "test/stub_responses/records/contact-64aebf9c-bb89-4b38-b99b-405bd1ece6fd.xml",
169
- "test/stub_responses/records/contact-64eedbc9-1fa0-485a-837f-705f23188161.xml",
170
- "test/stub_responses/records/contact-65e96c9f-1595-4653-9a8a-2a36d49223c2.xml",
171
- "test/stub_responses/records/contact-67d26b93-ccb4-4890-9bf1-284b70ea755d.xml",
172
- "test/stub_responses/records/contact-69d3e538-44b3-4e00-a5f6-7dddcb6e0656.xml",
173
- "test/stub_responses/records/contact-6a8450bc-f81a-4bb0-a8f6-aa4afe9497c7.xml",
174
- "test/stub_responses/records/contact-6c70e424-41d6-4b9b-af3e-b3a9f3589106.xml",
175
- "test/stub_responses/records/contact-6de0b0cf-560c-4503-aab3-e1543c329deb.xml",
176
- "test/stub_responses/records/contact-72dd6a02-396e-42a2-a4d6-cc3fa75dfece.xml",
177
- "test/stub_responses/records/contact-755f1475-d255-43a8-bedc-5ea7fd26c71f.xml",
178
- "test/stub_responses/records/contact-78a9d0a0-3d8c-4f84-af3e-f260bf4a9dc0.xml",
179
- "test/stub_responses/records/contact-79aa39ca-22b0-42c2-9026-78757a29d665.xml",
180
- "test/stub_responses/records/contact-804f4140-5978-48fe-ba20-b56e5b834b18.xml",
181
- "test/stub_responses/records/contact-812d4f28-1681-4241-8e34-d15c5520ba35.xml",
182
- "test/stub_responses/records/contact-860b99a9-0958-4c8d-a98f-bb1f092b16bb.xml",
183
- "test/stub_responses/records/contact-87c8da45-97cc-46be-b170-398da0eacfb8.xml",
184
- "test/stub_responses/records/contact-8a154a19-6c6c-404b-bbc9-6deae2d18251.xml",
185
- "test/stub_responses/records/contact-8bb6931d-2865-44e9-9a23-ed1fb9c7a46c.xml",
186
- "test/stub_responses/records/contact-936c9759-01da-4063-b472-424ab9f48212.xml",
187
- "test/stub_responses/records/contact-9d12a994-9640-4b75-95cc-3de1e9d0ef09.xml",
188
- "test/stub_responses/records/contact-9fe59245-1fbb-4157-93c3-dc97388f3746.xml",
189
- "test/stub_responses/records/contact-a06a7225-6f8a-4522-8400-c534dd43a16e.xml",
190
- "test/stub_responses/records/contact-a76a85fe-73a2-46fa-aba7-791f36103cdb.xml",
191
- "test/stub_responses/records/contact-a93b5f40-0346-4d21-9181-431e129911c0.xml",
192
- "test/stub_responses/records/contact-abf272dd-6b1d-4829-af88-c57bf55855e3.xml",
193
- "test/stub_responses/records/contact-ad24c33b-256b-4157-ad56-cbcf0e8db7b1.xml",
194
- "test/stub_responses/records/contact-b107129d-f4c9-438e-9573-64b778527f4a.xml",
195
- "test/stub_responses/records/contact-b233288a-aa26-4b26-9fc7-779d797dd56f.xml",
196
- "test/stub_responses/records/contact-b2b5333a-2546-4975-891f-d71a8a640d23.xml",
197
- "test/stub_responses/records/contact-b4d149bf-1823-4bd2-96da-9032388c9686.xml",
198
- "test/stub_responses/records/contact-b78d4fd1-4306-4d83-a0b9-61458d1c53a2.xml",
199
- "test/stub_responses/records/contact-b7d108a8-d5f7-4f16-a7c9-26eaed98e8de.xml",
200
- "test/stub_responses/records/contact-baeed0f3-7989-4874-99b3-59f23032cb73.xml",
201
- "test/stub_responses/records/contact-bc51a3a1-b7f6-46ca-ac9e-19b87e6ca100.xml",
202
- "test/stub_responses/records/contact-be9f3aab-52f5-4d9c-94b4-87f7d9e5ee8b.xml",
203
- "test/stub_responses/records/contact-c135f994-01e4-427b-9e15-acfe8a477c16.xml",
204
- "test/stub_responses/records/contact-c14edf75-15e4-4a9c-86e4-f52e2fe7cfa4.xml",
205
- "test/stub_responses/records/contact-ca9b9abc-c2dc-4221-8101-31f464d314cc.xml",
206
- "test/stub_responses/records/contact-cc4db604-9ed8-4eef-8a29-51b5b70496a0.xml",
207
- "test/stub_responses/records/contact-cce9b044-be4a-43b3-9dc7-c027d8dd35b2.xml",
208
- "test/stub_responses/records/contact-d0cd2c4f-18a0-4f7c-a32a-2db00f29d298.xml",
209
- "test/stub_responses/records/contact-d6851dc2-9ed9-4515-bc0b-810b09c06a6a.xml",
210
- "test/stub_responses/records/contact-d6a384fb-f46f-41a3-8ac7-b7bc9e0b5efa.xml",
211
- "test/stub_responses/records/contact-d74e61cf-2ad0-4f0d-b9d1-6a808e3f70cf.xml",
212
- "test/stub_responses/records/contact-d9ab0f61-3b56-4e2b-be39-f33c11bd99e3.xml",
213
- "test/stub_responses/records/contact-dbb1f0b5-a71b-4458-8462-104acd0fec6b.xml",
214
- "test/stub_responses/records/contact-dd981bd6-40dd-496d-a282-bf7d3391b8b9.xml",
215
- "test/stub_responses/records/contact-e1826204-cc0a-42a5-a6d0-4b352d9d5953.xml",
216
- "test/stub_responses/records/contact-e2d955db-f366-42dd-87f7-fbdb4da2306f.xml",
217
- "test/stub_responses/records/contact-e32e2130-3d27-443a-8313-48fffa03cf53.xml",
218
- "test/stub_responses/records/contact-e3a68332-d322-4816-8678-73a537c8cd33.xml",
219
- "test/stub_responses/records/contact-e6ac76a3-ca32-4fa1-8ef9-6a4bf8b0ec2a.xml",
220
- "test/stub_responses/records/contact-e6ca965d-7c48-480e-be39-e847307f474a.xml",
221
- "test/stub_responses/records/contact-e77d1f20-2e8e-46ec-9a10-50335a216724.xml",
222
- "test/stub_responses/records/contact-e8b98c13-a424-41d2-ba0e-7b7621411e7a.xml",
223
- "test/stub_responses/records/contact-e8e9a2c2-3e7e-48ed-8528-c3d61b28f276.xml",
224
- "test/stub_responses/records/contact-eb43fcc6-87ec-4a0a-b243-d718bee4e2cb.xml",
225
- "test/stub_responses/records/contact-ef6f54c1-eb45-4956-b8cd-1be82ad665f2.xml",
226
- "test/stub_responses/records/contact-efdb3600-f233-42e2-8f18-ce7e2a95e4b1.xml",
227
- "test/stub_responses/records/contact-f7eca431-5c97-4d24-93fd-004bb8a6c644.xml",
228
- "test/stub_responses/records/contact-fb078879-5d6d-474f-825f-61dc90689349.xml",
229
- "test/stub_responses/records/contact-fc39b273-4aa2-4785-99ca-24672f6c0000.xml",
230
- "test/stub_responses/records/contact-fc9ec3a6-a2fe-4300-a8cb-ca8a0b3662e0.xml",
231
- "test/stub_responses/records/contact-fdf96102-7491-44b6-bf4d-7a77ff25f890.xml",
232
- "test/stub_responses/records/contact-fe61ead1-8afc-4f0b-beda-066620227aad.xml",
233
- "test/stub_responses/records/credit_note-371cd138-1e5c-4ec1-a8c6-a1c10e8bdab1.xml",
234
- "test/stub_responses/records/credit_note-3bffc09b-79f2-490d-b91b-c59b700b43a4.xml",
235
- "test/stub_responses/records/credit_note-43c678ee-f357-48e2-b192-b6e3634762f9.xml",
236
- "test/stub_responses/records/credit_note-482c018b-d329-4e05-9b4f-7a4cfc695aa0.xml",
237
- "test/stub_responses/records/credit_note-4f67130a-749a-4ee6-98b2-743adbc11245.xml",
238
- "test/stub_responses/records/credit_note-50e98404-2fba-4031-af67-8ba4bb227c44.xml",
239
- "test/stub_responses/records/credit_note-7df8949c-b71f-40c0-bbcf-39f2f450f286.xml",
240
- "test/stub_responses/records/credit_note-b356e488-2678-4be4-ad4b-d294df2d48d6.xml",
241
- "test/stub_responses/records/invoice-0032f627-3156-4d30-9b1c-4d3b994dc921.xml",
242
- "test/stub_responses/records/invoice-00c9511b-24b9-4190-a90a-8abf2fe9f4a0.xml",
243
- "test/stub_responses/records/invoice-024d7994-a26c-4c20-9894-13934840fc31.xml",
244
- "test/stub_responses/records/invoice-0e64a623-c2a1-446a-93ed-eb897f118cbc.xml",
245
- "test/stub_responses/records/invoice-15e88e57-2554-4496-a18e-eb3f5c622345.xml",
246
- "test/stub_responses/records/invoice-166f0588-d0ba-458c-b28a-8edd4c8fc463.xml",
247
- "test/stub_responses/records/invoice-1d1ba340-afa2-4f4c-8ff7-a147bda9a47b.xml",
248
- "test/stub_responses/records/invoice-290ef4c4-baec-492b-b4dd-c102826470ae.xml",
249
- "test/stub_responses/records/invoice-30a87092-31b5-4a2c-831e-327486533dd2.xml",
250
- "test/stub_responses/records/invoice-30dbd181-72a8-43df-b392-4241bf43d5fc.xml",
251
- "test/stub_responses/records/invoice-33e4123e-7cdd-4f05-9a0a-eb8adeb2b868.xml",
252
- "test/stub_responses/records/invoice-387db692-26ac-47e6-b6cc-015343809bda.xml",
253
- "test/stub_responses/records/invoice-3b28bf11-ed2f-4cf4-8e9e-fcae730cc292.xml",
254
- "test/stub_responses/records/invoice-3fcb9847-b350-412e-ab90-7d9d774ad881.xml",
255
- "test/stub_responses/records/invoice-440613e4-4785-4eff-9ba1-c432816cf8c7.xml",
256
- "test/stub_responses/records/invoice-4602eda6-abe9-448e-b65f-ae6bea21f0eb.xml",
257
- "test/stub_responses/records/invoice-46441f63-873f-4cdc-a278-b8fe516f3abb.xml",
258
- "test/stub_responses/records/invoice-4ad1ec01-f4a3-41d7-bbb4-d2ab2fec8e65.xml",
259
- "test/stub_responses/records/invoice-4b9afceb-f7c7-4e64-8aac-7b009971fd52.xml",
260
- "test/stub_responses/records/invoice-4edbf6d5-4e92-43af-bedd-7effc0b86833.xml",
261
- "test/stub_responses/records/invoice-4fad1af2-b871-4ac5-a15a-3c5e32d2e2c4.xml",
262
- "test/stub_responses/records/invoice-52ee4d67-cae4-462c-adb2-182c39017f3d.xml",
263
- "test/stub_responses/records/invoice-54585f46-c1a0-4432-bd4f-c1fae2fba59b.xml",
264
- "test/stub_responses/records/invoice-5613938b-9e27-472e-92ae-3b038b669d10.xml",
265
- "test/stub_responses/records/invoice-5aa9451d-95d1-4f95-a966-bbab2573f71c.xml",
266
- "test/stub_responses/records/invoice-5aadcd34-01a9-4b8d-a2bb-d7cc1de9fa45.xml",
267
- "test/stub_responses/records/invoice-5f6deadf-36a2-495a-9980-ceb11e8af9a9.xml",
268
- "test/stub_responses/records/invoice-625ffe1b-f5d8-438e-a376-981de5f5a733.xml",
269
- "test/stub_responses/records/invoice-64cd559e-8e03-46af-b461-8555285cee71.xml",
270
- "test/stub_responses/records/invoice-666f8dbb-bc9a-476c-8ec4-4665d7f83190.xml",
271
- "test/stub_responses/records/invoice-66fbe37f-49b1-43fd-97ed-85114022cd2f.xml",
272
- "test/stub_responses/records/invoice-673dd7cc-beb7-4697-83d4-0c47cb400cc2.xml",
273
- "test/stub_responses/records/invoice-69fc971e-9b37-41c5-9c87-174330f22343.xml",
274
- "test/stub_responses/records/invoice-70e6db69-e5a4-42c7-a397-aa3212c2945f.xml",
275
- "test/stub_responses/records/invoice-762aa45d-4632-45b5-8087-b4f47690665e.xml",
276
- "test/stub_responses/records/invoice-766d1289-b440-4675-a656-1a0612ecac77.xml",
277
- "test/stub_responses/records/invoice-76bcb361-f93b-4513-b312-5a4af306d276.xml",
278
- "test/stub_responses/records/invoice-76e3f056-479f-417c-a72b-f3d767899b87.xml",
279
- "test/stub_responses/records/invoice-77b338ef-ecc0-4b95-a0d7-2617b0054611.xml",
280
- "test/stub_responses/records/invoice-7be9956d-5316-4f6b-a66a-d355b3f159b2.xml",
281
- "test/stub_responses/records/invoice-7dae876a-b424-436b-a4e6-17b3fdeec80c.xml",
282
- "test/stub_responses/records/invoice-7e862d93-8dab-4856-8b0c-d844e09d750f.xml",
283
- "test/stub_responses/records/invoice-803f70b0-56d9-4157-9787-41df271777a0.xml",
284
- "test/stub_responses/records/invoice-86102312-aa3f-438c-9938-6840f4d8dda6.xml",
285
- "test/stub_responses/records/invoice-8694c9c5-7097-4449-a708-b8c1982921a4.xml",
286
- "test/stub_responses/records/invoice-86d6e00f-ef56-49f7-9a54-796ccd5ca057.xml",
287
- "test/stub_responses/records/invoice-88e77f0f-54a5-4efc-a979-7e22223cc4d7.xml",
288
- "test/stub_responses/records/invoice-8b0ccb6a-d9b7-4da5-8360-ef7fb157b5aa.xml",
289
- "test/stub_responses/records/invoice-935fc854-8037-4111-8d91-993010c331cc.xml",
290
- "test/stub_responses/records/invoice-95ef3000-c764-4ba9-a66a-b6e2d161f839.xml",
291
- "test/stub_responses/records/invoice-962ef33f-c9d2-4602-9b9f-93a02bea23b3.xml",
292
- "test/stub_responses/records/invoice-9868b472-1983-48e9-8edf-7e81ddf2c03a.xml",
293
- "test/stub_responses/records/invoice-9a448e9b-a9fa-4a8b-98f5-6dc892a37374.xml",
294
- "test/stub_responses/records/invoice-a1d04a14-96a8-4067-a0ff-8136990a354f.xml",
295
- "test/stub_responses/records/invoice-a3bc62ef-f11b-4a9c-a4f9-a342bda371b5.xml",
296
- "test/stub_responses/records/invoice-a6894ca0-60ee-4d45-9dd4-b44fcba46ec5.xml",
297
- "test/stub_responses/records/invoice-a77268ce-74b2-483d-a2b3-70dbdc9e49d2.xml",
298
- "test/stub_responses/records/invoice-a9f765e6-b9bc-4505-a47b-fb3ecb327e7b.xml",
299
- "test/stub_responses/records/invoice-aa0173af-8707-4e7f-8dde-4c7a357bd312.xml",
300
- "test/stub_responses/records/invoice-ab63738a-370a-43a5-bfa3-620d684e66d0.xml",
301
- "test/stub_responses/records/invoice-b0344791-5a8a-40dd-a208-d99a461a6c10.xml",
302
- "test/stub_responses/records/invoice-b1e53910-473c-46a3-b3cb-38ece571220e.xml",
303
- "test/stub_responses/records/invoice-b2c02d0b-41a8-4d4d-97d7-014c78b3547d.xml",
304
- "test/stub_responses/records/invoice-b75b3928-ab72-4424-8b93-9cdbbde4cd72.xml",
305
- "test/stub_responses/records/invoice-bcd8a71f-aa31-4d0f-8a01-13ea26363ddf.xml",
306
- "test/stub_responses/records/invoice-bfbb7c45-de02-45e7-b065-d9863ecfb0d8.xml",
307
- "test/stub_responses/records/invoice-c12aff7e-12bf-4185-8702-460929f19674.xml",
308
- "test/stub_responses/records/invoice-c3380b96-976d-4b3e-8b26-8d01eb6a3742.xml",
309
- "test/stub_responses/records/invoice-c963f2b0-cbe1-4abd-9ccc-7e512c942068.xml",
310
- "test/stub_responses/records/invoice-cba46b29-3788-4158-b668-ab10160ccbfe.xml",
311
- "test/stub_responses/records/invoice-d62646b9-d0a9-4fdb-9561-756a8b7eba45.xml",
312
- "test/stub_responses/records/invoice-dba2f021-f149-4191-a126-5351d587ab0e.xml",
313
- "test/stub_responses/records/invoice-de5d9c29-21b3-4342-958b-ed72c4bd7ab0.xml",
314
- "test/stub_responses/records/invoice-e3d96555-2876-4364-a46a-7551a4f52611.xml",
315
- "test/stub_responses/records/invoice-e4a0afbd-aea0-450b-ae23-0ce921e84a77.xml",
316
- "test/stub_responses/records/invoice-e9cb9ecb-58ef-43a8-bd20-69a85338142d.xml",
317
- "test/stub_responses/records/invoice-ec9a6f67-7128-4a63-8ba3-5e516f455f9b.xml",
318
- "test/stub_responses/records/invoice-ed0f2587-84fc-4aef-bc4b-b1a262e24484.xml",
319
- "test/stub_responses/records/invoice-f362ca53-8ade-4047-865a-bb64bee5863d.xml",
320
- "test/stub_responses/records/invoice-f571c38b-5be1-41e1-ad5a-ff6184284beb.xml",
321
- "test/stub_responses/records/invoice-f5832195-5cd3-4660-ad3f-b73d9c64f263.xml",
322
- "test/stub_responses/records/invoice-f9c857eb-64cd-4235-a078-d04b52c77ea7.xml",
323
- "test/stub_responses/records/manual_journal-4765d07b-aa03-4e56-9166-50661958c864.xml",
324
- "test/stub_responses/records/manual_journal-53fc5558-5b76-4ecd-ae5c-c4af3ccde87c.xml",
325
- "test/stub_responses/records/manual_journal-bb6cfcfc-4500-4475-bd3a-93ee512428e0.xml",
326
- "test/stub_responses/records/manual_journal-f00a355b-7374-445c-886b-0437bea4095c.xml",
327
- "test/stub_responses/refresh_responses.rb",
328
- "test/stub_responses/reports/trial_balance.xml",
329
- "test/stub_responses/tax_rates.xml",
330
- "test/stub_responses/token_expired",
331
- "test/stub_responses/tracking_categories.xml",
332
- "test/stub_responses/unknown_error.xml",
333
- "test/test_helper.rb",
334
- "test/unit/models/bank_transaction_model_parsing_test.rb",
335
- "test/unit/models/bank_transaction_test.rb",
336
- "test/unit/models/bank_transaction_validation_test.rb",
337
- "test/unit/models/contact_test.rb",
338
- "test/unit/models/credit_note_test.rb",
339
- "test/unit/models/invoice_test.rb",
340
- "test/unit/models/journal_line_test.rb",
341
- "test/unit/models/line_item_sum_test.rb",
342
- "test/unit/models/line_item_test.rb",
343
- "test/unit/oauth_config_test.rb",
344
- "test/unit/oauth_test.rb",
345
- "test/unit/private_application_test.rb",
346
- "test/unit/record/base_model_test.rb",
347
- "test/unit/record/base_test.rb",
348
- "test/unit/record/block_validator_test.rb",
349
- "test/unit/record/model_definition_test.rb",
350
- "test/unit/record/parse_where_hash_test.rb",
351
- "test/unit/record/record_association_test.rb",
352
- "test/unit/record/validators_test.rb",
353
- "test/unit/record_definition_test.rb",
354
- "test/unit/report_definition_test.rb",
355
- "test/unit/report_test.rb",
356
- "xeroizer.gemspec"
357
- ]
358
- s.homepage = "http://github.com/waynerobinson/xeroizer"
359
- s.licenses = ["MIT"]
360
- s.require_paths = ["lib"]
361
- s.rubygems_version = "1.8.25"
362
- s.summary = "Xero library"
363
-
364
- if s.respond_to? :specification_version then
365
- s.specification_version = 3
366
-
367
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
368
- s.add_runtime_dependency(%q<builder>, [">= 2.1.2"])
369
- s.add_runtime_dependency(%q<oauth>, ["= 0.4.5"])
370
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
371
- s.add_runtime_dependency(%q<tzinfo>, [">= 0"])
372
- s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
373
- s.add_runtime_dependency(%q<i18n>, [">= 0"])
374
- s.add_runtime_dependency(%q<builder>, [">= 2.1.2"])
375
- s.add_runtime_dependency(%q<oauth>, [">= 0.3.6"])
376
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
377
- s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
378
- s.add_development_dependency(%q<mocha>, [">= 0"])
379
- s.add_development_dependency(%q<shoulda>, [">= 0"])
380
- else
381
- s.add_dependency(%q<builder>, [">= 2.1.2"])
382
- s.add_dependency(%q<oauth>, ["= 0.4.5"])
383
- s.add_dependency(%q<activesupport>, [">= 0"])
384
- s.add_dependency(%q<tzinfo>, [">= 0"])
385
- s.add_dependency(%q<nokogiri>, [">= 0"])
386
- s.add_dependency(%q<i18n>, [">= 0"])
387
- s.add_dependency(%q<builder>, [">= 2.1.2"])
388
- s.add_dependency(%q<oauth>, [">= 0.3.6"])
389
- s.add_dependency(%q<activesupport>, [">= 0"])
390
- s.add_dependency(%q<nokogiri>, [">= 0"])
391
- s.add_dependency(%q<mocha>, [">= 0"])
392
- s.add_dependency(%q<shoulda>, [">= 0"])
393
- end
394
- else
395
- s.add_dependency(%q<builder>, [">= 2.1.2"])
396
- s.add_dependency(%q<oauth>, ["= 0.4.5"])
397
- s.add_dependency(%q<activesupport>, [">= 0"])
398
- s.add_dependency(%q<tzinfo>, [">= 0"])
399
- s.add_dependency(%q<nokogiri>, [">= 0"])
400
- s.add_dependency(%q<i18n>, [">= 0"])
401
- s.add_dependency(%q<builder>, [">= 2.1.2"])
402
- s.add_dependency(%q<oauth>, [">= 0.3.6"])
403
- s.add_dependency(%q<activesupport>, [">= 0"])
404
- s.add_dependency(%q<nokogiri>, [">= 0"])
405
- s.add_dependency(%q<mocha>, [">= 0"])
406
- s.add_dependency(%q<shoulda>, [">= 0"])
407
- end
408
- end
409
-