githuh 0.3.0 → 0.4.0

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.
data/Gemfile.lock CHANGED
@@ -1,12 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- githuh (0.3.0)
4
+ githuh (0.4.0)
5
5
  activesupport
6
6
  colored2 (~> 3)
7
- dry-cli (~> 0.6)
7
+ csv
8
+ dry-cli
9
+ faraday
10
+ faraday-retry
8
11
  hashie
9
- octokit (~> 4)
12
+ octokit
10
13
  tty-box
11
14
  tty-progressbar
12
15
  tty-screen
@@ -14,145 +17,287 @@ PATH
14
17
  GEM
15
18
  remote: https://rubygems.org/
16
19
  specs:
17
- activesupport (6.0.3.3)
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (>= 0.7, < 2)
20
- minitest (~> 5.1)
21
- tzinfo (~> 1.1)
22
- zeitwerk (~> 2.2, >= 2.2.2)
23
- addressable (2.7.0)
24
- public_suffix (>= 2.0.2, < 5.0)
25
- aruba (1.0.0)
26
- childprocess (~> 3.0)
27
- contracts (~> 0.16.0)
28
- cucumber (>= 2.4, < 4.0)
29
- ffi (~> 1.9)
30
- rspec-expectations (~> 3.4)
20
+ activesupport (8.1.3)
21
+ base64
22
+ bigdecimal
23
+ concurrent-ruby (~> 1.0, >= 1.3.1)
24
+ connection_pool (>= 2.2.5)
25
+ drb
26
+ i18n (>= 1.6, < 2)
27
+ json
28
+ logger (>= 1.4.2)
29
+ minitest (>= 5.1)
30
+ securerandom (>= 0.3)
31
+ tzinfo (~> 2.0, >= 2.0.5)
32
+ uri (>= 0.13.1)
33
+ addressable (2.9.0)
34
+ public_suffix (>= 2.0.2, < 8.0)
35
+ aruba (2.3.3)
36
+ bundler (>= 1.17)
37
+ contracts (>= 0.16.0, < 0.18.0)
38
+ cucumber (>= 8.0, < 11.0)
39
+ rspec-expectations (>= 3.4, < 5.0)
31
40
  thor (~> 1.0)
32
- ast (2.4.1)
33
- awesome_print (1.8.0)
34
- backports (3.18.2)
35
- builder (3.2.4)
36
- childprocess (3.0.0)
41
+ asciidoctor (2.0.26)
42
+ ast (2.4.3)
43
+ awesome_print (1.9.2)
44
+ base64 (0.3.0)
45
+ bigdecimal (4.1.2)
46
+ builder (3.3.0)
37
47
  colored2 (3.1.2)
38
- concurrent-ruby (1.1.7)
39
- contracts (0.16.0)
40
- cucumber (3.2.0)
41
- builder (>= 2.1.2)
42
- cucumber-core (~> 3.2.0)
43
- cucumber-expressions (~> 6.0.1)
44
- cucumber-wire (~> 0.0.1)
45
- diff-lcs (~> 1.3)
46
- gherkin (~> 5.1.0)
47
- multi_json (>= 1.7.5, < 2.0)
48
- multi_test (>= 0.1.2)
49
- cucumber-core (3.2.1)
50
- backports (>= 3.8.0)
51
- cucumber-tag_expressions (~> 1.1.0)
52
- gherkin (~> 5.0)
53
- cucumber-expressions (6.0.1)
54
- cucumber-tag_expressions (1.1.1)
55
- cucumber-wire (0.0.1)
56
- diff-lcs (1.4.4)
57
- docile (1.3.2)
58
- dry-cli (0.6.0)
48
+ concurrent-ruby (1.3.6)
49
+ connection_pool (3.0.2)
50
+ contracts (0.17.3)
51
+ coverage-badge (0.1.1)
52
+ csv (3.3.5)
53
+ cucumber (10.2.0)
54
+ base64 (~> 0.2)
55
+ builder (~> 3.2)
56
+ cucumber-ci-environment (> 9, < 12)
57
+ cucumber-core (> 15, < 17)
58
+ cucumber-cucumber-expressions (> 17, < 20)
59
+ cucumber-html-formatter (> 21, < 23)
60
+ diff-lcs (~> 1.5)
61
+ logger (~> 1.6)
62
+ mini_mime (~> 1.1)
63
+ multi_test (~> 1.1)
64
+ sys-uname (~> 1.3)
65
+ cucumber-ci-environment (11.0.0)
66
+ cucumber-core (16.2.0)
67
+ cucumber-gherkin (> 36, < 40)
68
+ cucumber-messages (> 31, < 33)
69
+ cucumber-tag-expressions (> 6, < 9)
70
+ cucumber-cucumber-expressions (19.0.0)
71
+ bigdecimal
72
+ cucumber-gherkin (39.0.0)
73
+ cucumber-messages (>= 31, < 33)
74
+ cucumber-html-formatter (22.3.0)
75
+ cucumber-messages (> 23, < 33)
76
+ cucumber-messages (32.3.1)
77
+ cucumber-tag-expressions (8.1.0)
78
+ diff-lcs (1.6.2)
79
+ docile (1.4.1)
80
+ drb (2.2.3)
81
+ dry-cli (1.4.1)
82
+ faraday (2.14.1)
83
+ faraday-net_http (>= 2.0, < 3.5)
84
+ json
85
+ logger
86
+ faraday-net_http (3.4.2)
87
+ net-http (~> 0.5)
88
+ faraday-retry (2.4.0)
89
+ faraday (~> 2.0)
90
+ ffi (1.17.4)
91
+ ffi (1.17.4-arm64-darwin)
92
+ hashie (5.1.0)
93
+ logger
94
+ i18n (1.14.8)
59
95
  concurrent-ruby (~> 1.0)
60
- faraday (1.0.1)
61
- multipart-post (>= 1.2, < 3)
62
- ffi (1.13.1)
63
- gherkin (5.1.0)
64
- hashie (4.1.0)
65
- i18n (1.8.5)
66
- concurrent-ruby (~> 1.0)
67
- minitest (5.14.2)
68
- multi_json (1.15.0)
69
- multi_test (0.1.2)
70
- multipart-post (2.1.1)
71
- octokit (4.18.0)
72
- faraday (>= 0.9)
73
- sawyer (~> 0.8.0, >= 0.5.3)
74
- parallel (1.19.2)
75
- parser (2.7.1.4)
96
+ json (2.19.4)
97
+ language_server-protocol (3.17.0.5)
98
+ lint_roller (1.1.0)
99
+ logger (1.7.0)
100
+ memoist3 (1.0.0)
101
+ mini_mime (1.1.5)
102
+ minitest (6.0.5)
103
+ drb (~> 2.0)
104
+ prism (~> 1.5)
105
+ multi_test (1.1.0)
106
+ net-http (0.9.1)
107
+ uri (>= 0.11.1)
108
+ octokit (10.0.0)
109
+ faraday (>= 1, < 3)
110
+ sawyer (~> 0.9)
111
+ parallel (2.0.1)
112
+ parser (3.3.11.1)
76
113
  ast (~> 2.4.1)
114
+ racc
77
115
  pastel (0.8.0)
78
116
  tty-color (~> 0.5)
79
- public_suffix (4.0.6)
80
- rainbow (3.0.0)
81
- rake (13.0.1)
82
- regexp_parser (1.7.1)
83
- rexml (3.2.4)
84
- rspec (3.9.0)
85
- rspec-core (~> 3.9.0)
86
- rspec-expectations (~> 3.9.0)
87
- rspec-mocks (~> 3.9.0)
88
- rspec-core (3.9.2)
89
- rspec-support (~> 3.9.3)
90
- rspec-expectations (3.9.2)
117
+ prism (1.9.0)
118
+ public_suffix (7.0.5)
119
+ racc (1.8.1)
120
+ rainbow (3.1.1)
121
+ rake (13.4.2)
122
+ regexp_parser (2.12.0)
123
+ rspec (3.13.2)
124
+ rspec-core (~> 3.13.0)
125
+ rspec-expectations (~> 3.13.0)
126
+ rspec-mocks (~> 3.13.0)
127
+ rspec-core (3.13.6)
128
+ rspec-support (~> 3.13.0)
129
+ rspec-expectations (3.13.5)
91
130
  diff-lcs (>= 1.2.0, < 2.0)
92
- rspec-support (~> 3.9.0)
93
- rspec-its (1.3.0)
94
- rspec-core (>= 3.0.0)
95
- rspec-expectations (>= 3.0.0)
96
- rspec-mocks (3.9.1)
131
+ rspec-support (~> 3.13.0)
132
+ rspec-its (2.0.0)
133
+ rspec-core (>= 3.13.0)
134
+ rspec-expectations (>= 3.13.0)
135
+ rspec-mocks (3.13.8)
97
136
  diff-lcs (>= 1.2.0, < 2.0)
98
- rspec-support (~> 3.9.0)
99
- rspec-support (3.9.3)
100
- rubocop (0.90.0)
101
- parallel (~> 1.10)
102
- parser (>= 2.7.1.1)
137
+ rspec-support (~> 3.13.0)
138
+ rspec-support (3.13.7)
139
+ rubocop (1.86.1)
140
+ json (~> 2.3)
141
+ language_server-protocol (~> 3.17.0.2)
142
+ lint_roller (~> 1.1.0)
143
+ parallel (>= 1.10)
144
+ parser (>= 3.3.0.2)
103
145
  rainbow (>= 2.2.2, < 4.0)
104
- regexp_parser (>= 1.7)
105
- rexml
106
- rubocop-ast (>= 0.3.0, < 1.0)
146
+ regexp_parser (>= 2.9.3, < 3.0)
147
+ rubocop-ast (>= 1.49.0, < 2.0)
107
148
  ruby-progressbar (~> 1.7)
108
- unicode-display_width (>= 1.4.0, < 2.0)
109
- rubocop-ast (0.3.0)
110
- parser (>= 2.7.1.4)
111
- ruby-progressbar (1.10.1)
112
- sawyer (0.8.2)
149
+ unicode-display_width (>= 2.4.0, < 4.0)
150
+ rubocop-ast (1.49.1)
151
+ parser (>= 3.3.7.2)
152
+ prism (~> 1.7)
153
+ rubocop-rake (0.7.1)
154
+ lint_roller (~> 1.1)
155
+ rubocop (>= 1.72.1)
156
+ rubocop-rspec (3.9.0)
157
+ lint_roller (~> 1.1)
158
+ rubocop (~> 1.81)
159
+ ruby-progressbar (1.13.0)
160
+ sawyer (0.9.3)
113
161
  addressable (>= 2.3.5)
114
- faraday (> 0.8, < 2.0)
115
- simplecov (0.19.0)
162
+ faraday (>= 0.17.3, < 3)
163
+ securerandom (0.4.1)
164
+ simplecov (0.22.0)
116
165
  docile (~> 1.1)
117
166
  simplecov-html (~> 0.11)
118
- simplecov-formatter-badge (0.1.0)
119
- simplecov-html (0.12.2)
120
- strings (0.2.0)
167
+ simplecov_json_formatter (~> 0.1)
168
+ simplecov-html (0.13.2)
169
+ simplecov_json_formatter (0.1.4)
170
+ strings (0.2.1)
121
171
  strings-ansi (~> 0.2)
122
- unicode-display_width (~> 1.5)
172
+ unicode-display_width (>= 1.5, < 3.0)
123
173
  unicode_utils (~> 1.4)
124
174
  strings-ansi (0.2.0)
125
- thor (1.0.1)
126
- thread_safe (0.3.6)
127
- tty-box (0.6.0)
175
+ sys-uname (1.5.1)
176
+ ffi (~> 1.1)
177
+ memoist3 (~> 1.0.0)
178
+ thor (1.5.0)
179
+ tty-box (0.7.0)
128
180
  pastel (~> 0.8)
129
181
  strings (~> 0.2.0)
130
182
  tty-cursor (~> 0.7)
131
- tty-color (0.5.2)
183
+ tty-color (0.6.0)
132
184
  tty-cursor (0.7.1)
133
- tty-progressbar (0.11.0)
134
- tty-screen (~> 0.5.0)
135
- tty-screen (0.5.1)
136
- tzinfo (1.2.7)
137
- thread_safe (~> 0.1)
138
- unicode-display_width (1.7.0)
185
+ tty-progressbar (0.18.3)
186
+ strings-ansi (~> 0.2)
187
+ tty-cursor (~> 0.7)
188
+ tty-screen (~> 0.8)
189
+ unicode-display_width (>= 1.6, < 3.0)
190
+ tty-screen (0.8.2)
191
+ tzinfo (2.0.6)
192
+ concurrent-ruby (~> 1.0)
193
+ unicode-display_width (2.6.0)
139
194
  unicode_utils (1.4.0)
140
- zeitwerk (2.4.0)
195
+ uri (1.1.1)
196
+ yard (0.9.43)
141
197
 
142
198
  PLATFORMS
143
- ruby
199
+ arm64-darwin
144
200
 
145
201
  DEPENDENCIES
146
- aruba (= 1.0.0)
147
- awesome_print (~> 1)
148
- bundler (~> 2)
202
+ aruba
203
+ asciidoctor
204
+ awesome_print
205
+ coverage-badge
149
206
  githuh!
150
- rake (~> 13)
151
- rspec (~> 3)
152
- rspec-its (~> 1)
207
+ rake
208
+ rspec
209
+ rspec-its
153
210
  rubocop
154
- simplecov
155
- simplecov-formatter-badge
211
+ rubocop-rake
212
+ rubocop-rspec
213
+ simplecov (~> 0.22)
214
+ yard
215
+
216
+ CHECKSUMS
217
+ activesupport (8.1.3) sha256=21a5e0dfbd4c3ddd9e1317ec6a4d782fa226e7867dc70b0743acda81a1dca20e
218
+ addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af
219
+ aruba (2.3.3) sha256=837a2f023368a75a38ad9be227e9738ab9af7df3b3f35afd8fb5fc5f7a93f1d4
220
+ asciidoctor (2.0.26) sha256=16e3accf1fc206bbd6335848649d7fd65f31d2daa60d85af13d47a8ee4b071c1
221
+ ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
222
+ awesome_print (1.9.2) sha256=e99b32b704acff16d768b3468680793ced40bfdc4537eb07e06a4be11133786e
223
+ base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
224
+ bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd
225
+ builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
226
+ colored2 (3.1.2) sha256=b13c2bd7eeae2cf7356a62501d398e72fde78780bd26aec6a979578293c28b4a
227
+ concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
228
+ connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
229
+ contracts (0.17.3) sha256=e72e626413ea47099becb7b5683beb1c2ea902c69f5bad55c9258fe2b48314d7
230
+ coverage-badge (0.1.1) sha256=f4ada4edadfa98cd99a50ab49f04ffc1af926e9f00513a063b774bd683eda131
231
+ csv (3.3.5) sha256=6e5134ac3383ef728b7f02725d9872934f523cb40b961479f69cf3afa6c8e73f
232
+ cucumber (10.2.0) sha256=fdedbd31ecf40858b60f04853f2aa15c44f5c30bbac29c6a227fa1e7005a8158
233
+ cucumber-ci-environment (11.0.0) sha256=0df79a9e1d0b015b3d9def680f989200d96fef206f4d19ccf86a338c4f71d1e2
234
+ cucumber-core (16.2.0) sha256=592b58a95cf42feef8e5a349f68e363784ba3b6568ffbcf6776e38e136cf970b
235
+ cucumber-cucumber-expressions (19.0.0) sha256=33208ff204732ac9bed42b46993a0a243054f71ece08579d57e53df6a1c9d93a
236
+ cucumber-gherkin (39.0.0) sha256=46f51d87e910f41c3c5cee3b500028ca2b2e7149a413a8280b9a58cee2593e55
237
+ cucumber-html-formatter (22.3.0) sha256=f9768ed05588dbd73a5f3824c2cc648bd86b00206e6972d743af8051281d0729
238
+ cucumber-messages (32.3.1) sha256=ddc88e4c1cf7afb96c06005b92a4a6f221a2fa435a8b4ca04677d215fd82771c
239
+ cucumber-tag-expressions (8.1.0) sha256=9bd8c4b6654f8e5bf2a9c99329b6f32136a75e50cd39d4cfb3927d0fa9f52e21
240
+ diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
241
+ docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
242
+ drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
243
+ dry-cli (1.4.1) sha256=b8015bb76c708aa8705a36faf694973e75eeeffca39b89c8e172dc6f66a7d874
244
+ faraday (2.14.1) sha256=a43cceedc1e39d188f4d2cdd360a8aaa6a11da0c407052e426ba8d3fb42ef61c
245
+ faraday-net_http (3.4.2) sha256=f147758260d3526939bf57ecf911682f94926a3666502e24c69992765875906c
246
+ faraday-retry (2.4.0) sha256=7b79c48fb7e56526faf247b12d94a680071ff40c9fda7cf1ec1549439ad11ebe
247
+ ffi (1.17.4) sha256=bcd1642e06f0d16fc9e09ac6d49c3a7298b9789bcb58127302f934e437d60acf
248
+ ffi (1.17.4-arm64-darwin) sha256=19071aaf1419251b0a46852abf960e77330a3b334d13a4ab51d58b31a937001b
249
+ githuh (0.4.0)
250
+ hashie (5.1.0) sha256=c266471896f323c446ea8207f8ffac985d2718df0a0ba98651a3057096ca3870
251
+ i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
252
+ json (2.19.4) sha256=670a7d333fb3b18ca5b29cb255eb7bef099e40d88c02c80bd42a3f30fe5239ac
253
+ language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
254
+ lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
255
+ logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
256
+ memoist3 (1.0.0) sha256=686e42402cf150a362050c23143dc57b0ef88f8c344943ff8b7845792b50d56f
257
+ mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
258
+ minitest (6.0.5) sha256=f007d7246bf4feea549502842cd7c6aba8851cdc9c90ba06de9c476c0d01155c
259
+ multi_test (1.1.0) sha256=e9e550cdd863fb72becfe344aefdcd4cbd26ebf307847f4a6c039a4082324d10
260
+ net-http (0.9.1) sha256=25ba0b67c63e89df626ed8fac771d0ad24ad151a858af2cc8e6a716ca4336996
261
+ octokit (10.0.0) sha256=82e99a539b7637b7e905e6d277bb0c1a4bed56735935cc33db6da7eae49a24e8
262
+ parallel (2.0.1) sha256=337782d3e39f4121e67563bf91dd8ece67f48923d90698614773a0ec9a5b2c7d
263
+ parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54
264
+ pastel (0.8.0) sha256=481da9fb7d2f6e6b1a08faf11fa10363172dc40fd47848f096ae21209f805a75
265
+ prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
266
+ public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
267
+ racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
268
+ rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
269
+ rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
270
+ regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
271
+ rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
272
+ rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
273
+ rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
274
+ rspec-its (2.0.0) sha256=a88e8bc38149f2835e93533591ec4f5c829aacbfd41269a2e6f9f5b82f5260df
275
+ rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
276
+ rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
277
+ rubocop (1.86.1) sha256=44415f3f01d01a21e01132248d2fd0867572475b566ca188a0a42133a08d4531
278
+ rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
279
+ rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
280
+ rubocop-rspec (3.9.0) sha256=8fa70a3619408237d789aeecfb9beef40576acc855173e60939d63332fdb55e2
281
+ ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
282
+ sawyer (0.9.3) sha256=0d0f19298408047037638639fe62f4794483fb04320269169bd41af2bdcf5e41
283
+ securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
284
+ simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
285
+ simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
286
+ simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
287
+ strings (0.2.1) sha256=933293b3c95cf85b81eb44b3cf673e3087661ba739bbadfeadf442083158d6fb
288
+ strings-ansi (0.2.0) sha256=90262d760ea4a94cc2ae8d58205277a343409c288cbe7c29416b1826bd511c88
289
+ sys-uname (1.5.1) sha256=784d7e6491b0393c25cbbe5ac38324ac7be9fda083a6094832648af669386d7b
290
+ thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
291
+ tty-box (0.7.0) sha256=17f453a0c1df43871fdb6de461ee797b78574dacc652372fa2ae98a00785df8b
292
+ tty-color (0.6.0) sha256=6f9c37ca3a4e2367fb2e6d09722762647d6f455c111f05b59f35730eeb24332a
293
+ tty-cursor (0.7.1) sha256=79534185e6a777888d88628b14b6a1fdf5154a603f285f80b1753e1908e0bf48
294
+ tty-progressbar (0.18.3) sha256=6cbb4260e55e74a9180d502143eb6a467d2c8e51bf5f3c9509fb5cacc3d4a5f6
295
+ tty-screen (0.8.2) sha256=c090652115beae764336c28802d633f204fb84da93c6a968aa5d8e319e819b50
296
+ tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
297
+ unicode-display_width (2.6.0) sha256=12279874bba6d5e4d2728cef814b19197dbb10d7a7837a869bab65da943b7f5a
298
+ unicode_utils (1.4.0) sha256=b922d0cf2313b6b7136ada6645ce7154ffc86418ca07d53b058efe9eb72f2a40
299
+ uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
300
+ yard (0.9.43) sha256=cf8733a8f0485df2a162927e9b5f182215a61f6d22de096b8f402c726a1c5821
156
301
 
157
302
  BUNDLED WITH
158
- 2.1.4
303
+ 4.0.10
@@ -1,4 +1,4 @@
1
- Copyright © 2000-present Konstantin Gredeskoul, all rights reserved.
1
+ Copyright © 2020-2026 Konstantin Gredeskoul, all rights reserved.
2
2
 
3
3
  MIT License
4
4
 
data/README.adoc CHANGED
@@ -2,8 +2,8 @@
2
2
  :toc:
3
3
  :toclevels: 4
4
4
  :sectnums:
5
- image:https://github.com/kigster/githuh/workflows/Ruby/badge.svg[Ruby,link=https://github.com/kigster/githuh/actions?query=workflow%3ARuby]
6
- image:docs/img/coverage.svg[Coverage]
5
+ image:https://github.com/kigster/githuh/workflows/Ruby/badge.svg[Ruby,link=https://github.com/kigster/githuh/actions?query=workflow%3ARuby]
6
+ image:docs/img/badge.svg[Coverage]
7
7
 
8
8
  = Githuh -- GitHub API client
9
9
 
data/Rakefile CHANGED
@@ -1,20 +1,21 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
- require 'timeout'
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+ require "timeout"
6
+ require "yard"
6
7
 
7
8
  def shell(*args)
8
9
  puts "running: #{args.join(' ')}"
9
- system(args.join(' '))
10
+ system(args.join(" "))
10
11
  end
11
12
 
12
13
  task :clean do
13
- shell('rm -rf pkg/ tmp/ coverage/ doc/ ' )
14
+ shell("rm -rf pkg/ tmp/ coverage/ doc/ ")
14
15
  end
15
16
 
16
17
  task gem: [:build] do
17
- shell('gem install pkg/*')
18
+ shell("gem install pkg/*")
18
19
  end
19
20
 
20
21
  task permissions: [:clean] do
@@ -24,6 +25,12 @@ end
24
25
 
25
26
  task build: :permissions
26
27
 
28
+ YARD::Rake::YardocTask.new(:doc) do |t|
29
+ t.files = %w[lib/**/*.rb exe/*.rb - README.adoc LICENSE.txt WARRANTY.md CHANGELOG.md]
30
+ t.options.unshift("--title", '"FlowEngine — DSL + AST for buildiong complex flows in Ruby."')
31
+ t.after = -> { exec("open doc/index.html") } if RUBY_PLATFORM =~ /darwin/
32
+ end
33
+
27
34
  RSpec::Core::RakeTask.new(:spec)
28
35
 
29
36
  task default: :spec
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="99" height="20">
3
+ <linearGradient id="b" x2="0" y2="100%">
4
+ <stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
5
+ <stop offset="1" stop-opacity=".1"/>
6
+ </linearGradient>
7
+ <mask id="a">
8
+ <rect width="99" height="20" rx="3" fill="#fff"/>
9
+ </mask>
10
+ <g mask="url(#a)">
11
+ <path fill="#555" d="M0 0h63v20H0z"/>
12
+ <path fill="#97CA00" d="M63 0h36v20H63z"/>
13
+ <path fill="url(#b)" d="M0 0h99v20H0z"/>
14
+ </g>
15
+ <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
16
+ <text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text>
17
+ <text x="31.5" y="14">coverage</text>
18
+ <text x="80" y="15" fill="#010101" fill-opacity=".3">89%</text>
19
+ <text x="80" y="14">89%</text>
20
+ </g>
21
+ </svg>
Binary file
@@ -11,7 +11,7 @@
11
11
  <g fill="#fff" text-anchor="middle" font-weight="500" font-family="Consolas,DejaVu Sans,Verdana,Geneva,sans-serif" font-size="10">
12
12
  <text x="40.5" y="15" fill="#010101" fill-opacity=".3">COVERAGE</text>
13
13
  <text x="41.5" y="14">COVERAGE</text>
14
- <text x="105.5" y="15" fill="#010101" fill-opacity=".3">68%</text>
15
- <text x="106.5" y="14">68%</text>
14
+ <text x="105.5" y="15" fill="#010101" fill-opacity=".3">0%</text>
15
+ <text x="106.5" y="14">0%</text>
16
16
  </g>
17
17
  </svg>
data/githuh.gemspec CHANGED
@@ -22,24 +22,19 @@ Gem::Specification.new do |spec|
22
22
  spec.bindir = 'exe'
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ['lib']
25
- spec.required_ruby_version = '>= 2.3'
25
+ spec.required_ruby_version = '~> 4.0'
26
26
 
27
27
  spec.add_dependency 'activesupport'
28
28
  spec.add_dependency 'colored2', '~> 3'
29
- spec.add_dependency 'dry-cli', '~> 0.6'
29
+ spec.add_dependency 'csv'
30
+ spec.add_dependency 'dry-cli'
31
+ spec.add_dependency 'faraday'
32
+ spec.add_dependency 'faraday-retry'
30
33
  spec.add_dependency 'hashie'
31
- spec.add_dependency 'octokit', '~> 4'
34
+ spec.add_dependency 'octokit'
32
35
  spec.add_dependency 'tty-box'
33
36
  spec.add_dependency 'tty-progressbar'
34
37
  spec.add_dependency 'tty-screen'
35
38
 
36
- spec.add_development_dependency 'aruba', '= 1.0.0'
37
- spec.add_development_dependency 'awesome_print', '~> 1'
38
- spec.add_development_dependency 'bundler', '~> 2'
39
- spec.add_development_dependency 'rake', '~> 13'
40
- spec.add_development_dependency 'rspec', '~> 3'
41
- spec.add_development_dependency 'rspec-its', '~> 1'
42
- spec.add_development_dependency 'rubocop'
43
- spec.add_development_dependency 'simplecov'
44
- spec.add_development_dependency 'simplecov-formatter-badge'
39
+ spec.metadata['rubygems_mfa_required'] = 'true'
45
40
  end
data/justfile ADDED
@@ -0,0 +1,57 @@
1
+ set shell := ["bash", "-lc"]
2
+
3
+ rbenv := 'eval "$(rbenv init -)"'
4
+
5
+ [no-exit-message]
6
+ recipes:
7
+ @just --choose
8
+
9
+ # Sync all dependencies
10
+ install:
11
+ {{rbenv}} && bundle install -j 12
12
+
13
+ upgrade:
14
+ {{rbenv}} && bundle update --bundler
15
+ {{rbenv}} && bundle update
16
+
17
+ # Lint and reformat files
18
+ lint-fix *args:
19
+ {{rbenv}} && bundle exec rubocop -a
20
+ {{rbenv}} && bundle exec rubocop --auto-gen-config
21
+ git add .
22
+
23
+ alias format := lint-fix
24
+
25
+ # Lint and reformat files
26
+ lint:
27
+ {{rbenv}} && bundle exec rubocop
28
+
29
+ # Run all the tests
30
+ test *args:
31
+ #!/usr/bin/env bash
32
+ {{rbenv}} && RAILS_ENV=test GITHUB_TOKEN=$(git config user.token) bundle exec rspec {{args}}
33
+
34
+ # Run tests with coverage
35
+ test-coverage: test
36
+ open coverage/index.html
37
+
38
+ doc:
39
+ {{rbenv}} && bundle exec rake doc
40
+ open doc/index.html
41
+
42
+ clean:
43
+ #!/usr/bin/env bash
44
+ find . -name .DS_Store -delete -print || true
45
+ rm -rf tmp/*
46
+
47
+ # Run all lefthook pre-commit hooks
48
+ ci:
49
+ {{rbenv}} && lefthook run pre-commit --all-files
50
+
51
+ changelog:
52
+ #!/usr/bin/env bash
53
+ export CHANGELOG_GITHUB_TOKEN=$(git config user.token)
54
+ command -v github_changelog_generator >/dev/null || brew install github_changelog_generator
55
+ github_changelog_generator --user kigster --repo githuh
56
+
57
+
data/lefthook.yml ADDED
@@ -0,0 +1,35 @@
1
+ output:
2
+ - summary
3
+ - failure
4
+
5
+ pre-commit:
6
+ parallel: true
7
+ jobs:
8
+ - name: lint
9
+ run: bundle exec rubocop -c .rubocop.yml {staged_files}
10
+ glob: "*.{rb,Gemfile}"
11
+ stage_fixed: true
12
+
13
+ - name: check for conflict markers and whitespace issues
14
+ run: git --no-pager diff --check
15
+
16
+ # If tests take >1 second, move this (or just the long-running tests) to pre-push.
17
+ - name: run tests
18
+ run: just test
19
+
20
+ - name: fix rubocop formatting issues
21
+ run: bundle exec rubocop -a {staged_files}
22
+ glob: "*.{rb,Gemfile,gemspec}"
23
+ stage_fixed: true
24
+
25
+ - name: spell check
26
+ run: codespell {staged_files}
27
+ glob: "*.{rb,md,gemspec}"
28
+
29
+ - name: format markdown
30
+ run: mdformat {staged_files}
31
+ glob: "*.md"
32
+ stage_fixed: true
33
+
34
+ - name: scan for secrets
35
+ run: detect-secrets-hook --baseline .secrets.baseline