ghub 0.8.1 → 0.9.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: cf1a081996d0da286e9d4e119a56ea35ea58a636018d09b0bdfcc67f02e62a5e
4
- data.tar.gz: f88c2fb12172b4989c4def3d7c2ebe3995646dfa77883dc96d344c030c556277
3
+ metadata.gz: fbb59726dceb4bab7b247e76b8fa9bd5a9c7ccfd4b0ca759c84d0170b3e6900a
4
+ data.tar.gz: 12520aa681877efa640974970629e968bab4d3210ba88bd0b240a0ca890ad846
5
5
  SHA512:
6
- metadata.gz: 82f73ed39a7a1c6749c6a012ceca3cab45ff38d3840576f85bede69444e1828a82332ab2ca77f35ef0abeb1b4920213e020c777f23e3cba82da677f1eaaabafd
7
- data.tar.gz: d7993fb0d5a7829aa573b2ec3ef39a0997de41fbd499ebd300ddcb5571422e860655847f75fc6d58a73b4722c93f24db4e3b860fbfcdea6402e6114417d60c67
6
+ metadata.gz: 50db10405112dca80848fb8fc80736f4fbddd79a810988565af804f122038eb4ee0c6b37b097d678dc646d6050aa77f5ff356b62f27a76a54c52944176f72a99
7
+ data.tar.gz: 28aae2746254009a0efe896d7ded05280ee7fc5e322f30a787a80a708bfdee030e72a65cef68516b503bed5cfd8bd9bc9b18bdacea7767ed61870ae511358eef
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.8.1"
5
+ spec.version = "0.9.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://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.2", "<= 3.3"]
25
+ spec.required_ruby_version = "~> 3.3"
26
26
  spec.add_dependency "dry-container", "~> 0.11"
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", "~> 2.2"
31
- spec.add_dependency "refinements", "~> 11.0"
32
- spec.add_dependency "transactable", "~> 0.5"
30
+ spec.add_dependency "infusible", "~> 3.0"
31
+ spec.add_dependency "refinements", "~> 12.0"
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*"]
data/lib/ghub/api/page.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require "dry/monads"
4
4
  require "json"
5
- require "refinements/arrays"
5
+ require "refinements/array"
6
6
 
7
7
  module Ghub
8
8
  module API
@@ -10,7 +10,7 @@ module Ghub
10
10
  class Page
11
11
  extend Dry::Monads[:result]
12
12
 
13
- using Refinements::Arrays
13
+ using Refinements::Array
14
14
 
15
15
  def self.of index = 1, bodies: [], &request
16
16
  yield(index).fmap { |response| new response }
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/strings"
3
+ require "refinements/string"
4
4
 
5
5
  module Ghub
6
6
  module Configuration
7
7
  # Handles loading of configuration with environment defaults.
8
8
  class Loader
9
- using Refinements::Strings
9
+ using Refinements::String
10
10
 
11
11
  def initialize model = Content, environment: ENV
12
12
  @model = model
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "dry/monads"
4
- require "refinements/arrays"
4
+ require "refinements/array"
5
5
 
6
6
  module Ghub
7
7
  module Endpoints
@@ -10,7 +10,7 @@ module Ghub
10
10
  class Path
11
11
  include Dry::Monads[:result]
12
12
 
13
- using Refinements::Arrays
13
+ using Refinements::Array
14
14
 
15
15
  KINDS = %w[users orgs].freeze
16
16
 
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.8.1
4
+ version: 0.9.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-11-16 00:00:00.000000000 Z
38
+ date: 2024-01-01 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: '2.2'
102
+ version: '3.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: '2.2'
109
+ version: '3.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: '11.0'
116
+ version: '12.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: '11.0'
123
+ version: '12.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.5'
130
+ version: '0.9'
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.5'
137
+ version: '0.9'
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: zeitwerk
140
140
  requirement: !ruby/object:Gem::Requirement
@@ -273,10 +273,7 @@ require_paths:
273
273
  - lib
274
274
  required_ruby_version: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - ">="
277
- - !ruby/object:Gem::Version
278
- version: '3.2'
279
- - - "<="
276
+ - - "~>"
280
277
  - !ruby/object:Gem::Version
281
278
  version: '3.3'
282
279
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -285,7 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
282
  - !ruby/object:Gem::Version
286
283
  version: '0'
287
284
  requirements: []
288
- rubygems_version: 3.4.22
285
+ rubygems_version: 3.5.3
289
286
  signing_key:
290
287
  specification_version: 4
291
288
  summary: A monadic GitHub API client.
metadata.gz.sig CHANGED
Binary file