parlour 5.0.0 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +46 -0
- data/.parlour +4 -2
- data/CHANGELOG.md +33 -0
- data/exe/parlour +2 -3
- data/lib/parlour/conflict_resolver.rb +18 -14
- data/lib/parlour/debugging.rb +29 -16
- data/lib/parlour/mixin/searchable.rb +54 -0
- data/lib/parlour/rbi_generator/arbitrary.rb +3 -6
- data/lib/parlour/rbi_generator/attribute.rb +9 -0
- data/lib/parlour/rbi_generator/class_namespace.rb +6 -7
- data/lib/parlour/rbi_generator/constant.rb +3 -6
- data/lib/parlour/rbi_generator/enum_class_namespace.rb +7 -0
- data/lib/parlour/rbi_generator/extend.rb +5 -8
- data/lib/parlour/rbi_generator/include.rb +5 -8
- data/lib/parlour/rbi_generator/method.rb +15 -10
- data/lib/parlour/rbi_generator/module_namespace.rb +7 -9
- data/lib/parlour/rbi_generator/namespace.rb +27 -24
- data/lib/parlour/rbi_generator/parameter.rb +12 -0
- data/lib/parlour/rbi_generator/rbi_object.rb +0 -5
- data/lib/parlour/rbi_generator/struct_class_namespace.rb +7 -0
- data/lib/parlour/rbi_generator/type_alias.rb +5 -8
- data/lib/parlour/rbi_generator.rb +1 -16
- data/lib/parlour/rbs_generator/arbitrary.rb +3 -6
- data/lib/parlour/rbs_generator/attribute.rb +8 -0
- data/lib/parlour/rbs_generator/class_namespace.rb +5 -9
- data/lib/parlour/rbs_generator/constant.rb +3 -6
- data/lib/parlour/rbs_generator/extend.rb +3 -6
- data/lib/parlour/rbs_generator/include.rb +3 -6
- data/lib/parlour/rbs_generator/interface_namespace.rb +5 -5
- data/lib/parlour/rbs_generator/method.rb +6 -7
- data/lib/parlour/rbs_generator/method_signature.rb +13 -0
- data/lib/parlour/rbs_generator/module_namespace.rb +5 -6
- data/lib/parlour/rbs_generator/namespace.rb +8 -8
- data/lib/parlour/rbs_generator/rbs_object.rb +0 -5
- data/lib/parlour/rbs_generator/type_alias.rb +3 -6
- data/lib/parlour/type_loader.rb +6 -1
- data/lib/parlour/type_parser.rb +2 -2
- data/lib/parlour/typed_object.rb +90 -5
- data/lib/parlour/version.rb +1 -1
- data/lib/parlour.rb +2 -0
- data/parlour.gemspec +2 -1
- metadata +19 -5
- data/.travis.yml +0 -32
- data/rbi/parlour.rbi +0 -1896
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: 7.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: 2022-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: yard
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
139
153
|
description:
|
140
154
|
email:
|
141
155
|
- hello@aaronc.cc
|
@@ -146,10 +160,10 @@ extra_rdoc_files: []
|
|
146
160
|
files:
|
147
161
|
- ".github/ISSUE_TEMPLATE/bug-report.md"
|
148
162
|
- ".github/ISSUE_TEMPLATE/feature-request.md"
|
163
|
+
- ".github/workflows/ruby.yml"
|
149
164
|
- ".gitignore"
|
150
165
|
- ".parlour"
|
151
166
|
- ".rspec"
|
152
|
-
- ".travis.yml"
|
153
167
|
- CHANGELOG.md
|
154
168
|
- CODE_OF_CONDUCT.md
|
155
169
|
- Gemfile
|
@@ -167,6 +181,7 @@ files:
|
|
167
181
|
- lib/parlour/detached_rbs_generator.rb
|
168
182
|
- lib/parlour/generator.rb
|
169
183
|
- lib/parlour/kernel_hack.rb
|
184
|
+
- lib/parlour/mixin/searchable.rb
|
170
185
|
- lib/parlour/options.rb
|
171
186
|
- lib/parlour/parse_error.rb
|
172
187
|
- lib/parlour/plugin.rb
|
@@ -209,7 +224,6 @@ files:
|
|
209
224
|
- lib/parlour/version.rb
|
210
225
|
- parlour.gemspec
|
211
226
|
- plugin_examples/foobar_plugin.rb
|
212
|
-
- rbi/parlour.rbi
|
213
227
|
homepage: https://github.com/AaronC81/parlour
|
214
228
|
licenses:
|
215
229
|
- MIT
|
@@ -229,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
243
|
- !ruby/object:Gem::Version
|
230
244
|
version: '0'
|
231
245
|
requirements: []
|
232
|
-
rubygems_version: 3.
|
246
|
+
rubygems_version: 3.2.22
|
233
247
|
signing_key:
|
234
248
|
specification_version: 4
|
235
249
|
summary: A type information generator, merger and parser for Sorbet and Ruby 3/Steep
|
data/.travis.yml
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
dist: trusty
|
3
|
-
before_install:
|
4
|
-
- gem install bundler
|
5
|
-
- gem install yard
|
6
|
-
- chmod +x ci/check_rbi.sh
|
7
|
-
rvm:
|
8
|
-
- 2.3
|
9
|
-
- 2.4
|
10
|
-
- 2.5
|
11
|
-
- 2.6
|
12
|
-
- 2.7
|
13
|
-
- ruby-head
|
14
|
-
|
15
|
-
jobs:
|
16
|
-
include:
|
17
|
-
- stage: check RBI
|
18
|
-
script: ./ci/check_rbi.sh
|
19
|
-
rvm: 2.7
|
20
|
-
- stage: deploy documentation
|
21
|
-
script: yard
|
22
|
-
deploy:
|
23
|
-
provider: pages
|
24
|
-
local_dir: doc
|
25
|
-
skip_cleanup: true
|
26
|
-
github_token: $GITHUB_TOKEN
|
27
|
-
keep_history: true
|
28
|
-
on:
|
29
|
-
branch: master
|
30
|
-
allow_failures:
|
31
|
-
- rvm: 2.3
|
32
|
-
- rvm: ruby-head
|