funktional 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/funktional.gemspec +1 -1
  2. data/lib/funktional.rb +1 -1
  3. metadata +3 -3
data/funktional.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{funktional}
5
- s.version = "3.0.3"
5
+ s.version = "3.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Brent Greeff and Felix Clack"]
data/lib/funktional.rb CHANGED
@@ -40,7 +40,7 @@ ActiveSupport::TestCase.send(:include, Funktional::AttributeTestHelper)
40
40
 
41
41
  ActiveSupport::TestCase.send(:include, Funktional::Setup)
42
42
 
43
- if RAILS_ENV.eql? 'test' or $0 == 'irb'
43
+ if Rails.env.eql? 'test' or $0 == 'irb'
44
44
  require 'funktional/random_characters'
45
45
  Integer.send :include, Funktional::RandomCharacters
46
46
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funktional
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 3
10
- version: 3.0.3
9
+ - 4
10
+ version: 3.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brent Greeff and Felix Clack