ghub 0.12.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ghub.gemspec +2 -2
- data/lib/ghub/client.rb +1 -1
- data/lib/ghub/endpoints/branches/protection/actions/show.rb +1 -1
- data/lib/ghub/endpoints/branches/protection/actions/update.rb +1 -1
- data/lib/ghub/endpoints/branches/signature/root.rb +2 -2
- data/lib/ghub/endpoints/organizations/members/actions/index.rb +1 -1
- data/lib/ghub/endpoints/pulls/actions/index.rb +1 -1
- data/lib/ghub/endpoints/pulls/actions/show.rb +1 -1
- data/lib/ghub/endpoints/repositories/actions/create.rb +1 -1
- data/lib/ghub/endpoints/repositories/actions/index.rb +1 -1
- data/lib/ghub/endpoints/repositories/actions/patch.rb +1 -1
- data/lib/ghub/endpoints/repositories/actions/show.rb +1 -1
- data/lib/ghub/endpoints/search/users/actions/index.rb +1 -1
- data/lib/ghub/endpoints/users/actions/index.rb +1 -1
- data/lib/ghub/endpoints/users/actions/show.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c23b2496c7f7c2b0e54971ca22f4ced04ce6350b5e72f1e5a9e2ee34c569251
|
4
|
+
data.tar.gz: d45391d014f558683f91cf3b02297b4b5af27f2c7271038ed70ebf46ddff8672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58d40a4f2bd9ea010d68c87917dae735bbd9a5f49d8f817e3c4d8b8ab5f6d3e620a4ecbfa9999e8a65c36f3773020de98b4ac516cce08ec75030912e27f1848e
|
7
|
+
data.tar.gz: a3e74654dbfc7815c24d152d698077340deadf6fee99e65f6b6613b6cf4bb81010e51e7b58318e3b62321fe92a09632cba6a1853f7c8c9f7843c954e8596ed31
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/ghub.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "ghub"
|
5
|
-
spec.version = "0.
|
5
|
+
spec.version = "0.14.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/ghub"
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_dependency "dry-schema", "~> 1.13"
|
29
29
|
spec.add_dependency "http", "~> 5.1"
|
30
30
|
spec.add_dependency "infusible", "~> 3.5"
|
31
|
-
spec.add_dependency "pipeable", "~> 0.
|
31
|
+
spec.add_dependency "pipeable", "~> 0.5"
|
32
32
|
spec.add_dependency "refinements", "~> 12.1"
|
33
33
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
34
34
|
|
data/lib/ghub/client.rb
CHANGED
@@ -23,7 +23,7 @@ module Ghub
|
|
23
23
|
pipe format(path, owner:, repository:, branch:),
|
24
24
|
to(api, :get),
|
25
25
|
try(:parse, catch: JSON::ParserError),
|
26
|
-
validate(response),
|
26
|
+
validate(response, as: :to_h),
|
27
27
|
to(model, :for)
|
28
28
|
end
|
29
29
|
|
@@ -31,7 +31,7 @@ module Ghub
|
|
31
31
|
pipe format(path, owner:, repository:, branch:),
|
32
32
|
to(api, :post),
|
33
33
|
try(:parse, catch: JSON::ParserError),
|
34
|
-
validate(response),
|
34
|
+
validate(response, as: :to_h),
|
35
35
|
to(model, :for)
|
36
36
|
end
|
37
37
|
|
@@ -17,7 +17,7 @@ module Ghub
|
|
17
17
|
api.get("repos/#{owner}/#{repository}/pulls", **parameters),
|
18
18
|
try(:parse, catch: JSON::ParserError),
|
19
19
|
fmap { |body| {body:} },
|
20
|
-
validate(response),
|
20
|
+
validate(response, as: :to_h),
|
21
21
|
as(:fetch, :body),
|
22
22
|
map { |item| model.for(**item) }
|
23
23
|
)
|
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
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2024-
|
38
|
+
date: 2024-06-01 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: containable
|
@@ -113,14 +113,14 @@ dependencies:
|
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0.
|
116
|
+
version: '0.5'
|
117
117
|
type: :runtime
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '0.
|
123
|
+
version: '0.5'
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: refinements
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
@@ -281,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
281
|
- !ruby/object:Gem::Version
|
282
282
|
version: '0'
|
283
283
|
requirements: []
|
284
|
-
rubygems_version: 3.5.
|
284
|
+
rubygems_version: 3.5.11
|
285
285
|
signing_key:
|
286
286
|
specification_version: 4
|
287
287
|
summary: A monadic GitHub API client.
|
metadata.gz.sig
CHANGED
Binary file
|