ghub 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ghub.gemspec +1 -1
- data/lib/ghub/resultable.rb +2 -2
- data/lib/ghub.rb +4 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: ce5b37f7c61c21eeeff22b06117bee8ec9cf0c80bc119f82d92f8b8c7d2475c6
|
|
4
|
+
data.tar.gz: 62cfd658f42a0b836869b212c13c9f5f6e6e2c9e86bc5d06da43367268f668c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f5c9a045f4abfab759860eeefc8169f402fce8906f9471b4542880da9caae712816996be863f392723dbee49e6e2a2d59fd3373a0cef120ea852054a8043e0c
|
|
7
|
+
data.tar.gz: b589f93696d26551cca0db2629c0551911b29dba3e4bcc59dc5e3c6857f29638bbde5758687a28be658876526b570b6adde3e1af14f775f3c565721aab06846a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/ghub.gemspec
CHANGED
data/lib/ghub/resultable.rb
CHANGED
|
@@ -5,9 +5,9 @@ module Ghub
|
|
|
5
5
|
module Resultable
|
|
6
6
|
include Dry::Monads[:result]
|
|
7
7
|
|
|
8
|
-
def self.included
|
|
8
|
+
def self.included descendant
|
|
9
9
|
super
|
|
10
|
-
|
|
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.
|
|
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.
|
|
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-
|
|
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.
|
|
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
|