simple_monads 0.1.2 → 0.1.3

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: b54f2145f19fa895f6951fc9e0654cb53c48eeea6cfdc6a5ecd637a1e2c49b2c
4
- data.tar.gz: 2444529cb48f516bd4c87581bcebe6dcd67acdd7442534b423c88f74c992f3c7
3
+ metadata.gz: 55714bdd3d9033064a313fdcbe6652e95d47a2825c840e4caefe98ed31a00cc3
4
+ data.tar.gz: 7e47070fa7811435c6035db49b2cc2842fd06db63ffc67fd24846552b4ff3fda
5
5
  SHA512:
6
- metadata.gz: 3a4a540a28a1ffb96f8a5cb8348688b0c411f8d6780217d47f98a0b59d4d490164f4fe3d5ae2bc1c5cf9abdd7cb6b60c6092d32efccc1939d6ef8a1987a1ed93
7
- data.tar.gz: aa48837f31b27ed918ddd37528ac6b112146682f158d0f9fb183623aba0687532ec4e93b97bb981a3bfd3069dd7657de30d5be5a783caf40ed82b9227746de6a
6
+ metadata.gz: 52b545aba9f0146ac012c3b5ad80faacdc62606c53ebf605fbc8ae57f0344c2f4dc5758cbabeaa8f14d9aa583756c8dc9ef970afa792d31cfbe8fa142f4a487c
7
+ data.tar.gz: 886c5859ca487ca083d5a190affb1cf792dafa204d78e1f2260d0a95547dbaa604af3c14e37efc55e5150efccc5a915c4057bc4b98bea229095a1c3f1578cecf
@@ -4,6 +4,7 @@ module SimpleMonads
4
4
  # failure object
5
5
  class FailureObject
6
6
  attr_reader :object
7
+ alias failure object
7
8
 
8
9
  def initialize(object)
9
10
  @object = object
@@ -4,6 +4,7 @@ module SimpleMonads
4
4
  # success object
5
5
  class SuccessObject
6
6
  attr_reader :object
7
+ alias success object
7
8
 
8
9
  def initialize(object)
9
10
  @object = object
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleMonads
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_monads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Leonov