dry-monads-sorbet 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +14 -22
  3. data/.gitignore +3 -1
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -6
  6. data/bin/tapioca +29 -0
  7. data/dry-monads-sorbet.gemspec +3 -2
  8. data/lib/bundled_rbi/dry-monads.rbi +3 -3
  9. data/lib/dry/monads/sorbet/version.rb +1 -1
  10. data/nix/sources.json +14 -0
  11. data/nix/sources.nix +174 -0
  12. data/run_ci.sh +7 -0
  13. data/shell.nix +20 -0
  14. data/sorbet/config +6 -0
  15. data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
  16. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  17. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  18. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +915 -0
  19. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  20. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  21. data/sorbet/rbi/gems/dry-core@0.7.1.rbi +92 -0
  22. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +28 -0
  23. data/sorbet/rbi/gems/dry-monads@1.4.0.rbi +697 -0
  24. data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
  25. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  26. data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
  27. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
  28. data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
  29. data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
  30. data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
  31. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
  32. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  33. data/sorbet/rbi/gems/rb-readline@0.5.5.rbi +884 -0
  34. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  35. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  36. data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
  37. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2345 -1766
  38. data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
  39. data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
  40. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  41. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  42. data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
  43. data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
  44. data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
  45. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  46. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  47. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  48. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  49. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  50. data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
  51. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  52. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  53. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
  54. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  55. data/sorbet/tapioca/require.rb +4 -0
  56. metadata +65 -68
  57. data/.ruby-version +0 -1
  58. data/sorbet/rbi/gems/activesupport.rbi +0 -1722
  59. data/sorbet/rbi/gems/byebug.rbi +0 -1041
  60. data/sorbet/rbi/gems/coderay.rbi +0 -285
  61. data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
  62. data/sorbet/rbi/gems/docile.rbi +0 -32
  63. data/sorbet/rbi/gems/dry-core.rbi +0 -38
  64. data/sorbet/rbi/gems/dry-equalizer.rbi +0 -26
  65. data/sorbet/rbi/gems/dry-monads.rbi +0 -510
  66. data/sorbet/rbi/gems/em-websocket.rbi +0 -225
  67. data/sorbet/rbi/gems/eventmachine.rbi +0 -489
  68. data/sorbet/rbi/gems/ffaker.rbi +0 -60
  69. data/sorbet/rbi/gems/guard.rbi +0 -397
  70. data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
  71. data/sorbet/rbi/gems/i18n.rbi +0 -133
  72. data/sorbet/rbi/gems/kwalify.rbi +0 -340
  73. data/sorbet/rbi/gems/listen.rbi +0 -324
  74. data/sorbet/rbi/gems/lumberjack.rbi +0 -300
  75. data/sorbet/rbi/gems/method_source.rbi +0 -64
  76. data/sorbet/rbi/gems/multi_json.rbi +0 -62
  77. data/sorbet/rbi/gems/nenv.rbi +0 -60
  78. data/sorbet/rbi/gems/notiffany.rbi +0 -215
  79. data/sorbet/rbi/gems/parallel.rbi +0 -82
  80. data/sorbet/rbi/gems/parser.rbi +0 -1846
  81. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  82. data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
  83. data/sorbet/rbi/gems/rb-readline.rbi +0 -767
  84. data/sorbet/rbi/gems/reek.rbi +0 -1027
  85. data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
  86. data/sorbet/rbi/gems/rspec-support.rbi +0 -280
  87. data/sorbet/rbi/gems/rspec.rbi +0 -15
  88. data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
  89. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
  90. data/sorbet/rbi/gems/rubocop.rbi +0 -6841
  91. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  92. data/sorbet/rbi/gems/shellany.rbi +0 -29
  93. data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
  94. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  95. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  96. data/sorbet/rbi/gems/sqlite3.rbi +0 -354
  97. data/sorbet/rbi/gems/stackprof.rbi +0 -52
  98. data/sorbet/rbi/gems/thor.rbi +0 -32
  99. data/sorbet/rbi/gems/thread_safe.rbi +0 -82
  100. data/sorbet/rbi/gems/timecop.rbi +0 -98
  101. data/sorbet/rbi/gems/tzinfo.rbi +0 -406
  102. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  103. data/sorbet/rbi/hidden-definitions/errors.txt +0 -7267
  104. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14661
  105. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
  106. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
  107. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
  108. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  109. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
  110. data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
  111. data/sorbet/rbi/todo.rbi +0 -8
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `diff-lcs` gem.
3
+ # Please instead update this file by running `bin/tapioca gem diff-lcs`.
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,54 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `docile` gem.
3
+ # Please instead update this file by running `bin/tapioca gem docile`.
4
+
5
+ # typed: true
6
+
7
+ module Docile
8
+ extend ::Docile::Execution
9
+
10
+ private
11
+
12
+ def dsl_eval(dsl, *args, &block); end
13
+ def dsl_eval_immutable(dsl, *args, &block); end
14
+ def dsl_eval_with_block_return(dsl, *args, &block); end
15
+
16
+ class << self
17
+ def dsl_eval(dsl, *args, &block); end
18
+ def dsl_eval_immutable(dsl, *args, &block); end
19
+ def dsl_eval_with_block_return(dsl, *args, &block); end
20
+ end
21
+ end
22
+
23
+ module Docile::BacktraceFilter
24
+ def backtrace; end
25
+ def backtrace_locations; end
26
+ end
27
+
28
+ Docile::BacktraceFilter::FILTER_PATTERN = T.let(T.unsafe(nil), Regexp)
29
+
30
+ class Docile::ChainingFallbackContextProxy < ::Docile::FallbackContextProxy
31
+ def method_missing(method, *args, &block); end
32
+ end
33
+
34
+ module Docile::Execution
35
+ private
36
+
37
+ def exec_in_proxy_context(dsl, proxy_type, *args, &block); end
38
+
39
+ class << self
40
+ def exec_in_proxy_context(dsl, proxy_type, *args, &block); end
41
+ end
42
+ end
43
+
44
+ class Docile::FallbackContextProxy
45
+ def initialize(receiver, fallback); end
46
+
47
+ def instance_variables; end
48
+ def method_missing(method, *args, &block); end
49
+ end
50
+
51
+ Docile::FallbackContextProxy::NON_FALLBACK_METHODS = T.let(T.unsafe(nil), Set)
52
+ Docile::FallbackContextProxy::NON_PROXIED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Set)
53
+ Docile::FallbackContextProxy::NON_PROXIED_METHODS = T.let(T.unsafe(nil), Set)
54
+ Docile::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,92 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `dry-core` gem.
3
+ # Please instead update this file by running `bin/tapioca gem dry-core`.
4
+
5
+ # typed: true
6
+
7
+ module Dry
8
+ class << self
9
+ def Equalizer(*keys, **options); end
10
+ end
11
+ end
12
+
13
+ module Dry::Core; end
14
+
15
+ module Dry::Core::ClassAttributes
16
+ include ::Dry::Core::Constants
17
+
18
+ def defines(*args, type: T.unsafe(nil), coerce: T.unsafe(nil)); end
19
+ end
20
+
21
+ Dry::Core::ClassAttributes::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
22
+ Dry::Core::ClassAttributes::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
23
+ Dry::Core::ClassAttributes::EMPTY_OPTS = T.let(T.unsafe(nil), Hash)
24
+ Dry::Core::ClassAttributes::EMPTY_SET = T.let(T.unsafe(nil), Set)
25
+ Dry::Core::ClassAttributes::EMPTY_STRING = T.let(T.unsafe(nil), String)
26
+ Dry::Core::ClassAttributes::IDENTITY = T.let(T.unsafe(nil), Proc)
27
+ Dry::Core::ClassAttributes::Self = T.let(T.unsafe(nil), Proc)
28
+ Dry::Core::ClassAttributes::Undefined = T.let(T.unsafe(nil), Object)
29
+
30
+ module Dry::Core::Constants
31
+ class << self
32
+ def included(base); end
33
+ end
34
+ end
35
+
36
+ Dry::Core::Constants::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
37
+ Dry::Core::Constants::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
38
+ Dry::Core::Constants::EMPTY_OPTS = T.let(T.unsafe(nil), Hash)
39
+ Dry::Core::Constants::EMPTY_SET = T.let(T.unsafe(nil), Set)
40
+ Dry::Core::Constants::EMPTY_STRING = T.let(T.unsafe(nil), String)
41
+ Dry::Core::Constants::IDENTITY = T.let(T.unsafe(nil), Proc)
42
+ Dry::Core::Constants::Self = T.let(T.unsafe(nil), Proc)
43
+ Dry::Core::Constants::Undefined = T.let(T.unsafe(nil), Object)
44
+
45
+ module Dry::Core::Deprecations
46
+ class << self
47
+ def [](tag); end
48
+ def announce(name, msg, tag: T.unsafe(nil), uplevel: T.unsafe(nil)); end
49
+ def deprecated_name_message(old, new = T.unsafe(nil), msg = T.unsafe(nil)); end
50
+ def deprecation_message(name, msg); end
51
+ def logger(output = T.unsafe(nil)); end
52
+ def set_logger!(output = T.unsafe(nil)); end
53
+ def warn(msg, tag: T.unsafe(nil), uplevel: T.unsafe(nil)); end
54
+ end
55
+ end
56
+
57
+ module Dry::Core::Deprecations::Interface
58
+ def deprecate(old_name, new_name = T.unsafe(nil), message: T.unsafe(nil)); end
59
+ def deprecate_class_method(old_name, new_name = T.unsafe(nil), message: T.unsafe(nil)); end
60
+ def deprecate_constant(constant_name, message: T.unsafe(nil)); end
61
+ def deprecation_tag(tag = T.unsafe(nil)); end
62
+ def warn(msg); end
63
+ end
64
+
65
+ Dry::Core::Deprecations::STACK = T.let(T.unsafe(nil), Proc)
66
+
67
+ class Dry::Core::Deprecations::Tagged < ::Module
68
+ def initialize(tag); end
69
+
70
+ def extended(base); end
71
+ end
72
+
73
+ class Dry::Core::Equalizer < ::Module
74
+ def initialize(*keys, **options); end
75
+
76
+ private
77
+
78
+ def define_cmp_method; end
79
+ def define_hash_method(immutable:); end
80
+ def define_inspect_method; end
81
+ def define_methods(inspect: T.unsafe(nil), immutable: T.unsafe(nil)); end
82
+ def included(descendant); end
83
+ end
84
+
85
+ module Dry::Core::Equalizer::Methods
86
+ def ==(other); end
87
+ def eql?(other); end
88
+ end
89
+
90
+ class Dry::Core::InvalidClassAttributeValue < ::StandardError
91
+ def initialize(name, value); end
92
+ end
@@ -0,0 +1,28 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `dry-equalizer` gem.
3
+ # Please instead update this file by running `bin/tapioca gem dry-equalizer`.
4
+
5
+ # typed: true
6
+
7
+ module Dry
8
+ class << self
9
+ def Equalizer(*keys, **options); end
10
+ end
11
+ end
12
+
13
+ class Dry::Equalizer < ::Module
14
+ def initialize(*keys, **options); end
15
+
16
+ private
17
+
18
+ def define_cmp_method; end
19
+ def define_hash_method(immutable:); end
20
+ def define_inspect_method; end
21
+ def define_methods(inspect: T.unsafe(nil), immutable: T.unsafe(nil)); end
22
+ def included(descendant); end
23
+ end
24
+
25
+ module Dry::Equalizer::Methods
26
+ def ==(other); end
27
+ def eql?(other); end
28
+ end