parlour 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +25 -0
- data/README.md +28 -1
- data/lib/parlour.rb +5 -0
- data/lib/parlour/conflict_resolver.rb +73 -11
- data/lib/parlour/detached_rbi_generator.rb +30 -0
- data/lib/parlour/kernel_hack.rb +2 -0
- data/lib/parlour/parse_error.rb +19 -0
- data/lib/parlour/rbi_generator.rb +13 -7
- data/lib/parlour/rbi_generator/class_namespace.rb +8 -5
- data/lib/parlour/rbi_generator/module_namespace.rb +6 -4
- data/lib/parlour/rbi_generator/namespace.rb +11 -6
- data/lib/parlour/rbi_generator/options.rb +15 -2
- data/lib/parlour/rbi_generator/parameter.rb +1 -1
- data/lib/parlour/type_loader.rb +84 -0
- data/lib/parlour/type_parser.rb +609 -0
- data/lib/parlour/version.rb +1 -1
- data/parlour.gemspec +5 -4
- metadata +28 -10
data/lib/parlour/version.rb
CHANGED
data/parlour.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Aaron Christiansen"]
|
10
10
|
spec.email = ["hello@aaronc.cc"]
|
11
11
|
|
12
|
-
spec.summary = %q{An RBI generator}
|
12
|
+
spec.summary = %q{An RBI generator, merger and parser for Sorbet}
|
13
13
|
spec.homepage = "https://github.com/AaronC81/parlour"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -22,9 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "sorbet-runtime"
|
26
|
-
spec.add_dependency "rainbow", "~> 3.0
|
27
|
-
spec.add_dependency "commander", "~> 4.
|
25
|
+
spec.add_dependency "sorbet-runtime", ">= 0.5"
|
26
|
+
spec.add_dependency "rainbow", "~> 3.0"
|
27
|
+
spec.add_dependency "commander", "~> 4.5"
|
28
|
+
spec.add_dependency "parser"
|
28
29
|
|
29
30
|
spec.add_development_dependency "bundler", "~> 2.0"
|
30
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parlour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Christiansen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|
@@ -16,42 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '0.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rainbow
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0
|
33
|
+
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.0
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: commander
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.
|
47
|
+
version: '4.5'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.
|
54
|
+
version: '4.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: parser
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,7 +159,9 @@ files:
|
|
145
159
|
- lib/parlour.rb
|
146
160
|
- lib/parlour/conflict_resolver.rb
|
147
161
|
- lib/parlour/debugging.rb
|
162
|
+
- lib/parlour/detached_rbi_generator.rb
|
148
163
|
- lib/parlour/kernel_hack.rb
|
164
|
+
- lib/parlour/parse_error.rb
|
149
165
|
- lib/parlour/plugin.rb
|
150
166
|
- lib/parlour/rbi_generator.rb
|
151
167
|
- lib/parlour/rbi_generator/arbitrary.rb
|
@@ -161,6 +177,8 @@ files:
|
|
161
177
|
- lib/parlour/rbi_generator/options.rb
|
162
178
|
- lib/parlour/rbi_generator/parameter.rb
|
163
179
|
- lib/parlour/rbi_generator/rbi_object.rb
|
180
|
+
- lib/parlour/type_loader.rb
|
181
|
+
- lib/parlour/type_parser.rb
|
164
182
|
- lib/parlour/version.rb
|
165
183
|
- parlour.gemspec
|
166
184
|
- plugin_examples/foobar_plugin.rb
|
@@ -183,8 +201,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
201
|
- !ruby/object:Gem::Version
|
184
202
|
version: '0'
|
185
203
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
204
|
+
rubygems_version: 3.1.2
|
187
205
|
signing_key:
|
188
206
|
specification_version: 4
|
189
|
-
summary: An RBI generator
|
207
|
+
summary: An RBI generator, merger and parser for Sorbet
|
190
208
|
test_files: []
|