ghub 0.0.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.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data/LICENSE.adoc +134 -0
  4. data/README.adoc +198 -0
  5. data/ghub.gemspec +37 -0
  6. data/lib/ghub/api/client.rb +49 -0
  7. data/lib/ghub/api/page.rb +59 -0
  8. data/lib/ghub/client.rb +34 -0
  9. data/lib/ghub/configuration/content.rb +8 -0
  10. data/lib/ghub/configuration/loader.rb +30 -0
  11. data/lib/ghub/container.rb +15 -0
  12. data/lib/ghub/endpoints/branches/protection/actions/show.rb +31 -0
  13. data/lib/ghub/endpoints/branches/protection/actions/update.rb +38 -0
  14. data/lib/ghub/endpoints/branches/protection/container.rb +35 -0
  15. data/lib/ghub/endpoints/branches/protection/import.rb +13 -0
  16. data/lib/ghub/endpoints/branches/protection/models/show.rb +48 -0
  17. data/lib/ghub/endpoints/branches/protection/requests/update.rb +52 -0
  18. data/lib/ghub/endpoints/branches/protection/responses/show.rb +27 -0
  19. data/lib/ghub/endpoints/branches/protection/root.rb +26 -0
  20. data/lib/ghub/endpoints/branches/signature/container.rb +26 -0
  21. data/lib/ghub/endpoints/branches/signature/import.rb +13 -0
  22. data/lib/ghub/endpoints/branches/signature/root.rb +48 -0
  23. data/lib/ghub/endpoints/container.rb +19 -0
  24. data/lib/ghub/endpoints/import.rb +9 -0
  25. data/lib/ghub/endpoints/organizations/members/actions/index.rb +32 -0
  26. data/lib/ghub/endpoints/organizations/members/container.rb +30 -0
  27. data/lib/ghub/endpoints/organizations/members/import.rb +13 -0
  28. data/lib/ghub/endpoints/organizations/members/responses/index.rb +14 -0
  29. data/lib/ghub/endpoints/organizations/members/root.rb +16 -0
  30. data/lib/ghub/endpoints/pulls/actions/index.rb +28 -0
  31. data/lib/ghub/endpoints/pulls/actions/show.rb +26 -0
  32. data/lib/ghub/endpoints/pulls/container.rb +30 -0
  33. data/lib/ghub/endpoints/pulls/import.rb +11 -0
  34. data/lib/ghub/endpoints/pulls/models/show.rb +81 -0
  35. data/lib/ghub/endpoints/pulls/responses/index.rb +12 -0
  36. data/lib/ghub/endpoints/pulls/responses/show.rb +62 -0
  37. data/lib/ghub/endpoints/pulls/root.rb +16 -0
  38. data/lib/ghub/endpoints/repositories/actions/create.rb +37 -0
  39. data/lib/ghub/endpoints/repositories/actions/index.rb +36 -0
  40. data/lib/ghub/endpoints/repositories/actions/patch.rb +37 -0
  41. data/lib/ghub/endpoints/repositories/actions/show.rb +32 -0
  42. data/lib/ghub/endpoints/repositories/container.rb +39 -0
  43. data/lib/ghub/endpoints/repositories/import.rb +11 -0
  44. data/lib/ghub/endpoints/repositories/path.rb +54 -0
  45. data/lib/ghub/endpoints/repositories/requests/create.rb +32 -0
  46. data/lib/ghub/endpoints/repositories/requests/patch.rb +38 -0
  47. data/lib/ghub/endpoints/repositories/responses/index.rb +12 -0
  48. data/lib/ghub/endpoints/repositories/responses/show.rb +97 -0
  49. data/lib/ghub/endpoints/repositories/root.rb +28 -0
  50. data/lib/ghub/endpoints/users/actions/index.rb +28 -0
  51. data/lib/ghub/endpoints/users/actions/show.rb +24 -0
  52. data/lib/ghub/endpoints/users/container.rb +31 -0
  53. data/lib/ghub/endpoints/users/import.rb +11 -0
  54. data/lib/ghub/endpoints/users/models/index.rb +39 -0
  55. data/lib/ghub/endpoints/users/models/show.rb +53 -0
  56. data/lib/ghub/endpoints/users/responses/index.rb +33 -0
  57. data/lib/ghub/endpoints/users/responses/show.rb +45 -0
  58. data/lib/ghub/endpoints/users/root.rb +16 -0
  59. data/lib/ghub/import.rb +7 -0
  60. data/lib/ghub/models/application.rb +34 -0
  61. data/lib/ghub/models/boolean_link.rb +13 -0
  62. data/lib/ghub/models/branch.rb +20 -0
  63. data/lib/ghub/models/check.rb +17 -0
  64. data/lib/ghub/models/dismissal_restriction.rb +31 -0
  65. data/lib/ghub/models/label.rb +22 -0
  66. data/lib/ghub/models/license.rb +20 -0
  67. data/lib/ghub/models/link.rb +13 -0
  68. data/lib/ghub/models/links.rb +28 -0
  69. data/lib/ghub/models/owner.rb +27 -0
  70. data/lib/ghub/models/permissions/branch.rb +21 -0
  71. data/lib/ghub/models/permissions/repository.rb +22 -0
  72. data/lib/ghub/models/repository.rb +111 -0
  73. data/lib/ghub/models/restriction.rb +32 -0
  74. data/lib/ghub/models/review.rb +28 -0
  75. data/lib/ghub/models/status_check.rb +25 -0
  76. data/lib/ghub/models/team.rb +27 -0
  77. data/lib/ghub/models/user.rb +33 -0
  78. data/lib/ghub/responses/application.rb +42 -0
  79. data/lib/ghub/responses/boolean_link.rb +11 -0
  80. data/lib/ghub/responses/branch.rb +14 -0
  81. data/lib/ghub/responses/dismissal_restriction.rb +15 -0
  82. data/lib/ghub/responses/label.rb +16 -0
  83. data/lib/ghub/responses/license.rb +14 -0
  84. data/lib/ghub/responses/link.rb +8 -0
  85. data/lib/ghub/responses/links.rb +17 -0
  86. data/lib/ghub/responses/permission.rb +14 -0
  87. data/lib/ghub/responses/repository.rb +90 -0
  88. data/lib/ghub/responses/restriction.rb +16 -0
  89. data/lib/ghub/responses/review.rb +15 -0
  90. data/lib/ghub/responses/status_check.rb +20 -0
  91. data/lib/ghub/responses/team.rb +20 -0
  92. data/lib/ghub/responses/user.rb +27 -0
  93. data/lib/ghub/resultable.rb +20 -0
  94. data/lib/ghub.rb +16 -0
  95. data.tar.gz.sig +0 -0
  96. metadata +276 -0
  97. metadata.gz.sig +0 -0
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines an application.
6
+ Application = Dry::Schema.Params do
7
+ required(:created_at).filled :date_time
8
+ required(:description).filled :string
9
+ required(:events).array(:str?)
10
+ required(:external_url).filled :string
11
+ required(:html_url).filled :string
12
+ required(:id).filled :integer
13
+ required(:name).filled :string
14
+ required(:node_id).filled :string
15
+
16
+ required(:owner).hash do
17
+ required(:login).filled :string
18
+ required(:id).filled :integer
19
+ required(:node_id).filled :string
20
+ required(:url).filled :string
21
+ required(:repos_url).filled :string
22
+ required(:events_url).filled :string
23
+ required(:hooks_url).filled :string
24
+ required(:issues_url).filled :string
25
+ required(:members_url).filled :string
26
+ required(:public_members_url).filled :string
27
+ required(:avatar_url).filled :string
28
+ required(:description).filled :string
29
+ end
30
+
31
+ required(:permissions).hash do
32
+ required(:metadata).filled :string
33
+ required(:contents).filled :string
34
+ required(:issues).filled :string
35
+ required(:single_file).filled :string
36
+ end
37
+
38
+ required(:slug).filled :string
39
+ required(:updated_at).filled :date_time
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a boolean link.
6
+ BooleanLink = Dry::Schema.Params do
7
+ required(:enabled).filled :bool
8
+ required(:url).filled :string
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a branch.
6
+ Branch = Dry::Schema.Params do
7
+ required(:label).filled :string
8
+ required(:ref).filled :string
9
+ required(:sha).filled :string
10
+ required(:user).hash(Ghub::Responses::User)
11
+ required(:repo).hash(Ghub::Responses::Repository)
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a dismissal restriction.
6
+ DismissalRestriction = Dry::Schema.Params do
7
+ required(:apps).array(Application)
8
+ required(:teams).array(Team)
9
+ required(:teams_url).filled :string
10
+ required(:url).filled :string
11
+ required(:users).array(User)
12
+ required(:users_url).filled :string
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a label.
6
+ Label = Dry::Schema.Params do
7
+ required(:color).filled :string
8
+ required(:default).filled :bool
9
+ required(:description).maybe :string
10
+ required(:id).filled :integer
11
+ required(:name).filled :string
12
+ required(:node_id).filled :string
13
+ required(:url).filled :string
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a license.
6
+ License = Dry::Schema.Params do
7
+ required(:key).filled :string
8
+ required(:name).filled :string
9
+ required(:node_id).filled :string
10
+ required(:spdx_id).filled :string
11
+ required(:url).maybe :string
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a link.
6
+ Link = Dry::Schema.Params { required(:href).filled :string }
7
+ end
8
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a set of links.
6
+ Links = Dry::Schema.Params do
7
+ required(:self).hash(Link)
8
+ required(:html).hash(Link)
9
+ required(:issue).hash(Link)
10
+ required(:comments).hash(Link)
11
+ required(:review_comments).hash(Link)
12
+ required(:review_comment).hash(Link)
13
+ required(:commits).hash(Link)
14
+ required(:statuses).hash(Link)
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a permission.
6
+ Permission = Dry::Schema.Params do
7
+ required(:admin).filled :bool
8
+ required(:maintain).filled :bool
9
+ required(:pull).filled :bool
10
+ required(:push).filled :bool
11
+ required(:triage).filled :bool
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a repository.
6
+ Repository = Dry::Schema.Params do
7
+ required(:allow_forking).filled :bool
8
+ required(:archive_url).filled :string
9
+ required(:archived).filled :bool
10
+ required(:assignees_url).filled :string
11
+ required(:blobs_url).filled :string
12
+ required(:branches_url).filled :string
13
+ required(:clone_url).filled :string
14
+ required(:collaborators_url).filled :string
15
+ required(:comments_url).filled :string
16
+ required(:commits_url).filled :string
17
+ required(:compare_url).filled :string
18
+ required(:contents_url).filled :string
19
+ required(:contributors_url).filled :string
20
+ required(:created_at).filled :date_time
21
+ required(:default_branch).filled :string
22
+ required(:deployments_url).filled :string
23
+ required(:description).maybe :string
24
+ required(:disabled).filled :bool
25
+ required(:downloads_url).filled :string
26
+ required(:events_url).filled :string
27
+ required(:fork).filled :bool
28
+ required(:forks).filled :integer
29
+ required(:forks_count).filled :integer
30
+ required(:forks_url).filled :string
31
+ required(:full_name).filled :string
32
+ required(:git_commits_url).filled :string
33
+ required(:git_refs_url).filled :string
34
+ required(:git_tags_url).filled :string
35
+ required(:git_url).filled :string
36
+ required(:has_downloads).filled :bool
37
+ required(:has_issues).filled :bool
38
+ required(:has_pages).filled :bool
39
+ required(:has_projects).filled :bool
40
+ required(:has_wiki).filled :bool
41
+ required(:homepage).maybe :string
42
+ required(:hooks_url).filled :string
43
+ required(:html_url).filled :string
44
+ required(:id).filled :integer
45
+ required(:is_template).filled :bool
46
+ required(:issue_comment_url).filled :string
47
+ required(:issue_events_url).filled :string
48
+ required(:issues_url).filled :string
49
+ required(:keys_url).filled :string
50
+ required(:labels_url).filled :string
51
+ required(:language).maybe :string
52
+ required(:languages_url).filled :string
53
+ required(:license).maybe :hash, License
54
+ required(:merges_url).filled :string
55
+ required(:milestones_url).filled :string
56
+ required(:mirror_url).maybe :string
57
+ required(:name).filled :string
58
+ required(:node_id).filled :string
59
+ required(:notifications_url).filled :string
60
+ required(:open_issues).filled :integer
61
+ required(:open_issues_count).filled :integer
62
+ required(:owner).hash User
63
+ required(:private).filled :bool
64
+ required(:pulls_url).filled :string
65
+ required(:pushed_at).filled :date_time
66
+ required(:releases_url).filled :string
67
+ required(:size).filled :integer
68
+ required(:ssh_url).filled :string
69
+ required(:stargazers_count).filled :integer
70
+ required(:stargazers_url).filled :string
71
+ required(:statuses_url).filled :string
72
+ required(:subscribers_url).filled :string
73
+ required(:subscription_url).filled :string
74
+ required(:svn_url).filled :string
75
+ required(:tags_url).filled :string
76
+ required(:teams_url).filled :string
77
+ required(:topics).array(:str?)
78
+ required(:trees_url).filled :string
79
+ required(:updated_at).filled :date_time
80
+ required(:url).filled :string
81
+ required(:visibility).filled :string
82
+ required(:watchers).filled :integer
83
+ required(:watchers_count).filled :integer
84
+ required(:web_commit_signoff_required).filled :bool
85
+
86
+ optional(:organization).hash User
87
+ optional(:permissions).hash Permission
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a restriction.
6
+ Restriction = Dry::Schema.Params do
7
+ required(:apps).array(Application)
8
+ required(:apps_url).filled :string
9
+ required(:teams).array(Team)
10
+ required(:teams_url).filled :string
11
+ required(:url).filled :string
12
+ required(:users).array(User)
13
+ required(:users_url).filled :string
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a review.
6
+ Review = Dry::Schema.Params do
7
+ required(:dismiss_stale_reviews).filled :bool
8
+ required(:require_code_owner_reviews).filled :bool
9
+ required(:required_approving_review_count).filled :integer
10
+ required(:url).filled :string
11
+
12
+ optional(:dismissal_restrictions).hash(DismissalRestriction)
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a status check.
6
+ StatusCheck = Dry::Schema.Params do
7
+ required(:url).filled :string
8
+ required(:strict).filled :bool
9
+ required(:contexts).array(:str?)
10
+ required(:contexts_url).filled :string
11
+
12
+ required(:checks).array(:hash) do
13
+ required(:context).filled :string
14
+ required(:app_id).maybe :integer
15
+ end
16
+
17
+ optional(:enforcement_level).filled :string
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a team.
6
+ Team = Dry::Schema.Params do
7
+ required(:description).filled :string
8
+ required(:id).filled :integer
9
+ required(:members_url).filled :string
10
+ required(:name).filled :string
11
+ required(:node_id).filled :string
12
+ required(:parent).maybe :string
13
+ required(:permission).filled :string
14
+ required(:privacy).filled :string
15
+ required(:repositories_url).filled :string
16
+ required(:slug).filled :string
17
+ required(:url).filled :string
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ module Responses
5
+ # Defines a user.
6
+ User = Dry::Schema.Params do
7
+ required(:avatar_url).filled(:string)
8
+ required(:events_url).filled(:string)
9
+ required(:followers_url).filled(:string)
10
+ required(:following_url).filled(:string)
11
+ required(:gists_url).filled(:string)
12
+ required(:gravatar_id).maybe(:string)
13
+ required(:html_url).filled(:string)
14
+ required(:id).filled(:integer)
15
+ required(:login).filled(:string)
16
+ required(:node_id).filled(:string)
17
+ required(:organizations_url).filled(:string)
18
+ required(:received_events_url).filled(:string)
19
+ required(:repos_url).filled(:string)
20
+ required(:site_admin).filled(:bool)
21
+ required(:starred_url).filled(:string)
22
+ required(:subscriptions_url).filled(:string)
23
+ required(:type).filled(:string)
24
+ required(:url).filled(:string)
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ghub
4
+ # Allows a model to be callable, frozen, and cast itself as a monad to be processed as a result.
5
+ module Resultable
6
+ include Dry::Monads[:result]
7
+
8
+ def self.included object
9
+ super
10
+ object.extend ClassMethods
11
+ end
12
+
13
+ # Allows an object to be callable via a class method.
14
+ module ClassMethods
15
+ def call(...) = new(...)
16
+ end
17
+
18
+ def to_monad = Success self
19
+ end
20
+ end
data/lib/ghub.rb ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "dry/monads"
4
+ require "dry/schema"
5
+ require "zeitwerk"
6
+
7
+ Dry::Schema.load_extensions :monads
8
+
9
+ Zeitwerk::Loader.for_gem.then do |loader|
10
+ loader.inflector.inflect "api" => "API"
11
+ loader.setup
12
+ end
13
+
14
+ # Main namespace.
15
+ module Ghub
16
+ end
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,276 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ghub
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brooke Kuhlmann
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
15
+ NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
+ xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
+ brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
+ 9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
20
+ D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
+ 3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAJbbNyWzFjqUNVPPCUCo
24
+ IMrhDa9xf1xkORXNYYbmXgoxRy/KyNbUr+jgEEoWJAm9GXlcqxxWAUI6pK/i4/Qi
25
+ X6rPFEFmeObDOHNvuqy8Hd6AYsu+kP94U/KJhe9wnWGMmGoNKJNU3EkW3jM/osSl
26
+ +JRxiH5t4WtnDiVyoYl5nYC02rYdjJkG6VMxDymXTqn7u6HhYgZkGujq1UPar8x2
27
+ hNIWJblDKKSu7hA2d6+kUthuYo13o1sg1Da/AEDg0hoZSUvhqDEF5Hy232qb3pDt
28
+ CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
+ RFE=
30
+ -----END CERTIFICATE-----
31
+ date: 2022-10-20 00:00:00.000000000 Z
32
+ dependencies:
33
+ - !ruby/object:Gem::Dependency
34
+ name: dry-container
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.11'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.11'
47
+ - !ruby/object:Gem::Dependency
48
+ name: dry-monads
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.5'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.5'
61
+ - !ruby/object:Gem::Dependency
62
+ name: dry-schema
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.11'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '1.11'
75
+ - !ruby/object:Gem::Dependency
76
+ name: http
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '5.1'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '5.1'
89
+ - !ruby/object:Gem::Dependency
90
+ name: infusible
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.1'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.1'
103
+ - !ruby/object:Gem::Dependency
104
+ name: refinements
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '9.6'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '9.6'
117
+ - !ruby/object:Gem::Dependency
118
+ name: transactable
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '0.1'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '0.1'
131
+ - !ruby/object:Gem::Dependency
132
+ name: zeitwerk
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '2.6'
138
+ type: :runtime
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '2.6'
145
+ description:
146
+ email:
147
+ - brooke@alchemists.io
148
+ executables: []
149
+ extensions: []
150
+ extra_rdoc_files:
151
+ - README.adoc
152
+ - LICENSE.adoc
153
+ files:
154
+ - LICENSE.adoc
155
+ - README.adoc
156
+ - ghub.gemspec
157
+ - lib/ghub.rb
158
+ - lib/ghub/api/client.rb
159
+ - lib/ghub/api/page.rb
160
+ - lib/ghub/client.rb
161
+ - lib/ghub/configuration/content.rb
162
+ - lib/ghub/configuration/loader.rb
163
+ - lib/ghub/container.rb
164
+ - lib/ghub/endpoints/branches/protection/actions/show.rb
165
+ - lib/ghub/endpoints/branches/protection/actions/update.rb
166
+ - lib/ghub/endpoints/branches/protection/container.rb
167
+ - lib/ghub/endpoints/branches/protection/import.rb
168
+ - lib/ghub/endpoints/branches/protection/models/show.rb
169
+ - lib/ghub/endpoints/branches/protection/requests/update.rb
170
+ - lib/ghub/endpoints/branches/protection/responses/show.rb
171
+ - lib/ghub/endpoints/branches/protection/root.rb
172
+ - lib/ghub/endpoints/branches/signature/container.rb
173
+ - lib/ghub/endpoints/branches/signature/import.rb
174
+ - lib/ghub/endpoints/branches/signature/root.rb
175
+ - lib/ghub/endpoints/container.rb
176
+ - lib/ghub/endpoints/import.rb
177
+ - lib/ghub/endpoints/organizations/members/actions/index.rb
178
+ - lib/ghub/endpoints/organizations/members/container.rb
179
+ - lib/ghub/endpoints/organizations/members/import.rb
180
+ - lib/ghub/endpoints/organizations/members/responses/index.rb
181
+ - lib/ghub/endpoints/organizations/members/root.rb
182
+ - lib/ghub/endpoints/pulls/actions/index.rb
183
+ - lib/ghub/endpoints/pulls/actions/show.rb
184
+ - lib/ghub/endpoints/pulls/container.rb
185
+ - lib/ghub/endpoints/pulls/import.rb
186
+ - lib/ghub/endpoints/pulls/models/show.rb
187
+ - lib/ghub/endpoints/pulls/responses/index.rb
188
+ - lib/ghub/endpoints/pulls/responses/show.rb
189
+ - lib/ghub/endpoints/pulls/root.rb
190
+ - lib/ghub/endpoints/repositories/actions/create.rb
191
+ - lib/ghub/endpoints/repositories/actions/index.rb
192
+ - lib/ghub/endpoints/repositories/actions/patch.rb
193
+ - lib/ghub/endpoints/repositories/actions/show.rb
194
+ - lib/ghub/endpoints/repositories/container.rb
195
+ - lib/ghub/endpoints/repositories/import.rb
196
+ - lib/ghub/endpoints/repositories/path.rb
197
+ - lib/ghub/endpoints/repositories/requests/create.rb
198
+ - lib/ghub/endpoints/repositories/requests/patch.rb
199
+ - lib/ghub/endpoints/repositories/responses/index.rb
200
+ - lib/ghub/endpoints/repositories/responses/show.rb
201
+ - lib/ghub/endpoints/repositories/root.rb
202
+ - lib/ghub/endpoints/users/actions/index.rb
203
+ - lib/ghub/endpoints/users/actions/show.rb
204
+ - lib/ghub/endpoints/users/container.rb
205
+ - lib/ghub/endpoints/users/import.rb
206
+ - lib/ghub/endpoints/users/models/index.rb
207
+ - lib/ghub/endpoints/users/models/show.rb
208
+ - lib/ghub/endpoints/users/responses/index.rb
209
+ - lib/ghub/endpoints/users/responses/show.rb
210
+ - lib/ghub/endpoints/users/root.rb
211
+ - lib/ghub/import.rb
212
+ - lib/ghub/models/application.rb
213
+ - lib/ghub/models/boolean_link.rb
214
+ - lib/ghub/models/branch.rb
215
+ - lib/ghub/models/check.rb
216
+ - lib/ghub/models/dismissal_restriction.rb
217
+ - lib/ghub/models/label.rb
218
+ - lib/ghub/models/license.rb
219
+ - lib/ghub/models/link.rb
220
+ - lib/ghub/models/links.rb
221
+ - lib/ghub/models/owner.rb
222
+ - lib/ghub/models/permissions/branch.rb
223
+ - lib/ghub/models/permissions/repository.rb
224
+ - lib/ghub/models/repository.rb
225
+ - lib/ghub/models/restriction.rb
226
+ - lib/ghub/models/review.rb
227
+ - lib/ghub/models/status_check.rb
228
+ - lib/ghub/models/team.rb
229
+ - lib/ghub/models/user.rb
230
+ - lib/ghub/responses/application.rb
231
+ - lib/ghub/responses/boolean_link.rb
232
+ - lib/ghub/responses/branch.rb
233
+ - lib/ghub/responses/dismissal_restriction.rb
234
+ - lib/ghub/responses/label.rb
235
+ - lib/ghub/responses/license.rb
236
+ - lib/ghub/responses/link.rb
237
+ - lib/ghub/responses/links.rb
238
+ - lib/ghub/responses/permission.rb
239
+ - lib/ghub/responses/repository.rb
240
+ - lib/ghub/responses/restriction.rb
241
+ - lib/ghub/responses/review.rb
242
+ - lib/ghub/responses/status_check.rb
243
+ - lib/ghub/responses/team.rb
244
+ - lib/ghub/responses/user.rb
245
+ - lib/ghub/resultable.rb
246
+ homepage: https://www.alchemists.io/projects/ghub
247
+ licenses:
248
+ - Hippocratic-2.1
249
+ metadata:
250
+ bug_tracker_uri: https://github.com/bkuhlmann/ghub/issues
251
+ changelog_uri: https://www.alchemists.io/projects/ghub/versions
252
+ documentation_uri: https://www.alchemists.io/projects/ghub
253
+ funding_uri: https://github.com/sponsors/bkuhlmann
254
+ label: Ghub
255
+ rubygems_mfa_required: 'true'
256
+ source_code_uri: https://github.com/bkuhlmann/ghub
257
+ post_install_message:
258
+ rdoc_options: []
259
+ require_paths:
260
+ - lib
261
+ required_ruby_version: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: '3.1'
266
+ required_rubygems_version: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ requirements: []
272
+ rubygems_version: 3.3.24
273
+ signing_key:
274
+ specification_version: 4
275
+ summary: A monadic GitHub API client.
276
+ test_files: []
metadata.gz.sig ADDED
Binary file