ghub 0.1.0 → 0.3.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 +7 -7
- data/lib/ghub/api/client.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +14 -14
- 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: 96b84a0c19eecb20f22e880efbe6dc98c8b487a0a4b3c2439e801385ff8b87cc
|
4
|
+
data.tar.gz: 2b21819675c236e86020955566c4a606cdcd63511ba59b9ad2fdb963a672118a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65fc3607531672ef9b3d5eba15d622afbcde73e672fbb81405adcb246d3b589e2711043ffda025de58a3e34445f763153ed974eeb9a54f71c4b3ff4ef61d2b2b
|
7
|
+
data.tar.gz: 51786f853f2ac9bb5df018db2ca3bf0df1dd5a5aa0f25c8cd134200df6ed46fb199af770df87d3bdca30585522b21027d2ad168622af3f08f9d786679d50a61c
|
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.3.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://www.alchemists.io/projects/ghub"
|
@@ -22,14 +22,14 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.signing_key = Gem.default_key_path
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
|
-
spec.required_ruby_version = "~> 3.
|
25
|
+
spec.required_ruby_version = "~> 3.2"
|
26
26
|
spec.add_dependency "dry-container", "~> 0.11"
|
27
|
-
spec.add_dependency "dry-monads", "~> 1.
|
28
|
-
spec.add_dependency "dry-schema", "~> 1.
|
27
|
+
spec.add_dependency "dry-monads", "~> 1.6"
|
28
|
+
spec.add_dependency "dry-schema", "~> 1.13"
|
29
29
|
spec.add_dependency "http", "~> 5.1"
|
30
|
-
spec.add_dependency "infusible", "~> 0
|
31
|
-
spec.add_dependency "refinements", "~>
|
32
|
-
spec.add_dependency "transactable", "~> 0.
|
30
|
+
spec.add_dependency "infusible", "~> 1.0"
|
31
|
+
spec.add_dependency "refinements", "~> 10.0"
|
32
|
+
spec.add_dependency "transactable", "~> 0.4"
|
33
33
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
34
34
|
|
35
35
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
data/lib/ghub/api/client.rb
CHANGED
@@ -15,9 +15,9 @@ module Ghub
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def get path, **parameters
|
18
|
-
return call
|
18
|
+
return call __method__, path, params: parameters unless configuration.paginate
|
19
19
|
|
20
|
-
page.of { |index| call
|
20
|
+
page.of { |index| call __method__, path, params: parameters.merge(page: index) }
|
21
21
|
end
|
22
22
|
|
23
23
|
def post path, body = nil, **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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-12-27 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-container
|
@@ -50,28 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
53
|
+
version: '1.6'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '1.
|
60
|
+
version: '1.6'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: dry-schema
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1.
|
67
|
+
version: '1.13'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '1.
|
74
|
+
version: '1.13'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: http
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,42 +92,42 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '0
|
95
|
+
version: '1.0'
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '0
|
102
|
+
version: '1.0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: refinements
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '10.0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '10.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: transactable
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '0.
|
123
|
+
version: '0.4'
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '0.
|
130
|
+
version: '0.4'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: zeitwerk
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,14 +262,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
262
262
|
requirements:
|
263
263
|
- - "~>"
|
264
264
|
- !ruby/object:Gem::Version
|
265
|
-
version: '3.
|
265
|
+
version: '3.2'
|
266
266
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
267
|
requirements:
|
268
268
|
- - ">="
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: '0'
|
271
271
|
requirements: []
|
272
|
-
rubygems_version: 3.
|
272
|
+
rubygems_version: 3.4.1
|
273
273
|
signing_key:
|
274
274
|
specification_version: 4
|
275
275
|
summary: A monadic GitHub API client.
|
metadata.gz.sig
CHANGED
Binary file
|