ghub 0.6.0 → 0.7.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: f9aed02a981477b8bc20274a4da869ab683935bc485091730172199761dc37e1
4
- data.tar.gz: 7b4820c235ad4d5a1b4dce5fed56a85913c074f8cd8dc0bfabd66b3feb83c0ee
3
+ metadata.gz: ce5b37f7c61c21eeeff22b06117bee8ec9cf0c80bc119f82d92f8b8c7d2475c6
4
+ data.tar.gz: 62cfd658f42a0b836869b212c13c9f5f6e6e2c9e86bc5d06da43367268f668c6
5
5
  SHA512:
6
- metadata.gz: 419083a5181b13bf70256fca5592ef591ed8a790f24d656b3855675b125a3eae0f3f0fcc48f719ddb97ee63b0c50741dbb19f1709dbd28ffbdf104fee476377d
7
- data.tar.gz: f6c42ebe746ee9e4b877afdba4bf57e3c0908fff9e588752bea5716b45dbd21946ade15379fa91f631a7ff5c54ac1933eaa3d46917dba29451188a6e4442b609
6
+ metadata.gz: 8f5c9a045f4abfab759860eeefc8169f402fce8906f9471b4542880da9caae712816996be863f392723dbee49e6e2a2d59fd3373a0cef120ea852054a8043e0c
7
+ data.tar.gz: b589f93696d26551cca0db2629c0551911b29dba3e4bcc59dc5e3c6857f29638bbde5758687a28be658876526b570b6adde3e1af14f775f3c565721aab06846a
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.6.0"
5
+ spec.version = "0.7.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/ghub"
@@ -5,9 +5,9 @@ module Ghub
5
5
  module Resultable
6
6
  include Dry::Monads[:result]
7
7
 
8
- def self.included object
8
+ def self.included descendant
9
9
  super
10
- object.extend ClassMethods
10
+ descendant.extend ClassMethods
11
11
  end
12
12
 
13
13
  # Allows an object to be callable via a class method.
data/lib/ghub.rb CHANGED
@@ -6,11 +6,14 @@ require "zeitwerk"
6
6
 
7
7
  Dry::Schema.load_extensions :monads
8
8
 
9
- Zeitwerk::Loader.for_gem.then do |loader|
9
+ Zeitwerk::Loader.new.then do |loader|
10
10
  loader.inflector.inflect "api" => "API"
11
+ loader.tag = File.basename __FILE__, ".rb"
12
+ loader.push_dir __dir__
11
13
  loader.setup
12
14
  end
13
15
 
14
16
  # Main namespace.
15
17
  module Ghub
18
+ def self.loader(registry = Zeitwerk::Registry) = registry.loader_for __FILE__
16
19
  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.6.0
4
+ version: 0.7.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-07-14 00:00:00.000000000 Z
38
+ date: 2023-10-01 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: dry-container
@@ -282,7 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
282
282
  - !ruby/object:Gem::Version
283
283
  version: '0'
284
284
  requirements: []
285
- rubygems_version: 3.4.17
285
+ rubygems_version: 3.4.20
286
286
  signing_key:
287
287
  specification_version: 4
288
288
  summary: A monadic GitHub API client.
metadata.gz.sig CHANGED
Binary file