result-monad 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/console +1 -1
- data/lib/{result.rb → result-monad.rb} +1 -1
- data/lib/{result → result-monad}/error.rb +0 -0
- data/lib/{result → result-monad}/ok.rb +0 -0
- data/lib/result-monad/version.rb +3 -0
- data/result.gemspec +2 -2
- metadata +6 -6
- data/lib/result/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c05cfa053dac07865ae813bb39039e9b49f7770
|
4
|
+
data.tar.gz: 3fce9ed465b28e57f3b5b9658d4d9bf8d822978e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2c779b1cb7c203d0c0ea6d699db28b167844ab126d27815696171a9422813b22025aa8c355e5a1d952e4c35e636cbe89528cfb307ee0a4ae74f095c07cf756a
|
7
|
+
data.tar.gz: 64069199a99ca580c78c4623984268d071fcc953c7e0be26833c497682c1fe075ad396c56279d6bdbef33bb9acb6afa00e44a6720b879c2699f5773bbbcf52cb
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
Add this line to your application's Gemfile:
|
5
5
|
|
6
6
|
```ruby
|
7
|
-
gem 'result'
|
7
|
+
gem 'result-monad'
|
8
8
|
```
|
9
9
|
|
10
10
|
And then execute:
|
@@ -13,7 +13,7 @@ And then execute:
|
|
13
13
|
|
14
14
|
Or install it yourself as:
|
15
15
|
|
16
|
-
$ gem install result
|
16
|
+
$ gem install result-monad
|
17
17
|
|
18
18
|
## Usage
|
19
19
|
|
data/bin/console
CHANGED
File without changes
|
File without changes
|
data/result.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'result/version'
|
4
|
+
require 'result-monad/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "result-monad"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = "The Result Monad implemented in ruby."
|
13
13
|
spec.description = "The Result Monad implemented in ruby. Designed to maximize usefulness, as sticking to the category theoretical Monad is not really feasible without an evolved static type system."
|
14
|
-
spec.homepage = "http://gitlab.com/zachdaniel/result"
|
14
|
+
spec.homepage = "http://gitlab.com/zachdaniel/result-monad"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: result-monad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Daniel
|
@@ -85,12 +85,12 @@ files:
|
|
85
85
|
- Rakefile
|
86
86
|
- bin/console
|
87
87
|
- bin/setup
|
88
|
-
- lib/result.rb
|
89
|
-
- lib/result/error.rb
|
90
|
-
- lib/result/ok.rb
|
91
|
-
- lib/result/version.rb
|
88
|
+
- lib/result-monad.rb
|
89
|
+
- lib/result-monad/error.rb
|
90
|
+
- lib/result-monad/ok.rb
|
91
|
+
- lib/result-monad/version.rb
|
92
92
|
- result.gemspec
|
93
|
-
homepage: http://gitlab.com/zachdaniel/result
|
93
|
+
homepage: http://gitlab.com/zachdaniel/result-monad
|
94
94
|
licenses:
|
95
95
|
- MIT
|
96
96
|
metadata: {}
|
data/lib/result/version.rb
DELETED