result-monad 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: a46ce98ac67bb98c771e13aa150b09f2bbfd913f
4
- data.tar.gz: 6de578017fbab8aa918ee5c5dff8aaac2c9bf0a5
3
+ metadata.gz: 4c05cfa053dac07865ae813bb39039e9b49f7770
4
+ data.tar.gz: 3fce9ed465b28e57f3b5b9658d4d9bf8d822978e
5
5
  SHA512:
6
- metadata.gz: 4efe4a7c1d80d5485dfb861df83f7a22132bd404ea579e050b73ed8bdd6f87268ef98ee8293a11b6a5a8b8fe53ce38e54fe8349f2c3a49167a46cce34da022d7
7
- data.tar.gz: 125c81ad50838e45931509ddb653355bccc27baa253dffcb063a804628cf8a3629e5bf27403306f4222eaf6886bce8a10e61becd6e36750ef54f4b270fe15ef2
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
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "result"
4
+ require "result-monad"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,4 +1,4 @@
1
- require "result/version"
1
+ require "result-monad/version"
2
2
  require 'byebug'
3
3
 
4
4
  def Error(error)
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ class Result
2
+ VERSION = "0.1.1"
3
+ end
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.0
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: {}
@@ -1,3 +0,0 @@
1
- class Result
2
- VERSION = "0.1.0"
3
- end