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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f67eb07381cbd26c5c066302b84cd48fc913e434b40aed279bf1fb0cc46b023
4
- data.tar.gz: 5469896867d6cb6167c60a5c4e38cfe09eeb79e0636a2c62a95e638f7a0db907
3
+ metadata.gz: 96b84a0c19eecb20f22e880efbe6dc98c8b487a0a4b3c2439e801385ff8b87cc
4
+ data.tar.gz: 2b21819675c236e86020955566c4a606cdcd63511ba59b9ad2fdb963a672118a
5
5
  SHA512:
6
- metadata.gz: 7be4ede471693f92d51701ea5a3471c2c22399d1b16a4260d59c2b0cd286a75c8a9d08ea2a704cf15bdde66544ecf22c5bdb6dc049f2dbdc64d63f010886bae1
7
- data.tar.gz: ec755119ab3fba56c45e03fa2ad4ddc9905cef00833f4ee3b51a5d3209bdcdc578c5a39379bebefbbfd15e9ff9ab2abf62ae6a2e9748398a65438ff71008b465
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.1.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.1"
25
+ spec.required_ruby_version = "~> 3.2"
26
26
  spec.add_dependency "dry-container", "~> 0.11"
27
- spec.add_dependency "dry-monads", "~> 1.5"
28
- spec.add_dependency "dry-schema", "~> 1.11"
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.2"
31
- spec.add_dependency "refinements", "~> 9.7"
32
- spec.add_dependency "transactable", "~> 0.2"
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*"]
@@ -15,9 +15,9 @@ module Ghub
15
15
  end
16
16
 
17
17
  def get path, **parameters
18
- return call :get, path, params: parameters unless configuration.paginate
18
+ return call __method__, path, params: parameters unless configuration.paginate
19
19
 
20
- page.of { |index| call :get, path, params: parameters.merge(page: index) }
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.1.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-10-22 00:00:00.000000000 Z
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.5'
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.5'
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.11'
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.11'
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.2'
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.2'
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: '9.7'
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: '9.7'
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.2'
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.2'
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.1'
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.3.24
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