brand.dev 0.3.0 → 0.3.2
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
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/brand_dev/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/brand_dev/internal/type/base_model.rb +1 -8
- data/lib/brand_dev/internal/util.rb +1 -1
- data/lib/brand_dev/version.rb +1 -1
- data/rbi/brand_dev/errors.rbi +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5c4a155f680be16b328c5cf93610971df16d2c75490b85e5206ffe24db110f3
|
4
|
+
data.tar.gz: 4f15de00c62bb1143aa819b41ea1dd3791bff471f334511969ebeaa152d4558e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f30b0d7a7f625dc784b5da3721fdc120c87618e2bd25fbdd8a70023ee057211486062fbb5eec94e1c31f9d0970a9d0628da61dec211693c270eea4d72abb4b8
|
7
|
+
data.tar.gz: d71d6b95e19d262447a693eaf82d9ab5438b6222acb2d431264b3d788fb422c590878e140d35a59e3dc7e79a8c347cacc8aab8438766b661aea8683d8b5ec468
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.3.2 (2025-08-25)
|
4
|
+
|
5
|
+
Full Changelog: [v0.3.1...v0.3.2](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.3.1...v0.3.2)
|
6
|
+
|
7
|
+
### Chores
|
8
|
+
|
9
|
+
* add json schema comment for rubocop.yml ([5262bda](https://github.com/brand-dot-dev/ruby-sdk/commit/5262bdacb001ad4ad901f7bd79c782a04783afdc))
|
10
|
+
|
11
|
+
## 0.3.1 (2025-08-20)
|
12
|
+
|
13
|
+
Full Changelog: [v0.3.0...v0.3.1](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.3.0...v0.3.1)
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
* bump sorbet version and fix new type errors from the breaking change ([11b69b1](https://github.com/brand-dot-dev/ruby-sdk/commit/11b69b1415dbd9d3abd7ca82420a9c8f25e178ac))
|
18
|
+
|
3
19
|
## 0.3.0 (2025-08-19)
|
4
20
|
|
5
21
|
Full Changelog: [v0.2.1...v0.3.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.2.1...v0.3.0)
|
data/README.md
CHANGED
@@ -193,15 +193,7 @@ module BrandDev
|
|
193
193
|
end
|
194
194
|
|
195
195
|
define_sorbet_constant!(:Request) do
|
196
|
-
T.type_alias
|
197
|
-
{
|
198
|
-
method: Symbol,
|
199
|
-
url: URI::Generic,
|
200
|
-
headers: T::Hash[String, String],
|
201
|
-
body: T.anything,
|
202
|
-
deadline: Float
|
203
|
-
}
|
204
|
-
end
|
196
|
+
T.type_alias { {method: Symbol, url: URI::Generic, headers: T::Hash[String, String], body: T.anything, deadline: Float} }
|
205
197
|
end
|
206
198
|
end
|
207
199
|
end
|
@@ -64,14 +64,7 @@ module BrandDev
|
|
64
64
|
setter = :"#{name_sym}="
|
65
65
|
api_name = info.fetch(:api_name, name_sym)
|
66
66
|
nilable = info.fetch(:nil?, false)
|
67
|
-
const =
|
68
|
-
info.fetch(
|
69
|
-
:const,
|
70
|
-
BrandDev::Internal::OMIT
|
71
|
-
)
|
72
|
-
else
|
73
|
-
BrandDev::Internal::OMIT
|
74
|
-
end
|
67
|
+
const = required && !nilable ? info.fetch(:const, BrandDev::Internal::OMIT) : BrandDev::Internal::OMIT
|
75
68
|
|
76
69
|
[name_sym, setter].each { undef_method(_1) } if known_fields.key?(name_sym)
|
77
70
|
|
@@ -244,7 +244,7 @@ module BrandDev
|
|
244
244
|
#
|
245
245
|
# @return [String]
|
246
246
|
def uri_origin(uri)
|
247
|
-
"#{uri.scheme}://#{uri.host}#{uri.port
|
247
|
+
"#{uri.scheme}://#{uri.host}#{":#{uri.port}" unless uri.port == uri.default_port}"
|
248
248
|
end
|
249
249
|
|
250
250
|
# @api private
|
data/lib/brand_dev/version.rb
CHANGED
data/rbi/brand_dev/errors.rbi
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brand.dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brand Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|