shale-builder 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/shale/builder/version.rb +1 -1
- data/lib/tapioca/dsl/compilers/shale.rb +5 -5
- 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: e1b61d4f6f883e6c38a5e30350fd069a965af0768a3025b8dcaee86c15e12b33
|
4
|
+
data.tar.gz: 6f7cc4a30ea88549050d3054451b37caae4c25bbd0fed6593b40d481bab6bd7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a2dd0016276064808485498d44784e36f8f408332d77aa1f8a2b33c73e0388d27eb89ddfa0a7199faa406d7f62943630f72dcbc562d9c09989aa9e6b342ae12
|
7
|
+
data.tar.gz: e17f0dd84c2d654fce94acbd803e9984992abe72dfe6748865762faadbbd9d4ec45f333c4efc50338084b4980b640cfa005e0064b86528ee7a06bf30619f7025
|
data/Gemfile.lock
CHANGED
@@ -59,18 +59,18 @@ module Tapioca
|
|
59
59
|
|
60
60
|
setter_type, nilable = shale_type_to_sorbet_setter_type(attribute)
|
61
61
|
if attribute.collection?
|
62
|
-
|
62
|
+
setter_type_str = "T.nilable(T::Array[#{setter_type}])"
|
63
63
|
elsif nilable
|
64
|
-
|
64
|
+
setter_type_str = "T.nilable(#{setter_type})"
|
65
65
|
else
|
66
|
-
|
66
|
+
setter_type_str = setter_type.to_s
|
67
67
|
end
|
68
68
|
|
69
69
|
# setter
|
70
70
|
mod.create_method(
|
71
71
|
"#{attribute.name}=",
|
72
|
-
parameters: [create_param('value', type:
|
73
|
-
return_type:
|
72
|
+
parameters: [create_param('value', type: setter_type_str)],
|
73
|
+
return_type: setter_type_str,
|
74
74
|
comments: comments,
|
75
75
|
)
|
76
76
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shale-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Drewniak
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: booleans
|