lex-github 0.2.0 → 0.2.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: 2b41a2645cf0a1f493ee1ef0f3d2f22266991bd9dfa5c813c1cba1648a937fac
4
- data.tar.gz: 5d3e0a486b37e90636342ce17be51ce181ef60a6c1a9699cbcbb47f2626e1f7c
3
+ metadata.gz: d7b9e60b04ff608d4c5b8761f1b5ba35a77ab5be9ddf54e71facc3ca276785f5
4
+ data.tar.gz: c83362a92d297a3b23e5c9be2b1ce2d998a22823dc68a12e6918e848ad409e34
5
5
  SHA512:
6
- metadata.gz: f2a930630311be550739e8f26817c58f3cd5baa1282dcec0b10c9e2354dd1f94f102d9426704b610c296633a429a7a5e24710a3909237ae9bfa91ce04db0ab4d
7
- data.tar.gz: 9c9d927e3e3067fdc20932d48fa4e18f3a85e02b8793810c2fc0c065cd5c279e371a2ac76b67d0fdcf8fc6b7bd0a5e4f0e6eb001f9e63d5944c24842619c6409
6
+ metadata.gz: d92a370e13e41cd53929a2c5f8acb77ce61c087a6857579d99718f4a22cfd37c91d926bd03853029e92908f43380e3af7a4e8e4dd3ea8db959c9675a34be3330
7
+ data.tar.gz: 3c4a106d9e6e23ec802c9ed1082b2e6640e7a6edbabc20a550d5d4373f4755d6fb83491673d9c73725e7cbe5cb6a92b48f78b78fa5d57da9aa2e6687652107d2
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1] - 2026-03-18
4
+
5
+ ### Changed
6
+ - deleted gemfile.lock
7
+
3
8
  ## [0.2.0] - 2026-03-15
4
9
 
5
10
  ### Added
data/CLAUDE.md CHANGED
@@ -10,7 +10,7 @@ Legion Extension that connects LegionIO to GitHub. Provides runners for interact
10
10
 
11
11
  **GitHub**: https://github.com/LegionIO/lex-github
12
12
  **License**: MIT
13
- **Version**: 0.2.0
13
+ **Version**: 0.2.1
14
14
 
15
15
  ## Architecture
16
16
 
@@ -58,7 +58,7 @@ Legion::Extensions::Github
58
58
 
59
59
  ## Testing
60
60
 
61
- 47 specs across 13 spec files.
61
+ 47 specs across 12 spec files.
62
62
 
63
63
  ```bash
64
64
  bundle install
data/README.md CHANGED
@@ -128,6 +128,11 @@ client.search_issues(query: 'bug label:bug')
128
128
  - `search_users` - Search users
129
129
  - `search_code` - Search code
130
130
 
131
+ ### Commits
132
+ - `list_commits` - List commits on a repository
133
+ - `get_commit` - Get a single commit by SHA
134
+ - `compare_commits` - Compare two commits, branches, or tags
135
+
131
136
  ## Requirements
132
137
 
133
138
  - Ruby >= 3.4
@@ -56,6 +56,12 @@ module Legion
56
56
  { result: response.body }
57
57
  end
58
58
 
59
+ def create_review(owner:, repo:, pull_number:, body:, comments: [], event: 'COMMENT', **)
60
+ payload = { event: event, body: body, comments: comments }
61
+ response = connection(**).post("/repos/#{owner}/#{repo}/pulls/#{pull_number}/reviews", payload)
62
+ { result: response.body }
63
+ end
64
+
59
65
  include Legion::Extensions::Helpers::Lex if Legion::Extensions.const_defined?(:Helpers) &&
60
66
  Legion::Extensions::Helpers.const_defined?(:Lex)
61
67
  end
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module Github
6
- VERSION = '0.2.0'
6
+ VERSION = '0.2.2'
7
7
  end
8
8
  end
9
9
  end
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.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
@@ -38,7 +38,6 @@ files:
38
38
  - CLAUDE.md
39
39
  - Dockerfile
40
40
  - Gemfile
41
- - Gemfile.lock
42
41
  - LICENSE
43
42
  - README.md
44
43
  - lex-github.gemspec
data/Gemfile.lock DELETED
@@ -1,98 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- lex-github (0.2.0)
5
- faraday (>= 2.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.8.9)
11
- public_suffix (>= 2.0.2, < 8.0)
12
- ast (2.4.3)
13
- bigdecimal (4.0.1)
14
- diff-lcs (1.6.2)
15
- docile (1.4.1)
16
- faraday (2.14.1)
17
- faraday-net_http (>= 2.0, < 3.5)
18
- json
19
- logger
20
- faraday-net_http (3.4.2)
21
- net-http (~> 0.5)
22
- json (2.19.1)
23
- json-schema (6.2.0)
24
- addressable (~> 2.8)
25
- bigdecimal (>= 3.1, < 5)
26
- language_server-protocol (3.17.0.5)
27
- lint_roller (1.1.0)
28
- logger (1.7.0)
29
- mcp (0.8.0)
30
- json-schema (>= 4.1)
31
- net-http (0.9.1)
32
- uri (>= 0.11.1)
33
- parallel (1.27.0)
34
- parser (3.3.10.2)
35
- ast (~> 2.4.1)
36
- racc
37
- prism (1.9.0)
38
- public_suffix (7.0.5)
39
- racc (1.8.1)
40
- rainbow (3.1.1)
41
- rake (13.3.1)
42
- regexp_parser (2.11.3)
43
- rspec (3.13.2)
44
- rspec-core (~> 3.13.0)
45
- rspec-expectations (~> 3.13.0)
46
- rspec-mocks (~> 3.13.0)
47
- rspec-core (3.13.6)
48
- rspec-support (~> 3.13.0)
49
- rspec-expectations (3.13.5)
50
- diff-lcs (>= 1.2.0, < 2.0)
51
- rspec-support (~> 3.13.0)
52
- rspec-mocks (3.13.8)
53
- diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.13.0)
55
- rspec-support (3.13.7)
56
- rspec_junit_formatter (0.6.0)
57
- rspec-core (>= 2, < 4, != 2.12.0)
58
- rubocop (1.85.1)
59
- json (~> 2.3)
60
- language_server-protocol (~> 3.17.0.2)
61
- lint_roller (~> 1.1.0)
62
- mcp (~> 0.6)
63
- parallel (~> 1.10)
64
- parser (>= 3.3.0.2)
65
- rainbow (>= 2.2.2, < 4.0)
66
- regexp_parser (>= 2.9.3, < 3.0)
67
- rubocop-ast (>= 1.49.0, < 2.0)
68
- ruby-progressbar (~> 1.7)
69
- unicode-display_width (>= 2.4.0, < 4.0)
70
- rubocop-ast (1.49.1)
71
- parser (>= 3.3.7.2)
72
- prism (~> 1.7)
73
- ruby-progressbar (1.13.0)
74
- simplecov (0.22.0)
75
- docile (~> 1.1)
76
- simplecov-html (~> 0.11)
77
- simplecov_json_formatter (~> 0.1)
78
- simplecov-html (0.13.2)
79
- simplecov_json_formatter (0.1.4)
80
- unicode-display_width (3.2.0)
81
- unicode-emoji (~> 4.1)
82
- unicode-emoji (4.2.0)
83
- uri (1.1.1)
84
-
85
- PLATFORMS
86
- arm64-darwin-25
87
- ruby
88
-
89
- DEPENDENCIES
90
- lex-github!
91
- rake
92
- rspec
93
- rspec_junit_formatter
94
- rubocop
95
- simplecov
96
-
97
- BUNDLED WITH
98
- 2.6.9