devise-authy 1.8.3 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +44 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile +1 -12
- data/README.md +5 -3
- data/Rakefile +1 -14
- data/devise-authy.gemspec +34 -237
- data/lib/devise-authy.rb +1 -0
- data/lib/devise-authy/version.rb +5 -0
- data/lib/generators/active_record/devise_authy_generator.rb +11 -1
- data/lib/generators/active_record/templates/migration.rb +1 -1
- metadata +42 -195
- data/VERSION +0 -1
- data/authy-devise-demo/.gitignore +0 -15
- data/authy-devise-demo/Gemfile +0 -51
- data/authy-devise-demo/Gemfile.lock +0 -194
- data/authy-devise-demo/README.md +0 -64
- data/authy-devise-demo/Rakefile +0 -7
- data/authy-devise-demo/app/assets/images/rails.png +0 -0
- data/authy-devise-demo/app/assets/javascripts/application.js +0 -15
- data/authy-devise-demo/app/assets/javascripts/devise_authy.js +0 -12
- data/authy-devise-demo/app/assets/javascripts/welcome.js.coffee +0 -3
- data/authy-devise-demo/app/assets/stylesheets/application.css +0 -13
- data/authy-devise-demo/app/assets/stylesheets/devise_authy.css +0 -26
- data/authy-devise-demo/app/assets/stylesheets/welcome.css.scss +0 -3
- data/authy-devise-demo/app/controllers/application_controller.rb +0 -3
- data/authy-devise-demo/app/controllers/welcome_controller.rb +0 -15
- data/authy-devise-demo/app/helpers/application_helper.rb +0 -2
- data/authy-devise-demo/app/helpers/welcome_helper.rb +0 -2
- data/authy-devise-demo/app/mailers/.gitkeep +0 -0
- data/authy-devise-demo/app/models/.gitkeep +0 -0
- data/authy-devise-demo/app/models/admin.rb +0 -7
- data/authy-devise-demo/app/models/user.rb +0 -7
- data/authy-devise-demo/app/views/devise/devise_authy/enable_authy.html.erb +0 -7
- data/authy-devise-demo/app/views/devise/devise_authy/verify_authy.html.erb +0 -38
- data/authy-devise-demo/app/views/devise/devise_authy/verify_authy_installation.html.erb +0 -10
- data/authy-devise-demo/app/views/layouts/application.html.erb +0 -28
- data/authy-devise-demo/app/views/welcome/admin_page.html.erb +0 -12
- data/authy-devise-demo/app/views/welcome/index.html.erb +0 -5
- data/authy-devise-demo/app/views/welcome/user_page.html.erb +0 -5
- data/authy-devise-demo/config.ru +0 -4
- data/authy-devise-demo/config/application.rb +0 -26
- data/authy-devise-demo/config/boot.rb +0 -6
- data/authy-devise-demo/config/database.yml +0 -25
- data/authy-devise-demo/config/environment.rb +0 -5
- data/authy-devise-demo/config/environments/development.rb +0 -43
- data/authy-devise-demo/config/environments/production.rb +0 -79
- data/authy-devise-demo/config/environments/test.rb +0 -42
- data/authy-devise-demo/config/initializers/authy.rb +0 -1
- data/authy-devise-demo/config/initializers/backtrace_silencers.rb +0 -7
- data/authy-devise-demo/config/initializers/devise.rb +0 -240
- data/authy-devise-demo/config/initializers/inflections.rb +0 -15
- data/authy-devise-demo/config/initializers/mime_types.rb +0 -5
- data/authy-devise-demo/config/initializers/secret_token.rb +0 -7
- data/authy-devise-demo/config/initializers/session_store.rb +0 -8
- data/authy-devise-demo/config/initializers/wrap_parameters.rb +0 -14
- data/authy-devise-demo/config/locales/devise.authy.en.yml +0 -24
- data/authy-devise-demo/config/locales/devise.en.yml +0 -58
- data/authy-devise-demo/config/locales/en.yml +0 -5
- data/authy-devise-demo/config/routes.rb +0 -65
- data/authy-devise-demo/config/secrets.yml +0 -22
- data/authy-devise-demo/db/migrate/20130409234357_devise_create_users.rb +0 -46
- data/authy-devise-demo/db/migrate/20141202000744_devise_create_admins.rb +0 -46
- data/authy-devise-demo/db/migrate/20141202004246_devise_authy_add_to_admins.rb +0 -21
- data/authy-devise-demo/db/migrate/20160906221739_add_sessions_table.rb +0 -12
- data/authy-devise-demo/db/schema.rb +0 -72
- data/authy-devise-demo/db/seeds.rb +0 -7
- 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 +0 -26
- data/authy-devise-demo/public/422.html +0 -26
- data/authy-devise-demo/public/500.html +0 -25
- data/authy-devise-demo/public/favicon.ico +0 -0
- data/authy-devise-demo/public/robots.txt +0 -5
- data/authy-devise-demo/script/rails +0 -6
- data/authy-devise-demo/test/fixtures/.gitkeep +0 -0
- data/authy-devise-demo/test/fixtures/users.yml +0 -11
- data/authy-devise-demo/test/functional/.gitkeep +0 -0
- data/authy-devise-demo/test/functional/welcome_controller_test.rb +0 -9
- data/authy-devise-demo/test/integration/.gitkeep +0 -0
- data/authy-devise-demo/test/performance/browsing_test.rb +0 -12
- data/authy-devise-demo/test/test_helper.rb +0 -13
- data/authy-devise-demo/test/unit/.gitkeep +0 -0
- data/authy-devise-demo/test/unit/helpers/welcome_helper_test.rb +0 -4
- data/authy-devise-demo/test/unit/user_test.rb +0 -7
- 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/spec/controllers/devise_authy_controller_spec.rb +0 -360
- data/spec/controllers/passwords_controller_spec.rb +0 -48
- data/spec/features/authy_authenticatable_spec.rb +0 -108
- data/spec/features/authy_lockable_spec.rb +0 -70
- data/spec/generators_spec.rb +0 -32
- data/spec/models/authy_authenticatable_spec.rb +0 -17
- data/spec/models/authy_lockable_spec.rb +0 -81
- data/spec/orm/active_record.rb +0 -4
- data/spec/rails-app/Gemfile +0 -10
- data/spec/rails-app/Gemfile.lock +0 -141
- data/spec/rails-app/Rakefile +0 -7
- data/spec/rails-app/app/assets/images/rails.png +0 -0
- data/spec/rails-app/app/assets/javascripts/application.js +0 -15
- data/spec/rails-app/app/assets/javascripts/devise_authy.js +0 -12
- data/spec/rails-app/app/assets/javascripts/welcome.js +0 -2
- data/spec/rails-app/app/assets/stylesheets/application.css +0 -13
- data/spec/rails-app/app/assets/stylesheets/devise_authy.css +0 -26
- data/spec/rails-app/app/assets/stylesheets/welcome.css.scss +0 -3
- data/spec/rails-app/app/controllers/application_controller.rb +0 -3
- data/spec/rails-app/app/controllers/welcome_controller.rb +0 -13
- data/spec/rails-app/app/helpers/application_helper.rb +0 -2
- data/spec/rails-app/app/helpers/welcome_helper.rb +0 -2
- data/spec/rails-app/app/mailers/.gitkeep +0 -0
- data/spec/rails-app/app/models/.gitkeep +0 -0
- data/spec/rails-app/app/models/lockable_user.rb +0 -7
- data/spec/rails-app/app/models/user.rb +0 -8
- data/spec/rails-app/app/views/devise/devise_authy/enable_authy.html.erb +0 -7
- data/spec/rails-app/app/views/devise/devise_authy/verify_authy.html.erb +0 -37
- data/spec/rails-app/app/views/devise/devise_authy/verify_authy_installation.html.erb +0 -10
- data/spec/rails-app/app/views/layouts/application.html.erb +0 -28
- data/spec/rails-app/app/views/welcome/index.html.erb +0 -5
- data/spec/rails-app/config.ru +0 -4
- data/spec/rails-app/config/application.rb +0 -30
- data/spec/rails-app/config/boot.rb +0 -6
- data/spec/rails-app/config/database.yml +0 -25
- data/spec/rails-app/config/environment.rb +0 -5
- data/spec/rails-app/config/environments/development.rb +0 -43
- data/spec/rails-app/config/environments/production.rb +0 -79
- data/spec/rails-app/config/environments/test.rb +0 -44
- data/spec/rails-app/config/initializers/authy.rb +0 -2
- data/spec/rails-app/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-app/config/initializers/devise.rb +0 -256
- data/spec/rails-app/config/initializers/inflections.rb +0 -15
- data/spec/rails-app/config/initializers/mime_types.rb +0 -5
- data/spec/rails-app/config/initializers/secret_token.rb +0 -7
- data/spec/rails-app/config/initializers/session_store.rb +0 -8
- data/spec/rails-app/config/initializers/wrap_parameters.rb +0 -14
- data/spec/rails-app/config/locales/devise.authy.en.yml +0 -24
- data/spec/rails-app/config/locales/devise.en.yml +0 -59
- data/spec/rails-app/config/locales/en.yml +0 -5
- data/spec/rails-app/config/routes.rb +0 -8
- data/spec/rails-app/config/secrets.yml +0 -22
- data/spec/rails-app/db/development.sqlite3 +0 -0
- data/spec/rails-app/db/migrate/20130419164907_devise_create_users.rb +0 -46
- data/spec/rails-app/db/migrate/20130419164936_devise_authy_add_to_users.rb +0 -18
- data/spec/rails-app/db/schema.rb +0 -41
- data/spec/rails-app/db/seeds.rb +0 -7
- data/spec/rails-app/lib/assets/.gitkeep +0 -0
- data/spec/rails-app/lib/tasks/.gitkeep +0 -0
- data/spec/rails-app/public/404.html +0 -26
- data/spec/rails-app/public/422.html +0 -26
- data/spec/rails-app/public/500.html +0 -25
- data/spec/rails-app/public/favicon.ico +0 -0
- data/spec/rails-app/public/robots.txt +0 -5
- data/spec/rails-app/script/rails +0 -6
- data/spec/routing/routes_spec.rb +0 -35
- data/spec/spec_helper.rb +0 -46
- data/spec/support/helpers.rb +0 -80
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-authy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Authy Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -39,112 +39,98 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.7.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '1.16'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '1.16'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
61
|
+
version: '10.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
68
|
+
version: '10.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
75
|
+
version: '3.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
82
|
+
version: '3.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: yard
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.9.11
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 0.9.11
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rdoc
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 4.3.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 4.3.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: byebug
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
115
|
+
- - "~>"
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
117
|
+
version: 0.16.1
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
|
-
- - "
|
122
|
+
- - "~>"
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
139
|
-
description: Authy plugin
|
140
|
-
email:
|
124
|
+
version: 0.16.1
|
125
|
+
description: Authy plugin to add two factor authentication to Devise.
|
126
|
+
email:
|
127
|
+
- support@authy.com
|
141
128
|
executables: []
|
142
129
|
extensions: []
|
143
|
-
extra_rdoc_files:
|
144
|
-
- LICENSE.txt
|
145
|
-
- README.md
|
130
|
+
extra_rdoc_files: []
|
146
131
|
files:
|
147
132
|
- ".document"
|
133
|
+
- ".gitignore"
|
148
134
|
- ".rspec"
|
149
135
|
- ".travis.yml"
|
150
136
|
- CHANGELOG.md
|
@@ -152,7 +138,6 @@ files:
|
|
152
138
|
- LICENSE.txt
|
153
139
|
- README.md
|
154
140
|
- Rakefile
|
155
|
-
- VERSION
|
156
141
|
- app/assets/javascripts/devise_authy.js
|
157
142
|
- app/assets/stylesheets/devise_authy.css
|
158
143
|
- app/assets/stylesheets/devise_authy.sass
|
@@ -164,82 +149,6 @@ files:
|
|
164
149
|
- app/views/devise/verify_authy.html.haml
|
165
150
|
- app/views/devise/verify_authy_installation.html.erb
|
166
151
|
- app/views/devise/verify_authy_installation.html.haml
|
167
|
-
- authy-devise-demo/.gitignore
|
168
|
-
- authy-devise-demo/Gemfile
|
169
|
-
- authy-devise-demo/Gemfile.lock
|
170
|
-
- authy-devise-demo/README.md
|
171
|
-
- authy-devise-demo/Rakefile
|
172
|
-
- authy-devise-demo/app/assets/images/rails.png
|
173
|
-
- authy-devise-demo/app/assets/javascripts/application.js
|
174
|
-
- authy-devise-demo/app/assets/javascripts/devise_authy.js
|
175
|
-
- authy-devise-demo/app/assets/javascripts/welcome.js.coffee
|
176
|
-
- authy-devise-demo/app/assets/stylesheets/application.css
|
177
|
-
- authy-devise-demo/app/assets/stylesheets/devise_authy.css
|
178
|
-
- authy-devise-demo/app/assets/stylesheets/welcome.css.scss
|
179
|
-
- authy-devise-demo/app/controllers/application_controller.rb
|
180
|
-
- authy-devise-demo/app/controllers/welcome_controller.rb
|
181
|
-
- authy-devise-demo/app/helpers/application_helper.rb
|
182
|
-
- authy-devise-demo/app/helpers/welcome_helper.rb
|
183
|
-
- authy-devise-demo/app/mailers/.gitkeep
|
184
|
-
- authy-devise-demo/app/models/.gitkeep
|
185
|
-
- authy-devise-demo/app/models/admin.rb
|
186
|
-
- authy-devise-demo/app/models/user.rb
|
187
|
-
- authy-devise-demo/app/views/devise/devise_authy/enable_authy.html.erb
|
188
|
-
- authy-devise-demo/app/views/devise/devise_authy/verify_authy.html.erb
|
189
|
-
- authy-devise-demo/app/views/devise/devise_authy/verify_authy_installation.html.erb
|
190
|
-
- authy-devise-demo/app/views/layouts/application.html.erb
|
191
|
-
- authy-devise-demo/app/views/welcome/admin_page.html.erb
|
192
|
-
- authy-devise-demo/app/views/welcome/index.html.erb
|
193
|
-
- authy-devise-demo/app/views/welcome/user_page.html.erb
|
194
|
-
- authy-devise-demo/config.ru
|
195
|
-
- authy-devise-demo/config/application.rb
|
196
|
-
- authy-devise-demo/config/boot.rb
|
197
|
-
- authy-devise-demo/config/database.yml
|
198
|
-
- authy-devise-demo/config/environment.rb
|
199
|
-
- authy-devise-demo/config/environments/development.rb
|
200
|
-
- authy-devise-demo/config/environments/production.rb
|
201
|
-
- authy-devise-demo/config/environments/test.rb
|
202
|
-
- authy-devise-demo/config/initializers/authy.rb
|
203
|
-
- authy-devise-demo/config/initializers/backtrace_silencers.rb
|
204
|
-
- authy-devise-demo/config/initializers/devise.rb
|
205
|
-
- authy-devise-demo/config/initializers/inflections.rb
|
206
|
-
- authy-devise-demo/config/initializers/mime_types.rb
|
207
|
-
- authy-devise-demo/config/initializers/secret_token.rb
|
208
|
-
- authy-devise-demo/config/initializers/session_store.rb
|
209
|
-
- authy-devise-demo/config/initializers/wrap_parameters.rb
|
210
|
-
- authy-devise-demo/config/locales/devise.authy.en.yml
|
211
|
-
- authy-devise-demo/config/locales/devise.en.yml
|
212
|
-
- authy-devise-demo/config/locales/en.yml
|
213
|
-
- authy-devise-demo/config/routes.rb
|
214
|
-
- authy-devise-demo/config/secrets.yml
|
215
|
-
- authy-devise-demo/db/migrate/20130409234357_devise_create_users.rb
|
216
|
-
- authy-devise-demo/db/migrate/20141202000744_devise_create_admins.rb
|
217
|
-
- authy-devise-demo/db/migrate/20141202004246_devise_authy_add_to_admins.rb
|
218
|
-
- authy-devise-demo/db/migrate/20160906221739_add_sessions_table.rb
|
219
|
-
- authy-devise-demo/db/schema.rb
|
220
|
-
- authy-devise-demo/db/seeds.rb
|
221
|
-
- authy-devise-demo/lib/assets/.gitkeep
|
222
|
-
- authy-devise-demo/lib/tasks/.gitkeep
|
223
|
-
- authy-devise-demo/log/.gitkeep
|
224
|
-
- authy-devise-demo/public/404.html
|
225
|
-
- authy-devise-demo/public/422.html
|
226
|
-
- authy-devise-demo/public/500.html
|
227
|
-
- authy-devise-demo/public/favicon.ico
|
228
|
-
- authy-devise-demo/public/robots.txt
|
229
|
-
- authy-devise-demo/script/rails
|
230
|
-
- authy-devise-demo/test/fixtures/.gitkeep
|
231
|
-
- authy-devise-demo/test/fixtures/users.yml
|
232
|
-
- authy-devise-demo/test/functional/.gitkeep
|
233
|
-
- authy-devise-demo/test/functional/welcome_controller_test.rb
|
234
|
-
- authy-devise-demo/test/integration/.gitkeep
|
235
|
-
- authy-devise-demo/test/performance/browsing_test.rb
|
236
|
-
- authy-devise-demo/test/test_helper.rb
|
237
|
-
- authy-devise-demo/test/unit/.gitkeep
|
238
|
-
- authy-devise-demo/test/unit/helpers/welcome_helper_test.rb
|
239
|
-
- authy-devise-demo/test/unit/user_test.rb
|
240
|
-
- authy-devise-demo/vendor/assets/javascripts/.gitkeep
|
241
|
-
- authy-devise-demo/vendor/assets/stylesheets/.gitkeep
|
242
|
-
- authy-devise-demo/vendor/plugins/.gitkeep
|
243
152
|
- config/locales/en.yml
|
244
153
|
- devise-authy.gemspec
|
245
154
|
- lib/devise-authy.rb
|
@@ -251,82 +160,20 @@ files:
|
|
251
160
|
- lib/devise-authy/models/authy_lockable.rb
|
252
161
|
- lib/devise-authy/rails.rb
|
253
162
|
- lib/devise-authy/routes.rb
|
163
|
+
- lib/devise-authy/version.rb
|
254
164
|
- lib/generators/active_record/devise_authy_generator.rb
|
255
165
|
- lib/generators/active_record/templates/migration.rb
|
256
166
|
- lib/generators/devise_authy/devise_authy_generator.rb
|
257
167
|
- lib/generators/devise_authy/install_generator.rb
|
258
|
-
- spec/controllers/devise_authy_controller_spec.rb
|
259
|
-
- spec/controllers/passwords_controller_spec.rb
|
260
|
-
- spec/features/authy_authenticatable_spec.rb
|
261
|
-
- spec/features/authy_lockable_spec.rb
|
262
|
-
- spec/generators_spec.rb
|
263
|
-
- spec/models/authy_authenticatable_spec.rb
|
264
|
-
- spec/models/authy_lockable_spec.rb
|
265
|
-
- spec/orm/active_record.rb
|
266
|
-
- spec/rails-app/Gemfile
|
267
|
-
- spec/rails-app/Gemfile.lock
|
268
|
-
- spec/rails-app/Rakefile
|
269
|
-
- spec/rails-app/app/assets/images/rails.png
|
270
|
-
- spec/rails-app/app/assets/javascripts/application.js
|
271
|
-
- spec/rails-app/app/assets/javascripts/devise_authy.js
|
272
|
-
- spec/rails-app/app/assets/javascripts/welcome.js
|
273
|
-
- spec/rails-app/app/assets/stylesheets/application.css
|
274
|
-
- spec/rails-app/app/assets/stylesheets/devise_authy.css
|
275
|
-
- spec/rails-app/app/assets/stylesheets/welcome.css.scss
|
276
|
-
- spec/rails-app/app/controllers/application_controller.rb
|
277
|
-
- spec/rails-app/app/controllers/welcome_controller.rb
|
278
|
-
- spec/rails-app/app/helpers/application_helper.rb
|
279
|
-
- spec/rails-app/app/helpers/welcome_helper.rb
|
280
|
-
- spec/rails-app/app/mailers/.gitkeep
|
281
|
-
- spec/rails-app/app/models/.gitkeep
|
282
|
-
- spec/rails-app/app/models/lockable_user.rb
|
283
|
-
- spec/rails-app/app/models/user.rb
|
284
|
-
- spec/rails-app/app/views/devise/devise_authy/enable_authy.html.erb
|
285
|
-
- spec/rails-app/app/views/devise/devise_authy/verify_authy.html.erb
|
286
|
-
- spec/rails-app/app/views/devise/devise_authy/verify_authy_installation.html.erb
|
287
|
-
- spec/rails-app/app/views/layouts/application.html.erb
|
288
|
-
- spec/rails-app/app/views/welcome/index.html.erb
|
289
|
-
- spec/rails-app/config.ru
|
290
|
-
- spec/rails-app/config/application.rb
|
291
|
-
- spec/rails-app/config/boot.rb
|
292
|
-
- spec/rails-app/config/database.yml
|
293
|
-
- spec/rails-app/config/environment.rb
|
294
|
-
- spec/rails-app/config/environments/development.rb
|
295
|
-
- spec/rails-app/config/environments/production.rb
|
296
|
-
- spec/rails-app/config/environments/test.rb
|
297
|
-
- spec/rails-app/config/initializers/authy.rb
|
298
|
-
- spec/rails-app/config/initializers/backtrace_silencers.rb
|
299
|
-
- spec/rails-app/config/initializers/devise.rb
|
300
|
-
- spec/rails-app/config/initializers/inflections.rb
|
301
|
-
- spec/rails-app/config/initializers/mime_types.rb
|
302
|
-
- spec/rails-app/config/initializers/secret_token.rb
|
303
|
-
- spec/rails-app/config/initializers/session_store.rb
|
304
|
-
- spec/rails-app/config/initializers/wrap_parameters.rb
|
305
|
-
- spec/rails-app/config/locales/devise.authy.en.yml
|
306
|
-
- spec/rails-app/config/locales/devise.en.yml
|
307
|
-
- spec/rails-app/config/locales/en.yml
|
308
|
-
- spec/rails-app/config/routes.rb
|
309
|
-
- spec/rails-app/config/secrets.yml
|
310
|
-
- spec/rails-app/db/development.sqlite3
|
311
|
-
- spec/rails-app/db/migrate/20130419164907_devise_create_users.rb
|
312
|
-
- spec/rails-app/db/migrate/20130419164936_devise_authy_add_to_users.rb
|
313
|
-
- spec/rails-app/db/schema.rb
|
314
|
-
- spec/rails-app/db/seeds.rb
|
315
|
-
- spec/rails-app/lib/assets/.gitkeep
|
316
|
-
- spec/rails-app/lib/tasks/.gitkeep
|
317
|
-
- spec/rails-app/public/404.html
|
318
|
-
- spec/rails-app/public/422.html
|
319
|
-
- spec/rails-app/public/500.html
|
320
|
-
- spec/rails-app/public/favicon.ico
|
321
|
-
- spec/rails-app/public/robots.txt
|
322
|
-
- spec/rails-app/script/rails
|
323
|
-
- spec/routing/routes_spec.rb
|
324
|
-
- spec/spec_helper.rb
|
325
|
-
- spec/support/helpers.rb
|
326
168
|
homepage: https://github.com/authy/authy-devise
|
327
169
|
licenses:
|
328
170
|
- MIT
|
329
|
-
metadata:
|
171
|
+
metadata:
|
172
|
+
bug_tracker_uri: https://github.com/authy/authy-devise/issues
|
173
|
+
change_log_uri: https://github.com/authy/authy-devise/blob/master/CHANGELOG.md
|
174
|
+
documentation_uri: https://github.com/authy/authy-devise
|
175
|
+
homepage_uri: https://github.com/authy/authy-devise
|
176
|
+
source_code_uri: https://github.com/authy/authy-devise
|
330
177
|
post_install_message:
|
331
178
|
rdoc_options: []
|
332
179
|
require_paths:
|
@@ -346,5 +193,5 @@ rubyforge_project:
|
|
346
193
|
rubygems_version: 2.7.6
|
347
194
|
signing_key:
|
348
195
|
specification_version: 4
|
349
|
-
summary: Authy plugin for Devise
|
196
|
+
summary: Authy plugin for Devise.
|
350
197
|
test_files: []
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.8.3
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
-
#
|
3
|
-
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
-
# or operating system, you probably want to add a global ignore instead:
|
5
|
-
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
-
|
7
|
-
# Ignore bundler config
|
8
|
-
/.bundle
|
9
|
-
|
10
|
-
# Ignore the default SQLite database.
|
11
|
-
/db/*.sqlite3
|
12
|
-
|
13
|
-
# Ignore all logfiles and tempfiles.
|
14
|
-
/log/*.log
|
15
|
-
/tmp
|
data/authy-devise-demo/Gemfile
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
4
|
-
gem 'rails', '4.2.7'
|
5
|
-
|
6
|
-
gem 'devise', '>= 3.0.0'
|
7
|
-
gem 'devise-authy', :path => ".."
|
8
|
-
|
9
|
-
# Use sqlite3 as the database for Active Record
|
10
|
-
gem 'sqlite3'
|
11
|
-
# Use SCSS for stylesheets
|
12
|
-
gem 'sass-rails', '~> 5.0'
|
13
|
-
# Use Uglifier as compressor for JavaScript assets
|
14
|
-
gem 'uglifier', '>= 1.3.0'
|
15
|
-
# Use CoffeeScript for .coffee assets and views
|
16
|
-
gem 'coffee-rails', '~> 4.1.0'
|
17
|
-
# See https://github.com/rails/execjs#readme for more supported runtimes
|
18
|
-
# gem 'therubyracer', platforms: :ruby
|
19
|
-
|
20
|
-
# Use jquery as the JavaScript library
|
21
|
-
gem 'jquery-rails'
|
22
|
-
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
23
|
-
gem 'turbolinks'
|
24
|
-
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
25
|
-
gem 'jbuilder', '~> 2.0'
|
26
|
-
# bundle exec rake doc:rails generates the API under doc/api.
|
27
|
-
gem 'sdoc', '~> 0.4.0', group: :doc
|
28
|
-
|
29
|
-
gem 'activerecord-session_store'
|
30
|
-
|
31
|
-
# Use ActiveModel has_secure_password
|
32
|
-
# gem 'bcrypt', '~> 3.1.7'
|
33
|
-
|
34
|
-
# Use Unicorn as the app server
|
35
|
-
# gem 'unicorn'
|
36
|
-
|
37
|
-
# Use Capistrano for deployment
|
38
|
-
# gem 'capistrano-rails', group: :development
|
39
|
-
|
40
|
-
group :development, :test do
|
41
|
-
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
42
|
-
gem 'byebug'
|
43
|
-
end
|
44
|
-
|
45
|
-
group :development do
|
46
|
-
# Access an IRB console on exception pages or by using <%= console %> in views
|
47
|
-
gem 'web-console', '~> 2.0'
|
48
|
-
|
49
|
-
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
50
|
-
gem 'spring'
|
51
|
-
end
|
@@ -1,194 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
devise-authy (1.8.1)
|
5
|
-
authy (>= 2.4.2)
|
6
|
-
devise (>= 3.0.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actionmailer (4.2.7)
|
12
|
-
actionpack (= 4.2.7)
|
13
|
-
actionview (= 4.2.7)
|
14
|
-
activejob (= 4.2.7)
|
15
|
-
mail (~> 2.5, >= 2.5.4)
|
16
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
17
|
-
actionpack (4.2.7)
|
18
|
-
actionview (= 4.2.7)
|
19
|
-
activesupport (= 4.2.7)
|
20
|
-
rack (~> 1.6)
|
21
|
-
rack-test (~> 0.6.2)
|
22
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
24
|
-
actionview (4.2.7)
|
25
|
-
activesupport (= 4.2.7)
|
26
|
-
builder (~> 3.1)
|
27
|
-
erubis (~> 2.7.0)
|
28
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
29
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
30
|
-
activejob (4.2.7)
|
31
|
-
activesupport (= 4.2.7)
|
32
|
-
globalid (>= 0.3.0)
|
33
|
-
activemodel (4.2.7)
|
34
|
-
activesupport (= 4.2.7)
|
35
|
-
builder (~> 3.1)
|
36
|
-
activerecord (4.2.7)
|
37
|
-
activemodel (= 4.2.7)
|
38
|
-
activesupport (= 4.2.7)
|
39
|
-
arel (~> 6.0)
|
40
|
-
activerecord-session_store (1.0.0)
|
41
|
-
actionpack (>= 4.0, < 5.1)
|
42
|
-
activerecord (>= 4.0, < 5.1)
|
43
|
-
multi_json (~> 1.11, >= 1.11.2)
|
44
|
-
rack (>= 1.5.2, < 3)
|
45
|
-
railties (>= 4.0, < 5.1)
|
46
|
-
activesupport (4.2.7)
|
47
|
-
i18n (~> 0.7)
|
48
|
-
json (~> 1.7, >= 1.7.7)
|
49
|
-
minitest (~> 5.1)
|
50
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
51
|
-
tzinfo (~> 1.1)
|
52
|
-
arel (6.0.3)
|
53
|
-
authy (2.7.1)
|
54
|
-
httpclient (>= 2.5.3.3)
|
55
|
-
bcrypt (3.1.11)
|
56
|
-
binding_of_caller (0.7.2)
|
57
|
-
debug_inspector (>= 0.0.1)
|
58
|
-
builder (3.2.2)
|
59
|
-
byebug (9.0.5)
|
60
|
-
coffee-rails (4.1.1)
|
61
|
-
coffee-script (>= 2.2.0)
|
62
|
-
railties (>= 4.0.0, < 5.1.x)
|
63
|
-
coffee-script (2.4.1)
|
64
|
-
coffee-script-source
|
65
|
-
execjs
|
66
|
-
coffee-script-source (1.10.0)
|
67
|
-
concurrent-ruby (1.0.2)
|
68
|
-
debug_inspector (0.0.2)
|
69
|
-
devise (4.2.0)
|
70
|
-
bcrypt (~> 3.0)
|
71
|
-
orm_adapter (~> 0.1)
|
72
|
-
railties (>= 4.1.0, < 5.1)
|
73
|
-
responders
|
74
|
-
warden (~> 1.2.3)
|
75
|
-
erubis (2.7.0)
|
76
|
-
execjs (2.7.0)
|
77
|
-
globalid (0.3.7)
|
78
|
-
activesupport (>= 4.1.0)
|
79
|
-
httpclient (2.8.3)
|
80
|
-
i18n (0.7.0)
|
81
|
-
jbuilder (2.6.0)
|
82
|
-
activesupport (>= 3.0.0, < 5.1)
|
83
|
-
multi_json (~> 1.2)
|
84
|
-
jquery-rails (4.2.1)
|
85
|
-
rails-dom-testing (>= 1, < 3)
|
86
|
-
railties (>= 4.2.0)
|
87
|
-
thor (>= 0.14, < 2.0)
|
88
|
-
json (1.8.3)
|
89
|
-
loofah (2.0.3)
|
90
|
-
nokogiri (>= 1.5.9)
|
91
|
-
mail (2.6.4)
|
92
|
-
mime-types (>= 1.16, < 4)
|
93
|
-
mime-types (3.1)
|
94
|
-
mime-types-data (~> 3.2015)
|
95
|
-
mime-types-data (3.2016.0521)
|
96
|
-
mini_portile2 (2.1.0)
|
97
|
-
minitest (5.9.0)
|
98
|
-
multi_json (1.12.1)
|
99
|
-
nokogiri (1.6.8)
|
100
|
-
mini_portile2 (~> 2.1.0)
|
101
|
-
pkg-config (~> 1.1.7)
|
102
|
-
orm_adapter (0.5.0)
|
103
|
-
pkg-config (1.1.7)
|
104
|
-
rack (1.6.4)
|
105
|
-
rack-test (0.6.3)
|
106
|
-
rack (>= 1.0)
|
107
|
-
rails (4.2.7)
|
108
|
-
actionmailer (= 4.2.7)
|
109
|
-
actionpack (= 4.2.7)
|
110
|
-
actionview (= 4.2.7)
|
111
|
-
activejob (= 4.2.7)
|
112
|
-
activemodel (= 4.2.7)
|
113
|
-
activerecord (= 4.2.7)
|
114
|
-
activesupport (= 4.2.7)
|
115
|
-
bundler (>= 1.3.0, < 2.0)
|
116
|
-
railties (= 4.2.7)
|
117
|
-
sprockets-rails
|
118
|
-
rails-deprecated_sanitizer (1.0.3)
|
119
|
-
activesupport (>= 4.2.0.alpha)
|
120
|
-
rails-dom-testing (1.0.7)
|
121
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
122
|
-
nokogiri (~> 1.6.0)
|
123
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
124
|
-
rails-html-sanitizer (1.0.3)
|
125
|
-
loofah (~> 2.0)
|
126
|
-
railties (4.2.7)
|
127
|
-
actionpack (= 4.2.7)
|
128
|
-
activesupport (= 4.2.7)
|
129
|
-
rake (>= 0.8.7)
|
130
|
-
thor (>= 0.18.1, < 2.0)
|
131
|
-
rake (11.2.2)
|
132
|
-
rdoc (4.2.2)
|
133
|
-
json (~> 1.4)
|
134
|
-
responders (2.3.0)
|
135
|
-
railties (>= 4.2.0, < 5.1)
|
136
|
-
sass (3.4.22)
|
137
|
-
sass-rails (5.0.6)
|
138
|
-
railties (>= 4.0.0, < 6)
|
139
|
-
sass (~> 3.1)
|
140
|
-
sprockets (>= 2.8, < 4.0)
|
141
|
-
sprockets-rails (>= 2.0, < 4.0)
|
142
|
-
tilt (>= 1.1, < 3)
|
143
|
-
sdoc (0.4.1)
|
144
|
-
json (~> 1.7, >= 1.7.7)
|
145
|
-
rdoc (~> 4.0)
|
146
|
-
spring (1.7.2)
|
147
|
-
sprockets (3.7.0)
|
148
|
-
concurrent-ruby (~> 1.0)
|
149
|
-
rack (> 1, < 3)
|
150
|
-
sprockets-rails (3.2.0)
|
151
|
-
actionpack (>= 4.0)
|
152
|
-
activesupport (>= 4.0)
|
153
|
-
sprockets (>= 3.0.0)
|
154
|
-
sqlite3 (1.3.11)
|
155
|
-
thor (0.19.1)
|
156
|
-
thread_safe (0.3.5)
|
157
|
-
tilt (2.0.5)
|
158
|
-
turbolinks (5.0.1)
|
159
|
-
turbolinks-source (~> 5)
|
160
|
-
turbolinks-source (5.0.0)
|
161
|
-
tzinfo (1.2.2)
|
162
|
-
thread_safe (~> 0.1)
|
163
|
-
uglifier (3.0.2)
|
164
|
-
execjs (>= 0.3.0, < 3)
|
165
|
-
warden (1.2.6)
|
166
|
-
rack (>= 1.0)
|
167
|
-
web-console (2.3.0)
|
168
|
-
activemodel (>= 4.0)
|
169
|
-
binding_of_caller (>= 0.7.2)
|
170
|
-
railties (>= 4.0)
|
171
|
-
sprockets-rails (>= 2.0, < 4.0)
|
172
|
-
|
173
|
-
PLATFORMS
|
174
|
-
ruby
|
175
|
-
|
176
|
-
DEPENDENCIES
|
177
|
-
activerecord-session_store
|
178
|
-
byebug
|
179
|
-
coffee-rails (~> 4.1.0)
|
180
|
-
devise (>= 3.0.0)
|
181
|
-
devise-authy!
|
182
|
-
jbuilder (~> 2.0)
|
183
|
-
jquery-rails
|
184
|
-
rails (= 4.2.7)
|
185
|
-
sass-rails (~> 5.0)
|
186
|
-
sdoc (~> 0.4.0)
|
187
|
-
spring
|
188
|
-
sqlite3
|
189
|
-
turbolinks
|
190
|
-
uglifier (>= 1.3.0)
|
191
|
-
web-console (~> 2.0)
|
192
|
-
|
193
|
-
BUNDLED WITH
|
194
|
-
1.16.0
|