ghub 0.4.1 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a91750b2be81431cc3f99587a763b31336aace7f73aa718d5d7f8077fe49676f
4
- data.tar.gz: 2f4cdf71903e5bad8bc7250f6a207c3bed8d0072bda181409b859c1efa05398d
3
+ metadata.gz: 586f6d6560cef4906f061a81a2cf0ce1a4c5c581451a0382a9d8b296ae40e877
4
+ data.tar.gz: d39fdca996aeaf3683a0ae5bc6d9dc149dc31cf0958725549a69dd6609496107
5
5
  SHA512:
6
- metadata.gz: 4853350c3f35a07da02797298e06644599030026d79f42bcf861aaf8392bf724831b52f172fca5bc68b4dc99884ee6aed478ccae1195e7829e767194f699ef98
7
- data.tar.gz: 32c88bfcb34a396a9d8b49f848275261da0ba996b281ccadf68f553955b9fcb12be7e9cf6b77565616ee6e3181d82f47d1255e0aa242c801fba3a593f50c9a65
6
+ metadata.gz: 49f12edd0df689bf21c8aacddd0466021107583a9e81819386ef05ed1d9d4bbe6607a4b8f412727618bada2d19d14adf0c85534d07ac112edb418dd79a1b8fbb
7
+ data.tar.gz: 8e6cf24a6586459045864af65a0f99d9b09d531101862e9cee024a97c754ac5f9f9f75f516f07f1b9f53ea733ac0dce7fa36798fe7fff0bb785379f57548b207
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  = Ghub
6
6
 
7
- Ghub is portmanteau (i.e. [g]it + hub = ghub) that provides a GitHub link:https://docs.github.com/en/rest[API] client using a design which leverages link:https://www.alchemists.io/articles/ruby_function_composition[function composition] and link:https://dry-rb.org/gems/dry-monads[monads]. This gem is built upon the link:https://github.com/httprb/http[HTTP] gem instead of link:https://lostisland.github.io/faraday[Faraday] which is what the link:https://github.com/octokit/octokit.rb[Octokit] gem uses.
7
+ Ghub is portmanteau (i.e. [g]it + hub = ghub) that provides a GitHub link:https://docs.github.com/en/rest[API] client using a design which leverages link:https://alchemists.io/articles/ruby_function_composition[function composition] and link:https://dry-rb.org/gems/dry-monads[monads]. This gem is built upon the link:https://github.com/httprb/http[HTTP] gem instead of link:https://lostisland.github.io/faraday[Faraday] which is what the link:https://github.com/octokit/octokit.rb[Octokit] gem uses.
8
8
 
9
9
  toc::[]
10
10
 
@@ -12,7 +12,7 @@ toc::[]
12
12
 
13
13
  * Provides an API client which is a partial implementation of GitHub's link:https://docs.github.com/en/rest[API].
14
14
  * Provides HTTP request and response verification using link:https://dry-rb.org/gems/dry-schema[Dry Schema].
15
- * Uses link:https://www.alchemists.io/articles/ruby_function_composition[Function Composition] -- coupled with link:https://www.alchemists.io/projects/transactable[Transactable] -- to process each HTTP request and response.
15
+ * Uses link:https://alchemists.io/articles/ruby_function_composition[Function Composition] -- coupled with link:https://alchemists.io/projects/transactable[Transactable] -- to process each HTTP request and response.
16
16
 
17
17
  == Requirements
18
18
 
@@ -188,19 +188,19 @@ To test, run:
188
188
  bin/rake
189
189
  ----
190
190
 
191
- == link:https://www.alchemists.io/policies/license[License]
191
+ == link:https://alchemists.io/policies/license[License]
192
192
 
193
- == link:https://www.alchemists.io/policies/security[Security]
193
+ == link:https://alchemists.io/policies/security[Security]
194
194
 
195
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
195
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
196
196
 
197
- == link:https://www.alchemists.io/policies/contributions[Contributions]
197
+ == link:https://alchemists.io/policies/contributions[Contributions]
198
198
 
199
- == link:https://www.alchemists.io/projects/ghub/versions[Versions]
199
+ == link:https://alchemists.io/projects/ghub/versions[Versions]
200
200
 
201
- == link:https://www.alchemists.io/community[Community]
201
+ == link:https://alchemists.io/community[Community]
202
202
 
203
203
  == Credits
204
204
 
205
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
206
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
205
+ * Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
206
+ * Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
data/ghub.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "ghub"
5
- spec.version = "0.4.1"
5
+ spec.version = "0.4.3"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/ghub"
8
+ spec.homepage = "https://alchemists.io/projects/ghub"
9
9
  spec.summary = "A monadic GitHub API client."
10
10
  spec.license = "Hippocratic-2.1"
11
11
 
12
12
  spec.metadata = {
13
13
  "bug_tracker_uri" => "https://github.com/bkuhlmann/ghub/issues",
14
- "changelog_uri" => "https://www.alchemists.io/projects/ghub/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/ghub",
14
+ "changelog_uri" => "https://alchemists.io/projects/ghub/versions",
15
+ "documentation_uri" => "https://alchemists.io/projects/ghub",
16
16
  "funding_uri" => "https://github.com/sponsors/bkuhlmann",
17
17
  "label" => "Ghub",
18
18
  "rubygems_mfa_required" => "true",
@@ -11,7 +11,7 @@ module Ghub
11
11
  include Signature::Import[:client, response: "responses.show", model: "models.show"]
12
12
  include Transactable
13
13
 
14
- PATH = "repos/%{owner}/%{repository}/branches/%{branch}/protection/required_signatures"
14
+ PATH = "repos/%<owner>s/%<repository>s/branches/%<branch>s/protection/required_signatures"
15
15
 
16
16
  def initialize(path: PATH, **)
17
17
  super(**)
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,25 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
-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
28
+ MBaBFGJyb29rZUBhbGNoZW1pc3RzLmlvMA0GCSqGSIb3DQEBCwUAA4IBgQAX+EGY
29
+ 9RLYGxF1VLZz+G1ACQc4uyrCB6kXwI06kzUa5dF9tPXqTX9ffnz3/W8ck2IQhKzu
30
+ MKO2FVijzbDWTsZeZGglS4E+4Jxpau1lU9HhOIcKolv6LeC6UdALTFudY+GLb8Xw
31
+ REXgaJkjzzhkUSILmEnRwEbY08dVSl7ZAaxVI679vfI2yapLlIwpbBgmQTiTvPr3
32
+ qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
33
+ rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
34
+ XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
35
+ 3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
+ gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
30
37
  -----END CERTIFICATE-----
31
- date: 2023-02-05 00:00:00.000000000 Z
38
+ date: 2023-04-30 00:00:00.000000000 Z
32
39
  dependencies:
33
40
  - !ruby/object:Gem::Dependency
34
41
  name: dry-container
@@ -243,13 +250,13 @@ files:
243
250
  - lib/ghub/responses/team.rb
244
251
  - lib/ghub/responses/user.rb
245
252
  - lib/ghub/resultable.rb
246
- homepage: https://www.alchemists.io/projects/ghub
253
+ homepage: https://alchemists.io/projects/ghub
247
254
  licenses:
248
255
  - Hippocratic-2.1
249
256
  metadata:
250
257
  bug_tracker_uri: https://github.com/bkuhlmann/ghub/issues
251
- changelog_uri: https://www.alchemists.io/projects/ghub/versions
252
- documentation_uri: https://www.alchemists.io/projects/ghub
258
+ changelog_uri: https://alchemists.io/projects/ghub/versions
259
+ documentation_uri: https://alchemists.io/projects/ghub
253
260
  funding_uri: https://github.com/sponsors/bkuhlmann
254
261
  label: Ghub
255
262
  rubygems_mfa_required: 'true'
@@ -269,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
276
  - !ruby/object:Gem::Version
270
277
  version: '0'
271
278
  requirements: []
272
- rubygems_version: 3.4.6
279
+ rubygems_version: 3.4.12
273
280
  signing_key:
274
281
  specification_version: 4
275
282
  summary: A monadic GitHub API client.
metadata.gz.sig CHANGED
Binary file