shale-builder 0.8.0 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bc4050027c07ff6a3bf24b27df89131835ebe1cf9beb9d53bc1277809616a27
4
- data.tar.gz: 109df45cbb2687a06e08fcc9baa153c2a813410cc009a730c1453672031e0387
3
+ metadata.gz: d988ec578eade2878ce88bdbfc837a556244c0af4524be6f987619955fcb0adb
4
+ data.tar.gz: ab4dc705445e863fbef158967abcc98b102c5c19372e5795ec1e278769dcd048
5
5
  SHA512:
6
- metadata.gz: 0b363fdf655cb8aec7a996f9dee375e8116aaed816a28e112acdaba2413cdbc902f32915f8670cffc92caec08042b8a0bd90c4e80c996d58ee7b9a0bcff07f95
7
- data.tar.gz: 93ffb3fa8e767cab76bb9ad84492fd4fb581b1345fe2614964f4f63a5ba4b107c5928892c16edb8794288d49bcd9b8097321be904da7628d09ec9934c2709c00
6
+ metadata.gz: 64b0a0f0ad4935758302b2998d9b6694eb499ea8f1f8a4ba0530ebb2e8f3c00b24945e8c2bc78ef1ca02228f8d53ea7629f4cd1e925b5c3d53ca55c48779941b
7
+ data.tar.gz: 3edee07298c79fa6bc48c7364581b41b212a75f365c29910729294c41dafa0c03c5233b58be4f9ce51e2c7c2ffa4a9b8f7101f7e910fdc7e1369a307de3cbb49
data/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.2] - 2025-10-24
9
+
10
+ [Diff](https://github.com/Verseth/ruby-shale-builder/compare/v0.8.1...v0.8.2)
11
+
12
+ ### Changes
13
+ - Fix infinite recursion in `Shale::Builder::NestedValidations#validatable_attribute_names`
14
+
15
+ ## [0.8.1] - 2025-10-24
16
+
17
+ [Diff](https://github.com/Verseth/ruby-shale-builder/compare/v0.8.0...v0.8.1)
18
+
19
+ ### Changes
20
+ - Change `Shale::Type::Value` generated type from `Object` to `T.untyped`
21
+
8
22
  ## [0.8.0] - 2025-10-24
9
23
 
10
24
  [Diff](https://github.com/Verseth/ruby-shale-builder/compare/v0.7.1...v0.8.0)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shale-builder (0.8.0)
4
+ shale-builder (0.8.2)
5
5
  booleans (>= 0.1)
6
6
  shale (< 2.0)
7
7
  sorbet-runtime (> 0.5)
@@ -40,7 +40,7 @@ module Shale
40
40
 
41
41
  #: -> Array[Symbol]
42
42
  def validatable_attribute_names
43
- validatable_attribute_names.keys
43
+ validatable_attributes.keys
44
44
  end
45
45
  end
46
46
  mixes_in_class_methods ClassMethods
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Shale
4
4
  module Builder
5
- VERSION = '0.8.0'
5
+ VERSION = '0.8.2'
6
6
  end
7
7
  end
@@ -156,7 +156,7 @@ module Tapioca
156
156
  # Maps Shale return types to Sorbet types
157
157
  SHALE_RETURN_TYPES_MAP = T.let(
158
158
  {
159
- ::Shale::Type::Value => Object,
159
+ ::Shale::Type::Value => T.untyped,
160
160
  ::Shale::Type::String => String,
161
161
  ::Shale::Type::Float => Float,
162
162
  ::Shale::Type::Integer => Integer,
@@ -172,7 +172,7 @@ module Tapioca
172
172
  # Maps Shale setter types to Sorbet types
173
173
  SHALE_SETTER_TYPES_MAP = T.let(
174
174
  {
175
- ::Shale::Type::Value => Object,
175
+ ::Shale::Type::Value => T.untyped,
176
176
  ::Shale::Type::String => String,
177
177
  ::Shale::Type::Float => Float,
178
178
  ::Shale::Type::Integer => Integer,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shale-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Drewniak