portage-ucp-bigcommerce 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a71c96dc602da8be5b13f7356611d8172038c49c8b9d42d8d5b2208e9e2213f
|
|
4
|
+
data.tar.gz: 0137c7b98d2e2578320aa73608b85acbc5a7f5d826f4ea0e34a6cab9e4e6e5b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8760851e94163dfa43272181da97bd191b137f7315076b1471aed3469b10fa88b840897986b4836d5a5a72da1949b180684b6427beff6c0f99313fca40a8c68
|
|
7
|
+
data.tar.gz: 638a13c5fd1441e3ad7d4b42196e4ce7aac87034de7580ecfc33d20dbf780bb9fe6f67f246c7b320e8c42779f96152fc7d06a89ba613ddc9f01170fa2771ef12
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ pre-1.0, so APIs may still shift between minor versions.
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.0] - 2026-10-05
|
|
10
|
+
|
|
11
|
+
- **Removed the unused `Client#v2_post` and `Client#v3_put`.** Nothing in the gem called them. They were public on the client class, so this is **breaking** for any caller using them directly; minor-level for a pre-1.0 gem.
|
|
12
|
+
|
|
13
|
+
- **Removed `Mapper.money`.** It was a one-line pass-through to `Support::Amounts.money` that nothing in the gem called. It is a public module function, so this is **breaking** for any caller using it directly; minor-level for a pre-1.0 gem.
|
|
14
|
+
|
|
9
15
|
## [0.1.5] - 2026-09-29
|
|
10
16
|
|
|
11
17
|
- Fixes a `NoMethodError` at launch: `exe/portage-ucp-bigcommerce` handed
|
data/exe/portage-ucp-bigcommerce
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
# vars, and — since this gem ships with permissive-nothing defaults (see
|
|
6
6
|
# README's "Security hooks") — wire a real Authenticator/RateLimiter/etc. via
|
|
7
7
|
# a config file loaded with PORTAGE_UCP_CONFIG, the same way `rackup -r` or
|
|
8
|
-
# Sidekiq's `-r` work — see
|
|
8
|
+
# Sidekiq's `-r` work — see a starting point at
|
|
9
|
+
# https://github.com/tomtom87/Portage/blob/main/portage-ucp/examples/portage_ucp.rb.
|
|
9
10
|
# Without one, the server still starts but rejects every mutating call.
|
|
10
11
|
#
|
|
11
12
|
# BIGCOMMERCE_PAYMENT_GATEWAY_ID is optional — only needed to call
|
|
@@ -39,10 +39,6 @@ module Portage
|
|
|
39
39
|
admin_request(Net::HTTP::Get, "v2", path)
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
def v2_post(path, body = {})
|
|
43
|
-
admin_request(Net::HTTP::Post, "v2", path, body)
|
|
44
|
-
end
|
|
45
|
-
|
|
46
42
|
def v3_get(path)
|
|
47
43
|
admin_request(Net::HTTP::Get, "v3", path)
|
|
48
44
|
end
|
|
@@ -51,10 +47,6 @@ module Portage
|
|
|
51
47
|
admin_request(Net::HTTP::Post, "v3", path, body)
|
|
52
48
|
end
|
|
53
49
|
|
|
54
|
-
def v3_put(path, body = {})
|
|
55
|
-
admin_request(Net::HTTP::Put, "v3", path, body)
|
|
56
|
-
end
|
|
57
|
-
|
|
58
50
|
def v3_delete(path)
|
|
59
51
|
admin_request(Net::HTTP::Delete, "v3", path)
|
|
60
52
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: portage-ucp-bigcommerce
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Whitbread
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: portage-ucp
|