ghub 0.4.3 → 0.5.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: 586f6d6560cef4906f061a81a2cf0ce1a4c5c581451a0382a9d8b296ae40e877
4
- data.tar.gz: d39fdca996aeaf3683a0ae5bc6d9dc149dc31cf0958725549a69dd6609496107
3
+ metadata.gz: 5af17740c518734ce06db439ca9ec29f5040a2bef582a34075e70882b39b5ac7
4
+ data.tar.gz: 365d637679a8277990d731b79b5dcc65e8eb4b1062d0cfa8908324112b3954b2
5
5
  SHA512:
6
- metadata.gz: 49f12edd0df689bf21c8aacddd0466021107583a9e81819386ef05ed1d9d4bbe6607a4b8f412727618bada2d19d14adf0c85534d07ac112edb418dd79a1b8fbb
7
- data.tar.gz: 8e6cf24a6586459045864af65a0f99d9b09d531101862e9cee024a97c754ac5f9f9f75f516f07f1b9f53ea733ac0dce7fa36798fe7fff0bb785379f57548b207
6
+ metadata.gz: c6b468318899216f57b638067fd9de25d156d944b99fc9f7a8b2195ce8b60c25d2253a7aea50be84ca712e072b431cfccf3f9f40a70e73732423d94da6c984b6
7
+ data.tar.gz: 5314cd60aec70beed9684c8ffbbc19c400f24e5bf77d8dcb6db7ed5da00c739f1fb64a0d1bc4d3fa7fa8425e60e7010609a67e4c823db0785f15d28b036ab353
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.4.3"
5
+ spec.version = "0.5.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", "~> 1.0"
31
- spec.add_dependency "refinements", "~> 10.0"
32
- spec.add_dependency "transactable", "~> 0.4"
30
+ spec.add_dependency "infusible", "~> 2.0"
31
+ spec.add_dependency "refinements", "~> 11.0"
32
+ spec.add_dependency "transactable", "~> 0.5"
33
33
  spec.add_dependency "zeitwerk", "~> 2.6"
34
34
 
35
35
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
@@ -43,11 +43,7 @@ module Ghub
43
43
 
44
44
  def resource(owner, id) = Success "repos/#{owner}/#{id}"
45
45
 
46
- def error kind
47
- kinds.map(&:inspect)
48
- .to_sentence(conjunction: "or")
49
- .then { |choices| Failure "Invalid kind: #{kind.inspect}. Use: #{choices}." }
50
- end
46
+ def error(kind) = Failure %(Invalid kind: #{kind.inspect}. Use: #{kinds.to_usage "or"}.)
51
47
  end
52
48
  end
53
49
  end
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.3
4
+ version: 0.5.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: 2023-04-30 00:00:00.000000000 Z
38
+ date: 2023-06-13 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: '1.0'
102
+ version: '2.0'
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: '1.0'
109
+ version: '2.0'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: refinements
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '10.0'
116
+ version: '11.0'
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: '10.0'
123
+ version: '11.0'
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: transactable
126
126
  requirement: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '0.4'
130
+ version: '0.5'
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: '0.4'
137
+ version: '0.5'
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: zeitwerk
140
140
  requirement: !ruby/object:Gem::Requirement
@@ -276,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
276
  - !ruby/object:Gem::Version
277
277
  version: '0'
278
278
  requirements: []
279
- rubygems_version: 3.4.12
279
+ rubygems_version: 3.4.14
280
280
  signing_key:
281
281
  specification_version: 4
282
282
  summary: A monadic GitHub API client.
metadata.gz.sig CHANGED
Binary file