rail0-sdk 1.10.1 → 1.10.2

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: db1685625a4eb7aebc1cbf222a83b595a28fa04aacf1bf0f4ce05cdf3a59129d
4
- data.tar.gz: 27c405e53fdd5a59825294b4def8b99aabb6d782b8feacf88db559cd0a078d0b
3
+ metadata.gz: 0f63fa431ab7bf59137945336f325a29c58b0e40ff9d3b0720e5176ea191774a
4
+ data.tar.gz: 348669b3c65ea7089a43e3ed55b5a47055f1ca2b1e6b0280321f16eb6f225206
5
5
  SHA512:
6
- metadata.gz: 4cd815e13c30acaf0acd54a12b938a91cc6bbfe5545234fdcc701b047cc58c2a0e2cf74cf1598e1c62459e9c865c6dc637443b6569175b118f5d5bbba96353f1
7
- data.tar.gz: d3b87f6b4716dfea60c888cd6fc3ef9eb09003d2ab0557228f5a21d695a16c5ba76fef19e3cedeaa0e7573545feac63e5efaeba585f3edfd97c00cf5491c73b9
6
+ metadata.gz: 21b5aa3110cd933dcc260a59d5ae07f5a66654d79e19dda5616977f4b78a62d223913fb54dcd3013efb476e12ad2004938b6dd0a6c38730baba9cf56b499191d
7
+ data.tar.gz: d2cfe26af277465139b1b5e5801405790e2a8b1593317730e1f3ef386e20c70e1b8c4b436fc887756fab1fdb364fa7b50961e0ea153eb9a3837931efe2170830
data/README.md CHANGED
@@ -1302,6 +1302,17 @@ that argues with the codebase teaches people to ignore it.
1302
1302
 
1303
1303
  A release is an approved pull request: merging it is what publishes.
1304
1304
 
1305
+ **Pull requests do not target `main` one by one: they go into a milestone.** The next
1306
+ release has a GitHub milestone ("Next release") and a branch, `milestone/next`, cut from
1307
+ `main` (milestone branches always start with `milestone/`). Change pull requests target `milestone/next` and carry the milestone; CI runs on
1308
+ them, and the developer merges into the branch only what is meant to ship. One pull
1309
+ request, `milestone/next` → `main`, carries the release, so a single approval covers the
1310
+ whole milestone. Run `bin/release-prepare` on `milestone/next` (clean, pushed, containing
1311
+ `origin/main`, its pull request into `main` open): the pull requests merged into the
1312
+ branch decide the version and fill the notes, together with anything merged on `main`
1313
+ since the last tag. After the release merges, delete `milestone/next`, cut it again from
1314
+ `main` and move the open milestone's pull requests onto it.
1315
+
1305
1316
  1. `bin/release-prepare`, on an up-to-date, clean `main`. It computes the version from the titles of the pull requests merged since the last tag
1306
1317
  (Conventional Commits): a breaking change — `!` after the type, as in `feat(api)!:`, or a
1307
1318
  `BREAKING CHANGE:` footer — makes it a major, any `feat` a minor, anything else a patch,
@@ -1321,8 +1332,9 @@ A release is an approved pull request: merging it is what publishes.
1321
1332
  and the notes instead of bumping twice. One approval then covers the change and its
1322
1333
  release.
1323
1334
  2. Review the pull request (edit the notes in its body if needed), approve and merge it.
1324
- The approval must come from a reviewer **other than the pull request's author**, on its
1325
- final commit: release.yml checks it before publishing anything and stops otherwise —
1335
+ The approval must come from a reviewer **who neither opened the pull request nor wrote
1336
+ any of its changes** (its commits, co-authored commits, and the pull requests merged
1337
+ into the milestone), on its final commit: release.yml checks it before publishing anything and stops otherwise —
1326
1338
  an admin merge that bypassed the review, a direct push to `main` or a resume of an
1327
1339
  unapproved release publishes nothing.
1328
1340
  3. `.github/workflows/release.yml` runs on that push to `main`: CI again on the release
@@ -102,7 +102,6 @@ module Rail0
102
102
  # The /admin/onboardings codes (onboarding_not_found, onboarding_completed) are left
103
103
  # out: those routes are the console's, not the SDK's. The link codes never say which
104
104
  # term failed — a stale link has one remedy: the newest email, or a new link.
105
- "signup_unavailable" => "self-service sign-up is switched off on this gateway for now — try again later, or ask your RAIL0 contact for an invite",
106
105
  "onboarding_unavailable" => "this gateway has no onboarding secret configured, so it can neither issue nor verify sign-up links — ask the operator",
107
106
  "email_provider_not_configured" => "the gateway has no email provider that delivers, so no link was sent and nothing was saved — ask the operator to configure one",
108
107
  "email_domain_not_allowed" => "this environment emails only its allowed domains (the detail lists them) — use an address on one of them; nothing was saved",
data/lib/rail0/version.rb CHANGED
@@ -5,5 +5,5 @@ module Rail0
5
5
  # consumed by path from a sibling checkout, where the number bought nothing: no registry
6
6
  # ever served a 1.x, no tag was ever cut, and the one consumer resolves the working tree.
7
7
  # Publishing from 1.2.0 would have implied two releases nobody can install.
8
- VERSION = "1.10.1"
8
+ VERSION = "1.10.2"
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rail0-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Commerce Layer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-04 00:00:00.000000000 Z
11
+ date: 2026-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logger