erp_integration 0.25.0 → 0.26.0

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: c712cc4dfcd1f43280c21bd1443004faba4782699f3d0aae9dcbba54ecbed6e0
4
- data.tar.gz: 24b062f2319f76ab2ef68609ce8608a0cd8901f18221067614023af8dc88b130
3
+ metadata.gz: '0820135e4a0b603c15f4e46615a3682c229f415ac5f9023b6a8c8fdd118f2471'
4
+ data.tar.gz: e7a1cdb300cebb0c9005823160ccfc54162eb27b4037b427a391f79ce21cc822
5
5
  SHA512:
6
- metadata.gz: cc31e26866ebec699087586d42163b747335bbd46f0e504f88d78b68ce22bb76c914a26a6a2397e714536d2099d00d8b8f5919176eace0ee5e63a7699d8eabce
7
- data.tar.gz: 245c31dd21124a52dbbe957307a4fd7e2267bdbde024135e0966f018c82c919828269aabf8de0989962783e9660d100453c3e9a9b58cc941f8ca121c3c2a3ea1
6
+ metadata.gz: f225c537e56518eab0d9356b965802a074ab67995ff0ee3aaabc23eafd383094c6eb0650add2589496fb9dbcbe9810cefec1677b278d46363082850f931cf0ec
7
+ data.tar.gz: 0d63e7169eb701247f5f89e0759de9f3a8f2a936a093e93b9cda449b9ba163e307010e0c25c059b9932935ca344e8d33613c2a669538a5ed49256bcb4747ae2e
@@ -15,4 +15,4 @@ jobs:
15
15
  steps:
16
16
  - uses: seferov/pr-lint-action@master
17
17
  with:
18
- title-regex: '^\[RELEASE|NO-TICKET|DL|UDL|AD|DU|AR|IN|CON|DIS|AS|MT|SCR|DEL-\d*\](\ )'
18
+ title-regex: '^\[RELEASE|NO-TICKET|DL|UDL|AD|DU|AR|IN|CON|DIS|AS|MT|SCR|RO|DEL-\d*\](\ )'
@@ -39,7 +39,7 @@ module ErpIntegration
39
39
  # Notice that logging headers will expose sensitive information
40
40
  # like api-key. To avoid use filters:
41
41
  # https://lostisland.github.io/faraday/middleware/logger
42
- faraday.response :logger, @logger, { headers: false, bodies: true }
42
+ faraday.response :logger, @logger, { headers: false, bodies: true } if @logger
43
43
 
44
44
  # Custom error handling for the error response
45
45
  faraday.use ErpIntegration::Middleware::ErrorHandling
@@ -11,10 +11,9 @@ module ErpIntegration
11
11
  :invoice_address, :invoice_method, :invoice_state, :invoices,
12
12
  :lines, :metadata, :payment_term, :payment_total, :price_list,
13
13
  :reference, :sales_person, :shipment_amount, :shipment_method,
14
- :shipment_state, :shipments, :shipping_start_date, :state,
15
- :tax_amount, :total_amount, :total_quantity, :total_shipment_cost,
16
- :untaxed_amount, :warehouse, :weight, :weight_uom, :write_date,
17
- :write_uid
14
+ :shipment_returns, :shipment_state, :shipments, :shipping_start_date,
15
+ :state, :tax_amount, :total_amount, :total_quantity, :total_shipment_cost,
16
+ :untaxed_amount, :warehouse, :weight, :weight_uom, :write_date, :write_uid
18
17
 
19
18
  def cancel
20
19
  self.class.adapter.cancel(id)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ErpIntegration
4
- VERSION = '0.25.0'
4
+ VERSION = '0.26.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_integration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Vermaas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2023-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport