ruby-maybe 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/README.md +23 -0
  2. data/ruby-maybe.gemspec +1 -1
  3. metadata +3 -2
data/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # ruby-maybe
2
+
3
+ [![Build Status](https://travis-ci.org/oetzi/ruby-maybe.png?branch=master)](https://travis-ci.org/oetzi/ruby-maybe)
4
+
5
+ ![](http://f.cl.ly/items/2o2A3k1N2d3a1b0V3V0T/maybe.png)
6
+
7
+ ## Description
8
+
9
+ 'Maybe' not 'Maeby'. This is an implementation of the Maybe monad used in
10
+ [Haskell](http://www.haskell.org/haskellwiki/Maybe). Monads provide a
11
+ safe way to create non deterministic programs (for example, when not all
12
+ values are known at compile time). The Maybe monad allows programmers to
13
+ deal with values that may or may not be undefined.
14
+
15
+ ## Installation
16
+
17
+ Either include in your Gemfile:
18
+
19
+ gem 'ruby-maybe'
20
+
21
+ Or, install for your system:
22
+
23
+ > gem install ruby-maybe
data/ruby-maybe.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ruby-maybe"
6
- s.version = "0.0.1"
6
+ s.version = "0.0.2"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Callum Stott"]
9
9
  s.email = ["callum.stott@me.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-maybe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.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: 2013-03-02 00:00:00.000000000 Z
12
+ date: 2013-03-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email:
@@ -21,6 +21,7 @@ files:
21
21
  - .gitignore
22
22
  - Gemfile
23
23
  - Gemfile.lock
24
+ - README.md
24
25
  - Rakefile
25
26
  - lib/ruby-maybe.rb
26
27
  - ruby-maybe.gemspec