ask-linear 0.1.1 → 0.1.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: af9c693884b1bc9022c1cd4cdbe4c63d41329c382ece5b789bf845c8cec8dc87
4
- data.tar.gz: 9d0d8ea95505b06494319ab80e5f43da5bc38b3372bc834bc6804a57c592b950
3
+ metadata.gz: b2d2cc4fa5d5715fdfbf074dfd3e6c64a758e65f5387ab97cf5a07c4aac6ab35
4
+ data.tar.gz: 2be587d1288bba6f5acae2b011c71a74c70d4f9d7f7b0831fd2df98e611a46e5
5
5
  SHA512:
6
- metadata.gz: 07bc57b565a5d434a008b9446a59326896a1d0e721a9212fd84f8b26bb3bfcdbb9dc40626680428c27f14db557457658af6fbbc1643121b50098d2f44d12f274
7
- data.tar.gz: c4e00fa504dbf5809db5e3d95d006b1e1373f71247b48d85229b7b52fc44a122be19e2ef3c2865904df1f62d744a9a1bd0b18cbf2b6000e52721d2ea97e1b469
6
+ metadata.gz: 15b294da6df23b368b697fc8594e5e6e5fb5a81c3175c8486b24e34b69a22675a336eafb2ac1178eff154415b985d71e7d173276b585a5ff3e3e2602ca660b43
7
+ data.tar.gz: 9f03b1c574e47f71fd445c80d2a36100ecaaa83ed426c5ef78cbac5237a4ff70ac2e43de1e5eca863a91ec06175e4b7cf6c41138b75ec97ad668c30a43384ac9
data/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ ## [0.1.2] - 2026-06-25
2
+
3
+ ### Changed
4
+ - Gemspec validation test. Infrastructure: rubocop, overcommit, bin/setup, CI matrix.
5
+ # Changelog
6
+
7
+ ## [0.1.1] - 2026-06-21
8
+
9
+ ### Added
10
+
11
+ - Initial release of `ask-linear` — Linear service context for the ask-rb ecosystem.
12
+ - **context.rb** — Metadata constants for AI system prompts: `DESCRIPTION`, `DOCS_URL`, `GRAPHQL_URL`, `AUTH_NAME`, `AUTH_HOW`, `GEM_NAME`, `GEM_DOCS`, `QUICK_START`
13
+ - **client.rb** — `Ask::Linear.client` returns an authenticated GraphQL client via `Ask::Auth.resolve(:linear_api_key)`. Uses Faraday to send GraphQL queries to the Linear API at `https://api.linear.app/graphql`. Wraps client in `ClientProxy` to convert `Faraday::UnauthorizedError` (HTTP 401) to `Ask::Auth::InvalidCredential`.
14
+ - **error_guide.rb** — `Ask::Linear::Errors` with rate limit info, HTTP status code descriptions, and GraphQL error extension guidance for agents.
15
+ - **Dependencies:** `ask-auth ~> 0.1`, `faraday ~> 2.0`
16
+ - **Testing:** 26 tests, 62 assertions covering context constants, client auth flow, and error guide lookups.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ask
4
4
  module Linear
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ask-linear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaka Ruto
@@ -13,14 +13,14 @@ dependencies:
13
13
  name: ask-auth
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
18
  version: '0.1'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
- - - "~>"
23
+ - - ">="
24
24
  - !ruby/object:Gem::Version
25
25
  version: '0.1'
26
26
  - !ruby/object:Gem::Dependency
@@ -101,6 +101,7 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - CHANGELOG.md
104
105
  - LICENSE
105
106
  - README.md
106
107
  - lib/ask-linear.rb
@@ -112,7 +113,10 @@ files:
112
113
  homepage: https://github.com/ask-rb/ask-linear
113
114
  licenses:
114
115
  - MIT
115
- metadata: {}
116
+ metadata:
117
+ homepage_uri: https://github.com/ask-rb/ask-linear
118
+ source_code_uri: https://github.com/ask-rb/ask-linear
119
+ changelog_uri: https://github.com/ask-rb/ask-linear/blob/master/CHANGELOG.md
116
120
  rdoc_options: []
117
121
  require_paths:
118
122
  - lib