siwe-rb 0.1.0 → 0.1.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 +4 -4
- data/CHANGELOG.md +7 -2
- data/Gemfile.lock +2 -2
- data/README.md +2 -1
- data/lib/siwe/version.rb +1 -1
- data/siwe-rb.gemspec +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: df6c7e33b60d7b0a29e599ec47541c2d08fd0b61ebd71d58ea113eeb1c8403d7
|
|
4
|
+
data.tar.gz: 1bb80a27e4f98f13d3dffe0b6b41b4f85cbd4ec9c441a69adb246e029f63a454
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 578223757cbf3ed6309680c65a6625897d9a3a1f3805e9bb1d662965cc5bab935c996328388c8873ddec107775d40ed2b2f5d3902b98a2692ef87aa39c4042b0
|
|
7
|
+
data.tar.gz: 2381d36fc8c00987b2ddb0d3f99947e63bdb91b6437cf210a658b1938e80ed114bf5188ebaea504dca6b7c76be26e632ab89ea1f7e8811714a47f4dd5d68cee9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.1] — 2026-05-04
|
|
4
|
+
|
|
5
|
+
- Bump minimum Ruby to 3.3. RuboCop's transitive dep `parallel` 2.1+ requires Ruby ≥ 3.3, so 3.2 can no longer pass the gem's own CI; Ruby 3.2 went EOL in March 2026 anyway. Runtime users on 3.2 can stay on 0.1.0 — the only runtime dep (`eth`) still supports 3.2.
|
|
6
|
+
- CI matrix dropped 3.2; now runs on Ruby 3.3 and 3.4.
|
|
7
|
+
|
|
3
8
|
## [0.1.0] — 2026-05-04
|
|
4
9
|
|
|
5
10
|
Initial release of `siwe-rb`. Hard fork of the abandoned `siwe` gem (last published 0.1.0, 2021).
|
|
6
11
|
|
|
7
|
-
- Modern Ruby (≥ 3.
|
|
12
|
+
- Modern Ruby (≥ 3.3), no Ruby 2.x cruft.
|
|
8
13
|
- ABNF-aligned EIP-4361 parser; passes the shared `@signinwithethereum/test-vectors` suite (parsing, grammar, objects, verification).
|
|
9
14
|
- 17-character alphanumeric nonce, matching the TypeScript reference (`Siwe.generate_nonce`).
|
|
10
15
|
- Optional `scheme` field for `https://`-prefixed messages (ERC-4361 erratum).
|
|
@@ -13,4 +18,4 @@ Initial release of `siwe-rb`. Hard fork of the abandoned `siwe` gem (last publis
|
|
|
13
18
|
- ERC-1271 + EIP-6492 smart-wallet support via the off-chain universal validator (single `eth_call` covers deployed wallets like Safe and counterfactual wallets like Coinbase Smart Wallet).
|
|
14
19
|
- Built-in `Siwe::Rpc::HttpClient` (Net::HTTP-based JSON-RPC) plus a duck-typed plug-in surface — drop in `web3.rb`, `eth-rpc`, or any object responding to `eth_call(to:, data:, block:)`.
|
|
15
20
|
- Pluggable `Siwe::Adapter` (defaults to the `eth` gem) for crypto / signature recovery.
|
|
16
|
-
- Modern toolchain: RuboCop, RSpec, WebMock, GitHub Actions matrix on Ruby 3.
|
|
21
|
+
- Modern toolchain: RuboCop, RSpec, WebMock, GitHub Actions matrix on Ruby 3.3 / 3.4, optional gated live-RPC integration job.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
siwe-rb (0.1.
|
|
4
|
+
siwe-rb (0.1.1)
|
|
5
5
|
eth (>= 0.5.11, < 1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -202,7 +202,7 @@ CHECKSUMS
|
|
|
202
202
|
simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
|
|
203
203
|
simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
|
|
204
204
|
simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
|
|
205
|
-
siwe-rb (0.1.
|
|
205
|
+
siwe-rb (0.1.1)
|
|
206
206
|
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
|
|
207
207
|
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
208
208
|
webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ gem "siwe-rb", "~> 0.1"
|
|
|
15
15
|
require "siwe"
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
Requires Ruby ≥ 3.
|
|
18
|
+
Requires Ruby ≥ 3.3.
|
|
19
19
|
|
|
20
20
|
## Usage
|
|
21
21
|
|
|
@@ -125,6 +125,7 @@ The full set of error types mirrors `SiweErrorType` in the TypeScript reference
|
|
|
125
125
|
| EIP-6492 verification | ✓ (via viem) | ✓ (built-in) |
|
|
126
126
|
| Pluggable provider | viem / ethers | duck-typed RPC |
|
|
127
127
|
| Shared test-vector suite | ✓ | ✓ |
|
|
128
|
+
| CI matrix | - | Ruby 3.3 / 3.4 |
|
|
128
129
|
|
|
129
130
|
## Development
|
|
130
131
|
|
data/lib/siwe/version.rb
CHANGED
data/siwe-rb.gemspec
CHANGED
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
"with built-in support for ERC-1271 and EIP-6492 smart contract wallets."
|
|
14
14
|
spec.homepage = "https://github.com/signinwithethereum/siwe-rb"
|
|
15
15
|
spec.license = "MIT"
|
|
16
|
-
spec.required_ruby_version = ">= 3.
|
|
16
|
+
spec.required_ruby_version = ">= 3.3"
|
|
17
17
|
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
19
19
|
spec.metadata["source_code_uri"] = spec.homepage
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: siwe-rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 1001 Digital
|
|
@@ -72,7 +72,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '3.
|
|
75
|
+
version: '3.3'
|
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
78
|
- - ">="
|