sorbet-result 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.standard.yml +1 -1
  4. data/.tool-versions +1 -1
  5. data/CHANGELOG.md +11 -0
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +52 -57
  8. data/README.md +3 -3
  9. data/lib/typed/result.rb +32 -2
  10. data/sorbet/rbi/gems/ast@2.4.2.rbi +1 -0
  11. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +20 -15
  12. data/sorbet/rbi/gems/io-console@0.7.2.rbi +1 -0
  13. data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.5.rbi} +148 -72
  14. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +1 -0
  15. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +1 -0
  16. data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.25.1.rbi} +252 -241
  17. data/sorbet/rbi/gems/netrc@0.11.0.rbi +1 -0
  18. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
  19. data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.5.1.rbi} +233 -186
  20. data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
  21. data/sorbet/rbi/gems/psych@5.1.2.rbi +1 -0
  22. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +38 -33
  23. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +1 -0
  24. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
  25. data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
  26. data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
  27. data/sorbet/rbi/gems/{reline@0.4.2.rbi → reline@0.5.10.rbi} +1 -0
  28. data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.33.1.rbi} +1143 -671
  29. data/sorbet/rbi/gems/{rubocop-performance@1.20.2.rbi → rubocop-performance@1.22.1.rbi} +1 -0
  30. data/sorbet/rbi/gems/{rubocop-sorbet@0.7.7.rbi → rubocop-sorbet@0.7.8.rbi} +1 -0
  31. data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.66.1.rbi} +3312 -2415
  32. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1 -0
  33. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.5.0.rbi} +2009 -854
  34. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +1 -0
  35. data/sorbet/rbi/gems/{standard-performance@1.3.1.rbi → standard-performance@1.5.0.rbi} +1 -0
  36. data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +1 -0
  37. data/sorbet/rbi/gems/{standard@1.34.0.rbi → standard@1.41.1.rbi} +171 -95
  38. data/sorbet/rbi/gems/{stringio@3.1.0.rbi → stringio@3.1.1.rbi} +1 -0
  39. data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.16.3.rbi} +357 -257
  40. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.2.rbi} +114 -81
  41. data/sorbet/rbi/gems/{unicode-display_width@2.5.0.rbi → unicode-display_width@2.6.0.rbi} +1 -0
  42. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  43. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +430 -270
  44. metadata +28 -45
  45. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  46. data/sorbet/rbi/gems/prism@0.24.0.rbi +0 -31040
  47. data/sorbet/rbi/gems/rbi@0.1.9.rbi +0 -3006
  48. data/sorbet/rbi/gems/rexml@3.2.6.rbi +0 -4781
  49. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23133
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet-result
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max VelDink
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-21 00:00:00.000000000 Z
11
+ date: 2024-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.5'
27
- - !ruby/object:Gem::Dependency
28
- name: minitest
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '5.22'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '5.22'
41
27
  description:
42
28
  email:
43
29
  - maxveldink@gmail.com
@@ -64,42 +50,39 @@ files:
64
50
  - sorbet/rbi/annotations/rainbow.rbi
65
51
  - sorbet/rbi/gems/.gitattributes
66
52
  - sorbet/rbi/gems/ast@2.4.2.rbi
67
- - sorbet/rbi/gems/erubi@1.12.0.rbi
53
+ - sorbet/rbi/gems/erubi@1.13.0.rbi
68
54
  - sorbet/rbi/gems/io-console@0.7.2.rbi
69
- - sorbet/rbi/gems/json@2.7.1.rbi
55
+ - sorbet/rbi/gems/json@2.7.5.rbi
70
56
  - sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi
71
57
  - sorbet/rbi/gems/lint_roller@1.1.0.rbi
72
- - sorbet/rbi/gems/minitest@5.22.2.rbi
58
+ - sorbet/rbi/gems/minitest@5.25.1.rbi
73
59
  - sorbet/rbi/gems/netrc@0.11.0.rbi
74
- - sorbet/rbi/gems/parallel@1.24.0.rbi
75
- - sorbet/rbi/gems/parser@3.3.0.5.rbi
76
- - sorbet/rbi/gems/prettier_print@1.2.1.rbi
77
- - sorbet/rbi/gems/prism@0.24.0.rbi
60
+ - sorbet/rbi/gems/parallel@1.26.3.rbi
61
+ - sorbet/rbi/gems/parser@3.3.5.1.rbi
62
+ - sorbet/rbi/gems/prism@1.2.0.rbi
78
63
  - sorbet/rbi/gems/psych@5.1.2.rbi
79
- - sorbet/rbi/gems/racc@1.7.3.rbi
64
+ - sorbet/rbi/gems/racc@1.8.1.rbi
80
65
  - sorbet/rbi/gems/rainbow@3.1.1.rbi
81
- - sorbet/rbi/gems/rake@13.1.0.rbi
82
- - sorbet/rbi/gems/rbi@0.1.9.rbi
83
- - sorbet/rbi/gems/regexp_parser@2.9.0.rbi
84
- - sorbet/rbi/gems/reline@0.4.2.rbi
85
- - sorbet/rbi/gems/rexml@3.2.6.rbi
86
- - sorbet/rbi/gems/rubocop-ast@1.30.0.rbi
87
- - sorbet/rbi/gems/rubocop-performance@1.20.2.rbi
88
- - sorbet/rbi/gems/rubocop-sorbet@0.7.7.rbi
89
- - sorbet/rbi/gems/rubocop@1.60.2.rbi
66
+ - sorbet/rbi/gems/rake@13.2.1.rbi
67
+ - sorbet/rbi/gems/rbi@0.2.1.rbi
68
+ - sorbet/rbi/gems/regexp_parser@2.9.2.rbi
69
+ - sorbet/rbi/gems/reline@0.5.10.rbi
70
+ - sorbet/rbi/gems/rubocop-ast@1.33.1.rbi
71
+ - sorbet/rbi/gems/rubocop-performance@1.22.1.rbi
72
+ - sorbet/rbi/gems/rubocop-sorbet@0.7.8.rbi
73
+ - sorbet/rbi/gems/rubocop@1.66.1.rbi
90
74
  - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi
91
- - sorbet/rbi/gems/spoom@1.2.4.rbi
75
+ - sorbet/rbi/gems/spoom@1.5.0.rbi
92
76
  - sorbet/rbi/gems/standard-custom@1.0.2.rbi
93
- - sorbet/rbi/gems/standard-performance@1.3.1.rbi
77
+ - sorbet/rbi/gems/standard-performance@1.5.0.rbi
94
78
  - sorbet/rbi/gems/standard-sorbet@0.0.2.rbi
95
- - sorbet/rbi/gems/standard@1.34.0.rbi
96
- - sorbet/rbi/gems/stringio@3.1.0.rbi
97
- - sorbet/rbi/gems/syntax_tree@6.2.0.rbi
98
- - sorbet/rbi/gems/tapioca@0.12.0.rbi
99
- - sorbet/rbi/gems/thor@1.3.0.rbi
100
- - sorbet/rbi/gems/unicode-display_width@2.5.0.rbi
101
- - sorbet/rbi/gems/yard-sorbet@0.8.1.rbi
102
- - sorbet/rbi/gems/yard@0.9.34.rbi
79
+ - sorbet/rbi/gems/standard@1.41.1.rbi
80
+ - sorbet/rbi/gems/stringio@3.1.1.rbi
81
+ - sorbet/rbi/gems/tapioca@0.16.3.rbi
82
+ - sorbet/rbi/gems/thor@1.3.2.rbi
83
+ - sorbet/rbi/gems/unicode-display_width@2.6.0.rbi
84
+ - sorbet/rbi/gems/yard-sorbet@0.9.0.rbi
85
+ - sorbet/rbi/gems/yard@0.9.37.rbi
103
86
  - sorbet/tapioca/config.yml
104
87
  - sorbet/tapioca/require.rb
105
88
  homepage: https://github.com/maxveldink/sorbet-result
@@ -119,14 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
102
  requirements:
120
103
  - - ">="
121
104
  - !ruby/object:Gem::Version
122
- version: '3.0'
105
+ version: '3.1'
123
106
  required_rubygems_version: !ruby/object:Gem::Requirement
124
107
  requirements:
125
108
  - - ">="
126
109
  - !ruby/object:Gem::Version
127
110
  version: '0'
128
111
  requirements: []
129
- rubygems_version: 3.5.3
112
+ rubygems_version: 3.5.16
130
113
  signing_key:
131
114
  specification_version: 4
132
115
  summary: Adds T::Result to sorbet-runtime, which is a basic, strongly-typed monad