rspec-sorbet 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +14 -22
  3. data/.gitignore +2 -1
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -5
  6. data/bin/tapioca +29 -0
  7. data/lib/rspec/sorbet/doubles.rb +1 -1
  8. data/lib/rspec/sorbet/version.rb +1 -1
  9. data/nix/sources.json +14 -0
  10. data/nix/sources.nix +174 -0
  11. data/run_ci.sh +7 -0
  12. data/shell.nix +20 -0
  13. data/sorbet/config +2 -0
  14. data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
  15. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  16. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  17. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +9 -0
  18. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  19. data/sorbet/rbi/gems/em-websocket@0.5.2.rbi +8 -0
  20. data/sorbet/rbi/gems/eventmachine@1.2.7.rbi +45 -0
  21. data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
  22. data/sorbet/rbi/gems/ffi@1.15.4.rbi +8 -0
  23. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  24. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +31 -0
  25. data/sorbet/rbi/gems/guard-livereload@2.5.2.rbi +8 -0
  26. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +211 -0
  27. data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
  28. data/sorbet/rbi/gems/http_parser.rb@0.6.0.rbi +8 -0
  29. data/sorbet/rbi/gems/listen@3.7.0.rbi +8 -0
  30. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
  31. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  32. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  33. data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
  34. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
  35. data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
  36. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
  37. data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
  38. data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
  39. data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
  40. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
  41. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  42. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  43. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  44. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  45. data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
  46. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2308 -1766
  47. data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
  48. data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
  49. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  50. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  51. data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
  52. data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
  53. data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
  54. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  55. data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
  56. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  57. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  58. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  59. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  60. data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
  61. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  62. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  63. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
  64. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  65. data/sorbet/tapioca/require.rb +4 -0
  66. metadata +60 -64
  67. data/.reek.yml +0 -32
  68. data/.ruby-version +0 -1
  69. data/sorbet/rbi/gems/activesupport.rbi +0 -1722
  70. data/sorbet/rbi/gems/byebug.rbi +0 -1041
  71. data/sorbet/rbi/gems/coderay.rbi +0 -285
  72. data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
  73. data/sorbet/rbi/gems/docile.rbi +0 -32
  74. data/sorbet/rbi/gems/em-websocket.rbi +0 -225
  75. data/sorbet/rbi/gems/eventmachine.rbi +0 -489
  76. data/sorbet/rbi/gems/ffaker.rbi +0 -60
  77. data/sorbet/rbi/gems/guard.rbi +0 -397
  78. data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
  79. data/sorbet/rbi/gems/i18n.rbi +0 -133
  80. data/sorbet/rbi/gems/kwalify.rbi +0 -340
  81. data/sorbet/rbi/gems/listen.rbi +0 -324
  82. data/sorbet/rbi/gems/lumberjack.rbi +0 -300
  83. data/sorbet/rbi/gems/method_source.rbi +0 -64
  84. data/sorbet/rbi/gems/multi_json.rbi +0 -62
  85. data/sorbet/rbi/gems/nenv.rbi +0 -60
  86. data/sorbet/rbi/gems/notiffany.rbi +0 -215
  87. data/sorbet/rbi/gems/parallel.rbi +0 -82
  88. data/sorbet/rbi/gems/parser.rbi +0 -1846
  89. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  90. data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
  91. data/sorbet/rbi/gems/rb-readline.rbi +0 -767
  92. data/sorbet/rbi/gems/reek.rbi +0 -1027
  93. data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
  94. data/sorbet/rbi/gems/rspec-support.rbi +0 -280
  95. data/sorbet/rbi/gems/rspec.rbi +0 -15
  96. data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
  97. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
  98. data/sorbet/rbi/gems/rubocop.rbi +0 -6841
  99. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  100. data/sorbet/rbi/gems/shellany.rbi +0 -29
  101. data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
  102. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  103. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  104. data/sorbet/rbi/gems/sqlite3.rbi +0 -354
  105. data/sorbet/rbi/gems/stackprof.rbi +0 -52
  106. data/sorbet/rbi/gems/thor.rbi +0 -32
  107. data/sorbet/rbi/gems/thread_safe.rbi +0 -82
  108. data/sorbet/rbi/gems/timecop.rbi +0 -98
  109. data/sorbet/rbi/gems/tzinfo.rbi +0 -406
  110. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  111. data/sorbet/rbi/hidden-definitions/errors.txt +0 -7275
  112. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14595
  113. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
  114. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
  115. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
  116. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  117. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
  118. data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
  119. data/sorbet/rbi/todo.rbi +0 -9
@@ -0,0 +1,26 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `unicode-display_width` gem.
3
+ # Please instead update this file by running `bin/tapioca gem unicode-display_width`.
4
+
5
+ # typed: true
6
+
7
+ module Unicode; end
8
+
9
+ class Unicode::DisplayWidth
10
+ def initialize(ambiguous: T.unsafe(nil), overwrite: T.unsafe(nil), emoji: T.unsafe(nil)); end
11
+
12
+ def get_config(**kwargs); end
13
+ def of(string, **kwargs); end
14
+
15
+ class << self
16
+ def emoji_extra_width_of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), _ = T.unsafe(nil)); end
17
+ def of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), options = T.unsafe(nil)); end
18
+ end
19
+ end
20
+
21
+ Unicode::DisplayWidth::DATA_DIRECTORY = T.let(T.unsafe(nil), String)
22
+ Unicode::DisplayWidth::DEPTHS = T.let(T.unsafe(nil), Array)
23
+ Unicode::DisplayWidth::INDEX = T.let(T.unsafe(nil), Array)
24
+ Unicode::DisplayWidth::INDEX_FILENAME = T.let(T.unsafe(nil), String)
25
+ Unicode::DisplayWidth::UNICODE_VERSION = T.let(T.unsafe(nil), String)
26
+ Unicode::DisplayWidth::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `unparser` gem.
3
+ # Please instead update this file by running `bin/tapioca gem unparser`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
@@ -0,0 +1,4 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ # Add your extra requires here (`tapioca require` can be used to boostrap this list)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-sorbet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giles
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-03 00:00:00.000000000 Z
11
+ date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet
@@ -103,10 +103,8 @@ extra_rdoc_files: []
103
103
  files:
104
104
  - ".github/workflows/ci.yml"
105
105
  - ".gitignore"
106
- - ".reek.yml"
107
106
  - ".rspec"
108
107
  - ".rubocop.yml"
109
- - ".ruby-version"
110
108
  - CHANGELOG.md
111
109
  - Gemfile
112
110
  - LICENSE.txt
@@ -114,73 +112,71 @@ files:
114
112
  - Rakefile
115
113
  - bin/console
116
114
  - bin/setup
115
+ - bin/tapioca
117
116
  - generate_require_files.rb
118
117
  - lib/rspec/all.rb
119
118
  - lib/rspec/sorbet.rb
120
119
  - lib/rspec/sorbet/all.rb
121
120
  - lib/rspec/sorbet/doubles.rb
122
121
  - lib/rspec/sorbet/version.rb
122
+ - nix/sources.json
123
+ - nix/sources.nix
123
124
  - rspec-sorbet.gemspec
125
+ - run_ci.sh
126
+ - shell.nix
124
127
  - sorbet/config
125
- - sorbet/rbi/gems/activesupport.rbi
126
- - sorbet/rbi/gems/ast.rbi
127
- - sorbet/rbi/gems/byebug.rbi
128
- - sorbet/rbi/gems/coderay.rbi
129
- - sorbet/rbi/gems/concurrent-ruby.rbi
130
- - sorbet/rbi/gems/docile.rbi
131
- - sorbet/rbi/gems/em-websocket.rbi
132
- - sorbet/rbi/gems/eventmachine.rbi
133
- - sorbet/rbi/gems/ffaker.rbi
134
- - sorbet/rbi/gems/guard.rbi
135
- - sorbet/rbi/gems/http_parser.rb.rbi
136
- - sorbet/rbi/gems/i18n.rbi
137
- - sorbet/rbi/gems/kwalify.rbi
138
- - sorbet/rbi/gems/listen.rbi
139
- - sorbet/rbi/gems/lumberjack.rbi
140
- - sorbet/rbi/gems/method_source.rbi
141
- - sorbet/rbi/gems/multi_json.rbi
142
- - sorbet/rbi/gems/nenv.rbi
143
- - sorbet/rbi/gems/notiffany.rbi
144
- - sorbet/rbi/gems/parallel.rbi
145
- - sorbet/rbi/gems/parser.rbi
146
- - sorbet/rbi/gems/pry-byebug.rbi
147
- - sorbet/rbi/gems/pry.rbi
148
- - sorbet/rbi/gems/rainbow.rbi
149
- - sorbet/rbi/gems/rake.rbi
150
- - sorbet/rbi/gems/rb-fsevent.rbi
151
- - sorbet/rbi/gems/rb-readline.rbi
152
- - sorbet/rbi/gems/reek.rbi
153
- - sorbet/rbi/gems/regexp_parser.rbi
154
- - sorbet/rbi/gems/rexml.rbi
155
- - sorbet/rbi/gems/rspec-core.rbi
156
- - sorbet/rbi/gems/rspec-expectations.rbi
157
- - sorbet/rbi/gems/rspec-mocks.rbi
158
- - sorbet/rbi/gems/rspec-support.rbi
159
- - sorbet/rbi/gems/rspec.rbi
160
- - sorbet/rbi/gems/rubocop-ast.rbi
161
- - sorbet/rbi/gems/rubocop-rspec.rbi
162
- - sorbet/rbi/gems/rubocop.rbi
163
- - sorbet/rbi/gems/ruby-progressbar.rbi
164
- - sorbet/rbi/gems/shellany.rbi
165
- - sorbet/rbi/gems/shoulda-matchers.rbi
166
- - sorbet/rbi/gems/simplecov-html.rbi
167
- - sorbet/rbi/gems/simplecov.rbi
168
- - sorbet/rbi/gems/sqlite3.rbi
169
- - sorbet/rbi/gems/stackprof.rbi
170
- - sorbet/rbi/gems/thor.rbi
171
- - sorbet/rbi/gems/thread_safe.rbi
172
- - sorbet/rbi/gems/timecop.rbi
173
- - sorbet/rbi/gems/tzinfo.rbi
174
- - sorbet/rbi/gems/unicode-display_width.rbi
175
- - sorbet/rbi/hidden-definitions/errors.txt
176
- - sorbet/rbi/hidden-definitions/hidden.rbi
177
- - sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi
178
- - sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi
179
- - sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi
180
- - sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi
181
- - sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi
182
- - sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi
183
- - sorbet/rbi/todo.rbi
128
+ - sorbet/rbi/gems/ast@2.4.2.rbi
129
+ - sorbet/rbi/gems/byebug@11.1.3.rbi
130
+ - sorbet/rbi/gems/coderay@1.1.3.rbi
131
+ - sorbet/rbi/gems/diff-lcs@1.4.4.rbi
132
+ - sorbet/rbi/gems/docile@1.4.0.rbi
133
+ - sorbet/rbi/gems/em-websocket@0.5.2.rbi
134
+ - sorbet/rbi/gems/eventmachine@1.2.7.rbi
135
+ - sorbet/rbi/gems/ffaker@2.20.0.rbi
136
+ - sorbet/rbi/gems/ffi@1.15.4.rbi
137
+ - sorbet/rbi/gems/formatador@0.3.0.rbi
138
+ - sorbet/rbi/gems/guard-compat@1.2.1.rbi
139
+ - sorbet/rbi/gems/guard-livereload@2.5.2.rbi
140
+ - sorbet/rbi/gems/guard-rspec@4.7.3.rbi
141
+ - sorbet/rbi/gems/guard@2.18.0.rbi
142
+ - sorbet/rbi/gems/http_parser.rb@0.6.0.rbi
143
+ - sorbet/rbi/gems/listen@3.7.0.rbi
144
+ - sorbet/rbi/gems/lumberjack@1.2.8.rbi
145
+ - sorbet/rbi/gems/method_source@1.0.0.rbi
146
+ - sorbet/rbi/gems/multi_json@1.15.0.rbi
147
+ - sorbet/rbi/gems/nenv@0.3.0.rbi
148
+ - sorbet/rbi/gems/notiffany@0.1.3.rbi
149
+ - sorbet/rbi/gems/parallel@1.21.0.rbi
150
+ - sorbet/rbi/gems/parser@3.0.2.0.rbi
151
+ - sorbet/rbi/gems/pry-byebug@3.8.0.rbi
152
+ - sorbet/rbi/gems/pry@0.14.1.rbi
153
+ - sorbet/rbi/gems/rainbow@3.0.0.rbi
154
+ - sorbet/rbi/gems/rake@13.0.6.rbi
155
+ - sorbet/rbi/gems/rb-fsevent@0.11.0.rbi
156
+ - sorbet/rbi/gems/rb-inotify@0.10.1.rbi
157
+ - sorbet/rbi/gems/rbi@0.0.6.rbi
158
+ - sorbet/rbi/gems/regexp_parser@2.1.1.rbi
159
+ - sorbet/rbi/gems/rexml@3.2.5.rbi
160
+ - sorbet/rbi/gems/rspec-core@3.10.1.rbi
161
+ - sorbet/rbi/gems/rspec-expectations@3.10.1.rbi
162
+ - sorbet/rbi/gems/rspec-mocks@3.10.2.rbi
163
+ - sorbet/rbi/gems/rspec-support@3.10.2.rbi
164
+ - sorbet/rbi/gems/rspec@3.10.0.rbi
165
+ - sorbet/rbi/gems/rubocop-ast@1.12.0.rbi
166
+ - sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi
167
+ - sorbet/rbi/gems/rubocop@1.22.1.rbi
168
+ - sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi
169
+ - sorbet/rbi/gems/shellany@0.0.1.rbi
170
+ - sorbet/rbi/gems/simplecov-html@0.12.3.rbi
171
+ - sorbet/rbi/gems/simplecov@0.21.2.rbi
172
+ - sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi
173
+ - sorbet/rbi/gems/spoom@1.1.5.rbi
174
+ - sorbet/rbi/gems/stackprof@0.2.17.rbi
175
+ - sorbet/rbi/gems/tapioca@0.5.2.rbi
176
+ - sorbet/rbi/gems/thor@1.1.0.rbi
177
+ - sorbet/rbi/gems/unicode-display_width@2.1.0.rbi
178
+ - sorbet/rbi/gems/unparser@0.6.0.rbi
179
+ - sorbet/tapioca/require.rb
184
180
  homepage: https://github.com/tricycle/rspec-sorbet
185
181
  licenses:
186
182
  - MIT
@@ -200,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
196
  - !ruby/object:Gem::Version
201
197
  version: '0'
202
198
  requirements: []
203
- rubygems_version: 3.0.3
199
+ rubygems_version: 3.2.16
204
200
  signing_key:
205
201
  specification_version: 4
206
202
  summary: A small gem consisting of helpers for using Sorbet & RSpec together.
data/.reek.yml DELETED
@@ -1,32 +0,0 @@
1
- ---
2
- detectors:
3
- IrresponsibleModule:
4
- enabled: false
5
- TooManyStatements:
6
- enabled: true
7
- max_statements: 10
8
- NilCheck:
9
- enabled: false
10
- directories:
11
- app/controllers:
12
- NestedIterators:
13
- max_allowed_nesting: 2
14
- UnusedPrivateMethod:
15
- enabled: false
16
- app/helpers:
17
- UtilityFunction:
18
- enabled: false
19
- exclude_paths:
20
- - app/assets
21
- - bin
22
- - client/node_modules
23
- - config
24
- - coverage
25
- - data
26
- - db
27
- - dw
28
- - log
29
- - phrase
30
- - public
31
- - tmp
32
- - vendor
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.6.6