rbi 0.1.12 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/lib/rbi/formatter.rb +0 -12
- data/lib/rbi/index.rb +1 -1
- data/lib/rbi/model.rb +4 -2
- data/lib/rbi/parser.rb +3 -3
- data/lib/rbi/printer.rb +512 -610
- data/lib/rbi/rewriters/attr_to_methods.rb +169 -0
- data/lib/rbi/rewriters/group_nodes.rb +46 -47
- data/lib/rbi/rewriters/merge_trees.rb +9 -31
- data/lib/rbi/version.rb +1 -1
- data/lib/rbi/visitor.rb +228 -2
- data/lib/rbi.rb +8 -0
- metadata +11 -10
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandre Terrasa
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 1.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 1.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: sorbet-runtime
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 0.5.9204
|
47
|
-
description:
|
47
|
+
description:
|
48
48
|
email:
|
49
49
|
- ruby@shopify.com
|
50
50
|
executables: []
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- lib/rbi/printer.rb
|
64
64
|
- lib/rbi/rewriters/add_sig_templates.rb
|
65
65
|
- lib/rbi/rewriters/annotate.rb
|
66
|
+
- lib/rbi/rewriters/attr_to_methods.rb
|
66
67
|
- lib/rbi/rewriters/deannotate.rb
|
67
68
|
- lib/rbi/rewriters/filter_versions.rb
|
68
69
|
- lib/rbi/rewriters/group_nodes.rb
|
@@ -78,7 +79,7 @@ licenses:
|
|
78
79
|
- MIT
|
79
80
|
metadata:
|
80
81
|
allowed_push_host: https://rubygems.org
|
81
|
-
post_install_message:
|
82
|
+
post_install_message:
|
82
83
|
rdoc_options: []
|
83
84
|
require_paths:
|
84
85
|
- lib
|
@@ -86,15 +87,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
87
|
requirements:
|
87
88
|
- - ">="
|
88
89
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
90
|
+
version: '3.1'
|
90
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
92
|
requirements:
|
92
93
|
- - ">="
|
93
94
|
- !ruby/object:Gem::Version
|
94
95
|
version: '0'
|
95
96
|
requirements: []
|
96
|
-
rubygems_version: 3.5.
|
97
|
-
signing_key:
|
97
|
+
rubygems_version: 3.5.15
|
98
|
+
signing_key:
|
98
99
|
specification_version: 4
|
99
100
|
summary: RBI generation framework
|
100
101
|
test_files: []
|