ghub 0.19.0 → 0.20.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: 9635f60ee46d1300c479d5684a6be7f95cf8d139c1cb91143940fe0445109af3
4
- data.tar.gz: a3f1273d901d8e0c3e6da7c6fa0a0c17861561899d624e15bae3fde0cc183bf1
3
+ metadata.gz: a965996658ad260581e07745cd51e4dd839a54c99c16da2a93a77f5c7d8e7fa1
4
+ data.tar.gz: fed7fe55165dd0cbbb17152e93f4346302a0cc12ab4b87b5ab47f6a361f01fd5
5
5
  SHA512:
6
- metadata.gz: 80171f8671e6334ba0b0eeb92992bdc1c0840ddd76d4561574a96437a21ad29b81bc865d61f2c24122d169def09d37a5dd25085fca1ce7636a9953cfc624c7fd
7
- data.tar.gz: 77370f73c1258ad8070a1dcf1f378489a02a2cf8cd5119c90f71c009c0f52c31d890c26f953336db6019e224f55da7723f4d82bf190ce34543daaee8a413d637
6
+ metadata.gz: b3c1beb71275d2f99b013cda6317c86b7acc80d83292980c9c9a6033e73659c3f2d4c73a6acbf975be0d805a9a18cb2acec3f960aecaf5f8e845a2149c74326a
7
+ data.tar.gz: 926ef359eb361252a07c7766ac54cdff855b01cd09e1aaf490f404b8e1e16d6a1642646bdcbeaa389584ae8e17f3083b6f348a65ddc2b84d1c80c5d73a4e6504
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.19.0"
5
+ spec.version = "0.20.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/ghub"
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.add_dependency "http", "~> 5.1"
30
30
  spec.add_dependency "infusible", "~> 3.11"
31
31
  spec.add_dependency "pipeable", "~> 0.5"
32
- spec.add_dependency "refinements", "~> 12.9"
32
+ spec.add_dependency "refinements", "~> 12.10"
33
33
  spec.add_dependency "zeitwerk", "~> 2.7"
34
34
 
35
35
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
@@ -90,13 +90,12 @@ module Ghub
90
90
  ) do
91
91
  def self.for(**attributes)
92
92
  new(
93
- **attributes.transform_keys!(size: :weight).merge(
94
- license: (License[**Hash(attributes[:license])] if attributes.key? :license),
95
- owner: User[**attributes[:owner]],
96
- organization: (User[**attributes[:organization]] if attributes.key? :organization),
97
- permissions: (
98
- Permissions::Repository[**attributes[:permissions]] if attributes.key? :permissions
99
- )
93
+ **attributes.transform_keys!(size: :weight),
94
+ license: (License[**Hash(attributes[:license])] if attributes.key? :license),
95
+ owner: User[**attributes[:owner]],
96
+ organization: (User[**attributes[:organization]] if attributes.key? :organization),
97
+ permissions: (
98
+ Permissions::Repository[**attributes[:permissions]] if attributes.key? :permissions
100
99
  )
101
100
  )
102
101
  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.19.0
4
+ version: 0.20.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: 2024-10-18 00:00:00.000000000 Z
38
+ date: 2024-11-01 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: containable
@@ -127,14 +127,14 @@ dependencies:
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '12.9'
130
+ version: '12.10'
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: '12.9'
137
+ version: '12.10'
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: zeitwerk
140
140
  requirement: !ruby/object:Gem::Requirement
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  - !ruby/object:Gem::Version
285
285
  version: '0'
286
286
  requirements: []
287
- rubygems_version: 3.5.21
287
+ rubygems_version: 3.5.22
288
288
  signing_key:
289
289
  specification_version: 4
290
290
  summary: A monadic GitHub API client.
metadata.gz.sig CHANGED
Binary file