ghub 0.4.0 → 0.4.2

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: 86ed95e15942ee666a5e4094d1d5d7e77daed1886228491ba556cefa20cb9802
4
- data.tar.gz: 555ba2c32b311df27c11965749a1caece8ef1e55561c72941524fdec862b4fef
3
+ metadata.gz: d81d6531af71bc1a4310dd20430343e62bb54519885a04dc3ac3c3ac7a407c4e
4
+ data.tar.gz: c4965e8e45a0cc757c40c150a589cf4ec9a029cd0f0bcc8a3649d170f83c9b6c
5
5
  SHA512:
6
- metadata.gz: 463c48c1e6a9407ab559bcc1a585affd67afc1f1f97d5db28c55e5cd56815ac6b8b402d14f0cd3b3c0424616ad4eb4cd5d7c085578c2e2a754dd99810f4cc14b
7
- data.tar.gz: 36b9c113333d009fd8c71319bda53c1ba41bfb155f6d5f2bb6b7777b47de0c7a245ee69b6b219a904ff332bf1bb78c2fd55dc2ea878b3aca8ee32157dff975b0
6
+ metadata.gz: ca08e0219d39523f59e32a3c88b95b637f402d3b644383f2d7833d89bb7106c052c9842b51b4d8f5b40e1c6b52ca5fa8d8cf39e9c2b33e7032e020d2b1512d11
7
+ data.tar.gz: 8b92938c712b67d1cc5b56e0738572d6230350636191959d030590206a92813212eb065430d628d78e1543ac2349b56534194052c894898e03f31ef5d6c6cd79
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
 
@@ -185,22 +185,22 @@ To test, run:
185
185
 
186
186
  [source,bash]
187
187
  ----
188
- bundle exec rake
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.0"
5
+ spec.version = "0.4.2"
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",
@@ -9,8 +9,8 @@ module Ghub
9
9
  include Import[:configuration, :http]
10
10
  include Dry::Monads[:result]
11
11
 
12
- def initialize page: Page, **dependencies
13
- super(**dependencies)
12
+ def initialize(page: Page, **)
13
+ super(**)
14
14
  @page = page
15
15
  end
16
16
 
data/lib/ghub/client.rb CHANGED
@@ -14,8 +14,8 @@ module Ghub
14
14
  users_endpoint: :users
15
15
  ]
16
16
 
17
- def initialize **dependencies
18
- super(**dependencies)
17
+ def initialize(**)
18
+ super(**)
19
19
  yield configuration if block_given?
20
20
  end
21
21
 
@@ -13,8 +13,8 @@ module Ghub
13
13
 
14
14
  PATH = "repos/%{owner}/%{repository}/branches/%{branch}/protection/required_signatures"
15
15
 
16
- def initialize path: PATH, **dependencies
17
- super(**dependencies)
16
+ def initialize(path: PATH, **)
17
+ super(**)
18
18
  @path = path
19
19
  end
20
20
 
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.0
4
+ version: 0.4.2
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
- MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
15
- NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
- IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
- xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
- brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
- 9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
20
- D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
- 3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
- AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
- 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAJbbNyWzFjqUNVPPCUCo
24
-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l5HqS1SJp2Ko3lcnpXeFResp0HNlt8NSu13vhC08j
24
+ GUHU9MyIXbFOsnp3K3ADrAVjPWop8EZkmUR3MV/CUm00w2cZHCSGiXl1KMpiVKvk
25
+ Ywr1gd2ZME4QLSo+EXUtLxDUa/W3xnBS8dBOuMMz02FPWYr3PN8CAwEAAaN7MHkw
26
+ CQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFAFgmv0tYMZnItuPycSM
27
+ F5wykJEVMB8GA1UdEQQYMBaBFGJyb29rZUBhbGNoZW1pc3RzLmlvMB8GA1UdEgQY
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-01-08 00:00:00.000000000 Z
38
+ date: 2023-03-22 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.2
279
+ rubygems_version: 3.4.9
273
280
  signing_key:
274
281
  specification_version: 4
275
282
  summary: A monadic GitHub API client.
metadata.gz.sig CHANGED
Binary file