authpro 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/authpro/version.rb +2 -2
- data/test/dummy/Gemfile +8 -6
- data/test/dummy/Gemfile.lock +69 -63
- data/test/rails/dummy/Gemfile +8 -6
- data/test/rails/dummy/Gemfile.lock +69 -63
- data/test/rails/dummy/db/migrate/{20131111172934_create_users.rb → 20140423203816_create_users.rb} +0 -0
- data/test/rails/dummy/db/test.sqlite3 +0 -0
- data/test/rails/dummy/log/test.log +2998 -277
- data/test/rails/dummy/test/fixtures/users.yml +2 -2
- data/test/rails/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/rails/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/rails/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/rails/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/rails/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/rails/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/test_helper.rb +2 -3
- metadata +45 -60
- data/test/dummy/log/test.log +0 -72
@@ -5,11 +5,11 @@ one:
|
|
5
5
|
password_digest: MyString
|
6
6
|
auth_token: MyString
|
7
7
|
password_reset_token: MyString
|
8
|
-
password_reset_sent_at:
|
8
|
+
password_reset_sent_at: 2014-04-23 23:13:45
|
9
9
|
|
10
10
|
two:
|
11
11
|
email: MyString
|
12
12
|
password_digest: MyString
|
13
13
|
auth_token: MyString
|
14
14
|
password_reset_token: MyString
|
15
|
-
password_reset_sent_at:
|
15
|
+
password_reset_sent_at: 2014-04-23 23:13:45
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/test_helper.rb
CHANGED
@@ -12,7 +12,6 @@ require "capybara/rails"
|
|
12
12
|
require "database_cleaner"
|
13
13
|
require "timecop"
|
14
14
|
require "generators/authpro/authpro_generator"
|
15
|
-
require "turn"
|
16
15
|
require "securerandom"
|
17
16
|
|
18
17
|
Rails.backtrace_cleaner.remove_silencers!
|
@@ -32,5 +31,5 @@ class ActionDispatch::IntegrationTest
|
|
32
31
|
end
|
33
32
|
|
34
33
|
def fake_email
|
35
|
-
"#{SecureRandom.urlsafe_base64}@sample.com"
|
36
|
-
end
|
34
|
+
"#{SecureRandom.urlsafe_base64}@sample.com"
|
35
|
+
end
|
metadata
CHANGED
@@ -1,122 +1,112 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Nyström
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: bcrypt
|
28
|
+
name: bcrypt
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.1.
|
33
|
+
version: 3.1.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.1.
|
40
|
+
version: 3.1.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sqlite3
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
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
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: capybara
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '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
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: database_cleaner
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.2.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:
|
82
|
+
version: 1.2.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: timecop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
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
96
|
version: '0'
|
97
|
-
|
98
|
-
name: turn
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '>='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '>='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
description: Simple Rails authentication generator for pros
|
97
|
+
description: Simple Rails authentication generator
|
112
98
|
email:
|
113
99
|
- ricny046@gmail.com
|
114
100
|
executables: []
|
115
101
|
extensions: []
|
116
102
|
extra_rdoc_files: []
|
117
103
|
files:
|
118
|
-
-
|
104
|
+
- MIT-LICENSE
|
105
|
+
- README.md
|
106
|
+
- Rakefile
|
119
107
|
- lib/authpro.rb
|
108
|
+
- lib/authpro/version.rb
|
109
|
+
- lib/generators/authpro/USAGE
|
120
110
|
- lib/generators/authpro/authpro_generator.rb
|
121
111
|
- lib/generators/authpro/templates/application.html.erb
|
122
112
|
- lib/generators/authpro/templates/home_controller.rb
|
@@ -130,13 +120,13 @@ files:
|
|
130
120
|
- lib/generators/authpro/templates/sessions_controller.rb
|
131
121
|
- lib/generators/authpro/templates/user_mailer.rb
|
132
122
|
- lib/generators/authpro/templates/users_controller.rb
|
133
|
-
- lib/generators/authpro/USAGE
|
134
123
|
- lib/tasks/authpro_tasks.rake
|
135
|
-
- MIT-LICENSE
|
136
|
-
- Rakefile
|
137
|
-
- README.md
|
138
124
|
- test/authpro_generator_test.rb
|
139
125
|
- test/authpro_integration_test.rb
|
126
|
+
- test/dummy/Gemfile
|
127
|
+
- test/dummy/Gemfile.lock
|
128
|
+
- test/dummy/README.rdoc
|
129
|
+
- test/dummy/Rakefile
|
140
130
|
- test/dummy/app/assets/javascripts/application.js
|
141
131
|
- test/dummy/app/assets/stylesheets/application.css
|
142
132
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -145,6 +135,7 @@ files:
|
|
145
135
|
- test/dummy/bin/bundle
|
146
136
|
- test/dummy/bin/rails
|
147
137
|
- test/dummy/bin/rake
|
138
|
+
- test/dummy/config.ru
|
148
139
|
- test/dummy/config/application.rb
|
149
140
|
- test/dummy/config/boot.rb
|
150
141
|
- test/dummy/config/database.yml
|
@@ -161,17 +152,15 @@ files:
|
|
161
152
|
- test/dummy/config/initializers/wrap_parameters.rb
|
162
153
|
- test/dummy/config/locales/en.yml
|
163
154
|
- test/dummy/config/routes.rb
|
164
|
-
- test/dummy/config.ru
|
165
155
|
- test/dummy/db/test.sqlite3
|
166
|
-
- test/dummy/Gemfile
|
167
|
-
- test/dummy/Gemfile.lock
|
168
|
-
- test/dummy/log/test.log
|
169
156
|
- test/dummy/public/404.html
|
170
157
|
- test/dummy/public/422.html
|
171
158
|
- test/dummy/public/500.html
|
172
159
|
- test/dummy/public/favicon.ico
|
173
|
-
- test/dummy/
|
174
|
-
- test/dummy/
|
160
|
+
- test/rails/dummy/Gemfile
|
161
|
+
- test/rails/dummy/Gemfile.lock
|
162
|
+
- test/rails/dummy/README.rdoc
|
163
|
+
- test/rails/dummy/Rakefile
|
175
164
|
- test/rails/dummy/app/assets/javascripts/application.js
|
176
165
|
- test/rails/dummy/app/assets/stylesheets/application.css
|
177
166
|
- test/rails/dummy/app/controllers/application_controller.rb
|
@@ -192,6 +181,7 @@ files:
|
|
192
181
|
- test/rails/dummy/bin/bundle
|
193
182
|
- test/rails/dummy/bin/rails
|
194
183
|
- test/rails/dummy/bin/rake
|
184
|
+
- test/rails/dummy/config.ru
|
195
185
|
- test/rails/dummy/config/application.rb
|
196
186
|
- test/rails/dummy/config/boot.rb
|
197
187
|
- test/rails/dummy/config/database.yml
|
@@ -208,18 +198,13 @@ files:
|
|
208
198
|
- test/rails/dummy/config/initializers/wrap_parameters.rb
|
209
199
|
- test/rails/dummy/config/locales/en.yml
|
210
200
|
- test/rails/dummy/config/routes.rb
|
211
|
-
- test/rails/dummy/
|
212
|
-
- test/rails/dummy/db/migrate/20131111172934_create_users.rb
|
201
|
+
- test/rails/dummy/db/migrate/20140423203816_create_users.rb
|
213
202
|
- test/rails/dummy/db/test.sqlite3
|
214
|
-
- test/rails/dummy/Gemfile
|
215
|
-
- test/rails/dummy/Gemfile.lock
|
216
203
|
- test/rails/dummy/log/test.log
|
217
204
|
- test/rails/dummy/public/404.html
|
218
205
|
- test/rails/dummy/public/422.html
|
219
206
|
- test/rails/dummy/public/500.html
|
220
207
|
- test/rails/dummy/public/favicon.ico
|
221
|
-
- test/rails/dummy/Rakefile
|
222
|
-
- test/rails/dummy/README.rdoc
|
223
208
|
- test/rails/dummy/test/fixtures/users.yml
|
224
209
|
- test/rails/dummy/test/models/user_test.rb
|
225
210
|
- test/rails/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
@@ -230,7 +215,8 @@ files:
|
|
230
215
|
- test/rails/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
231
216
|
- test/test_helper.rb
|
232
217
|
homepage: https://github.com/ricn/authpro
|
233
|
-
licenses:
|
218
|
+
licenses:
|
219
|
+
- MIT
|
234
220
|
metadata: {}
|
235
221
|
post_install_message:
|
236
222
|
rdoc_options: []
|
@@ -238,20 +224,20 @@ require_paths:
|
|
238
224
|
- lib
|
239
225
|
required_ruby_version: !ruby/object:Gem::Requirement
|
240
226
|
requirements:
|
241
|
-
- -
|
227
|
+
- - ">="
|
242
228
|
- !ruby/object:Gem::Version
|
243
229
|
version: '0'
|
244
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
231
|
requirements:
|
246
|
-
- -
|
232
|
+
- - ">="
|
247
233
|
- !ruby/object:Gem::Version
|
248
234
|
version: '0'
|
249
235
|
requirements: []
|
250
236
|
rubyforge_project:
|
251
|
-
rubygems_version: 2.
|
237
|
+
rubygems_version: 2.2.2
|
252
238
|
signing_key:
|
253
239
|
specification_version: 4
|
254
|
-
summary: Simple Rails authentication generator
|
240
|
+
summary: Simple Rails authentication generator
|
255
241
|
test_files:
|
256
242
|
- test/authpro_generator_test.rb
|
257
243
|
- test/authpro_integration_test.rb
|
@@ -283,7 +269,6 @@ test_files:
|
|
283
269
|
- test/dummy/db/test.sqlite3
|
284
270
|
- test/dummy/Gemfile
|
285
271
|
- test/dummy/Gemfile.lock
|
286
|
-
- test/dummy/log/test.log
|
287
272
|
- test/dummy/public/404.html
|
288
273
|
- test/dummy/public/422.html
|
289
274
|
- test/dummy/public/500.html
|
@@ -327,7 +312,7 @@ test_files:
|
|
327
312
|
- test/rails/dummy/config/locales/en.yml
|
328
313
|
- test/rails/dummy/config/routes.rb
|
329
314
|
- test/rails/dummy/config.ru
|
330
|
-
- test/rails/dummy/db/migrate/
|
315
|
+
- test/rails/dummy/db/migrate/20140423203816_create_users.rb
|
331
316
|
- test/rails/dummy/db/test.sqlite3
|
332
317
|
- test/rails/dummy/Gemfile
|
333
318
|
- test/rails/dummy/Gemfile.lock
|
data/test/dummy/log/test.log
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
----------------------------------------------------------------
|
2
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
3
|
-
----------------------------------------------------------------
|
4
|
-
-----------------------
|
5
|
-
AuthproTest: test_truth
|
6
|
-
-----------------------
|
7
|
-
----------------------------------------------------------------
|
8
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
9
|
-
----------------------------------------------------------------
|
10
|
-
-----------------------
|
11
|
-
AuthproTest: test_truth
|
12
|
-
-----------------------
|
13
|
-
----------------------------------------------------------------
|
14
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
15
|
-
----------------------------------------------------------------
|
16
|
-
----------------------------------------------------------------
|
17
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
18
|
-
----------------------------------------------------------------
|
19
|
-
----------------------------------------------------------------
|
20
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
21
|
-
----------------------------------------------------------------
|
22
|
-
----------------------------------------------------------------
|
23
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
24
|
-
----------------------------------------------------------------
|
25
|
-
----------------------------------------------------------------
|
26
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
27
|
-
----------------------------------------------------------------
|
28
|
-
----------------------------------------------------------------
|
29
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
30
|
-
----------------------------------------------------------------
|
31
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
32
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
33
|
-
----------------------------------------------------------------
|
34
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
35
|
-
----------------------------------------------------------------
|
36
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
37
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
38
|
-
----------------------------------------------------------------
|
39
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
40
|
-
----------------------------------------------------------------
|
41
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
42
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
43
|
-
----------------------------------------------------------------
|
44
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
45
|
-
----------------------------------------------------------------
|
46
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
47
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
48
|
-
----------------------------------------------------------------
|
49
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
50
|
-
----------------------------------------------------------------
|
51
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
52
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
53
|
-
----------------------------------------------------------------
|
54
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
55
|
-
----------------------------------------------------------------
|
56
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
57
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
58
|
-
----------------------------------------------------------------
|
59
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
60
|
-
----------------------------------------------------------------
|
61
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
63
|
-
----------------------------------------------------------------
|
64
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
65
|
-
----------------------------------------------------------------
|
66
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
67
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
68
|
-
----------------------------------------------------------------
|
69
|
-
AuthproGeneratorTest: test_Assert_all_files_are_properly_created
|
70
|
-
----------------------------------------------------------------
|
71
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
72
|
-
[1m[35m (0.1ms)[0m rollback transaction
|