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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 777fad32d6911563c2d2da0cd7ae7b1df3a8b4e5
|
4
|
+
data.tar.gz: 0aad5cefde4864252d27a61c9bc4d240e0419135
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a33c3bf7ece21d2c79579d3dde2d6e0aab518369bd714d8bcd188fc7cd9d5f99537ce2518650fc2b427164c74ec58cec31cde257e4ba0de78d2b2bb0a74f9f5b
|
7
|
+
data.tar.gz: bcf4821ca085c5387cc22bd122786b05a7bcf776f43f0596f34358f71055e7174d3afae41509b607d986cdca1c42245fdc4d08af8ee9a548b9c27151194d6ac5
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Code Climate](https://codeclimate.com/github/ricn/authpro.png)](https://codeclimate.com/github/ricn/authpro)
|
4
4
|
[![Build Status](https://travis-ci.org/ricn/authpro.png?branch=master)](https://travis-ci.org/ricn/authpro)
|
5
5
|
|
6
|
-
Authpro is a simple authentication generator for Rails 4 It:
|
6
|
+
Authpro is a simple authentication generator for Rails 4.1 It:
|
7
7
|
|
8
8
|
* Gives you sign up, log in, remember me & password reset functionality
|
9
9
|
* Has no hidden code, special super classes or mixins
|
@@ -29,9 +29,9 @@ Add this line to your application's Gemfile:
|
|
29
29
|
|
30
30
|
And then execute:
|
31
31
|
|
32
|
-
$ bundle
|
32
|
+
$ bundle
|
33
33
|
$ rails generate authpro
|
34
|
-
$ rake db:migrate
|
34
|
+
$ rake db:migrate
|
35
35
|
$ rails server
|
36
36
|
|
37
37
|
Open browser:
|
@@ -44,4 +44,4 @@ Open browser:
|
|
44
44
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
45
45
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
46
46
|
4. Push to the branch (`git push origin my-new-feature`)
|
47
|
-
5. Create new Pull Request
|
47
|
+
5. Create new Pull Request
|
data/lib/authpro/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Authpro
|
2
|
-
VERSION = "1.0
|
3
|
-
end
|
2
|
+
VERSION = "1.1.0"
|
3
|
+
end
|
data/test/dummy/Gemfile
CHANGED
@@ -1,17 +1,19 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem "rails", "~> 4.0"
|
3
|
+
gem "rails", "~> 4.1.0"
|
4
4
|
gem 'sqlite3'
|
5
5
|
|
6
6
|
group :assets do
|
7
|
-
gem 'sass-rails', '~> 4.0'
|
8
|
-
gem 'coffee-rails', '~> 4.0'
|
9
|
-
gem 'uglifier', '>= 1.0
|
7
|
+
gem 'sass-rails', '~> 4.0.3'
|
8
|
+
gem 'coffee-rails', '~> 4.0.0'
|
9
|
+
gem 'uglifier', '>= 1.3.0'
|
10
10
|
end
|
11
11
|
|
12
12
|
gem 'jquery-rails'
|
13
13
|
gem 'turbolinks'
|
14
|
-
gem 'jbuilder', '~>
|
14
|
+
gem 'jbuilder', '~> 2.0'
|
15
15
|
|
16
16
|
# To use ActiveModel has_secure_password
|
17
|
-
gem 'bcrypt
|
17
|
+
gem 'bcrypt', '~> 3.1.7'
|
18
|
+
|
19
|
+
gem 'minitest'
|
data/test/dummy/Gemfile.lock
CHANGED
@@ -1,101 +1,106 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (4.0
|
5
|
-
actionpack (= 4.0
|
4
|
+
actionmailer (4.1.0)
|
5
|
+
actionpack (= 4.1.0)
|
6
|
+
actionview (= 4.1.0)
|
6
7
|
mail (~> 2.5.4)
|
7
|
-
actionpack (4.0
|
8
|
-
|
9
|
-
|
10
|
-
erubis (~> 2.7.0)
|
8
|
+
actionpack (4.1.0)
|
9
|
+
actionview (= 4.1.0)
|
10
|
+
activesupport (= 4.1.0)
|
11
11
|
rack (~> 1.5.2)
|
12
12
|
rack-test (~> 0.6.2)
|
13
|
-
|
14
|
-
activesupport (= 4.0
|
15
|
-
builder (~> 3.1
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
13
|
+
actionview (4.1.0)
|
14
|
+
activesupport (= 4.1.0)
|
15
|
+
builder (~> 3.1)
|
16
|
+
erubis (~> 2.7.0)
|
17
|
+
activemodel (4.1.0)
|
18
|
+
activesupport (= 4.1.0)
|
19
|
+
builder (~> 3.1)
|
20
|
+
activerecord (4.1.0)
|
21
|
+
activemodel (= 4.1.0)
|
22
|
+
activesupport (= 4.1.0)
|
23
|
+
arel (~> 5.0.0)
|
24
|
+
activesupport (4.1.0)
|
25
|
+
i18n (~> 0.6, >= 0.6.9)
|
26
|
+
json (~> 1.7, >= 1.7.7)
|
27
|
+
minitest (~> 5.1)
|
26
28
|
thread_safe (~> 0.1)
|
27
|
-
tzinfo (~>
|
28
|
-
arel (
|
29
|
-
|
30
|
-
|
31
|
-
builder (3.1.4)
|
29
|
+
tzinfo (~> 1.1)
|
30
|
+
arel (5.0.1.20140414130214)
|
31
|
+
bcrypt (3.1.7)
|
32
|
+
builder (3.2.2)
|
32
33
|
coffee-rails (4.0.1)
|
33
34
|
coffee-script (>= 2.2.0)
|
34
35
|
railties (>= 4.0.0, < 5.0)
|
35
36
|
coffee-script (2.2.0)
|
36
37
|
coffee-script-source
|
37
38
|
execjs
|
38
|
-
coffee-script-source (1.
|
39
|
+
coffee-script-source (1.7.0)
|
39
40
|
erubis (2.7.0)
|
40
41
|
execjs (2.0.2)
|
41
42
|
hike (1.2.3)
|
42
|
-
i18n (0.6.
|
43
|
-
jbuilder (
|
44
|
-
activesupport (>= 3.0.0)
|
45
|
-
|
43
|
+
i18n (0.6.9)
|
44
|
+
jbuilder (2.0.6)
|
45
|
+
activesupport (>= 3.0.0, < 5)
|
46
|
+
multi_json (~> 1.2)
|
47
|
+
jquery-rails (3.1.0)
|
46
48
|
railties (>= 3.0, < 5.0)
|
47
49
|
thor (>= 0.14, < 2.0)
|
48
50
|
json (1.8.1)
|
49
51
|
mail (2.5.4)
|
50
52
|
mime-types (~> 1.16)
|
51
53
|
treetop (~> 1.4.8)
|
52
|
-
mime-types (1.25)
|
53
|
-
minitest (
|
54
|
-
multi_json (1.
|
55
|
-
polyglot (0.3.
|
54
|
+
mime-types (1.25.1)
|
55
|
+
minitest (5.3.3)
|
56
|
+
multi_json (1.9.2)
|
57
|
+
polyglot (0.3.4)
|
56
58
|
rack (1.5.2)
|
57
59
|
rack-test (0.6.2)
|
58
60
|
rack (>= 1.0)
|
59
|
-
rails (4.0
|
60
|
-
actionmailer (= 4.0
|
61
|
-
actionpack (= 4.0
|
62
|
-
|
63
|
-
|
61
|
+
rails (4.1.0)
|
62
|
+
actionmailer (= 4.1.0)
|
63
|
+
actionpack (= 4.1.0)
|
64
|
+
actionview (= 4.1.0)
|
65
|
+
activemodel (= 4.1.0)
|
66
|
+
activerecord (= 4.1.0)
|
67
|
+
activesupport (= 4.1.0)
|
64
68
|
bundler (>= 1.3.0, < 2.0)
|
65
|
-
railties (= 4.0
|
66
|
-
sprockets-rails (~> 2.0
|
67
|
-
railties (4.0
|
68
|
-
actionpack (= 4.0
|
69
|
-
activesupport (= 4.0
|
69
|
+
railties (= 4.1.0)
|
70
|
+
sprockets-rails (~> 2.0)
|
71
|
+
railties (4.1.0)
|
72
|
+
actionpack (= 4.1.0)
|
73
|
+
activesupport (= 4.1.0)
|
70
74
|
rake (>= 0.8.7)
|
71
75
|
thor (>= 0.18.1, < 2.0)
|
72
|
-
rake (10.1
|
73
|
-
sass (3.2.
|
74
|
-
sass-rails (4.0.
|
76
|
+
rake (10.3.1)
|
77
|
+
sass (3.2.19)
|
78
|
+
sass-rails (4.0.3)
|
75
79
|
railties (>= 4.0.0, < 5.0)
|
76
|
-
sass (
|
77
|
-
sprockets
|
78
|
-
|
80
|
+
sass (~> 3.2.0)
|
81
|
+
sprockets (~> 2.8, <= 2.11.0)
|
82
|
+
sprockets-rails (~> 2.0)
|
83
|
+
sprockets (2.11.0)
|
79
84
|
hike (~> 1.2)
|
80
85
|
multi_json (~> 1.0)
|
81
86
|
rack (~> 1.0)
|
82
87
|
tilt (~> 1.1, != 1.3.0)
|
83
|
-
sprockets-rails (2.
|
88
|
+
sprockets-rails (2.1.3)
|
84
89
|
actionpack (>= 3.0)
|
85
90
|
activesupport (>= 3.0)
|
86
91
|
sprockets (~> 2.8)
|
87
|
-
sqlite3 (1.3.
|
88
|
-
thor (0.
|
89
|
-
thread_safe (0.
|
90
|
-
atomic
|
92
|
+
sqlite3 (1.3.9)
|
93
|
+
thor (0.19.1)
|
94
|
+
thread_safe (0.3.3)
|
91
95
|
tilt (1.4.1)
|
92
96
|
treetop (1.4.15)
|
93
97
|
polyglot
|
94
98
|
polyglot (>= 0.3.1)
|
95
|
-
turbolinks (
|
99
|
+
turbolinks (2.2.2)
|
96
100
|
coffee-rails
|
97
|
-
tzinfo (
|
98
|
-
|
101
|
+
tzinfo (1.1.0)
|
102
|
+
thread_safe (~> 0.1)
|
103
|
+
uglifier (2.5.0)
|
99
104
|
execjs (>= 0.3.0)
|
100
105
|
json (>= 1.8.0)
|
101
106
|
|
@@ -103,12 +108,13 @@ PLATFORMS
|
|
103
108
|
ruby
|
104
109
|
|
105
110
|
DEPENDENCIES
|
106
|
-
bcrypt
|
107
|
-
coffee-rails (~> 4.0)
|
108
|
-
jbuilder (~>
|
111
|
+
bcrypt (~> 3.1.7)
|
112
|
+
coffee-rails (~> 4.0.0)
|
113
|
+
jbuilder (~> 2.0)
|
109
114
|
jquery-rails
|
110
|
-
|
111
|
-
|
115
|
+
minitest
|
116
|
+
rails (~> 4.1.0)
|
117
|
+
sass-rails (~> 4.0.3)
|
112
118
|
sqlite3
|
113
119
|
turbolinks
|
114
|
-
uglifier (>= 1.0
|
120
|
+
uglifier (>= 1.3.0)
|
data/test/rails/dummy/Gemfile
CHANGED
@@ -1,17 +1,19 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem "rails", "~> 4.0"
|
3
|
+
gem "rails", "~> 4.1.0"
|
4
4
|
gem 'sqlite3'
|
5
5
|
|
6
6
|
group :assets do
|
7
|
-
gem 'sass-rails', '~> 4.0'
|
8
|
-
gem 'coffee-rails', '~> 4.0'
|
9
|
-
gem 'uglifier', '>= 1.0
|
7
|
+
gem 'sass-rails', '~> 4.0.3'
|
8
|
+
gem 'coffee-rails', '~> 4.0.0'
|
9
|
+
gem 'uglifier', '>= 1.3.0'
|
10
10
|
end
|
11
11
|
|
12
12
|
gem 'jquery-rails'
|
13
13
|
gem 'turbolinks'
|
14
|
-
gem 'jbuilder', '~>
|
14
|
+
gem 'jbuilder', '~> 2.0'
|
15
15
|
|
16
16
|
# To use ActiveModel has_secure_password
|
17
|
-
gem 'bcrypt
|
17
|
+
gem 'bcrypt', '~> 3.1.7'
|
18
|
+
|
19
|
+
gem 'minitest'
|
@@ -1,101 +1,106 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (4.0
|
5
|
-
actionpack (= 4.0
|
4
|
+
actionmailer (4.1.0)
|
5
|
+
actionpack (= 4.1.0)
|
6
|
+
actionview (= 4.1.0)
|
6
7
|
mail (~> 2.5.4)
|
7
|
-
actionpack (4.0
|
8
|
-
|
9
|
-
|
10
|
-
erubis (~> 2.7.0)
|
8
|
+
actionpack (4.1.0)
|
9
|
+
actionview (= 4.1.0)
|
10
|
+
activesupport (= 4.1.0)
|
11
11
|
rack (~> 1.5.2)
|
12
12
|
rack-test (~> 0.6.2)
|
13
|
-
|
14
|
-
activesupport (= 4.0
|
15
|
-
builder (~> 3.1
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
13
|
+
actionview (4.1.0)
|
14
|
+
activesupport (= 4.1.0)
|
15
|
+
builder (~> 3.1)
|
16
|
+
erubis (~> 2.7.0)
|
17
|
+
activemodel (4.1.0)
|
18
|
+
activesupport (= 4.1.0)
|
19
|
+
builder (~> 3.1)
|
20
|
+
activerecord (4.1.0)
|
21
|
+
activemodel (= 4.1.0)
|
22
|
+
activesupport (= 4.1.0)
|
23
|
+
arel (~> 5.0.0)
|
24
|
+
activesupport (4.1.0)
|
25
|
+
i18n (~> 0.6, >= 0.6.9)
|
26
|
+
json (~> 1.7, >= 1.7.7)
|
27
|
+
minitest (~> 5.1)
|
26
28
|
thread_safe (~> 0.1)
|
27
|
-
tzinfo (~>
|
28
|
-
arel (
|
29
|
-
|
30
|
-
|
31
|
-
builder (3.1.4)
|
29
|
+
tzinfo (~> 1.1)
|
30
|
+
arel (5.0.1.20140414130214)
|
31
|
+
bcrypt (3.1.7)
|
32
|
+
builder (3.2.2)
|
32
33
|
coffee-rails (4.0.1)
|
33
34
|
coffee-script (>= 2.2.0)
|
34
35
|
railties (>= 4.0.0, < 5.0)
|
35
36
|
coffee-script (2.2.0)
|
36
37
|
coffee-script-source
|
37
38
|
execjs
|
38
|
-
coffee-script-source (1.
|
39
|
+
coffee-script-source (1.7.0)
|
39
40
|
erubis (2.7.0)
|
40
41
|
execjs (2.0.2)
|
41
42
|
hike (1.2.3)
|
42
|
-
i18n (0.6.
|
43
|
-
jbuilder (
|
44
|
-
activesupport (>= 3.0.0)
|
45
|
-
|
43
|
+
i18n (0.6.9)
|
44
|
+
jbuilder (2.0.6)
|
45
|
+
activesupport (>= 3.0.0, < 5)
|
46
|
+
multi_json (~> 1.2)
|
47
|
+
jquery-rails (3.1.0)
|
46
48
|
railties (>= 3.0, < 5.0)
|
47
49
|
thor (>= 0.14, < 2.0)
|
48
50
|
json (1.8.1)
|
49
51
|
mail (2.5.4)
|
50
52
|
mime-types (~> 1.16)
|
51
53
|
treetop (~> 1.4.8)
|
52
|
-
mime-types (1.25)
|
53
|
-
minitest (
|
54
|
-
multi_json (1.
|
55
|
-
polyglot (0.3.
|
54
|
+
mime-types (1.25.1)
|
55
|
+
minitest (5.3.3)
|
56
|
+
multi_json (1.9.2)
|
57
|
+
polyglot (0.3.4)
|
56
58
|
rack (1.5.2)
|
57
59
|
rack-test (0.6.2)
|
58
60
|
rack (>= 1.0)
|
59
|
-
rails (4.0
|
60
|
-
actionmailer (= 4.0
|
61
|
-
actionpack (= 4.0
|
62
|
-
|
63
|
-
|
61
|
+
rails (4.1.0)
|
62
|
+
actionmailer (= 4.1.0)
|
63
|
+
actionpack (= 4.1.0)
|
64
|
+
actionview (= 4.1.0)
|
65
|
+
activemodel (= 4.1.0)
|
66
|
+
activerecord (= 4.1.0)
|
67
|
+
activesupport (= 4.1.0)
|
64
68
|
bundler (>= 1.3.0, < 2.0)
|
65
|
-
railties (= 4.0
|
66
|
-
sprockets-rails (~> 2.0
|
67
|
-
railties (4.0
|
68
|
-
actionpack (= 4.0
|
69
|
-
activesupport (= 4.0
|
69
|
+
railties (= 4.1.0)
|
70
|
+
sprockets-rails (~> 2.0)
|
71
|
+
railties (4.1.0)
|
72
|
+
actionpack (= 4.1.0)
|
73
|
+
activesupport (= 4.1.0)
|
70
74
|
rake (>= 0.8.7)
|
71
75
|
thor (>= 0.18.1, < 2.0)
|
72
|
-
rake (10.1
|
73
|
-
sass (3.2.
|
74
|
-
sass-rails (4.0.
|
76
|
+
rake (10.3.1)
|
77
|
+
sass (3.2.19)
|
78
|
+
sass-rails (4.0.3)
|
75
79
|
railties (>= 4.0.0, < 5.0)
|
76
|
-
sass (
|
77
|
-
sprockets
|
78
|
-
|
80
|
+
sass (~> 3.2.0)
|
81
|
+
sprockets (~> 2.8, <= 2.11.0)
|
82
|
+
sprockets-rails (~> 2.0)
|
83
|
+
sprockets (2.11.0)
|
79
84
|
hike (~> 1.2)
|
80
85
|
multi_json (~> 1.0)
|
81
86
|
rack (~> 1.0)
|
82
87
|
tilt (~> 1.1, != 1.3.0)
|
83
|
-
sprockets-rails (2.
|
88
|
+
sprockets-rails (2.1.3)
|
84
89
|
actionpack (>= 3.0)
|
85
90
|
activesupport (>= 3.0)
|
86
91
|
sprockets (~> 2.8)
|
87
|
-
sqlite3 (1.3.
|
88
|
-
thor (0.
|
89
|
-
thread_safe (0.
|
90
|
-
atomic
|
92
|
+
sqlite3 (1.3.9)
|
93
|
+
thor (0.19.1)
|
94
|
+
thread_safe (0.3.3)
|
91
95
|
tilt (1.4.1)
|
92
96
|
treetop (1.4.15)
|
93
97
|
polyglot
|
94
98
|
polyglot (>= 0.3.1)
|
95
|
-
turbolinks (
|
99
|
+
turbolinks (2.2.2)
|
96
100
|
coffee-rails
|
97
|
-
tzinfo (
|
98
|
-
|
101
|
+
tzinfo (1.1.0)
|
102
|
+
thread_safe (~> 0.1)
|
103
|
+
uglifier (2.5.0)
|
99
104
|
execjs (>= 0.3.0)
|
100
105
|
json (>= 1.8.0)
|
101
106
|
|
@@ -103,12 +108,13 @@ PLATFORMS
|
|
103
108
|
ruby
|
104
109
|
|
105
110
|
DEPENDENCIES
|
106
|
-
bcrypt
|
107
|
-
coffee-rails (~> 4.0)
|
108
|
-
jbuilder (~>
|
111
|
+
bcrypt (~> 3.1.7)
|
112
|
+
coffee-rails (~> 4.0.0)
|
113
|
+
jbuilder (~> 2.0)
|
109
114
|
jquery-rails
|
110
|
-
|
111
|
-
|
115
|
+
minitest
|
116
|
+
rails (~> 4.1.0)
|
117
|
+
sass-rails (~> 4.0.3)
|
112
118
|
sqlite3
|
113
119
|
turbolinks
|
114
|
-
uglifier (>= 1.0
|
120
|
+
uglifier (>= 1.3.0)
|