steep 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Steepfile +4 -0
- data/lib/steep/source.rb +8 -0
- data/lib/steep/version.rb +1 -1
- data/steep.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4ab8afe918f1a916f4697310e5119e832e9245ad45872c34e0c7d39a80725fc
|
4
|
+
data.tar.gz: 613dffe12496d24cfef1db9b01bf4aac622e7d9bb438554c8227904a2532ca55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26c87982d9a05cc18558d2f2a7ca55d9a81611316d2cbe48c9e95bcc8089c8a7cd769f62b453c8fdc59ef0429b83ea37ab3d7b0a048d4b465a6856376b611242
|
7
|
+
data.tar.gz: cdc096149b19d7bd20a8a6766e25d204b5b31be69614f84119f451c6654f5a1289a6948309eab1df61bccb5287ce5e1b35c5fbb2df5e922854402898d32575fc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.9.2 (2024-12-16)
|
4
|
+
|
5
|
+
### Type checker core
|
6
|
+
|
7
|
+
* Attach type assertion to keyword args ([#1410](https://github.com/soutaro/steep/pull/1410))
|
8
|
+
|
9
|
+
### Miscellaneous
|
10
|
+
|
11
|
+
* deps: Add uri gem to dependencies list ([#1402](https://github.com/soutaro/steep/pull/1402))
|
12
|
+
|
3
13
|
## 1.9.1 (2024-12-09)
|
4
14
|
|
5
15
|
### Type checker core
|
data/Steepfile
CHANGED
@@ -23,6 +23,8 @@ target :app do
|
|
23
23
|
signature "sig"
|
24
24
|
ignore_signature "sig/test"
|
25
25
|
|
26
|
+
implicitly_returns_nil!
|
27
|
+
|
26
28
|
configure_code_diagnostics(D::Ruby.strict) do |hash|
|
27
29
|
end
|
28
30
|
|
@@ -37,6 +39,7 @@ target :test do
|
|
37
39
|
collection_config "rbs_collection.steep.yaml"
|
38
40
|
|
39
41
|
unreferenced!
|
42
|
+
implicitly_returns_nil!
|
40
43
|
|
41
44
|
check "test"
|
42
45
|
signature "sig/test"
|
@@ -52,6 +55,7 @@ end
|
|
52
55
|
|
53
56
|
target :bin do
|
54
57
|
unreferenced!
|
58
|
+
implicitly_returns_nil!
|
55
59
|
|
56
60
|
collection_config "rbs_collection.steep.yaml"
|
57
61
|
|
data/lib/steep/source.rb
CHANGED
@@ -496,6 +496,14 @@ module Steep
|
|
496
496
|
# Skip
|
497
497
|
when :def, :defs
|
498
498
|
# Skip
|
499
|
+
when :kwargs
|
500
|
+
# skip
|
501
|
+
when :pair
|
502
|
+
key, value = node.children
|
503
|
+
key = insert_type_node(key, comments.except(last_line))
|
504
|
+
value = insert_type_node(value, comments)
|
505
|
+
node = node.updated(nil, [key, value])
|
506
|
+
return adjust_location(node)
|
499
507
|
when :masgn
|
500
508
|
lhs, rhs = node.children
|
501
509
|
node = node.updated(nil, [lhs, insert_type_node(rhs, comments)])
|
data/lib/steep/version.rb
CHANGED
data/steep.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: steep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|
@@ -224,6 +224,20 @@ dependencies:
|
|
224
224
|
- - ">="
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: 3.0.9
|
227
|
+
- !ruby/object:Gem::Dependency
|
228
|
+
name: uri
|
229
|
+
requirement: !ruby/object:Gem::Requirement
|
230
|
+
requirements:
|
231
|
+
- - ">="
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: 0.12.0
|
234
|
+
type: :runtime
|
235
|
+
prerelease: false
|
236
|
+
version_requirements: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: 0.12.0
|
227
241
|
description: Gradual Typing for Ruby
|
228
242
|
email:
|
229
243
|
- matsumoto@soutaro.com
|