fear 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +1 -1
- data/README.md +2 -0
- data/lib/fear/utils.rb +1 -1
- data/lib/fear/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c95e49346ba535f1064e28cfd13d362b4d90e93
|
4
|
+
data.tar.gz: 59a2da6b6f7bdc0f5ceea902d5b9a4ca5f299a5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ace23b4375d62413a49c0f57f48bafb2fa69915a08cbac6ed0e021d5a5892c890c4111028e25d4deade4425aee9424ea47695045d1c4253b94cc3ba73a094fdd
|
7
|
+
data.tar.gz: d4dfb59841bca2985644dc3f34f550321c48bcb669ac7ad3ac55bb843e483bacce48371529e1223e2d09e89f08f811e4d90d1976c6a45d3a50f3613881e8346a
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Fear
|
2
2
|
[![Build Status](https://travis-ci.org/bolshakov/fear.svg?branch=master)](https://travis-ci.org/bolshakov/fear)
|
3
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/dbdcfb770918c425e5e4/maintainability)](https://codeclimate.com/github/bolshakov/functional/maintainability)
|
4
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/dbdcfb770918c425e5e4/test_coverage)](https://codeclimate.com/github/bolshakov/functional/test_coverage)
|
3
5
|
[![Gem Version](https://badge.fury.io/rb/fear.svg)](https://badge.fury.io/rb/fear)
|
4
6
|
|
5
7
|
This gem provides `Option`, `Either`, and `Try` monads implemented an idiomatic way.
|
data/lib/fear/utils.rb
CHANGED
@@ -11,7 +11,7 @@ module Fear
|
|
11
11
|
|
12
12
|
def assert_type!(value, *types)
|
13
13
|
if types.none? { |type| value.is_a?(type) }
|
14
|
-
fail TypeError, "expected `#{value}` to be of #{types.join(', ')} class"
|
14
|
+
fail TypeError, "expected `#{value.inspect}` to be of #{types.join(', ')} class"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
data/lib/fear/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tema Bolshakov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-equalizer
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
189
|
rubyforge_project:
|
190
|
-
rubygems_version: 2.
|
190
|
+
rubygems_version: 2.5.2.1
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: "%q{Ruby port of some Scala's monads.}"
|