dry-monads-sorbet 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d75d54ff6ec8c8f4d444a2a3edd7d301184eb0f4e4645c2a398f8697f99e62de
4
- data.tar.gz: e1aff83742024ba30e3a1cbf57049927b3214c4cab3f0f1d7cace090224c0d33
3
+ metadata.gz: c162c02b06ea82b8877f4286164b149c376e78a473e5383783dade8602657b02
4
+ data.tar.gz: 03bc626123b841ce47691676f3144757f029a91af0351595faf8dce616863232
5
5
  SHA512:
6
- metadata.gz: 20da7ed4fd98c6929f6972c1445d245a0415de6bb84193cbe4a95acedbe61e6c4d1607591b52dc8580fb4dbf068b3af5a3557bd0b0d3aebe592af1b8c7f6afa7
7
- data.tar.gz: ab2725e8f12568b1403c16a62a7a85efafaa80e4917531f0fd1a46c3f0a8503d3570bfbf2c4ed25ae3f7e68241fc3f125471dbea59dd4fa8a593c2c8830d4a80
6
+ metadata.gz: 32e149b3893c78524494007e3182ec6313c919eb1d2cca4c5054d361162a7c44dad62854ae80e20679cd76adf5f7cc310e909a084d3df0143be3c950e192171c
7
+ data.tar.gz: a9b96dba4bd1aa5c90731ac8202d2a1dd05592e40b9a0dd93e147b311776c94719d95175c56d7413f00e768834d02665f89c8e92c145ee6730c42c57fcb469b0
@@ -1,3 +1,7 @@
1
+ 1.1.5
2
+
3
+ * Fix inaccurate type annotations for `Dry::Monads::Maybe#fmap` and `Dry::Monads::Result#fmap`.
4
+
1
5
  1.1.4
2
6
 
3
7
  * Remove accidentally included autogenerated annotations from `dry-monads.rbi`.
@@ -59,8 +59,8 @@ class Dry::Monads::Maybe
59
59
 
60
60
  sig do
61
61
  type_parameters(:New)
62
- .params(blk: T.proc.params(arg0: Elem).returns(T.type_parameter(:out, :New)))
63
- .returns(Dry::Monads::Maybe[T.type_parameter(:out, :New)])
62
+ .params(blk: T.proc.params(arg0: Elem).returns(T.type_parameter(:New)))
63
+ .returns(Dry::Monads::Maybe[T.type_parameter(:New)])
64
64
  end
65
65
  def fmap(&blk); end
66
66
 
@@ -180,8 +180,8 @@ class Dry::Monads::Result
180
180
 
181
181
  sig do
182
182
  type_parameters(:New)
183
- .params(blk: T.proc.params(arg0: SuccessType).returns(T.type_parameter(:out, :New)))
184
- .returns(Dry::Monads::Result[FailureType, T.type_parameter(:out, :New)])
183
+ .params(blk: T.proc.params(arg0: SuccessType).returns(T.type_parameter(:New)))
184
+ .returns(Dry::Monads::Result[FailureType, T.type_parameter(:New)])
185
185
  end
186
186
  def fmap(&blk); end
187
187
 
@@ -3,7 +3,7 @@
3
3
  module Dry
4
4
  module Monads
5
5
  module Sorbet
6
- VERSION = '1.1.4'
6
+ VERSION = '1.1.5'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-monads-sorbet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Worth
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-17 00:00:00.000000000 Z
11
+ date: 2020-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet