two_factor_authentication 0.0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  In a Rails environment, require the gem in your Gemfile:
15
15
 
16
- gem 'two_factor_authentication', git: "http://github.com/Houdini/two_factor_authentication.git"
16
+ gem 'two_factor_authentication'
17
17
 
18
18
  Once that's done, run:
19
19
 
@@ -8,7 +8,7 @@ module Devise
8
8
  ::Devise::Models.config(self, :login_code_random_pattern, :max_login_attempts)
9
9
  end
10
10
 
11
- def need_two_factor_authentication?
11
+ def need_two_factor_authentication?(request)
12
12
  true
13
13
  end
14
14
 
@@ -1,3 +1,3 @@
1
1
  module TwoFactorAuthentication
2
- VERSION = "0.0.1"
2
+ VERSION = "0.2".freeze
3
3
  end
@@ -4,7 +4,7 @@ require "two_factor_authentication/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "two_factor_authentication"
7
- s.version = TwoFactorAuthentication::VERSION
7
+ s.version = TwoFactorAuthentication::VERSION.dup
8
8
  s.authors = ["Dmitrii Golub"]
9
9
  s.email = ["dmitrii.golub@gmail.com"]
10
10
  s.homepage = "https://github.com/Houdini/two_factor_authentication"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: two_factor_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: '0.2'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-21 00:00:00.000000000 Z
12
+ date: 2012-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -131,3 +131,4 @@ signing_key:
131
131
  specification_version: 3
132
132
  summary: Two factor authentication plugin for devise
133
133
  test_files: []
134
+ has_rdoc: