devise-authy 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +5 -13
  2. data/.travis.yml +4 -0
  3. data/Gemfile +29 -13
  4. data/README.md +8 -6
  5. data/VERSION +1 -1
  6. data/app/controllers/devise/devise_authy_controller.rb +3 -3
  7. data/authy-devise-demo/Gemfile +39 -28
  8. data/authy-devise-demo/Gemfile.lock +166 -113
  9. data/authy-devise-demo/README.md +1 -1
  10. data/authy-devise-demo/app/controllers/welcome_controller.rb +2 -2
  11. data/authy-devise-demo/app/models/admin.rb +0 -3
  12. data/authy-devise-demo/app/models/user.rb +0 -3
  13. data/authy-devise-demo/config/application.rb +5 -41
  14. data/authy-devise-demo/config/environments/development.rb +21 -17
  15. data/authy-devise-demo/config/environments/production.rb +45 -33
  16. data/authy-devise-demo/config/environments/test.rb +18 -13
  17. data/authy-devise-demo/config/initializers/session_store.rb +1 -1
  18. data/authy-devise-demo/config/locales/devise.authy.en.yml +4 -4
  19. data/authy-devise-demo/config/secrets.yml +22 -0
  20. data/authy-devise-demo/db/migrate/20160906221739_add_sessions_table.rb +12 -0
  21. data/authy-devise-demo/db/schema.rb +32 -22
  22. data/config/locales/en.yml +4 -4
  23. data/devise-authy.gemspec +44 -47
  24. data/lib/devise-authy/controllers/helpers.rb +1 -1
  25. data/lib/devise-authy/controllers/view_helpers.rb +8 -2
  26. data/lib/devise-authy/mapping.rb +3 -7
  27. data/lib/devise-authy/models/authy_authenticatable.rb +1 -1
  28. data/lib/devise-authy/rails.rb +1 -1
  29. data/lib/generators/devise_authy/install_generator.rb +7 -0
  30. data/spec/controllers/devise_authy_controller_spec.rb +61 -60
  31. data/spec/controllers/passwords_controller_spec.rb +15 -15
  32. data/spec/features/authy_authenticatable_spec.rb +23 -23
  33. data/spec/features/authy_lockable_spec.rb +6 -6
  34. data/spec/generators_spec.rb +11 -9
  35. data/spec/models/authy_authenticatable_spec.rb +3 -3
  36. data/spec/models/authy_lockable_spec.rb +7 -7
  37. data/spec/rails-app/Gemfile +4 -3
  38. data/spec/rails-app/Gemfile.lock +116 -91
  39. data/spec/rails-app/app/controllers/welcome_controller.rb +1 -1
  40. data/spec/rails-app/app/models/user.rb +0 -3
  41. data/spec/rails-app/config/application.rb +15 -34
  42. data/spec/rails-app/config/environments/development.rb +21 -17
  43. data/spec/rails-app/config/environments/production.rb +45 -33
  44. data/spec/rails-app/config/environments/test.rb +18 -13
  45. data/spec/rails-app/config/secrets.yml +22 -0
  46. data/spec/routing/routes_spec.rb +7 -7
  47. data/spec/spec_helper.rb +17 -0
  48. data/spec/support/helpers.rb +3 -1
  49. metadata +34 -59
  50. data/Gemfile.lock +0 -194
@@ -1,194 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- actionmailer (3.2.13)
5
- actionpack (= 3.2.13)
6
- mail (~> 2.5.3)
7
- actionpack (3.2.13)
8
- activemodel (= 3.2.13)
9
- activesupport (= 3.2.13)
10
- builder (~> 3.0.0)
11
- erubis (~> 2.7.0)
12
- journey (~> 1.0.4)
13
- rack (~> 1.4.5)
14
- rack-cache (~> 1.2)
15
- rack-test (~> 0.6.1)
16
- sprockets (~> 2.2.1)
17
- activemodel (3.2.13)
18
- activesupport (= 3.2.13)
19
- builder (~> 3.0.0)
20
- activerecord (3.2.13)
21
- activemodel (= 3.2.13)
22
- activesupport (= 3.2.13)
23
- arel (~> 3.0.2)
24
- tzinfo (~> 0.3.29)
25
- activeresource (3.2.13)
26
- activemodel (= 3.2.13)
27
- activesupport (= 3.2.13)
28
- activesupport (3.2.13)
29
- i18n (= 0.6.1)
30
- multi_json (~> 1.0)
31
- addressable (2.3.6)
32
- arel (3.0.2)
33
- authy (2.4.0)
34
- httpclient (>= 2.3.4)
35
- bcrypt-ruby (3.0.1)
36
- builder (3.0.4)
37
- capybara (2.1.0)
38
- mime-types (>= 1.16)
39
- nokogiri (>= 1.3.3)
40
- rack (>= 1.0.0)
41
- rack-test (>= 0.5.4)
42
- xpath (~> 2.0)
43
- coderay (1.0.9)
44
- database_cleaner (0.9.1)
45
- devise (2.2.3)
46
- bcrypt-ruby (~> 3.0)
47
- orm_adapter (~> 0.1)
48
- railties (~> 3.1)
49
- warden (~> 1.2.1)
50
- diff-lcs (1.2.5)
51
- erubis (2.7.0)
52
- faraday (0.8.9)
53
- multipart-post (~> 1.2.0)
54
- git (1.2.6)
55
- github_api (0.10.2)
56
- addressable
57
- faraday (~> 0.8.7)
58
- hashie (>= 1.2)
59
- multi_json (~> 1.4)
60
- nokogiri (~> 1.6.0)
61
- oauth2
62
- hashie (2.1.1)
63
- highline (1.6.21)
64
- hike (1.2.2)
65
- httpclient (2.5.3.3)
66
- i18n (0.6.1)
67
- jeweler (2.0.1)
68
- builder
69
- bundler (>= 1.0)
70
- git (>= 1.2.5)
71
- github_api
72
- highline (>= 1.6.15)
73
- nokogiri (>= 1.5.10)
74
- rake
75
- rdoc
76
- journey (1.0.4)
77
- jquery-rails (2.2.1)
78
- railties (>= 3.0, < 5.0)
79
- thor (>= 0.14, < 2.0)
80
- json (1.8.1)
81
- jwt (0.1.11)
82
- multi_json (>= 1.5)
83
- mail (2.5.3)
84
- i18n (>= 0.4.0)
85
- mime-types (~> 1.16)
86
- treetop (~> 1.4.8)
87
- method_source (0.8.1)
88
- mime-types (1.22)
89
- mini_portile (0.5.3)
90
- multi_json (1.7.2)
91
- multi_xml (0.5.5)
92
- multipart-post (1.2.0)
93
- nokogiri (1.6.1)
94
- mini_portile (~> 0.5.0)
95
- oauth2 (0.9.3)
96
- faraday (>= 0.8, < 0.10)
97
- jwt (~> 0.1.8)
98
- multi_json (~> 1.3)
99
- multi_xml (~> 0.5)
100
- rack (~> 1.2)
101
- orm_adapter (0.4.0)
102
- polyglot (0.3.3)
103
- pry (0.9.12)
104
- coderay (~> 1.0.5)
105
- method_source (~> 0.8)
106
- slop (~> 3.4)
107
- rack (1.4.5)
108
- rack-cache (1.2)
109
- rack (>= 0.4)
110
- rack-ssl (1.3.3)
111
- rack
112
- rack-test (0.6.2)
113
- rack (>= 1.0)
114
- rails (3.2.13)
115
- actionmailer (= 3.2.13)
116
- actionpack (= 3.2.13)
117
- activerecord (= 3.2.13)
118
- activeresource (= 3.2.13)
119
- activesupport (= 3.2.13)
120
- bundler (~> 1.0)
121
- railties (= 3.2.13)
122
- railties (3.2.13)
123
- actionpack (= 3.2.13)
124
- activesupport (= 3.2.13)
125
- rack-ssl (~> 1.3.2)
126
- rake (>= 0.8.7)
127
- rdoc (~> 3.4)
128
- thor (>= 0.14.6, < 2.0)
129
- rake (10.3.0)
130
- rdoc (3.12.2)
131
- json (~> 1.4)
132
- rspec (2.13.0)
133
- rspec-core (~> 2.13.0)
134
- rspec-expectations (~> 2.13.0)
135
- rspec-mocks (~> 2.13.0)
136
- rspec-core (2.13.1)
137
- rspec-expectations (2.13.0)
138
- diff-lcs (>= 1.1.3, < 2.0)
139
- rspec-mocks (2.13.1)
140
- rspec-rails (2.13.0)
141
- actionpack (>= 3.0)
142
- activesupport (>= 3.0)
143
- railties (>= 3.0)
144
- rspec-core (~> 2.13.0)
145
- rspec-expectations (~> 2.13.0)
146
- rspec-mocks (~> 2.13.0)
147
- sass (3.2.7)
148
- sass-rails (3.2.6)
149
- railties (~> 3.2.0)
150
- sass (>= 3.1.10)
151
- tilt (~> 1.3)
152
- simplecov (0.7.1)
153
- multi_json (~> 1.0)
154
- simplecov-html (~> 0.7.1)
155
- simplecov-html (0.7.1)
156
- slop (3.4.4)
157
- sprockets (2.2.2)
158
- hike (~> 1.2)
159
- multi_json (~> 1.0)
160
- rack (~> 1.0)
161
- tilt (~> 1.1, != 1.3.0)
162
- sqlite3 (1.3.7)
163
- thor (0.18.1)
164
- tilt (1.3.7)
165
- treetop (1.4.12)
166
- polyglot
167
- polyglot (>= 0.3.1)
168
- tzinfo (0.3.37)
169
- warden (1.2.1)
170
- rack (>= 1.0)
171
- xpath (2.0.0)
172
- nokogiri (~> 1.3)
173
- yard (0.8.6.1)
174
-
175
- PLATFORMS
176
- ruby
177
-
178
- DEPENDENCIES
179
- authy
180
- bundler
181
- capybara
182
- database_cleaner
183
- devise
184
- jeweler (>= 2.0.1)
185
- jquery-rails
186
- pry
187
- rails
188
- rdoc
189
- rspec
190
- rspec-rails
191
- sass-rails
192
- simplecov
193
- sqlite3
194
- yard