monadic 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/monadic/maybe.rb +4 -0
- data/lib/monadic/version.rb +1 -1
- data/spec/maybe_spec.rb +1 -0
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/lib/monadic/maybe.rb
CHANGED
data/lib/monadic/version.rb
CHANGED
data/spec/maybe_spec.rb
CHANGED
@@ -183,5 +183,6 @@ describe Monadic::Maybe do
|
|
183
183
|
Maybe({a: 1}).proxy.fetch(:a).should == Maybe(1)
|
184
184
|
Maybe("FOO").proxy.downcase.capitalize.should == Maybe("Foo")
|
185
185
|
Maybe(nil).proxy.downcase.capitalize.bar.should == Nothing
|
186
|
+
Maybe({a: 1}).proxy.__fetch__.should == {a: 1}
|
186
187
|
end
|
187
188
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monadic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|