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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +9 -9
- data/lib/desertcart/marketplace/order_item/operations/find.rb +1 -1
- data/lib/desertcart/marketplace/order_item/operations/update.rb +1 -1
- data/lib/desertcart/marketplace/order_item_acceptance/operations/create.rb +2 -0
- data/lib/desertcart/marketplace/order_item_acceptance/serializer.rb +2 -0
- data/lib/desertcart/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abd4133cc0f5f5fc77a0b031364c6a203ae98a988a4d558a6187bacb36e10612
|
4
|
+
data.tar.gz: 6b7a8dae640b7723166261f8931a69063f0756d689ced600f87747ecbf61c3d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2a0f4321d34761781f7ae109a22ea8834e07f7b64432f1fa9269079cea0aaaaf09b80fb22b2beec022bd8feab326f218768837def174e56da96fda9074e6a58
|
7
|
+
data.tar.gz: c45a38634ea3a80bd47910db4e22aac033f4d1c7b0fff078a95ad323811a86a064d3ca2f19b752ddd10cd43c781c7ac284c49dcd64360a270e24df35c9ecf49e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
desertcart (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.
|
70
|
-
faraday (>= 0.
|
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.
|
83
|
+
i18n (1.8.11)
|
84
84
|
concurrent-ruby (~> 1.0)
|
85
|
-
ipaddr (1.2.
|
86
|
-
ledger_sync (2.2.
|
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.
|
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.
|
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
|
|
data/lib/desertcart/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ledger_sync
|