lex-github 0.3.0 → 0.3.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 +2 -32
- data/lex-github.gemspec +1 -1
- data/lib/legion/extensions/github/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eebe64eb1c8b63779a68d69cea578a978c3051d54cb7e446c53778d0d9af27c0
|
|
4
|
+
data.tar.gz: d7b0a6c2f444212f4e36ec4cb96394db42a64beaaf8a8597094e079f75f62454
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a9f9e5af627a04456364243839cb8984eefaa5576a5dfcee75284fb40c5fbac6fb12f69334c1f8b36f00b1538e57a484f057255d506f1a3a249de94c10d4d7d
|
|
7
|
+
data.tar.gz: 95d3863eb968f7f26d415e0d56bfff81e3e57a911183abd95f5734ba0a45dfc6201fa8bf92227d030752be4f225590e824ae9e15148cf5adcbdbdb0275b7b5a7
|
data/CHANGELOG.md
CHANGED
|
@@ -2,40 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
- GitHub App authentication (JWT generation, installation tokens, manifest flow)
|
|
7
|
-
- OAuth delegated authentication (Authorization Code + PKCE, device code fallback)
|
|
8
|
-
- Scope-aware credential resolution chain (8 sources, rate limit + scope fallback)
|
|
9
|
-
- `ScopeRegistry` for caching credential-to-owner/repo authorization status
|
|
10
|
-
- `CredentialFallback` Faraday middleware (transparent 403/429 retry with next credential)
|
|
11
|
-
- `RateLimit` Faraday middleware with automatic credential exhaustion tracking
|
|
12
|
-
- `ScopeProbe` Faraday middleware for passive scope learning from API responses
|
|
13
|
-
- `Helpers::Cache` for two-tier API response caching (global Redis + local in-memory)
|
|
14
|
-
- `Helpers::TokenCache` for token lifecycle management with per-installation keying
|
|
15
|
-
- `App::Runners::Auth` (JWT generation, installation token exchange)
|
|
16
|
-
- `App::Runners::Webhooks` (signature verification, event parsing, scope invalidation)
|
|
17
|
-
- `App::Runners::Manifest` (GitHub App manifest flow)
|
|
18
|
-
- `App::Runners::Installations` (list, get, suspend, unsuspend, delete)
|
|
19
|
-
- `App::Runners::CredentialStore` (Vault persistence after manifest flow)
|
|
20
|
-
- `OAuth::Runners::Auth` (authorize_url, exchange_code, refresh, device_code, revoke)
|
|
21
|
-
- `Runners::Actions` (GitHub Actions workflow management)
|
|
22
|
-
- `Runners::Checks` (check runs and check suites)
|
|
23
|
-
- `Runners::Releases` (release and asset management)
|
|
24
|
-
- `Runners::Deployments` (deployment and status management)
|
|
25
|
-
- `Runners::RepositoryWebhooks` (programmatic webhook management)
|
|
26
|
-
- `Helpers::CallbackServer` for standalone OAuth redirect handling
|
|
27
|
-
- `Helpers::BrowserAuth` for browser-based OAuth with PKCE
|
|
28
|
-
- `CLI::Auth` for `legion lex exec github auth login/status`
|
|
29
|
-
- `CLI::App` for `legion lex exec github app setup`
|
|
30
|
-
- `RateLimitError`, `AuthorizationError`, `ScopeDeniedError` error classes
|
|
31
|
-
- `jwt` (~> 2.7) and `base64` (>= 0.1) runtime dependencies
|
|
5
|
+
## [0.3.1] - 2026-03-30
|
|
32
6
|
|
|
33
7
|
### Changed
|
|
34
|
-
-
|
|
35
|
-
- All existing runners forward `owner:` and `repo:` to `connection()` for scope-aware resolution
|
|
36
|
-
- All existing runners now include `Helpers::Cache` for two-tier API response caching
|
|
37
|
-
- `Client` class includes App and OAuth runner modules
|
|
38
|
-
- Version bump to 0.3.0
|
|
8
|
+
- Unpin jwt dependency from `~> 2.7` to `>= 2.7` to resolve conflict with jwt 3.x
|
|
39
9
|
|
|
40
10
|
## [0.3.0] - 2026-03-30
|
|
41
11
|
|
data/lex-github.gemspec
CHANGED
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
|
|
29
29
|
spec.add_dependency 'base64', '>= 0.1'
|
|
30
30
|
spec.add_dependency 'faraday', '>= 2.0'
|
|
31
|
-
spec.add_dependency 'jwt', '
|
|
31
|
+
spec.add_dependency 'jwt', '>= 2.7'
|
|
32
32
|
spec.add_dependency 'legion-cache', '>= 1.3.11'
|
|
33
33
|
spec.add_dependency 'legion-crypt', '>= 1.4.9'
|
|
34
34
|
spec.add_dependency 'legion-data', '>= 1.4.17'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lex-github
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Esity
|
|
@@ -41,14 +41,14 @@ dependencies:
|
|
|
41
41
|
name: jwt
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
|
-
- - "
|
|
44
|
+
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '2.7'
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- - "
|
|
51
|
+
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '2.7'
|
|
54
54
|
- !ruby/object:Gem::Dependency
|