dry-monads-sorbet 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25c5b71c33daec16deda28a30aa06d0ba39738295c86c87c497554f12d7a9ca3
4
- data.tar.gz: 1479a94070fa413a7adefdd171b740987a583b62802cdb6f14f919cdd4730f4e
3
+ metadata.gz: 5b47b9f92d2d682074d79271e53464141d4939ad68adc600008cd4868320fd2f
4
+ data.tar.gz: dc6db35e3f498dd7bcf8e50b3cdb5da8c9ecc46d7e92b8d71452556ff9fb7bf7
5
5
  SHA512:
6
- metadata.gz: '08ef83a7c701035db63f190270acd65599d5f37703e5debee6d659a0460e324be13e012ace46238d1bdaa6a65576ac8836dfb07e55868eeffbf0f93b71ef9705'
7
- data.tar.gz: 246a737a59c34f0e8a371be92a6ccf0d22c0d66fab043f21ac0c7edcd1b1bb22d99e861ecd614765e4fe52cc6f41f7e0309eb3a9f0abe5cb11f18e3e49b77f76
6
+ metadata.gz: 44a23bb6e36311dd455b687e64663d431de984fff5e68c5eb096302dad5a03e14ff7f0a3c0d58a3b5823bc875bfa815ff1fabdf3b22694f2e5edc7f98ad1396c
7
+ data.tar.gz: d991d3be95b527c3ff734c41eecd5df1ee39e0f74f95d6cc8ea65d05e86e0139a2dc042cb63c62e5f9959697a340490f809671bb893a320207619a5771503b13
@@ -1,6 +1,10 @@
1
+ 1.1.3
2
+
3
+ * Fix missing type annotation for `Dry::Monads::Maybe#value!`.
4
+
1
5
  1.1.2
2
6
 
3
- * Fix an issue when used alongside `sorbet-rails`
7
+ * Fix an issue when used alongside `sorbet-rails`.
4
8
 
5
9
  1.1.1
6
10
 
@@ -12,4 +16,4 @@
12
16
 
13
17
  1.0.0
14
18
 
15
- * Initial release
19
+ * Initial release.
@@ -71,6 +71,11 @@ class Dry::Monads::Maybe
71
71
  end
72
72
  def value_or(val = nil, &blk); end
73
73
 
74
+ sig do
75
+ returns(Elem)
76
+ end
77
+ def value!; end
78
+
74
79
  sig do
75
80
  params(arg0: T.untyped)
76
81
  .returns(T.self_type)
@@ -105,12 +110,6 @@ class Dry::Monads::Maybe::Some < Dry::Monads::Maybe
105
110
 
106
111
  sig {params(value: Elem).void}
107
112
  def initialize(value = nil); end
108
-
109
- sig do
110
- returns(Elem)
111
- end
112
- def value!; end
113
-
114
113
  def inspect; end
115
114
  def maybe(*args, &block); end
116
115
  def self.[](*value); end
@@ -595,7 +594,6 @@ module Dry::Monads::Lazy::Mixin::Constructors
595
594
  end
596
595
  class Dry::Monads::Result::Fixed < Module
597
596
  def included(base); end
598
- def initialize(error, **options); end
599
597
  def self.[](error, **options); end
600
598
  end
601
599
  # This file is autogenerated. Do not edit it by hand. Regenerate it with:
@@ -718,7 +716,6 @@ class Dry::Monads::Maybe::None < Dry::Monads::Maybe
718
716
  def deconstruct; end
719
717
  def eql?(other); end
720
718
  def hash; end
721
- def initialize(trace = nil); end
722
719
  def inspect; end
723
720
  def maybe(*arg0); end
724
721
  def or(*args); end
@@ -3,7 +3,7 @@
3
3
  module Dry
4
4
  module Monads
5
5
  module Sorbet
6
- VERSION = '1.1.2'
6
+ VERSION = '1.1.3'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-monads-sorbet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Worth