ghub 0.10.0 → 0.11.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ghub.gemspec +3 -3
- data/lib/ghub/endpoints/branches/protection/actions/show.rb +2 -2
- data/lib/ghub/endpoints/branches/protection/actions/update.rb +2 -2
- data/lib/ghub/endpoints/branches/signature/root.rb +2 -2
- data/lib/ghub/endpoints/organizations/members/actions/index.rb +2 -2
- data/lib/ghub/endpoints/pulls/actions/index.rb +2 -2
- data/lib/ghub/endpoints/pulls/actions/show.rb +2 -2
- data/lib/ghub/endpoints/repositories/actions/create.rb +2 -2
- data/lib/ghub/endpoints/repositories/actions/index.rb +2 -2
- data/lib/ghub/endpoints/repositories/actions/patch.rb +2 -2
- data/lib/ghub/endpoints/repositories/actions/show.rb +2 -2
- data/lib/ghub/endpoints/search/users/actions/index.rb +2 -2
- data/lib/ghub/endpoints/users/actions/index.rb +2 -2
- data/lib/ghub/endpoints/users/actions/show.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +10 -10
- 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: c043ed0767155337202f16830cca48c65ee20956d642ee21b36f3d9a7a40fe3b
|
4
|
+
data.tar.gz: 5b6072e37686096115229fd1746275cc639bef455c431e37f1ef057f04150a7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d7316525994fdf1138a22e850b7692f6ad6df004170603a83903db777202d568d580e5d51a341f7a7bd8e02a045ef2f29c59825e45af6eb7838eebc5f1f0ca0
|
7
|
+
data.tar.gz: 8fab22bed19b8acd25976c12afd8ff4ef78372c717b9248f9bca287033783a75e8fc55f6fd8d2678d995bf7c10a6824df8be33a751d7b313e103534e98fccc3f
|
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.11.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/ghub"
|
@@ -27,9 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_dependency "dry-monads", "~> 1.6"
|
28
28
|
spec.add_dependency "dry-schema", "~> 1.13"
|
29
29
|
spec.add_dependency "http", "~> 5.1"
|
30
|
-
spec.add_dependency "infusible", "~> 3.
|
30
|
+
spec.add_dependency "infusible", "~> 3.4"
|
31
|
+
spec.add_dependency "pipeable", "~> 0.1"
|
31
32
|
spec.add_dependency "refinements", "~> 12.1"
|
32
|
-
spec.add_dependency "transactable", "~> 0.9"
|
33
33
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
34
34
|
|
35
35
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -10,7 +10,7 @@ module Ghub
|
|
10
10
|
# Handles a branch projection show action.
|
11
11
|
class Show
|
12
12
|
include Protection::Import[:client, response: "responses.show", model: "models.show"]
|
13
|
-
include
|
13
|
+
include Pipeable
|
14
14
|
|
15
15
|
def call owner, repository, branch, **parameters
|
16
16
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -16,7 +16,7 @@ module Ghub
|
|
16
16
|
model: "models.show"
|
17
17
|
]
|
18
18
|
|
19
|
-
include
|
19
|
+
include Pipeable
|
20
20
|
|
21
21
|
def call owner, repository, branch, body, **parameters
|
22
22
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -9,7 +9,7 @@ module Ghub
|
|
9
9
|
# Provides access to the branch signature API endpoint.
|
10
10
|
class Root
|
11
11
|
include Signature::Import[:client, response: "responses.show", model: "models.show"]
|
12
|
-
include
|
12
|
+
include Pipeable
|
13
13
|
|
14
14
|
PATH = "repos/%<owner>s/%<repository>s/branches/%<branch>s/protection/required_signatures"
|
15
15
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -10,7 +10,7 @@ module Ghub
|
|
10
10
|
# Handles an organization member index action.
|
11
11
|
class Index
|
12
12
|
include Members::Import[:client, response: "responses.index", model: "models.show"]
|
13
|
-
include
|
13
|
+
include Pipeable
|
14
14
|
|
15
15
|
def call owner, **parameters
|
16
16
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -9,7 +9,7 @@ module Ghub
|
|
9
9
|
# Handles a repository index action.
|
10
10
|
class Index
|
11
11
|
include Pulls::Import[:client, response: "responses.index", model: "models.show"]
|
12
|
-
include
|
12
|
+
include Pipeable
|
13
13
|
|
14
14
|
def call owner, repository, **parameters
|
15
15
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -9,7 +9,7 @@ module Ghub
|
|
9
9
|
# Handles a repository index action.
|
10
10
|
class Show
|
11
11
|
include Pulls::Import[:client, response: "responses.show", model: "models.show"]
|
12
|
-
include
|
12
|
+
include Pipeable
|
13
13
|
|
14
14
|
def call owner, repository, id, **parameters
|
15
15
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -16,7 +16,7 @@ module Ghub
|
|
16
16
|
model: "models.show"
|
17
17
|
]
|
18
18
|
|
19
|
-
include
|
19
|
+
include Pipeable
|
20
20
|
|
21
21
|
def call kind, body, owner: nil, **parameters
|
22
22
|
path.create(kind, owner:).bind do |url_path|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -15,7 +15,7 @@ module Ghub
|
|
15
15
|
model: "models.show"
|
16
16
|
]
|
17
17
|
|
18
|
-
include
|
18
|
+
include Pipeable
|
19
19
|
|
20
20
|
def call kind, owner, **parameters
|
21
21
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -16,7 +16,7 @@ module Ghub
|
|
16
16
|
model: "models.show"
|
17
17
|
]
|
18
18
|
|
19
|
-
include
|
19
|
+
include Pipeable
|
20
20
|
|
21
21
|
def call owner, id, body, **parameters
|
22
22
|
path.patch(owner, id).bind do |url_path|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -15,7 +15,7 @@ module Ghub
|
|
15
15
|
model: "models.show"
|
16
16
|
]
|
17
17
|
|
18
|
-
include
|
18
|
+
include Pipeable
|
19
19
|
|
20
20
|
def call owner, id, **parameters
|
21
21
|
pipe path.show(owner, id),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -10,7 +10,7 @@ module Ghub
|
|
10
10
|
# Handles a user index action.
|
11
11
|
class Index
|
12
12
|
include Import[:client, response: "responses.index", model: "models.index"]
|
13
|
-
include
|
13
|
+
include Pipeable
|
14
14
|
|
15
15
|
def call **parameters
|
16
16
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -9,7 +9,7 @@ module Ghub
|
|
9
9
|
# Handles a user index action.
|
10
10
|
class Index
|
11
11
|
include Users::Import[:client, response: "responses.index", model: "models.index"]
|
12
|
-
include
|
12
|
+
include Pipeable
|
13
13
|
|
14
14
|
def call **parameters
|
15
15
|
pipe(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "pipeable"
|
4
4
|
|
5
5
|
module Ghub
|
6
6
|
module Endpoints
|
@@ -9,7 +9,7 @@ module Ghub
|
|
9
9
|
# Handles a user show action.
|
10
10
|
class Show
|
11
11
|
include Users::Import[:client, response: "responses.show", model: "models.show"]
|
12
|
-
include
|
12
|
+
include Pipeable
|
13
13
|
|
14
14
|
def call id, **parameters
|
15
15
|
pipe client.get("users/#{id}", **parameters),
|
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.11.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-03-
|
38
|
+
date: 2024-03-09 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: dry-container
|
@@ -99,42 +99,42 @@ dependencies:
|
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '3.
|
102
|
+
version: '3.4'
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '3.
|
109
|
+
version: '3.4'
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
111
|
+
name: pipeable
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '0.1'
|
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: '
|
123
|
+
version: '0.1'
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
|
-
name:
|
125
|
+
name: refinements
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '12.1'
|
131
131
|
type: :runtime
|
132
132
|
prerelease: false
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
137
|
+
version: '12.1'
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
139
|
name: zeitwerk
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|