xeroizer 2.16.1 → 2.16.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9d104655ade5e931c9338db5be9ea2f0b41d338d
4
+ data.tar.gz: 53954c8a71f98885a35fe1a416f6977de1ce4468
5
+ SHA512:
6
+ metadata.gz: e6c32f4cc788bdd3d1608e2f8a97937c6bb9f212284620235bb3935a1e337eaae24f783ff98a544348c1c6e9edaa7ce67b39f35f48d582612ed18e9f466ad1be
7
+ data.tar.gz: af9506d5445a9c17811a11f0a8b8db9c141ebf79882586e5c1fb830c6164a2111961c2e487f8b3fccb440acea0e961095dedcbf1677860061a7e71069330821c
@@ -2640,3 +2640,55 @@ AQEEBQADgYEAm/Abn8c2y1nO3fgpAIslxvi9iNBZDhQtJ0VQZY6wgSfANyDOR4DW
2640
2640
  iexO/AlorB49KnkFS7TjCAoLOZhcg5FaNiKnlstMI5krQmau1Qnb/vGSNsE/UGms
2641
2641
  1ts+QYPUs0KmGEAFUri2XzLy+aQo9Kw74VBvqnxvaaMeY5yMcKNOieY=
2642
2642
  -----END CERTIFICATE-----
2643
+ -----BEGIN CERTIFICATE-----
2644
+ MIIEPjCCAyagAwIBAgIESlOMKDANBgkqhkiG9w0BAQsFADCBvjELMAkGA1UEBhMC
2645
+ VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50
2646
+ cnVzdC5uZXQvbGVnYWwtdGVybXMxOTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3Qs
2647
+ IEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ugb25seTEyMDAGA1UEAxMpRW50cnVz
2648
+ dCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzIwHhcNMDkwNzA3MTcy
2649
+ NTU0WhcNMzAxMjA3MTc1NTU0WjCBvjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUVu
2650
+ dHJ1c3QsIE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zEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH+5pPi
2683
+ 94DkZfs0Nw4pgHBNrziGLp5/V6+eF67rHMsoIV+2HNjnogQi+dPa2MsCAwEAAaOB
2684
+ sDCBrTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zArBgNVHRAEJDAi
2685
+ gA8yMDA2MTEyNzIwMjM0MlqBDzIwMjYxMTI3MjA1MzQyWjAfBgNVHSMEGDAWgBRo
2686
+ kORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DHhmak8fdLQ/uE
2687
+ vW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA
2688
+ A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9t
2689
+ O1KzKtvn1ISMY/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6Zua
2690
+ AGAT/3B+XxFNSRuzFVJ7yVTav52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP
2691
+ 9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTSW3iDVuycNsMm4hH2Z0kdkquM++v/
2692
+ eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m
2693
+ 0vdXcDazv/wor3ElhVsT/h5/WrQ8
2694
+ -----END CERTIFICATE-----
@@ -61,7 +61,7 @@ module Xeroizer
61
61
  @default_headers = options[:default_headers] || {}
62
62
  @before_request = options.delete(:before_request)
63
63
  @after_request = options.delete(:after_request)
64
- @client = OAuth.new(consumer_key, consumer_secret, options.merge({default_headers: default_headers}))
64
+ @client = OAuth.new(consumer_key, consumer_secret, options.merge({default_headers: default_headers}))
65
65
  @logger = options[:logger] || false
66
66
  @unitdp = options[:unitdp] || 2
67
67
  end
@@ -50,7 +50,7 @@ module Xeroizer
50
50
  has_many :sales_tracking_categories, :model_name => 'ContactSalesTrackingCategory'
51
51
  has_many :purchases_tracking_categories, :model_name => 'ContactPurchasesTrackingCategory'
52
52
 
53
- validates_presence_of :name
53
+ validates_presence_of :name, :unless => Proc.new { | contact | contact.contact_id.present?}
54
54
  validates_inclusion_of :contact_status, :in => CONTACT_STATUS.keys, :allow_blanks => true
55
55
 
56
56
  def email_address?
@@ -60,7 +60,8 @@ module Xeroizer
60
60
  decimal :currency_rate
61
61
  datetime :fully_paid_on_date
62
62
  boolean :sent_to_contact
63
-
63
+ decimal :remaining_credit
64
+
64
65
  belongs_to :contact
65
66
  has_many :line_items
66
67
  has_many :allocations
@@ -6,6 +6,9 @@ module Xeroizer
6
6
  class InvoiceModel < BaseModel
7
7
  # To create a new invoice, use the folowing
8
8
  # $xero_client.Invoice.build(type: 'ACCREC', ..., contact: {name: 'Foo Bar'},...)
9
+ # However for existing contacts, it is better to reference them by contactid (only)
10
+ # see http://developer.xero.com/documentation/api/contacts/
11
+ # $xero_client.Invoice.build(type: 'ACCREC', ..., contact: {contact_id: 'foo123-bar456-guid'},...)
9
12
  # Note that we are not making an api request to xero just to get the contact
10
13
 
11
14
  set_permissions :read, :write, :update
@@ -15,7 +15,18 @@ module Xeroizer
15
15
  guid :item_id
16
16
  string :code
17
17
  string :description
18
-
18
+ string :purchase_description
19
+ string :name
20
+
21
+ decimal :unit_price
22
+ decimal :total_cost_pool # read only
23
+ decimal :quantity_on_hand # read only
24
+
25
+ boolean :is_sold # can be set to false, only if description, and sales_details are nil
26
+ boolean :is_purchased # can be set to false, only if purchase_description, and purchase_details are nil
27
+ boolean :is_tracked_as_inventory # read only, infered from inventory_asset_account_code, cogs_account_code, is_sold and is_purchased
28
+ string :inventory_asset_account_code
29
+
19
30
  belongs_to :purchase_details, :model_name => 'ItemPurchaseDetails'
20
31
  belongs_to :sales_details, :model_name => 'ItemSalesDetails'
21
32
 
@@ -12,7 +12,8 @@ module Xeroizer
12
12
  decimal :unit_price
13
13
  string :account_code
14
14
  string :tax_type
15
-
15
+ decimal :cogs_account_code
16
+
16
17
  end
17
18
 
18
19
  end
@@ -14,6 +14,7 @@ module Xeroizer
14
14
  string :tax_type
15
15
  string :account_code
16
16
  decimal :line_amount
17
+ decimal :tax_amount
17
18
 
18
19
  has_many :tracking, :model_name => 'TrackingCategoryChild'
19
20
 
@@ -1,17 +1,17 @@
1
1
  module Xeroizer
2
2
  class PrivateApplication < GenericApplication
3
-
3
+
4
4
  extend Forwardable
5
5
  def_delegators :client, :authorize_from_access
6
6
 
7
7
  public
8
-
9
- # Private applications are defined in the Xero API website and can be accessed in the
8
+
9
+ # Private applications are defined in the Xero API website and can be accessed in the
10
10
  # background without ever requiring a redirect to the Xero website for authorisation.
11
- #
11
+ #
12
12
  # @param [String] consumer_key consumer key/token from application developer (found at http://api.xero.com for your application).
13
13
  # @param [String] consumer_secret consumer secret from application developer (found at http://api.xero.com for your application).
14
- # @param [String] path_to_private_key aapplication's private key for message signing (uploaded to http://api.xero.com)
14
+ # @param [String] path_to_private_key application's private key for message signing (uploaded to http://api.xero.com)
15
15
  # @param [Hash] options other options to pass to the GenericApplication constructor
16
16
  # @return [PrivateApplication] instance of PrivateApplication
17
17
  def initialize(consumer_key, consumer_secret, path_to_private_key, options = {})
@@ -19,9 +19,9 @@ module Xeroizer
19
19
  :signature_method => 'RSA-SHA1',
20
20
  :private_key_file => path_to_private_key
21
21
  )
22
- super(consumer_key, consumer_secret, options)
22
+ super(consumer_key, consumer_secret, options)
23
23
  @client.authorize_from_access(consumer_key, consumer_secret)
24
24
  end
25
-
25
+
26
26
  end
27
- end
27
+ end
@@ -1,3 +1,3 @@
1
1
  module Xeroizer
2
- VERSION = "2.16.1".freeze
2
+ VERSION = "2.16.3".freeze
3
3
  end
@@ -149,13 +149,13 @@ class AboutCreatingBankTransactions < Test::Unit::TestCase
149
149
  }]
150
150
  end
151
151
 
152
- it "fails with RuntimeError when you try and create a new bank account" do
152
+ it "fails with ApiException when you try and create a new bank account with missing account type" do
153
153
  new_account = client.Account.build(
154
154
  :name => "Example bank account",
155
155
  :code => "ACC-001"
156
156
  )
157
157
 
158
- assert_raise RuntimeError do
158
+ assert_raise Xeroizer::ApiException do
159
159
  new_account.save
160
160
  end
161
161
  end
@@ -14,16 +14,15 @@ class AboutFetchingBankTransactions < Test::Unit::TestCase
14
14
  @the_first_bank_transaction = client.BankTransaction.all.first
15
15
  end
16
16
 
17
- it "returns line items empty" do
18
- assert_empty(@the_first_bank_transaction.line_items, "Expected line items to've been excluded")
17
+ it "has the limited set of attributes" do
18
+ keys = [:line_amount_types, :contact, :date, :status, :updated_date_utc,
19
+ :currency_code, :bank_transaction_id, :bank_account, :type,
20
+ :is_reconciled]
21
+ assert_equal(@the_first_bank_transaction.attributes.keys, keys)
19
22
  end
20
23
 
21
- it "returns contact with name and and id ONLY (no addresses or phones)" do
22
- the_contact = @the_first_bank_transaction.contact
23
- assert_not_nil(the_contact.contact_id, "Expected contact id to be present")
24
- assert_not_nil(the_contact.name, "Expected contact name to be present")
25
- assert_empty the_contact.phones, "Expected empty contact phones"
26
- assert_empty the_contact.addresses, "Expected empty contact addresses"
24
+ it "returns contact" do
25
+ assert_not_nil @the_first_bank_transaction.contact
27
26
  end
28
27
 
29
28
  it "returns the bank account" do
@@ -36,14 +35,11 @@ class AboutFetchingBankTransactions < Test::Unit::TestCase
36
35
  @a_new_bank_transaction = BankTransactionReferenceData.new(client).bank_transaction
37
36
  end
38
37
 
39
- it "returns contact with addresses and phones" do
40
- single_bank_transaction = client.BankTransaction.find @a_new_bank_transaction.id
41
-
42
- assert_not_empty single_bank_transaction.contact.addresses,
43
- "expected the contact's addresses to have been included"
44
-
45
- assert_not_empty single_bank_transaction.contact.phones,
46
- "expected the contact's phone numbers to have been included"
38
+ it "has the extended set of attributes" do
39
+ keys = [:line_amount_types, :contact, :date, :status, :line_items,
40
+ :updated_date_utc, :currency_code, :bank_transaction_id,
41
+ :bank_account, :type, :is_reconciled, :currency_rate]
42
+ assert_equal(@a_new_bank_transaction.attributes.keys, keys)
47
43
  end
48
44
 
49
45
  it "returns full line item details" do
@@ -54,3 +50,4 @@ class AboutFetchingBankTransactions < Test::Unit::TestCase
54
50
  end
55
51
  end
56
52
  end
53
+
@@ -14,7 +14,6 @@ class BankTransactionReferenceData
14
14
  :type => "SPEND",
15
15
  :contact => { :name => "Jazz Kang" },
16
16
  :line_items => [
17
- :item_code => "Clingfilm bike shorts",
18
17
  :description => "Bike shorts made of clear, unbreathable material",
19
18
  :quantity => 1,
20
19
  :unit_amount => 39.99,
@@ -21,6 +21,13 @@ class ContactTest < Test::Unit::TestCase
21
21
  assert_equal(0, @contact.errors.size)
22
22
  end
23
23
 
24
+ should "be able to have no name if has a contact_id" do
25
+ assert_equal(false, @contact.valid?)
26
+ @contact.contact_id = "1-2-3"
27
+ assert_equal(true, @contact.valid?)
28
+ assert_equal(0, @contact.errors.size)
29
+ end
30
+
24
31
  end
25
32
 
26
33
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xeroizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.1
5
- prerelease:
4
+ version: 2.16.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Wayne Robinson
@@ -14,257 +13,225 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.5'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.5'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mocha
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: shoulda
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: test-unit
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rest-client
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: turn
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: ansi
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - ">="
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - ">="
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: redcarpet
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
- - - ! '>='
129
+ - - ">="
148
130
  - !ruby/object:Gem::Version
149
131
  version: '0'
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
- - - ! '>='
136
+ - - ">="
156
137
  - !ruby/object:Gem::Version
157
138
  version: '0'
158
139
  - !ruby/object:Gem::Dependency
159
140
  name: yard
160
141
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
142
  requirements:
163
- - - ! '>='
143
+ - - ">="
164
144
  - !ruby/object:Gem::Version
165
145
  version: '0'
166
146
  type: :development
167
147
  prerelease: false
168
148
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
149
  requirements:
171
- - - ! '>='
150
+ - - ">="
172
151
  - !ruby/object:Gem::Version
173
152
  version: '0'
174
153
  - !ruby/object:Gem::Dependency
175
154
  name: builder
176
155
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
156
  requirements:
179
- - - ! '>='
157
+ - - ">="
180
158
  - !ruby/object:Gem::Version
181
159
  version: 2.1.2
182
160
  type: :runtime
183
161
  prerelease: false
184
162
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
163
  requirements:
187
- - - ! '>='
164
+ - - ">="
188
165
  - !ruby/object:Gem::Version
189
166
  version: 2.1.2
190
167
  - !ruby/object:Gem::Dependency
191
168
  name: oauth
192
169
  requirement: !ruby/object:Gem::Requirement
193
- none: false
194
170
  requirements:
195
- - - ! '>='
171
+ - - ">="
196
172
  - !ruby/object:Gem::Version
197
173
  version: 0.4.5
198
174
  type: :runtime
199
175
  prerelease: false
200
176
  version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
177
  requirements:
203
- - - ! '>='
178
+ - - ">="
204
179
  - !ruby/object:Gem::Version
205
180
  version: 0.4.5
206
181
  - !ruby/object:Gem::Dependency
207
182
  name: activesupport
208
183
  requirement: !ruby/object:Gem::Requirement
209
- none: false
210
184
  requirements:
211
- - - ! '>='
185
+ - - ">="
212
186
  - !ruby/object:Gem::Version
213
187
  version: '0'
214
188
  type: :runtime
215
189
  prerelease: false
216
190
  version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
191
  requirements:
219
- - - ! '>='
192
+ - - ">="
220
193
  - !ruby/object:Gem::Version
221
194
  version: '0'
222
195
  - !ruby/object:Gem::Dependency
223
196
  name: nokogiri
224
197
  requirement: !ruby/object:Gem::Requirement
225
- none: false
226
198
  requirements:
227
- - - ! '>='
199
+ - - ">="
228
200
  - !ruby/object:Gem::Version
229
201
  version: '0'
230
202
  type: :runtime
231
203
  prerelease: false
232
204
  version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
205
  requirements:
235
- - - ! '>='
206
+ - - ">="
236
207
  - !ruby/object:Gem::Version
237
208
  version: '0'
238
209
  - !ruby/object:Gem::Dependency
239
210
  name: tzinfo
240
211
  requirement: !ruby/object:Gem::Requirement
241
- none: false
242
212
  requirements:
243
- - - ! '>='
213
+ - - ">="
244
214
  - !ruby/object:Gem::Version
245
215
  version: '0'
246
216
  type: :runtime
247
217
  prerelease: false
248
218
  version_requirements: !ruby/object:Gem::Requirement
249
- none: false
250
219
  requirements:
251
- - - ! '>='
220
+ - - ">="
252
221
  - !ruby/object:Gem::Version
253
222
  version: '0'
254
223
  - !ruby/object:Gem::Dependency
255
224
  name: i18n
256
225
  requirement: !ruby/object:Gem::Requirement
257
- none: false
258
226
  requirements:
259
- - - ! '>='
227
+ - - ">="
260
228
  - !ruby/object:Gem::Version
261
229
  version: '0'
262
230
  type: :runtime
263
231
  prerelease: false
264
232
  version_requirements: !ruby/object:Gem::Requirement
265
- none: false
266
233
  requirements:
267
- - - ! '>='
234
+ - - ">="
268
235
  - !ruby/object:Gem::Version
269
236
  version: '0'
270
237
  description: Ruby library for the Xero accounting system API.
@@ -277,6 +244,7 @@ files:
277
244
  - README.md
278
245
  - lib/big_decimal_to_s.rb
279
246
  - lib/class_level_inheritable_attributes.rb
247
+ - lib/xeroizer.rb
280
248
  - lib/xeroizer/application_http_proxy.rb
281
249
  - lib/xeroizer/ca-certificates.crt
282
250
  - lib/xeroizer/configuration.rb
@@ -358,7 +326,6 @@ files:
358
326
  - lib/xeroizer/report/xml_helper.rb
359
327
  - lib/xeroizer/response.rb
360
328
  - lib/xeroizer/version.rb
361
- - lib/xeroizer.rb
362
329
  - test/acceptance/about_creating_bank_transactions_test.rb
363
330
  - test/acceptance/about_fetching_bank_transactions_test.rb
364
331
  - test/acceptance/acceptance_test.rb
@@ -635,27 +602,26 @@ files:
635
602
  homepage: http://github.com/waynerobinson/xeroizer
636
603
  licenses:
637
604
  - MIT
605
+ metadata: {}
638
606
  post_install_message:
639
607
  rdoc_options: []
640
608
  require_paths:
641
609
  - lib
642
610
  required_ruby_version: !ruby/object:Gem::Requirement
643
- none: false
644
611
  requirements:
645
- - - ! '>='
612
+ - - ">="
646
613
  - !ruby/object:Gem::Version
647
614
  version: '0'
648
615
  required_rubygems_version: !ruby/object:Gem::Requirement
649
- none: false
650
616
  requirements:
651
- - - ! '>='
617
+ - - ">="
652
618
  - !ruby/object:Gem::Version
653
619
  version: '0'
654
620
  requirements: []
655
621
  rubyforge_project:
656
- rubygems_version: 1.8.29
622
+ rubygems_version: 2.4.8
657
623
  signing_key:
658
- specification_version: 3
624
+ specification_version: 4
659
625
  summary: Xero library
660
626
  test_files:
661
627
  - test/acceptance/about_creating_bank_transactions_test.rb