easy_monads 0.2.0 → 0.3.0

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
data/easy_monads.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "easy_monads"
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Stephen Sloan"]
data/lib/easy_monads.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require File.join(File.dirname(__FILE__), "easy_monads", "monadic")
2
- require File.join(File.dirname(__FILE__), "easy_monads", "option")
3
- require File.join(File.dirname(__FILE__), "easy_monads", "option_functions")
4
2
 
5
3
  module EasyMonads
6
4
 
7
5
  def self.option_everywhere!
6
+ require File.join(File.dirname(__FILE__), "easy_monads", "option")
7
+ require File.join(File.dirname(__FILE__), "easy_monads", "option_functions")
8
8
  Object.class_eval("include EasyMonads::Option")
9
9
  end
10
10
 
data/test/helper.rb CHANGED
@@ -15,6 +15,8 @@ require 'always_execute'
15
15
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
16
16
  $LOAD_PATH.unshift(File.dirname(__FILE__))
17
17
  require 'easy_monads'
18
+ require 'easy_monads/option'
19
+ require 'easy_monads/option_functions'
18
20
 
19
21
  class Test::Unit::TestCase
20
22
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_monads
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stephen Sloan