shotgrid_api_ruby 0.2.0.4 → 0.2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test_and_publish.yml +3 -3
- data/.github/workflows/test_only.yml +7 -5
- data/.ruby-version +1 -1
- data/CHANGELOG.md +54 -2
- data/Gemfile +12 -0
- data/Gemfile.lock +108 -93
- data/bin/prettirun +1 -1
- data/docs/ShotgridApiRuby/Auth/Validator.html +4 -4
- data/docs/ShotgridApiRuby/Auth.html +4 -4
- data/docs/ShotgridApiRuby/Client.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Params.html +41 -41
- data/docs/ShotgridApiRuby/Entities/Schema.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +8 -8
- data/docs/ShotgridApiRuby/Entities/Summarize.html +9 -9
- data/docs/ShotgridApiRuby/Entities.html +27 -27
- data/docs/ShotgridApiRuby/Entity.html +12 -12
- data/docs/ShotgridApiRuby/Preferences.html +4 -4
- data/docs/ShotgridApiRuby/ServerInfo.html +4 -4
- data/docs/ShotgridApiRuby/ShotgridCallError.html +4 -4
- data/docs/ShotgridApiRuby/Types.html +4 -4
- data/docs/ShotgridApiRuby.html +5 -5
- data/docs/_index.html +5 -5
- data/docs/file.README.html +4 -4
- data/docs/frames.html +1 -1
- data/docs/index.html +4 -4
- data/docs/top-level-namespace.html +4 -4
- data/lib/shotgrid_api_ruby/entities/params.rb +15 -18
- data/lib/shotgrid_api_ruby/entities/summarize.rb +4 -4
- data/lib/shotgrid_api_ruby/entities.rb +23 -23
- data/lib/shotgrid_api_ruby/version.rb +1 -1
- data/shotgrid_api_ruby.gemspec +3 -12
- data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +18676 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +533 -3
- data/sorbet/rbi/gems/backport@1.2.0.rbi +518 -4
- data/sorbet/rbi/gems/benchmark@0.2.1.rbi +588 -0
- data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +308 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +2065 -28
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +397 -4
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +2425 -4
- data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +11570 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +335 -13
- data/sorbet/rbi/gems/dotenv@2.8.1.rbi +234 -0
- data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +4 -4
- data/sorbet/rbi/gems/faker@3.1.0.rbi +13380 -0
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +167 -11
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +94 -11
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +105 -11
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +118 -11
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +273 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +106 -11
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +92 -11
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +97 -11
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +106 -11
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +227 -0
- data/sorbet/rbi/gems/faraday@1.10.3.rbi +2743 -0
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +8 -0
- data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +62 -4
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +558 -4
- data/sorbet/rbi/gems/guard@2.18.0.rbi +4 -4
- data/sorbet/rbi/gems/haml@6.1.1.rbi +1588 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +893 -4
- data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +15 -4
- data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +129 -4
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3271 -0
- data/sorbet/rbi/gems/listen@3.8.0.rbi +1181 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +4 -4
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +202 -2
- data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
- data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +233 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +4 -4
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +7250 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +4 -4
- data/sorbet/rbi/gems/overcommit@0.60.0.rbi +2399 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.2.0.0.rbi +6964 -0
- data/sorbet/rbi/gems/prettier@3.2.2.rbi +22 -0
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +8 -0
- data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1171 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
- data/sorbet/rbi/gems/racc@1.6.2.rbi +154 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +408 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2248 -13
- data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +4 -4
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/rbs@2.8.4.rbi +8 -0
- data/sorbet/rbi/gems/regexp_parser@2.6.2.rbi +3481 -0
- data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +389 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4048 -3
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10809 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8109 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5308 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1620 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +91 -0
- data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +387 -15
- data/sorbet/rbi/gems/rubocop-ast@1.24.1.rbi +7019 -0
- data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +102 -4
- data/sorbet/rbi/gems/rubocop-performance@1.15.2.rbi +3021 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +990 -0
- data/sorbet/rbi/gems/rubocop@1.44.1.rbi +54394 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +4 -4
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +4 -4
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +135 -5
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/solargraph@0.48.0.rbi +9146 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
- data/sorbet/rbi/gems/syntax_tree-haml@3.0.0.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree-rbs@0.5.1.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +8 -0
- data/sorbet/rbi/gems/tapioca@0.10.5.rbi +3226 -0
- data/sorbet/rbi/gems/temple@0.10.0.rbi +1722 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/tilt@2.0.11.rbi +745 -0
- data/sorbet/rbi/gems/timecop@0.9.6.rbi +368 -0
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5914 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
- data/sorbet/rbi/gems/vcr@6.1.0.rbi +3020 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17863 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +950 -0
- data/yarn.lock +3 -3
- metadata +71 -190
- data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +0 -3770
- data/sorbet/rbi/gems/benchmark@0.1.1.rbi +0 -65
- data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -8
- data/sorbet/rbi/gems/dotenv@2.7.6.rbi +0 -88
- data/sorbet/rbi/gems/faker@2.19.0.rbi +0 -2513
- data/sorbet/rbi/gems/faraday@1.7.0.rbi +0 -783
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/haml@5.2.2.rbi +0 -8
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -584
- data/sorbet/rbi/gems/kramdown@2.3.1.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.7.0.rbi +0 -476
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +0 -69
- data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +0 -8
- data/sorbet/rbi/gems/overcommit@0.58.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -8
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1610
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1731
- data/sorbet/rbi/gems/prettier@1.6.1.rbi +0 -8
- data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +0 -461
- data/sorbet/rbi/gems/pry@0.13.1.rbi +0 -2553
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
- data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +0 -8
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2500
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -510
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -39
- data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -8
- data/sorbet/rbi/gems/rubocop@1.20.0.rbi +0 -8
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/solargraph@0.43.0.rbi +0 -8
- data/sorbet/rbi/gems/spoom@1.1.2.rbi +0 -1204
- data/sorbet/rbi/gems/tapioca@0.4.25.rbi +0 -1239
- data/sorbet/rbi/gems/temple@0.8.2.rbi +0 -8
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tilt@2.0.10.rbi +0 -8
- data/sorbet/rbi/gems/timecop@0.9.4.rbi +0 -82
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -857
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -8
- data/sorbet/rbi/gems/vcr@6.0.0.rbi +0 -782
- data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +0 -8
- data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -8
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
@@ -0,0 +1,91 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec`.
|
6
|
+
|
7
|
+
# source://rspec//lib/rspec/version.rb#1
|
8
|
+
module RSpec
|
9
|
+
class << self
|
10
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#70
|
11
|
+
def clear_examples; end
|
12
|
+
|
13
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#85
|
14
|
+
def configuration; end
|
15
|
+
|
16
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#49
|
17
|
+
def configuration=(_arg0); end
|
18
|
+
|
19
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#97
|
20
|
+
def configure; end
|
21
|
+
|
22
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#194
|
23
|
+
def const_missing(name); end
|
24
|
+
|
25
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
26
|
+
def context(*args, &example_group_block); end
|
27
|
+
|
28
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#122
|
29
|
+
def current_example; end
|
30
|
+
|
31
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#128
|
32
|
+
def current_example=(example); end
|
33
|
+
|
34
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#154
|
35
|
+
def current_scope; end
|
36
|
+
|
37
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#134
|
38
|
+
def current_scope=(scope); end
|
39
|
+
|
40
|
+
# source://rspec_in_context/1.1.0.3/lib/rspec_in_context.rb#27
|
41
|
+
def define_context(name, namespace: T.unsafe(nil), ns: T.unsafe(nil), silent: T.unsafe(nil), print_context: T.unsafe(nil), &block); end
|
42
|
+
|
43
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
44
|
+
def describe(*args, &example_group_block); end
|
45
|
+
|
46
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
47
|
+
def example_group(*args, &example_group_block); end
|
48
|
+
|
49
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
50
|
+
def fcontext(*args, &example_group_block); end
|
51
|
+
|
52
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
53
|
+
def fdescribe(*args, &example_group_block); end
|
54
|
+
|
55
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#58
|
56
|
+
def reset; end
|
57
|
+
|
58
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
59
|
+
def shared_context(name, *args, &block); end
|
60
|
+
|
61
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
62
|
+
def shared_examples(name, *args, &block); end
|
63
|
+
|
64
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
65
|
+
def shared_examples_for(name, *args, &block); end
|
66
|
+
|
67
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#160
|
68
|
+
def world; end
|
69
|
+
|
70
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#49
|
71
|
+
def world=(_arg0); end
|
72
|
+
|
73
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
74
|
+
def xcontext(*args, &example_group_block); end
|
75
|
+
|
76
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
77
|
+
def xdescribe(*args, &example_group_block); end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#187
|
82
|
+
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
83
|
+
|
84
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_context.rb#54
|
85
|
+
RSpec::SharedContext = RSpec::Core::SharedContext
|
86
|
+
|
87
|
+
# source://rspec//lib/rspec/version.rb#2
|
88
|
+
module RSpec::Version; end
|
89
|
+
|
90
|
+
# source://rspec//lib/rspec/version.rb#3
|
91
|
+
RSpec::Version::STRING = T.let(T.unsafe(nil), String)
|
@@ -1,196 +1,568 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
1
3
|
# DO NOT EDIT MANUALLY
|
2
4
|
# This is an autogenerated file for types exported from the `rspec_in_context` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca
|
4
|
-
|
5
|
-
# typed: true
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec_in_context`.
|
6
6
|
|
7
|
+
# RSpec
|
8
|
+
#
|
9
|
+
# source://rspec_in_context//lib/rspec_in_context/context_management.rb#17
|
7
10
|
module RSpec
|
8
|
-
extend ::RSpec::Support::Warnings
|
9
|
-
extend ::RSpec::Core::Warnings
|
10
|
-
|
11
11
|
class << self
|
12
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#70
|
12
13
|
def clear_examples; end
|
14
|
+
|
15
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#85
|
13
16
|
def configuration; end
|
17
|
+
|
18
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#49
|
14
19
|
def configuration=(_arg0); end
|
20
|
+
|
21
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#97
|
15
22
|
def configure; end
|
23
|
+
|
24
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#194
|
16
25
|
def const_missing(name); end
|
26
|
+
|
27
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
17
28
|
def context(*args, &example_group_block); end
|
29
|
+
|
30
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#122
|
18
31
|
def current_example; end
|
32
|
+
|
33
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#128
|
19
34
|
def current_example=(example); end
|
35
|
+
|
36
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#154
|
37
|
+
def current_scope; end
|
38
|
+
|
39
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#134
|
40
|
+
def current_scope=(scope); end
|
41
|
+
|
42
|
+
# Allows you to define contexts outside of RSpec.describe blocks
|
43
|
+
#
|
44
|
+
# @param name [String, Symbol] Name of the defined context
|
45
|
+
# @param namespace [String, Symbol] Namespace where to store your context
|
46
|
+
# @param ns Alias of namespace
|
47
|
+
# @param silent [Boolean] Does the in_context should wrap itself into a context block with its name
|
48
|
+
# @param print_context [Boolean] Reverse alias of silent
|
49
|
+
# @param block [Proc] code that will be injected later
|
50
|
+
#
|
51
|
+
# source://rspec_in_context//lib/rspec_in_context.rb#27
|
20
52
|
def define_context(name, namespace: T.unsafe(nil), ns: T.unsafe(nil), silent: T.unsafe(nil), print_context: T.unsafe(nil), &block); end
|
53
|
+
|
54
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
21
55
|
def describe(*args, &example_group_block); end
|
56
|
+
|
57
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
22
58
|
def example_group(*args, &example_group_block); end
|
59
|
+
|
60
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
23
61
|
def fcontext(*args, &example_group_block); end
|
62
|
+
|
63
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
24
64
|
def fdescribe(*args, &example_group_block); end
|
65
|
+
|
66
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#58
|
25
67
|
def reset; end
|
68
|
+
|
69
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
26
70
|
def shared_context(name, *args, &block); end
|
71
|
+
|
72
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
27
73
|
def shared_examples(name, *args, &block); end
|
74
|
+
|
75
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
28
76
|
def shared_examples_for(name, *args, &block); end
|
77
|
+
|
78
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#160
|
29
79
|
def world; end
|
80
|
+
|
81
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#49
|
30
82
|
def world=(_arg0); end
|
83
|
+
|
84
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
31
85
|
def xcontext(*args, &example_group_block); end
|
86
|
+
|
87
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
32
88
|
def xdescribe(*args, &example_group_block); end
|
33
89
|
end
|
34
90
|
end
|
35
91
|
|
92
|
+
# Core
|
93
|
+
#
|
94
|
+
# source://rspec_in_context//lib/rspec_in_context/context_management.rb#19
|
36
95
|
module RSpec::Core
|
37
96
|
class << self
|
97
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#181
|
38
98
|
def path_to_executable; end
|
39
99
|
end
|
40
100
|
end
|
41
101
|
|
42
|
-
|
43
|
-
|
102
|
+
# ExampleGroup
|
103
|
+
#
|
104
|
+
# source://rspec_in_context//lib/rspec_in_context/context_management.rb#21
|
44
105
|
class RSpec::Core::ExampleGroup
|
45
|
-
include ::RSpec::Core::MemoizedHelpers
|
46
|
-
include ::RSpec::Core::Pending
|
47
|
-
extend ::RSpec::Core::Hooks
|
48
|
-
extend ::RSpec::Core::MemoizedHelpers::ClassMethods
|
49
|
-
extend ::RSpec::Core::SharedExampleGroup
|
50
106
|
extend ::RspecInContext::ContextManagement
|
51
107
|
|
108
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#707
|
52
109
|
def initialize(inspect_output = T.unsafe(nil)); end
|
53
110
|
|
111
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#99
|
54
112
|
def described_class; end
|
113
|
+
|
114
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#713
|
55
115
|
def inspect; end
|
56
116
|
|
57
117
|
private
|
58
118
|
|
59
|
-
|
119
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#758
|
120
|
+
def method_missing(name, *args, **_arg2); end
|
60
121
|
|
61
122
|
class << self
|
123
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#367
|
62
124
|
def add_example(example); end
|
125
|
+
|
126
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#529
|
63
127
|
def before_context_ivars; end
|
128
|
+
|
129
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#466
|
64
130
|
def children; end
|
131
|
+
|
132
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#247
|
65
133
|
def context(*args, &example_group_block); end
|
134
|
+
|
135
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#542
|
66
136
|
def currently_executing_a_context_hook?; end
|
137
|
+
|
138
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#667
|
67
139
|
def declaration_locations; end
|
140
|
+
|
141
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#246
|
68
142
|
def define_example_group_method(name, metadata = T.unsafe(nil)); end
|
143
|
+
|
144
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#145
|
69
145
|
def define_example_method(name, extra_options = T.unsafe(nil)); end
|
146
|
+
|
147
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#317
|
70
148
|
def define_nested_shared_group_method(new_name, report_label = T.unsafe(nil)); end
|
149
|
+
|
150
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#76
|
71
151
|
def delegate_to_metadata(*names); end
|
152
|
+
|
153
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#460
|
72
154
|
def descendant_filtered_examples; end
|
155
|
+
|
156
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#503
|
73
157
|
def descendants; end
|
158
|
+
|
159
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#247
|
74
160
|
def describe(*args, &example_group_block); end
|
161
|
+
|
162
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#78
|
75
163
|
def described_class; end
|
164
|
+
|
165
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#85
|
76
166
|
def description; end
|
167
|
+
|
168
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#700
|
77
169
|
def each_instance_variable_for_example(group); end
|
170
|
+
|
171
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#518
|
78
172
|
def ensure_example_groups_are_configured; end
|
173
|
+
|
174
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
79
175
|
def example(*all_args, &block); end
|
176
|
+
|
177
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#247
|
80
178
|
def example_group(*args, &example_group_block); end
|
179
|
+
|
180
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#450
|
81
181
|
def examples; end
|
182
|
+
|
183
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#247
|
82
184
|
def fcontext(*args, &example_group_block); end
|
185
|
+
|
186
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#247
|
83
187
|
def fdescribe(*args, &example_group_block); end
|
188
|
+
|
189
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
84
190
|
def fexample(*all_args, &block); end
|
191
|
+
|
192
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#78
|
85
193
|
def file_path; end
|
194
|
+
|
195
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#455
|
86
196
|
def filtered_examples; end
|
197
|
+
|
198
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#379
|
87
199
|
def find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
|
200
|
+
|
201
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
88
202
|
def fit(*all_args, &block); end
|
203
|
+
|
204
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
89
205
|
def focus(*all_args, &block); end
|
206
|
+
|
207
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#655
|
90
208
|
def for_filtered_examples(reporter, &block); end
|
209
|
+
|
210
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
91
211
|
def fspecify(*all_args, &block); end
|
212
|
+
|
213
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#675
|
92
214
|
def id; end
|
215
|
+
|
216
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#40
|
93
217
|
def idempotently_define_singleton_method(name, &definition); end
|
218
|
+
|
219
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#343
|
94
220
|
def include_context(name, *args, &block); end
|
221
|
+
|
222
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#353
|
95
223
|
def include_examples(name, *args, &block); end
|
224
|
+
|
225
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
96
226
|
def it(*all_args, &block); end
|
227
|
+
|
228
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#318
|
97
229
|
def it_behaves_like(name, *args, &customization_block); end
|
230
|
+
|
231
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#318
|
98
232
|
def it_should_behave_like(name, *args, &customization_block); end
|
233
|
+
|
234
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#78
|
99
235
|
def location; end
|
236
|
+
|
237
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#51
|
100
238
|
def metadata; end
|
239
|
+
|
240
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#485
|
101
241
|
def next_runnable_index_for(file); end
|
242
|
+
|
243
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#625
|
102
244
|
def ordering_strategy; end
|
245
|
+
|
246
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#508
|
103
247
|
def parent_groups; end
|
248
|
+
|
249
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
104
250
|
def pending(*all_args, &block); end
|
251
|
+
|
252
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#373
|
105
253
|
def remove_example(example); end
|
254
|
+
|
255
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#359
|
106
256
|
def reset_memoized; end
|
257
|
+
|
258
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#599
|
107
259
|
def run(reporter = T.unsafe(nil)); end
|
260
|
+
|
261
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#585
|
108
262
|
def run_after_context_hooks(example_group_instance); end
|
263
|
+
|
264
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#547
|
109
265
|
def run_before_context_hooks(example_group_instance); end
|
266
|
+
|
267
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#641
|
110
268
|
def run_examples(reporter); end
|
269
|
+
|
270
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#410
|
111
271
|
def set_it_up(description, args, registration_collection, &example_group_block); end
|
272
|
+
|
273
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#685
|
112
274
|
def set_ivars(instance, ivars); end
|
275
|
+
|
276
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
113
277
|
def skip(*all_args, &block); end
|
278
|
+
|
279
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
114
280
|
def specify(*all_args, &block); end
|
281
|
+
|
282
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#534
|
115
283
|
def store_before_context_ivars(example_group_instance); end
|
284
|
+
|
285
|
+
# source://rspec_in_context//lib/rspec_in_context/context_management.rb#9
|
286
|
+
def subclass(parent, description, args, registration_collection, &example_group_block); end
|
287
|
+
|
288
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#562
|
116
289
|
def superclass_before_context_ivars; end
|
290
|
+
|
291
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#71
|
117
292
|
def superclass_metadata; end
|
293
|
+
|
294
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#513
|
118
295
|
def top_level?; end
|
296
|
+
|
297
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#680
|
119
298
|
def top_level_description; end
|
299
|
+
|
300
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#476
|
120
301
|
def traverse_tree_until(&block); end
|
302
|
+
|
303
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#727
|
121
304
|
def update_inherited_metadata(updates); end
|
305
|
+
|
306
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#61
|
122
307
|
def with_replaced_metadata(meta); end
|
308
|
+
|
309
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#247
|
123
310
|
def xcontext(*args, &example_group_block); end
|
311
|
+
|
312
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#247
|
124
313
|
def xdescribe(*args, &example_group_block); end
|
314
|
+
|
315
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
125
316
|
def xexample(*all_args, &block); end
|
317
|
+
|
318
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
126
319
|
def xit(*all_args, &block); end
|
320
|
+
|
321
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#146
|
127
322
|
def xspecify(*all_args, &block); end
|
128
323
|
|
129
324
|
private
|
130
325
|
|
326
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#742
|
131
327
|
def method_missing(name, *args); end
|
132
328
|
end
|
133
329
|
end
|
134
330
|
|
331
|
+
# source://rspec-core/3.12.0/lib/rspec/core/example_group.rb#696
|
135
332
|
RSpec::Core::ExampleGroup::INSTANCE_VARIABLE_TO_IGNORE = T.let(T.unsafe(nil), Symbol)
|
136
|
-
|
333
|
+
|
334
|
+
# source://rspec-core/3.12.0/lib/rspec/core/filter_manager.rb#183
|
137
335
|
RSpec::Core::ExclusionRules = RSpec::Core::FilterRules
|
336
|
+
|
337
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#187
|
138
338
|
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
339
|
+
|
340
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_context.rb#54
|
139
341
|
RSpec::SharedContext = RSpec::Core::SharedContext
|
140
342
|
|
343
|
+
# Main wrapping module
|
344
|
+
#
|
345
|
+
# source://rspec_in_context//lib/rspec_in_context/version.rb#3
|
141
346
|
module RspecInContext
|
142
347
|
include ::RspecInContext::InContext
|
143
348
|
|
349
|
+
mixes_in_class_methods ::RspecInContext::InContext::ClassMethods
|
350
|
+
|
144
351
|
class << self
|
352
|
+
# Inclusion convenience of the gem in RSpec
|
353
|
+
#
|
354
|
+
# @api private
|
355
|
+
#
|
356
|
+
# source://rspec_in_context//lib/rspec_in_context.rb#12
|
145
357
|
def included(base); end
|
146
358
|
end
|
147
359
|
end
|
148
360
|
|
361
|
+
# Context struct
|
362
|
+
#
|
363
|
+
# @attr block [Proc] what will be executed in the test context
|
364
|
+
# @attr owner [Class] current rspec context class. This will be used to know where a define_context has been defined
|
365
|
+
# @attr name [String | Symbol] represent the name by which the context can be find.
|
366
|
+
# @attr namespace [String | Symbol] namespace for context names to avoid collisions
|
367
|
+
# @attr silent [Boolean] does the in_context wrap itself into a context with its name or an anonymous context
|
368
|
+
#
|
369
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#14
|
149
370
|
class RspecInContext::Context < ::Struct
|
371
|
+
# what will be executed in the test context
|
372
|
+
#
|
373
|
+
# @return [Proc] the current value of block
|
150
374
|
def block; end
|
375
|
+
|
376
|
+
# what will be executed in the test context
|
377
|
+
#
|
378
|
+
# @param value [Proc] the value to set the attribute block to.
|
379
|
+
# @return [Proc] the newly set value
|
151
380
|
def block=(_); end
|
381
|
+
|
382
|
+
# represent the name by which the context can be find.
|
383
|
+
#
|
384
|
+
# @return [String | Symbol] the current value of name
|
152
385
|
def name; end
|
386
|
+
|
387
|
+
# represent the name by which the context can be find.
|
388
|
+
#
|
389
|
+
# @param value [String | Symbol] the value to set the attribute name to.
|
390
|
+
# @return [String | Symbol] the newly set value
|
153
391
|
def name=(_); end
|
392
|
+
|
393
|
+
# namespace for context names to avoid collisions
|
394
|
+
#
|
395
|
+
# @return [String | Symbol] the current value of namespace
|
154
396
|
def namespace; end
|
397
|
+
|
398
|
+
# namespace for context names to avoid collisions
|
399
|
+
#
|
400
|
+
# @param value [String | Symbol] the value to set the attribute namespace to.
|
401
|
+
# @return [String | Symbol] the newly set value
|
155
402
|
def namespace=(_); end
|
403
|
+
|
404
|
+
# current rspec context class. This will be used to know where a define_context has been defined
|
405
|
+
#
|
406
|
+
# @return [Class] the current value of owner
|
156
407
|
def owner; end
|
408
|
+
|
409
|
+
# current rspec context class. This will be used to know where a define_context has been defined
|
410
|
+
#
|
411
|
+
# @param value [Class] the value to set the attribute owner to.
|
412
|
+
# @return [Class] the newly set value
|
157
413
|
def owner=(_); end
|
414
|
+
|
415
|
+
# does the in_context wrap itself into a context with its name or an anonymous context
|
416
|
+
#
|
417
|
+
# @return [Boolean] the current value of silent
|
158
418
|
def silent; end
|
419
|
+
|
420
|
+
# does the in_context wrap itself into a context with its name or an anonymous context
|
421
|
+
#
|
422
|
+
# @param value [Boolean] the value to set the attribute silent to.
|
423
|
+
# @return [Boolean] the newly set value
|
159
424
|
def silent=(_); end
|
160
425
|
|
161
426
|
class << self
|
162
427
|
def [](*_arg0); end
|
163
428
|
def inspect; end
|
429
|
+
def keyword_init?; end
|
164
430
|
def members; end
|
165
431
|
def new(*_arg0); end
|
166
432
|
end
|
167
433
|
end
|
168
434
|
|
435
|
+
# Allow context to be scoped inside a block
|
436
|
+
#
|
437
|
+
# source://rspec_in_context//lib/rspec_in_context/context_management.rb#5
|
169
438
|
module RspecInContext::ContextManagement
|
439
|
+
# prepending a RSpec method so we can know when a describe/context block finish
|
440
|
+
# its reading
|
441
|
+
#
|
442
|
+
# @api private
|
443
|
+
#
|
444
|
+
# source://rspec_in_context//lib/rspec_in_context/context_management.rb#9
|
170
445
|
def subclass(parent, description, args, registration_collection, &example_group_block); end
|
171
446
|
end
|
172
447
|
|
448
|
+
# Main module containing almost every methods
|
449
|
+
#
|
450
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#17
|
173
451
|
module RspecInContext::InContext
|
174
452
|
mixes_in_class_methods ::RspecInContext::InContext::ClassMethods
|
175
453
|
|
176
454
|
class << self
|
455
|
+
# Meta method to add a new context
|
456
|
+
#
|
457
|
+
# @api private
|
458
|
+
# @note Will warn if a context is overriden
|
459
|
+
#
|
460
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#37
|
177
461
|
def add_context(context_name, owner = T.unsafe(nil), namespace = T.unsafe(nil), silent = T.unsafe(nil), &block); end
|
462
|
+
|
463
|
+
# Contexts container + creation
|
464
|
+
#
|
465
|
+
# @api private
|
466
|
+
#
|
467
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#29
|
178
468
|
def contexts; end
|
469
|
+
|
470
|
+
# Find a context.
|
471
|
+
#
|
472
|
+
# @api private
|
473
|
+
#
|
474
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#45
|
179
475
|
def find_context(context_name, namespace = T.unsafe(nil)); end
|
476
|
+
|
477
|
+
# Look into every namespace to find the context
|
478
|
+
#
|
479
|
+
# @api private
|
480
|
+
#
|
481
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#55
|
180
482
|
def find_context_in_any_namespace(context_name); end
|
483
|
+
|
484
|
+
# Hook for easier inclusion of the gem in RSpec
|
485
|
+
#
|
486
|
+
# @api private
|
487
|
+
#
|
488
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#23
|
181
489
|
def included(base); end
|
490
|
+
|
491
|
+
# Define a context from outside a RSpec.describe block
|
492
|
+
#
|
493
|
+
# @api private
|
494
|
+
#
|
495
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#70
|
182
496
|
def outside_define_context(context_name, namespace, silent, &block); end
|
497
|
+
|
498
|
+
# Delete a context
|
499
|
+
#
|
500
|
+
# @api private
|
501
|
+
#
|
502
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#62
|
183
503
|
def remove_context(current_class); end
|
184
504
|
end
|
185
505
|
end
|
186
506
|
|
507
|
+
# This module define the methods that will be available for the end user inside RSpec tests
|
508
|
+
#
|
509
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#76
|
187
510
|
module RspecInContext::InContext::ClassMethods
|
511
|
+
# Let you define a context that can be reused later
|
512
|
+
#
|
513
|
+
# @note contexts are scoped to the block they are defined in.
|
514
|
+
# @param context_name [String, Symbol] The name of the context that will be re-used later
|
515
|
+
# @param namespace [String, Symbol] namespace name where the context will be stored.
|
516
|
+
# It helps reducing colisions when you define "global" contexts
|
517
|
+
# @param ns [String, Symbol] Alias of namespace
|
518
|
+
# @param block [Proc] Contain the code that will be injected with #in_context later
|
519
|
+
# @param silent [Boolean] Does the in_context wrap itself into a context with its name or an anonymous context
|
520
|
+
# @param print_context [Boolean] Reverse alias of silent
|
521
|
+
#
|
522
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#114
|
188
523
|
def define_context(context_name, namespace: T.unsafe(nil), ns: T.unsafe(nil), silent: T.unsafe(nil), print_context: T.unsafe(nil), &block); end
|
524
|
+
|
525
|
+
# Used in context definition
|
526
|
+
# Place where you want to re-inject code passed in argument of in_context
|
527
|
+
#
|
528
|
+
# For convenience and readability, a `instanciate_context` alias have been defined
|
529
|
+
# (for more examples look at tests)
|
530
|
+
#
|
531
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#98
|
189
532
|
def execute_tests; end
|
533
|
+
|
534
|
+
# Use a context and inject its content at this place in the code
|
535
|
+
#
|
536
|
+
# @param context_name [String, Symbol] The context namespace
|
537
|
+
# @param args [*Any] Any arg to be passed down to the injected context
|
538
|
+
# @param namespace [String, Symbol] namespace name where to look for the context
|
539
|
+
# @param ns [String, Symbol] Alias for :namespace
|
540
|
+
# @param block Content that will be re-injected (see #execute_tests)
|
541
|
+
#
|
542
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#84
|
190
543
|
def in_context(context_name, *args, namespace: T.unsafe(nil), ns: T.unsafe(nil), &block); end
|
544
|
+
|
545
|
+
# Used in context definition
|
546
|
+
# Place where you want to re-inject code passed in argument of in_context
|
547
|
+
#
|
548
|
+
# For convenience and readability, a `instanciate_context` alias have been defined
|
549
|
+
# (for more examples look at tests)
|
550
|
+
#
|
551
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#98
|
191
552
|
def instanciate_context; end
|
192
553
|
end
|
193
554
|
|
555
|
+
# Name of the Global context
|
556
|
+
#
|
557
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#19
|
194
558
|
RspecInContext::InContext::GLOBAL_CONTEXT = T.let(T.unsafe(nil), Symbol)
|
559
|
+
|
560
|
+
# Error type when no context is find from its name (and eventualy namespace)
|
561
|
+
#
|
562
|
+
# source://rspec_in_context//lib/rspec_in_context/in_context.rb#6
|
195
563
|
class RspecInContext::NoContextFound < ::StandardError; end
|
564
|
+
|
565
|
+
# Version of the gem
|
566
|
+
#
|
567
|
+
# source://rspec_in_context//lib/rspec_in_context/version.rb#5
|
196
568
|
RspecInContext::VERSION = T.let(T.unsafe(nil), String)
|