ghub 0.12.0 → 0.13.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 +2 -1
- data/ghub.gemspec +2 -2
- 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: f371f5a0c06dad58f3db7f3fc28a44b7ae80f19318d0efefded6a44cc51636eb
|
4
|
+
data.tar.gz: 465dde573dc663e11511ab8270ef2d6a22cb19d81702462ef58e578edd2548da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4da72ad3437ff3ff45afacdf4a6a8e19b35946328f3595614f54aefcd27b7656de83a23567510abe778cf412c562c803876d94bccea1cffcde061304f320aab5
|
7
|
+
data.tar.gz: e7a1c479ba0e5ad25e591ce7a7e8d33ff9ca34e516287395473c00ae0e8b79122a89362eca7cbac31f0d8627a7564d6c539cb02e688393e9ba659b277e68b9bd
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
E�}��;����j7�5G$�'����$��O^������
|
2
|
+
X���@�Ӥ�ln2��C����X'���n��D����g��0uQ�Ƹ%�s�!|�Ҝz�H�,�<�b�z�/��U��h}k��e"UϛZ�Tq�m~h�^�o���à3`w�c�
|
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.13.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
|
|
@@ -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.13.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-05-08 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.10
|
285
285
|
signing_key:
|
286
286
|
specification_version: 4
|
287
287
|
summary: A monadic GitHub API client.
|
metadata.gz.sig
CHANGED
Binary file
|