rbs 2.7.0.pre.2 → 2.7.0.pre.3
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 +7 -0
- data/Gemfile.lock +2 -2
- data/Steepfile +3 -1
- data/{stdlib/rubygems/0 → core/rubygems}/basic_specification.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/config_file.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/dependency_installer.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/errors.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/installer.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/path_support.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/platform.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/request_set.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/requirement.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/rubygems.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/source_list.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/specification.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/stream_ui.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/uninstaller.rbs +0 -0
- data/{stdlib/rubygems/0 → core/rubygems}/version.rbs +0 -0
- data/lib/rbs/environment_loader.rb +5 -0
- data/lib/rbs/version.rb +1 -1
- data/stdlib/optparse/0/optparse.rbs +6 -0
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f91ad5c51173e15b33d5015403b323ebb80a75cbd7d4dc091d4724e9cd2f322f
|
4
|
+
data.tar.gz: e5371a5cbe5fbd676a6336661455206f2339c8fa1a36f29ccad7cd719e1b40e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdbe2991c53d87010bd8bbb5352fd34a8c6797418288a12a40a8b1a3813c353b7012b689b7aeeca22cc43fa9d7145075e91e8eef1771fcc406ac93c9b2583549
|
7
|
+
data.tar.gz: 442d25840bcb80979c67e8a3b4f634bd9883b080923c0a25a33bde41d79785572894a5cf31d0af365e34c8b164dc3422e9b5d41d464a42792c911de5e3395cfd
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
## 2.7.0.pre.3 (2022-10-06)
|
6
|
+
|
7
|
+
### Signature updates
|
8
|
+
|
9
|
+
* rubygems ([#1107](https://github.com/ruby/rbs/pull/1107))
|
10
|
+
* `OptionParser` ([#1114](https://github.com/ruby/rbs/pull/1114))
|
11
|
+
|
5
12
|
## 2.7.0.pre.2 (2022-09-20)
|
6
13
|
|
7
14
|
### Signature updates
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rbs (2.7.0.pre.
|
4
|
+
rbs (2.7.0.pre.3)
|
5
5
|
|
6
6
|
PATH
|
7
7
|
remote: test/assets/test-gem
|
@@ -84,7 +84,7 @@ GEM
|
|
84
84
|
stringio (3.0.2)
|
85
85
|
strong_json (2.1.2)
|
86
86
|
tempfile (0.1.2)
|
87
|
-
test-unit (3.5.
|
87
|
+
test-unit (3.5.5)
|
88
88
|
power_assert
|
89
89
|
unicode-display_width (2.2.0)
|
90
90
|
|
data/Steepfile
CHANGED
@@ -11,10 +11,12 @@ target :lib do
|
|
11
11
|
|
12
12
|
library "set", "pathname", "json", "logger", "monitor", "tsort", "uri", 'yaml', 'dbm', 'pstore', 'singleton', 'shellwords', 'fileutils', 'find', 'digest'
|
13
13
|
signature "stdlib/strscan/0/"
|
14
|
-
signature "stdlib/rubygems/0/"
|
15
14
|
signature "stdlib/optparse/0/"
|
16
15
|
signature "stdlib/rdoc/0/"
|
17
16
|
|
17
|
+
# Please remove the following line after releasing #1107
|
18
|
+
signature "core/rubygems/"
|
19
|
+
|
18
20
|
configure_code_diagnostics do |config|
|
19
21
|
config[D::Ruby::MethodDefinitionMissing] = :hint
|
20
22
|
config[D::Ruby::ElseOnExhaustiveCase] = :hint
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -47,6 +47,11 @@ module RBS
|
|
47
47
|
when path
|
48
48
|
dirs << path
|
49
49
|
when library
|
50
|
+
if library == 'rubygems'
|
51
|
+
RBS.logger.warn '`rubygems` has been moved to core library, so it is always loaded. Remove explicit loading `rubygems`'
|
52
|
+
return
|
53
|
+
end
|
54
|
+
|
50
55
|
if libs.add?(Library.new(name: library, version: version)) && resolve_dependencies
|
51
56
|
resolve_dependencies(library: library, version: version)
|
52
57
|
end
|
data/lib/rbs/version.rb
CHANGED
@@ -677,8 +677,10 @@ class OptionParser
|
|
677
677
|
#
|
678
678
|
def on: (*String params) ?{ (*untyped) -> untyped } -> self
|
679
679
|
| (String params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc) ?{ (*untyped) -> untyped } -> self
|
680
|
+
| (String short_params, String long_params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc) ?{ (*untyped) -> untyped } -> self
|
680
681
|
| (*String params, Proc | Method handler) -> self
|
681
682
|
| (String params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc, Proc | Method handler) -> self
|
683
|
+
| (String short_params, String long_params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc, Proc | Method handler) -> self
|
682
684
|
|
683
685
|
# <!--
|
684
686
|
# rdoc-file=lib/optparse.rb
|
@@ -696,8 +698,10 @@ class OptionParser
|
|
696
698
|
#
|
697
699
|
def on_head: (*String params) ?{ (*untyped) -> untyped } -> self
|
698
700
|
| (String params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc) ?{ (*untyped) -> untyped } -> self
|
701
|
+
| (String short_params, String long_params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc) ?{ (*untyped) -> untyped } -> self
|
699
702
|
| (*String params, Proc | Method handler) -> self
|
700
703
|
| (String params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc, Proc | Method handler) -> self
|
704
|
+
| (String short_params, String long_params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc, Proc | Method handler) -> self
|
701
705
|
|
702
706
|
# <!--
|
703
707
|
# rdoc-file=lib/optparse.rb
|
@@ -715,8 +719,10 @@ class OptionParser
|
|
715
719
|
#
|
716
720
|
def on_tail: (*String params) ?{ (*untyped) -> untyped } -> self
|
717
721
|
| (String params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc) ?{ (*untyped) -> untyped } -> self
|
722
|
+
| (String short_params, String long_params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc) ?{ (*untyped) -> untyped } -> self
|
718
723
|
| (*String params, Proc | Method handler) -> self
|
719
724
|
| (String params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc, Proc | Method handler) -> self
|
725
|
+
| (String short_params, String long_params, Class | Array[String] | Hash[Symbol, untyped] | Regexp obj, ?String desc, Proc | Method handler) -> self
|
720
726
|
|
721
727
|
# <!--
|
722
728
|
# rdoc-file=lib/optparse.rb
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.0.pre.
|
4
|
+
version: 2.7.0.pre.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: RBS is the language for type signatures for Ruby and standard library
|
14
14
|
definitions.
|
@@ -86,6 +86,21 @@ files:
|
|
86
86
|
- core/refinement.rbs
|
87
87
|
- core/regexp.rbs
|
88
88
|
- core/ruby_vm.rbs
|
89
|
+
- core/rubygems/basic_specification.rbs
|
90
|
+
- core/rubygems/config_file.rbs
|
91
|
+
- core/rubygems/dependency_installer.rbs
|
92
|
+
- core/rubygems/errors.rbs
|
93
|
+
- core/rubygems/installer.rbs
|
94
|
+
- core/rubygems/path_support.rbs
|
95
|
+
- core/rubygems/platform.rbs
|
96
|
+
- core/rubygems/request_set.rbs
|
97
|
+
- core/rubygems/requirement.rbs
|
98
|
+
- core/rubygems/rubygems.rbs
|
99
|
+
- core/rubygems/source_list.rbs
|
100
|
+
- core/rubygems/specification.rbs
|
101
|
+
- core/rubygems/stream_ui.rbs
|
102
|
+
- core/rubygems/uninstaller.rbs
|
103
|
+
- core/rubygems/version.rbs
|
89
104
|
- core/signal.rbs
|
90
105
|
- core/string.rbs
|
91
106
|
- core/string_io.rbs
|
@@ -359,21 +374,6 @@ files:
|
|
359
374
|
- stdlib/rdoc/0/rdoc.rbs
|
360
375
|
- stdlib/resolv/0/manifest.yaml
|
361
376
|
- stdlib/resolv/0/resolv.rbs
|
362
|
-
- stdlib/rubygems/0/basic_specification.rbs
|
363
|
-
- stdlib/rubygems/0/config_file.rbs
|
364
|
-
- stdlib/rubygems/0/dependency_installer.rbs
|
365
|
-
- stdlib/rubygems/0/errors.rbs
|
366
|
-
- stdlib/rubygems/0/installer.rbs
|
367
|
-
- stdlib/rubygems/0/path_support.rbs
|
368
|
-
- stdlib/rubygems/0/platform.rbs
|
369
|
-
- stdlib/rubygems/0/request_set.rbs
|
370
|
-
- stdlib/rubygems/0/requirement.rbs
|
371
|
-
- stdlib/rubygems/0/rubygems.rbs
|
372
|
-
- stdlib/rubygems/0/source_list.rbs
|
373
|
-
- stdlib/rubygems/0/specification.rbs
|
374
|
-
- stdlib/rubygems/0/stream_ui.rbs
|
375
|
-
- stdlib/rubygems/0/uninstaller.rbs
|
376
|
-
- stdlib/rubygems/0/version.rbs
|
377
377
|
- stdlib/securerandom/0/securerandom.rbs
|
378
378
|
- stdlib/set/0/set.rbs
|
379
379
|
- stdlib/shellwords/0/shellwords.rbs
|