devise-authy 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +22 -0
- data/Gemfile.lock +138 -0
- data/LICENSE.txt +20 -0
- data/README.md +86 -0
- data/Rakefile +42 -0
- data/VERSION +1 -0
- data/app/assets/javascripts/devise_authy.js +7 -0
- data/app/assets/stylesheets/devise_authy.css +26 -0
- data/app/assets/stylesheets/devise_authy.sass +23 -0
- data/app/controllers/devise/devise_authy_controller.rb +109 -0
- data/app/views/devise/enable_authy.html.erb +8 -0
- data/app/views/devise/enable_authy.html.haml +8 -0
- data/app/views/devise/verify_authy.html.erb +13 -0
- data/app/views/devise/verify_authy.html.haml +11 -0
- data/app/views/devise/verify_authy_installation.html.erb +10 -0
- data/app/views/devise/verify_authy_installation.html.haml +8 -0
- data/authy-devise-demo/.gitignore +15 -0
- data/authy-devise-demo/Gemfile +39 -0
- data/authy-devise-demo/Gemfile.lock +134 -0
- data/authy-devise-demo/README.md +64 -0
- data/authy-devise-demo/Rakefile +7 -0
- data/authy-devise-demo/app/assets/images/rails.png +0 -0
- data/authy-devise-demo/app/assets/javascripts/application.js +15 -0
- data/authy-devise-demo/app/assets/javascripts/devise_authy.js +7 -0
- data/authy-devise-demo/app/assets/javascripts/welcome.js.coffee +3 -0
- data/authy-devise-demo/app/assets/stylesheets/application.css +13 -0
- data/authy-devise-demo/app/assets/stylesheets/devise_authy.css +26 -0
- data/authy-devise-demo/app/assets/stylesheets/welcome.css.scss +3 -0
- data/authy-devise-demo/app/controllers/application_controller.rb +3 -0
- data/authy-devise-demo/app/controllers/welcome_controller.rb +6 -0
- data/authy-devise-demo/app/helpers/application_helper.rb +2 -0
- data/authy-devise-demo/app/helpers/welcome_helper.rb +2 -0
- data/authy-devise-demo/app/mailers/.gitkeep +0 -0
- data/authy-devise-demo/app/models/.gitkeep +0 -0
- data/authy-devise-demo/app/models/user.rb +11 -0
- data/authy-devise-demo/app/views/devise/devise_authy/enable_authy.html.erb +8 -0
- data/authy-devise-demo/app/views/devise/devise_authy/verify_authy.html.erb +13 -0
- data/authy-devise-demo/app/views/devise/devise_authy/verify_authy_installation.html.erb +10 -0
- data/authy-devise-demo/app/views/layouts/application.html.erb +18 -0
- data/authy-devise-demo/app/views/welcome/index.html.erb +5 -0
- data/authy-devise-demo/config.ru +4 -0
- data/authy-devise-demo/config/application.rb +62 -0
- data/authy-devise-demo/config/boot.rb +6 -0
- data/authy-devise-demo/config/database.yml +25 -0
- data/authy-devise-demo/config/environment.rb +5 -0
- data/authy-devise-demo/config/environments/development.rb +37 -0
- data/authy-devise-demo/config/environments/production.rb +67 -0
- data/authy-devise-demo/config/environments/test.rb +37 -0
- data/authy-devise-demo/config/initializers/authy.rb +1 -0
- data/authy-devise-demo/config/initializers/backtrace_silencers.rb +7 -0
- data/authy-devise-demo/config/initializers/devise.rb +232 -0
- data/authy-devise-demo/config/initializers/inflections.rb +15 -0
- data/authy-devise-demo/config/initializers/mime_types.rb +5 -0
- data/authy-devise-demo/config/initializers/secret_token.rb +7 -0
- data/authy-devise-demo/config/initializers/session_store.rb +8 -0
- data/authy-devise-demo/config/initializers/wrap_parameters.rb +14 -0
- data/authy-devise-demo/config/locales/devise.authy.en.yml +18 -0
- data/authy-devise-demo/config/locales/devise.en.yml +58 -0
- data/authy-devise-demo/config/locales/en.yml +5 -0
- data/authy-devise-demo/config/routes.rb +62 -0
- data/authy-devise-demo/db/migrate/20130409234357_devise_create_users.rb +46 -0
- data/authy-devise-demo/db/migrate/20130409234434_devise_authy_add_to_users.rb +18 -0
- data/authy-devise-demo/db/schema.rb +38 -0
- data/authy-devise-demo/db/seeds.rb +7 -0
- data/authy-devise-demo/lib/assets/.gitkeep +0 -0
- data/authy-devise-demo/lib/tasks/.gitkeep +0 -0
- data/authy-devise-demo/log/.gitkeep +0 -0
- data/authy-devise-demo/public/404.html +26 -0
- data/authy-devise-demo/public/422.html +26 -0
- data/authy-devise-demo/public/500.html +25 -0
- data/authy-devise-demo/public/favicon.ico +0 -0
- data/authy-devise-demo/public/robots.txt +5 -0
- data/authy-devise-demo/script/rails +6 -0
- data/authy-devise-demo/test/fixtures/.gitkeep +0 -0
- data/authy-devise-demo/test/fixtures/users.yml +11 -0
- data/authy-devise-demo/test/functional/.gitkeep +0 -0
- data/authy-devise-demo/test/functional/welcome_controller_test.rb +9 -0
- data/authy-devise-demo/test/integration/.gitkeep +0 -0
- data/authy-devise-demo/test/performance/browsing_test.rb +12 -0
- data/authy-devise-demo/test/test_helper.rb +13 -0
- data/authy-devise-demo/test/unit/.gitkeep +0 -0
- data/authy-devise-demo/test/unit/helpers/welcome_helper_test.rb +4 -0
- data/authy-devise-demo/test/unit/user_test.rb +7 -0
- data/authy-devise-demo/vendor/assets/javascripts/.gitkeep +0 -0
- data/authy-devise-demo/vendor/assets/stylesheets/.gitkeep +0 -0
- data/authy-devise-demo/vendor/plugins/.gitkeep +0 -0
- data/config/locales/en.yml +18 -0
- data/devise-authy.gemspec +223 -0
- data/lib/devise-authy.rb +22 -0
- data/lib/devise-authy/controllers/helpers.rb +39 -0
- data/lib/devise-authy/controllers/view_helpers.rb +36 -0
- data/lib/devise-authy/hooks/authy_authenticatable.rb +7 -0
- data/lib/devise-authy/models/authy_authenticatable.rb +23 -0
- data/lib/devise-authy/rails.rb +11 -0
- data/lib/devise-authy/routes.rb +20 -0
- data/lib/devise-authy/version.rb +3 -0
- data/lib/generators/active_record/devise_authy_generator.rb +13 -0
- data/lib/generators/active_record/templates/migration.rb +18 -0
- data/lib/generators/devise_authy/devise_authy_generator.rb +30 -0
- data/lib/generators/devise_authy/install_generator.rb +64 -0
- data/spec/controllers/devise_authy_controller_spec.rb +85 -0
- data/spec/generators_spec.rb +24 -0
- data/spec/integration/authy_authenticatable.rb +88 -0
- data/spec/models/authy_authenticatable.rb +17 -0
- data/spec/orm/active_record.rb +4 -0
- data/spec/rails_app/Rakefile +10 -0
- data/spec/rails_app/app/assets/images/rails.png +0 -0
- data/spec/rails_app/app/assets/javascripts/application.js +10 -0
- data/spec/rails_app/app/assets/stylesheets/application.css +9 -0
- data/spec/rails_app/app/assets/stylesheets/devise_authy.css +26 -0
- data/spec/rails_app/app/assets/stylesheets/devise_authy.css.scss +26 -0
- data/spec/rails_app/app/assets/stylesheets/scaffolds.css.scss +56 -0
- data/spec/rails_app/app/controllers/application_controller.rb +4 -0
- data/spec/rails_app/app/controllers/posts_controller.rb +83 -0
- data/spec/rails_app/app/helpers/application_helper.rb +2 -0
- data/spec/rails_app/app/helpers/posts_helper.rb +2 -0
- data/spec/rails_app/app/mailers/.gitkeep +0 -0
- data/spec/rails_app/app/models/.gitkeep +0 -0
- data/spec/rails_app/app/models/post.rb +2 -0
- data/spec/rails_app/app/models/user.rb +9 -0
- data/spec/rails_app/app/views/devise/devise_authy/register.html.erb +10 -0
- data/spec/rails_app/app/views/devise/devise_authy/show.html.erb +10 -0
- data/spec/rails_app/app/views/layouts/application.html.erb +24 -0
- data/spec/rails_app/app/views/posts/_form.html.erb +25 -0
- data/spec/rails_app/app/views/posts/edit.html.erb +6 -0
- data/spec/rails_app/app/views/posts/index.html.erb +27 -0
- data/spec/rails_app/app/views/posts/new.html.erb +5 -0
- data/spec/rails_app/app/views/posts/show.html.erb +15 -0
- data/spec/rails_app/config.ru +4 -0
- data/spec/rails_app/config/application.rb +33 -0
- data/spec/rails_app/config/boot.rb +7 -0
- data/spec/rails_app/config/database.yml +22 -0
- data/spec/rails_app/config/environment.rb +5 -0
- data/spec/rails_app/config/environments/development.rb +37 -0
- data/spec/rails_app/config/environments/production.rb +67 -0
- data/spec/rails_app/config/environments/test.rb +37 -0
- data/spec/rails_app/config/initializers/authy.rb +3 -0
- data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails_app/config/initializers/devise.rb +237 -0
- data/spec/rails_app/config/initializers/inflections.rb +10 -0
- data/spec/rails_app/config/initializers/mime_types.rb +5 -0
- data/spec/rails_app/config/initializers/secret_token.rb +7 -0
- data/spec/rails_app/config/initializers/session_store.rb +8 -0
- data/spec/rails_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/rails_app/config/locales/devise.authy.en.yml +14 -0
- data/spec/rails_app/config/routes.rb +6 -0
- data/spec/rails_app/db/migrate/20121029205626_devise_create_users.rb +32 -0
- data/spec/rails_app/db/migrate/20121029205627_create_posts.rb +10 -0
- data/spec/rails_app/db/migrate/20121029205628_devise_authy_add_to_users.rb +15 -0
- data/spec/rails_app/db/schema.rb +43 -0
- data/spec/rails_app/public/favicon.ico +0 -0
- data/spec/rails_app/script/rails +6 -0
- data/spec/routing/routes_spec.rb +19 -0
- data/spec/spec_helper.rb +30 -0
- data/spec/support/helpers.rb +28 -0
- metadata +367 -0
Binary file
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "routes for devise_authy" do
|
4
|
+
it "route to devise_authy#show" do
|
5
|
+
get('/users/devise_authy').should route_to("devise/devise_authy#show")
|
6
|
+
end
|
7
|
+
|
8
|
+
it "routes to devise_authy#create" do
|
9
|
+
post('/users/devise_authy').should route_to("devise/devise_authy#create")
|
10
|
+
end
|
11
|
+
|
12
|
+
it "routes to devise_authy#update" do
|
13
|
+
put('/users/devise_authy').should route_to("devise/devise_authy#update")
|
14
|
+
end
|
15
|
+
|
16
|
+
it "map enable two factor authentication" do
|
17
|
+
get('/users/enable_authy').should route_to("devise/devise_authy#register")
|
18
|
+
end
|
19
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
ENV["RAILS_ENV"] ||= 'test'
|
2
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
3
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
4
|
+
require "rails_app/config/environment"
|
5
|
+
|
6
|
+
require 'rspec/rails'
|
7
|
+
require 'devise-authy'
|
8
|
+
require 'orm/active_record'
|
9
|
+
require 'capybara/rails'
|
10
|
+
require 'capybara/rspec'
|
11
|
+
require 'database_cleaner'
|
12
|
+
|
13
|
+
# Requires supporting files with custom matchers and macros, etc,
|
14
|
+
# in ./support/ and its subdirectories.
|
15
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.before :suite do
|
19
|
+
DatabaseCleaner[:active_record].strategy = :truncation
|
20
|
+
Capybara.run_server = false
|
21
|
+
end
|
22
|
+
|
23
|
+
config.before :each do
|
24
|
+
DatabaseCleaner.start
|
25
|
+
end
|
26
|
+
|
27
|
+
config.after :each do
|
28
|
+
DatabaseCleaner.clean
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
def generate_unique_email
|
2
|
+
@@email_count ||= 0
|
3
|
+
@@email_count += 1
|
4
|
+
"test#{@@email_count}@example.com"
|
5
|
+
end
|
6
|
+
|
7
|
+
def valid_attributes(attributes={})
|
8
|
+
{ :email => generate_unique_email,
|
9
|
+
:password => '12345678',
|
10
|
+
:password_confirmation => '12345678' }.update(attributes)
|
11
|
+
end
|
12
|
+
|
13
|
+
def new_user(attributes={})
|
14
|
+
User.new(valid_attributes(attributes))
|
15
|
+
end
|
16
|
+
|
17
|
+
def create_user(attributes={})
|
18
|
+
User.create!(valid_attributes(attributes))
|
19
|
+
end
|
20
|
+
|
21
|
+
def fill_sign_in_form(email, password)
|
22
|
+
visit new_user_session_path
|
23
|
+
within("#new_user") do
|
24
|
+
fill_in 'Email', :with => email
|
25
|
+
fill_in 'Password', :with => password
|
26
|
+
end
|
27
|
+
click_on 'Sign in'
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,367 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: devise-authy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 1.0.0
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Authy Inc.
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
type: :runtime
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
name: devise
|
23
|
+
prerelease: false
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
type: :runtime
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
name: authy
|
39
|
+
prerelease: false
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
type: :development
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
name: rspec
|
55
|
+
prerelease: false
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
type: :development
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
name: yard
|
71
|
+
prerelease: false
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
type: :development
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
name: rdoc
|
87
|
+
prerelease: false
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
type: :development
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
name: bundler
|
103
|
+
prerelease: false
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
type: :development
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
name: jeweler
|
119
|
+
prerelease: false
|
120
|
+
requirement: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
type: :development
|
128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
name: simplecov
|
135
|
+
prerelease: false
|
136
|
+
requirement: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
type: :development
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
name: sass-rails
|
151
|
+
prerelease: false
|
152
|
+
requirement: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
type: :development
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
name: jquery-rails
|
167
|
+
prerelease: false
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
description: Authy plugin for Devise
|
175
|
+
email: support@authy.com
|
176
|
+
executables: []
|
177
|
+
extensions: []
|
178
|
+
extra_rdoc_files:
|
179
|
+
- LICENSE.txt
|
180
|
+
- README.md
|
181
|
+
files:
|
182
|
+
- .document
|
183
|
+
- .rspec
|
184
|
+
- Gemfile
|
185
|
+
- Gemfile.lock
|
186
|
+
- LICENSE.txt
|
187
|
+
- README.md
|
188
|
+
- Rakefile
|
189
|
+
- VERSION
|
190
|
+
- app/assets/javascripts/devise_authy.js
|
191
|
+
- app/assets/stylesheets/devise_authy.css
|
192
|
+
- app/assets/stylesheets/devise_authy.sass
|
193
|
+
- app/controllers/devise/devise_authy_controller.rb
|
194
|
+
- app/views/devise/enable_authy.html.erb
|
195
|
+
- app/views/devise/enable_authy.html.haml
|
196
|
+
- app/views/devise/verify_authy.html.erb
|
197
|
+
- app/views/devise/verify_authy.html.haml
|
198
|
+
- app/views/devise/verify_authy_installation.html.erb
|
199
|
+
- app/views/devise/verify_authy_installation.html.haml
|
200
|
+
- authy-devise-demo/.gitignore
|
201
|
+
- authy-devise-demo/Gemfile
|
202
|
+
- authy-devise-demo/Gemfile.lock
|
203
|
+
- authy-devise-demo/README.md
|
204
|
+
- authy-devise-demo/Rakefile
|
205
|
+
- authy-devise-demo/app/assets/images/rails.png
|
206
|
+
- authy-devise-demo/app/assets/javascripts/application.js
|
207
|
+
- authy-devise-demo/app/assets/javascripts/devise_authy.js
|
208
|
+
- authy-devise-demo/app/assets/javascripts/welcome.js.coffee
|
209
|
+
- authy-devise-demo/app/assets/stylesheets/application.css
|
210
|
+
- authy-devise-demo/app/assets/stylesheets/devise_authy.css
|
211
|
+
- authy-devise-demo/app/assets/stylesheets/welcome.css.scss
|
212
|
+
- authy-devise-demo/app/controllers/application_controller.rb
|
213
|
+
- authy-devise-demo/app/controllers/welcome_controller.rb
|
214
|
+
- authy-devise-demo/app/helpers/application_helper.rb
|
215
|
+
- authy-devise-demo/app/helpers/welcome_helper.rb
|
216
|
+
- authy-devise-demo/app/mailers/.gitkeep
|
217
|
+
- authy-devise-demo/app/models/.gitkeep
|
218
|
+
- authy-devise-demo/app/models/user.rb
|
219
|
+
- authy-devise-demo/app/views/devise/devise_authy/enable_authy.html.erb
|
220
|
+
- authy-devise-demo/app/views/devise/devise_authy/verify_authy.html.erb
|
221
|
+
- authy-devise-demo/app/views/devise/devise_authy/verify_authy_installation.html.erb
|
222
|
+
- authy-devise-demo/app/views/layouts/application.html.erb
|
223
|
+
- authy-devise-demo/app/views/welcome/index.html.erb
|
224
|
+
- authy-devise-demo/config.ru
|
225
|
+
- authy-devise-demo/config/application.rb
|
226
|
+
- authy-devise-demo/config/boot.rb
|
227
|
+
- authy-devise-demo/config/database.yml
|
228
|
+
- authy-devise-demo/config/environment.rb
|
229
|
+
- authy-devise-demo/config/environments/development.rb
|
230
|
+
- authy-devise-demo/config/environments/production.rb
|
231
|
+
- authy-devise-demo/config/environments/test.rb
|
232
|
+
- authy-devise-demo/config/initializers/authy.rb
|
233
|
+
- authy-devise-demo/config/initializers/backtrace_silencers.rb
|
234
|
+
- authy-devise-demo/config/initializers/devise.rb
|
235
|
+
- authy-devise-demo/config/initializers/inflections.rb
|
236
|
+
- authy-devise-demo/config/initializers/mime_types.rb
|
237
|
+
- authy-devise-demo/config/initializers/secret_token.rb
|
238
|
+
- authy-devise-demo/config/initializers/session_store.rb
|
239
|
+
- authy-devise-demo/config/initializers/wrap_parameters.rb
|
240
|
+
- authy-devise-demo/config/locales/devise.authy.en.yml
|
241
|
+
- authy-devise-demo/config/locales/devise.en.yml
|
242
|
+
- authy-devise-demo/config/locales/en.yml
|
243
|
+
- authy-devise-demo/config/routes.rb
|
244
|
+
- authy-devise-demo/db/migrate/20130409234357_devise_create_users.rb
|
245
|
+
- authy-devise-demo/db/migrate/20130409234434_devise_authy_add_to_users.rb
|
246
|
+
- authy-devise-demo/db/schema.rb
|
247
|
+
- authy-devise-demo/db/seeds.rb
|
248
|
+
- authy-devise-demo/lib/assets/.gitkeep
|
249
|
+
- authy-devise-demo/lib/tasks/.gitkeep
|
250
|
+
- authy-devise-demo/log/.gitkeep
|
251
|
+
- authy-devise-demo/public/404.html
|
252
|
+
- authy-devise-demo/public/422.html
|
253
|
+
- authy-devise-demo/public/500.html
|
254
|
+
- authy-devise-demo/public/favicon.ico
|
255
|
+
- authy-devise-demo/public/robots.txt
|
256
|
+
- authy-devise-demo/script/rails
|
257
|
+
- authy-devise-demo/test/fixtures/.gitkeep
|
258
|
+
- authy-devise-demo/test/fixtures/users.yml
|
259
|
+
- authy-devise-demo/test/functional/.gitkeep
|
260
|
+
- authy-devise-demo/test/functional/welcome_controller_test.rb
|
261
|
+
- authy-devise-demo/test/integration/.gitkeep
|
262
|
+
- authy-devise-demo/test/performance/browsing_test.rb
|
263
|
+
- authy-devise-demo/test/test_helper.rb
|
264
|
+
- authy-devise-demo/test/unit/.gitkeep
|
265
|
+
- authy-devise-demo/test/unit/helpers/welcome_helper_test.rb
|
266
|
+
- authy-devise-demo/test/unit/user_test.rb
|
267
|
+
- authy-devise-demo/vendor/assets/javascripts/.gitkeep
|
268
|
+
- authy-devise-demo/vendor/assets/stylesheets/.gitkeep
|
269
|
+
- authy-devise-demo/vendor/plugins/.gitkeep
|
270
|
+
- config/locales/en.yml
|
271
|
+
- devise-authy.gemspec
|
272
|
+
- lib/devise-authy.rb
|
273
|
+
- lib/devise-authy/controllers/helpers.rb
|
274
|
+
- lib/devise-authy/controllers/view_helpers.rb
|
275
|
+
- lib/devise-authy/hooks/authy_authenticatable.rb
|
276
|
+
- lib/devise-authy/models/authy_authenticatable.rb
|
277
|
+
- lib/devise-authy/rails.rb
|
278
|
+
- lib/devise-authy/routes.rb
|
279
|
+
- lib/devise-authy/version.rb
|
280
|
+
- lib/generators/active_record/devise_authy_generator.rb
|
281
|
+
- lib/generators/active_record/templates/migration.rb
|
282
|
+
- lib/generators/devise_authy/devise_authy_generator.rb
|
283
|
+
- lib/generators/devise_authy/install_generator.rb
|
284
|
+
- spec/controllers/devise_authy_controller_spec.rb
|
285
|
+
- spec/generators_spec.rb
|
286
|
+
- spec/integration/authy_authenticatable.rb
|
287
|
+
- spec/models/authy_authenticatable.rb
|
288
|
+
- spec/orm/active_record.rb
|
289
|
+
- spec/rails_app/Rakefile
|
290
|
+
- spec/rails_app/app/assets/images/rails.png
|
291
|
+
- spec/rails_app/app/assets/javascripts/application.js
|
292
|
+
- spec/rails_app/app/assets/stylesheets/application.css
|
293
|
+
- spec/rails_app/app/assets/stylesheets/devise_authy.css
|
294
|
+
- spec/rails_app/app/assets/stylesheets/devise_authy.css.scss
|
295
|
+
- spec/rails_app/app/assets/stylesheets/scaffolds.css.scss
|
296
|
+
- spec/rails_app/app/controllers/application_controller.rb
|
297
|
+
- spec/rails_app/app/controllers/posts_controller.rb
|
298
|
+
- spec/rails_app/app/helpers/application_helper.rb
|
299
|
+
- spec/rails_app/app/helpers/posts_helper.rb
|
300
|
+
- spec/rails_app/app/mailers/.gitkeep
|
301
|
+
- spec/rails_app/app/models/.gitkeep
|
302
|
+
- spec/rails_app/app/models/post.rb
|
303
|
+
- spec/rails_app/app/models/user.rb
|
304
|
+
- spec/rails_app/app/views/devise/devise_authy/register.html.erb
|
305
|
+
- spec/rails_app/app/views/devise/devise_authy/show.html.erb
|
306
|
+
- spec/rails_app/app/views/layouts/application.html.erb
|
307
|
+
- spec/rails_app/app/views/posts/_form.html.erb
|
308
|
+
- spec/rails_app/app/views/posts/edit.html.erb
|
309
|
+
- spec/rails_app/app/views/posts/index.html.erb
|
310
|
+
- spec/rails_app/app/views/posts/new.html.erb
|
311
|
+
- spec/rails_app/app/views/posts/show.html.erb
|
312
|
+
- spec/rails_app/config.ru
|
313
|
+
- spec/rails_app/config/application.rb
|
314
|
+
- spec/rails_app/config/boot.rb
|
315
|
+
- spec/rails_app/config/database.yml
|
316
|
+
- spec/rails_app/config/environment.rb
|
317
|
+
- spec/rails_app/config/environments/development.rb
|
318
|
+
- spec/rails_app/config/environments/production.rb
|
319
|
+
- spec/rails_app/config/environments/test.rb
|
320
|
+
- spec/rails_app/config/initializers/authy.rb
|
321
|
+
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
322
|
+
- spec/rails_app/config/initializers/devise.rb
|
323
|
+
- spec/rails_app/config/initializers/inflections.rb
|
324
|
+
- spec/rails_app/config/initializers/mime_types.rb
|
325
|
+
- spec/rails_app/config/initializers/secret_token.rb
|
326
|
+
- spec/rails_app/config/initializers/session_store.rb
|
327
|
+
- spec/rails_app/config/initializers/wrap_parameters.rb
|
328
|
+
- spec/rails_app/config/locales/devise.authy.en.yml
|
329
|
+
- spec/rails_app/config/routes.rb
|
330
|
+
- spec/rails_app/db/migrate/20121029205626_devise_create_users.rb
|
331
|
+
- spec/rails_app/db/migrate/20121029205627_create_posts.rb
|
332
|
+
- spec/rails_app/db/migrate/20121029205628_devise_authy_add_to_users.rb
|
333
|
+
- spec/rails_app/db/schema.rb
|
334
|
+
- spec/rails_app/public/favicon.ico
|
335
|
+
- spec/rails_app/script/rails
|
336
|
+
- spec/routing/routes_spec.rb
|
337
|
+
- spec/spec_helper.rb
|
338
|
+
- spec/support/helpers.rb
|
339
|
+
homepage: http://github.com/senekis/devise-authy
|
340
|
+
licenses:
|
341
|
+
- MIT
|
342
|
+
post_install_message:
|
343
|
+
rdoc_options: []
|
344
|
+
require_paths:
|
345
|
+
- lib
|
346
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
347
|
+
none: false
|
348
|
+
requirements:
|
349
|
+
- - ! '>='
|
350
|
+
- !ruby/object:Gem::Version
|
351
|
+
segments:
|
352
|
+
- 0
|
353
|
+
hash: 1511880933164397390
|
354
|
+
version: '0'
|
355
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
356
|
+
none: false
|
357
|
+
requirements:
|
358
|
+
- - ! '>='
|
359
|
+
- !ruby/object:Gem::Version
|
360
|
+
version: '0'
|
361
|
+
requirements: []
|
362
|
+
rubyforge_project:
|
363
|
+
rubygems_version: 1.8.24
|
364
|
+
signing_key:
|
365
|
+
specification_version: 3
|
366
|
+
summary: Authy plugin for Devise
|
367
|
+
test_files: []
|