desertcart 1.1.1 → 1.1.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: 05a1303000accacc070280608f9aea867a8333903ebcb771f51ead55febb4721
4
- data.tar.gz: 7f4934ec8188fba0fca7d0cb9c53e37402d2a571cb5d63728bec11586049958b
3
+ metadata.gz: abd4133cc0f5f5fc77a0b031364c6a203ae98a988a4d558a6187bacb36e10612
4
+ data.tar.gz: 6b7a8dae640b7723166261f8931a69063f0756d689ced600f87747ecbf61c3d7
5
5
  SHA512:
6
- metadata.gz: 721fdfc0c9e51edca11938dfcaa6a54355809409b6e55ba7f1a7ca8cea929c8e2268c23ca5939e9a5b33bdb12a8d9f9d36640af516a1849a8dfe79ccbd3e6841
7
- data.tar.gz: ec33c316265178c1b5b7c91bfde4d6aa74666ff7c4df2810ad9b9dacd436851fabd837bc0e2ecbace495ca54c4cf7f52f021903f2febad194a08dc592795a908
6
+ metadata.gz: b2a0f4321d34761781f7ae109a22ea8834e07f7b64432f1fa9269079cea0aaaaf09b80fb22b2beec022bd8feab326f218768837def174e56da96fda9074e6a58
7
+ data.tar.gz: c45a38634ea3a80bd47910db4e22aac033f4d1c7b0fff078a95ad323811a86a064d3ca2f19b752ddd10cd43c781c7ac284c49dcd64360a270e24df35c9ecf49e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.1.2] - 2021-11-22
4
+
5
+ - Feature: Add final purchase details to OrderItemAcceptance
6
+
3
7
  ## [1.1.0] - 2021-09-26
4
8
 
5
9
  - Feature: Support Ruby 2.7 and newer
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- desertcart (1.1.1)
4
+ desertcart (1.1.2)
5
5
  ledger_sync (~> 2.2.0)
6
6
 
7
7
  GEM
@@ -66,8 +66,8 @@ GEM
66
66
  faraday-rack (~> 1.0)
67
67
  multipart-post (>= 1.2, < 3)
68
68
  ruby2_keywords (>= 0.0.4)
69
- faraday-detailed_logger (2.3.0)
70
- faraday (>= 0.8, < 2)
69
+ faraday-detailed_logger (2.4.2)
70
+ faraday (>= 0.16, < 2)
71
71
  faraday-em_http (1.0.0)
72
72
  faraday-em_synchrony (1.0.0)
73
73
  faraday-excon (1.1.0)
@@ -80,12 +80,11 @@ GEM
80
80
  faraday (~> 1.0)
81
81
  fingerprintable (1.2.1)
82
82
  colorize
83
- i18n (1.8.10)
83
+ i18n (1.8.11)
84
84
  concurrent-ruby (~> 1.0)
85
- ipaddr (1.2.2)
86
- ledger_sync (2.2.1)
85
+ ipaddr (1.2.3)
86
+ ledger_sync (2.2.3)
87
87
  activemodel
88
- colorize
89
88
  dry-schema (~> 1.5.4)
90
89
  dry-validation (~> 1.5.6)
91
90
  faraday
@@ -96,6 +95,7 @@ GEM
96
95
  openssl (~> 2.2.0)
97
96
  pd_ruby
98
97
  rack (~> 2.2.3)
98
+ rainbow (~> 3.0)
99
99
  resonad
100
100
  simply_serializable (>= 1.5.1)
101
101
  minitest (5.14.4)
@@ -109,7 +109,7 @@ GEM
109
109
  ast (~> 2.4.1)
110
110
  pd_ruby (0.2.3)
111
111
  colorize
112
- racc (1.5.2)
112
+ racc (1.6.0)
113
113
  rack (2.2.3)
114
114
  rainbow (3.0.0)
115
115
  rake (13.0.6)
@@ -147,7 +147,7 @@ GEM
147
147
  tzinfo (2.0.4)
148
148
  concurrent-ruby (~> 1.0)
149
149
  unicode-display_width (2.1.0)
150
- zeitwerk (2.4.2)
150
+ zeitwerk (2.5.1)
151
151
 
152
152
  PLATFORMS
153
153
  x86_64-linux
@@ -6,7 +6,7 @@ module Desertcart
6
6
  module Operations
7
7
  class Find < Desertcart::Operation::Find
8
8
  class Contract < LedgerSync::Ledgers::Contract
9
- params do
9
+ params do # rubocop:disable Metrics/BlockLength
10
10
  required(:ledger_id).filled(:string)
11
11
  optional(:name).maybe(:string)
12
12
  optional(:store_uid).maybe(:string)
@@ -6,7 +6,7 @@ module Desertcart
6
6
  module Operations
7
7
  class Update < Desertcart::Operation::Update
8
8
  class Contract < LedgerSync::Ledgers::Contract
9
- params do
9
+ params do # rubocop:disable Metrics/BlockLength
10
10
  required(:ledger_id).filled(:string)
11
11
  optional(:name).maybe(:string)
12
12
  optional(:store_uid).maybe(:string)
@@ -11,6 +11,8 @@ module Desertcart
11
11
  params do
12
12
  required(:order_item).maybe(:hash, Types::Reference)
13
13
  optional(:seller_reference_number).maybe(:string)
14
+ optional(:final_purchase_price).maybe(:string)
15
+ optional(:final_purchase_currency_code).maybe(:string)
14
16
  end
15
17
  end
16
18
 
@@ -9,6 +9,8 @@ module Desertcart
9
9
  resource.order_item.ledger_id
10
10
  end
11
11
  attribute :seller_reference_number
12
+ attribute :final_purchase_price
13
+ attribute :final_purchase_currency_code
12
14
  end
13
15
  end
14
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Desertcart
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: desertcart
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jozef Vaclavik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-17 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ledger_sync