trestle-auth 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of trestle-auth might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.browserslistrc +0 -1
- data/.gitignore +4 -0
- data/.rspec +1 -0
- data/.travis.yml +20 -3
- data/Gemfile +14 -0
- data/README.md +34 -7
- data/app/assets/bundle/trestle/auth/bundle.css +1 -1
- data/app/assets/bundle/trestle/auth/userbox.css +1 -1
- data/app/controllers/trestle/auth/sessions_controller.rb +3 -4
- data/app/views/trestle/auth/_userbox.html.erb +16 -4
- data/app/views/trestle/auth/sessions/_form.html.erb +32 -0
- data/app/views/trestle/auth/sessions/new.html.erb +2 -33
- data/bin/rails +20 -0
- data/config/routes.rb +8 -3
- data/frontend/userbox.scss +4 -0
- data/gemfiles/rails-4.2.gemfile +18 -0
- data/gemfiles/rails-5.0.gemfile +18 -0
- data/gemfiles/rails-5.1.gemfile +18 -0
- data/gemfiles/rails-5.2.gemfile +18 -0
- data/gemfiles/rails-6.0.gemfile +18 -0
- data/lib/generators/trestle/auth/admin/admin_generator.rb +6 -0
- data/lib/generators/trestle/auth/admin/templates/admin.rb.erb +22 -1
- data/lib/generators/trestle/auth/install/install_generator.rb +30 -118
- data/lib/generators/trestle/auth/install/templates/basic.rb.erb +121 -0
- data/lib/generators/trestle/auth/install/templates/devise.rb.erb +87 -0
- data/lib/trestle/auth.rb +14 -8
- data/lib/trestle/auth/backends.rb +34 -0
- data/lib/trestle/auth/backends/base.rb +28 -0
- data/lib/trestle/auth/backends/basic.rb +72 -0
- data/lib/trestle/auth/backends/devise.rb +14 -0
- data/lib/trestle/auth/backends/warden.rb +53 -0
- data/lib/trestle/auth/configuration.rb +25 -3
- data/lib/trestle/auth/configuration/warden.rb +11 -0
- data/lib/trestle/auth/controller/authentication.rb +55 -0
- data/lib/trestle/auth/controller/locale.rb +18 -0
- data/lib/trestle/auth/controller/time_zone.rb +18 -0
- data/lib/trestle/auth/controller_methods.rb +3 -74
- data/lib/trestle/auth/model_methods.rb +2 -3
- data/lib/trestle/auth/version.rb +1 -1
- data/trestle-auth.gemspec +13 -9
- data/yarn.lock +584 -452
- metadata +34 -14
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pohlenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trestle
|
@@ -39,47 +39,47 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 3.1.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rspec-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3.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
|
-
version: '
|
54
|
+
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: show_me_the_cookies
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '5.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: '
|
68
|
+
version: '5.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: timecop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.9.1
|
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: 0.9.1
|
83
83
|
description:
|
84
84
|
email:
|
85
85
|
- sam@sampohlenz.com
|
@@ -104,7 +104,9 @@ files:
|
|
104
104
|
- app/helpers/trestle/auth/user_helper.rb
|
105
105
|
- app/views/layouts/trestle/auth.html.erb
|
106
106
|
- app/views/trestle/auth/_userbox.html.erb
|
107
|
+
- app/views/trestle/auth/sessions/_form.html.erb
|
107
108
|
- app/views/trestle/auth/sessions/new.html.erb
|
109
|
+
- bin/rails
|
108
110
|
- config/initializers/trestle.rb
|
109
111
|
- config/locales/en.yml
|
110
112
|
- config/locales/es.yml
|
@@ -117,14 +119,30 @@ files:
|
|
117
119
|
- frontend/_variables.scss
|
118
120
|
- frontend/index.scss
|
119
121
|
- frontend/userbox.scss
|
122
|
+
- gemfiles/rails-4.2.gemfile
|
123
|
+
- gemfiles/rails-5.0.gemfile
|
124
|
+
- gemfiles/rails-5.1.gemfile
|
125
|
+
- gemfiles/rails-5.2.gemfile
|
126
|
+
- gemfiles/rails-6.0.gemfile
|
120
127
|
- lib/generators/trestle/auth/admin/admin_generator.rb
|
121
128
|
- lib/generators/trestle/auth/admin/templates/admin.rb.erb
|
122
129
|
- lib/generators/trestle/auth/install/install_generator.rb
|
130
|
+
- lib/generators/trestle/auth/install/templates/basic.rb.erb
|
131
|
+
- lib/generators/trestle/auth/install/templates/devise.rb.erb
|
123
132
|
- lib/generators/trestle/auth/model/model_generator.rb
|
124
133
|
- lib/trestle/auth.rb
|
134
|
+
- lib/trestle/auth/backends.rb
|
135
|
+
- lib/trestle/auth/backends/base.rb
|
136
|
+
- lib/trestle/auth/backends/basic.rb
|
137
|
+
- lib/trestle/auth/backends/devise.rb
|
138
|
+
- lib/trestle/auth/backends/warden.rb
|
125
139
|
- lib/trestle/auth/configuration.rb
|
126
140
|
- lib/trestle/auth/configuration/rememberable.rb
|
141
|
+
- lib/trestle/auth/configuration/warden.rb
|
127
142
|
- lib/trestle/auth/constraint.rb
|
143
|
+
- lib/trestle/auth/controller/authentication.rb
|
144
|
+
- lib/trestle/auth/controller/locale.rb
|
145
|
+
- lib/trestle/auth/controller/time_zone.rb
|
128
146
|
- lib/trestle/auth/controller_methods.rb
|
129
147
|
- lib/trestle/auth/engine.rb
|
130
148
|
- lib/trestle/auth/model_methods.rb
|
@@ -138,7 +156,9 @@ files:
|
|
138
156
|
homepage: https://www.trestle.io
|
139
157
|
licenses:
|
140
158
|
- LGPL-3.0
|
141
|
-
metadata:
|
159
|
+
metadata:
|
160
|
+
homepage_uri: https://www.trestle.io
|
161
|
+
source_code_uri: https://github.com/TrestleAdmin/trestle-auth
|
142
162
|
post_install_message:
|
143
163
|
rdoc_options: []
|
144
164
|
require_paths:
|
@@ -147,14 +167,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
167
|
requirements:
|
148
168
|
- - ">="
|
149
169
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
170
|
+
version: 2.3.0
|
151
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
172
|
requirements:
|
153
173
|
- - ">="
|
154
174
|
- !ruby/object:Gem::Version
|
155
175
|
version: '0'
|
156
176
|
requirements: []
|
157
|
-
rubygems_version: 3.0.
|
177
|
+
rubygems_version: 3.0.8
|
158
178
|
signing_key:
|
159
179
|
specification_version: 4
|
160
180
|
summary: Authentication plugin for the Trestle admin framework
|