wirepayment 1.0.0 → 1.0.1

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: b5791532cdc9970945e66a9d1743b4074db2ca11fa118b6d2a2b073618940df9
4
- data.tar.gz: 4e14b8cf1875b6f3f091743a4da11260815751981840f341e073ff5d622c3036
3
+ metadata.gz: e52dccf7be04fe2f44355a82eef7e888b087c23d6125b7232b035363b3444152
4
+ data.tar.gz: 323db8fbd8c318eff478ad955fe355b1992f4c6dc9935928e1a5e125b1267a4a
5
5
  SHA512:
6
- metadata.gz: 2688c7e8b3ae09fe8149a73c13314bb9ade7ae5b476512d737182b66dac5d9853e5f83ddba6dbbb14ee3b20fe8fc5a715d5c1a77cdcd1c44991abab94fe05909
7
- data.tar.gz: a156cbe508a41e8a0e89811d1cc86a88519099d20e5d0daacfdfa7f13a53e3a1dbfe727b75c1f8b88e72908d5f0e418d6edb923ece717883dc310441825804fa
6
+ metadata.gz: 2774d5896fc6fa5e07bd09523555b6490be6befb5857ed773d28af72eefdfe500ddc107a4e9e3a1246dd6916af4dd7906d79fd3b29dd4c21afa62524e79aaae5
7
+ data.tar.gz: 530122aedf7b55f9e0701e3b457097e052b1309629535072c863065e5f79b88f1086a943357f044b8821820c50238c0a73a4be7671ec120816b0f3c3463e34bb
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.1] - 2026-10-12
9
+
10
+ ### Changed
11
+ - README: amounts are whole tögrög (MNT integer, no fractional part — `50000` is 50,000 ₮, not 500.00). Examples no longer use the `sandbox` operator or test mode, which the production API does not offer; omitting `allowed_operators` routes to the operators enabled on your project.
12
+
8
13
  ## [1.0.0] - 2026-06-07
9
14
 
10
15
  ### Added
data/README.md CHANGED
@@ -28,11 +28,11 @@ require "wirepayment"
28
28
  ```ruby
29
29
  client = Wire::Client.new("sk_live_...")
30
30
 
31
- # Amounts are in minor units (e.g. 50000 = 500.00 MNT).
31
+ # Amounts are whole tögrög (MNT integer, no fractional part): 50000 = 50,000 ₮.
32
+ # Without allowed_operators, Wire routes to the operators enabled on your project.
32
33
  pi = client.payment_intents.create(
33
34
  amount: 50_000,
34
- currency: "MNT",
35
- allowed_operators: ["sandbox"] # the operator ids enabled on your account
35
+ currency: "MNT"
36
36
  )
37
37
  puts pi["id"], pi["status"]
38
38
 
data/lib/wire/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wire
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wirepayment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Buildry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-07 00:00:00.000000000 Z
11
+ date: 2026-10-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Server-side Ruby client for the Wire unified payment gateway: payment
14
14
  intents, charges, events, and webhook endpoints across Mongolian payment operators,