devise_w3_authenticatable 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{devise_w3_authenticatable}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rodrigo Navarro"]
@@ -1,7 +1,9 @@
1
- Devise::Schema.class_eval do
2
- def w3_authenticatable(options={})
3
- null = options[:null] || false
1
+ module Devise
2
+ module Schema
3
+ def w3_authenticatable(options = {})
4
+ null = options[:null] || false
4
5
 
5
- apply_devise_schema :email, String, :null => null
6
+ apply_devise_schema :email, String, :null => null
7
+ end
6
8
  end
7
9
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Rodrigo Navarro