cxml-ruby 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fe5e0c45372ed39797b5501ba49e8339fad0728a574ccf74fce1c23629e2c72
4
- data.tar.gz: f9512d489f5f1bcaa21dfe5d7b230c7c75d9e546e8c1f97e2b351f6a76b2428d
3
+ metadata.gz: 25b2ba1b0156e96916f3f5aa7788d4b4c0d175452fa91e09b1cb8ad0c96f3c06
4
+ data.tar.gz: 73806c22df23149ca45e46250ecb5fc907ede4826dd7919d3ec922bdd93872cd
5
5
  SHA512:
6
- metadata.gz: 11c6f9f315eddf474decf57927b675b638a55dcc32d574831ce1a9dc7ba10b0af12af3d92636b112a7cb7a69de64c3284629c30f45177f8bf25afacc7c218670
7
- data.tar.gz: c304d098c3605d2818953608e29656ce1c289f505b7b14824e7d1c8cc871860ac89aea9a32158491baa254adf4000c8c9e754268e77c91e665d0114c0bc7c259
6
+ metadata.gz: dbaed7a1c8af7c579c0f516422f085e802c3a7e582739dd99a476fc8eb45bea542cefc3b34920cadca1d72e74752d2a38cfc9981601d948167c8dbc050c7bbbb
7
+ data.tar.gz: f14c6e2f0c74c493cf2430daa9a90b948fc967c3268f72f0fd180f0eec0de7499baddaabc95ee417ef72552e33d3c4d75d3956437d7b2c797ad5e394310715d6
@@ -6,13 +6,16 @@ jobs:
6
6
  build:
7
7
 
8
8
  runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ ruby: [ '2.6.x', '2.7.x', '3.0.x' ]
9
12
 
10
13
  steps:
11
14
  - uses: actions/checkout@v2
12
- - name: Set up Ruby 2.6
15
+ - name: Set up Ruby ${{ matrix.ruby }}
13
16
  uses: actions/setup-ruby@v1
14
17
  with:
15
- ruby-version: 2.6.x
18
+ ruby-version: ${{ matrix.ruby }}
16
19
  - name: Test with Rake
17
20
  run: |
18
21
  sudo apt-get install libxml2-utils
data/CHANGELOG.md CHANGED
@@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
 
15
15
  ---
16
16
 
17
+ ## [0.8.2] - 2021-12-21
18
+ ### Fixed
19
+ - Add support for Ruby 3.x.x.
20
+
17
21
  ## [0.8.1] - 2021-05-24
18
22
  ### Fixed
19
23
  - Reorder the attributes output for `PunchoutSetupRequest`.
@@ -35,7 +35,7 @@ module CXML
35
35
  data = data.serializable_hash if data.is_a?(self.class)
36
36
  return unless data.is_a?(Hash)
37
37
 
38
- data.each(&method(:initialize_attribute))
38
+ data.each { |arr| initialize_attribute(*arr) }
39
39
  end
40
40
 
41
41
  def serializable_hash
data/lib/cxml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CXML
4
- VERSION = '0.8.1'
4
+ VERSION = '0.8.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cxml-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Beckman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-05-25 00:00:00.000000000 Z
12
+ date: 2021-12-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ox
@@ -269,53 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  requirements: []
272
- rubygems_version: 3.0.3
272
+ rubygems_version: 3.2.3
273
273
  signing_key:
274
274
  specification_version: 4
275
275
  summary: Parse/generate documents with the cXML protocol
276
- test_files:
277
- - spec/credential_spec.rb
278
- - spec/cxml_spec.rb
279
- - spec/document_spec.rb
280
- - spec/fixtures/.gitkeep
281
- - spec/fixtures/1.2.014-cXML.dtd
282
- - spec/fixtures/1.2.020-InvoiceDetail.dtd
283
- - spec/fixtures/1.2.020-cXML.dtd
284
- - spec/fixtures/1.2.037-InvoiceDetail.dtd
285
- - spec/fixtures/document_node_with_unknown_attribute.xml
286
- - spec/fixtures/envelope.xml
287
- - spec/fixtures/envelope2.xml
288
- - spec/fixtures/invoice_backed_and_unbacked_by_pos.xml
289
- - spec/fixtures/invoice_backed_by_multiple_pos.xml
290
- - spec/fixtures/invoice_taxes_at_line.xml
291
- - spec/fixtures/invoice_taxes_at_line_multiple_taxes.xml
292
- - spec/fixtures/invoice_taxes_at_total.xml
293
- - spec/fixtures/item_in.xml
294
- - spec/fixtures/order_request.xml
295
- - spec/fixtures/punch_out_order_message_doc.xml
296
- - spec/fixtures/punch_out_setup_request_doc.xml
297
- - spec/fixtures/punch_out_setup_request_doc_coupa.xml
298
- - spec/fixtures/punch_out_setup_request_doc_with_ship_to.xml
299
- - spec/fixtures/purchase_order_request_200.xml
300
- - spec/fixtures/request_doc.xml
301
- - spec/fixtures/response_status_200.xml
302
- - spec/fixtures/response_status_400.xml
303
- - spec/header_spec.rb
304
- - spec/invoice_detail_request_spec.rb
305
- - spec/item_detail_spec.rb
306
- - spec/item_id_spec.rb
307
- - spec/item_in_spec.rb
308
- - spec/money_spec.rb
309
- - spec/output/.gitkeep
310
- - spec/parser_spec.rb
311
- - spec/protocol_spec.rb
312
- - spec/punch_out_order_message_header_spec.rb
313
- - spec/punch_out_order_message_spec.rb
314
- - spec/punch_out_setup_request_spec.rb
315
- - spec/purchase_order_request_spec.rb
316
- - spec/request_spec.rb
317
- - spec/response_spec.rb
318
- - spec/sender_spec.rb
319
- - spec/spec_helper.rb
320
- - spec/status_spec.rb
321
- - spec/support/helpers.rb
276
+ test_files: []