credible 0.9.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/credible/{authentication/sessions_controller.rb → sessions_controller.rb} +1 -1
- data/app/controllers/credible/{authentication/users_controller.rb → users_controller.rb} +1 -1
- data/app/views/credible/{authentication/sessions → sessions}/_session.json.jbuilder +0 -0
- data/app/views/credible/{authentication/sessions → sessions}/show.json.jbuilder +0 -0
- data/app/views/credible/{authentication/users → users}/_user.json.jbuilder +0 -0
- data/app/views/credible/{authentication/users → users}/show.json.jbuilder +0 -0
- data/config/initializers/warden.rb +1 -1
- data/config/routes.rb +1 -1
- data/lib/credible/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea406004a9c14011202b1a455928cb1cfc78fb042e7cd04f566b2139db774a15
|
4
|
+
data.tar.gz: a820ef53bdd6459e3bc42f0ed56d60014a2d7d11a7033d74ada97fefcb4a7f2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630b938806894826b62ac90eace364299f940c50c117f0921c97ec084774e207dc23f0c87ca1b21942bcafdf1b7a3de19c6eee05b513a4ea7d010e6f633c9b07
|
7
|
+
data.tar.gz: a0d9651b868af6775c299661928c16d648c26f9a61308620fe9575c6bbd159640a619179996d2bbc29bd9f8096e9e986bcde1e41bc47af98144a62ab772fb336
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class Credible::
|
1
|
+
class Credible::UsersController < ApplicationController
|
2
2
|
before_action :set_user, only: [:show, :edit, :update, :destroy]
|
3
3
|
|
4
4
|
skip_before_action :authenticate!, only: [:new, :create, :confirm]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
Rails.application.config.middleware.use Warden::Manager do |config|
|
2
|
-
config.failure_app = ->(env) { Credible::
|
2
|
+
config.failure_app = ->(env) { Credible::SessionsController.action(:fail).call(env) }
|
3
3
|
|
4
4
|
config.default_scope = :session
|
5
5
|
|
data/config/routes.rb
CHANGED
data/lib/credible/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: credible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom Bruce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -123,9 +123,9 @@ extra_rdoc_files: []
|
|
123
123
|
files:
|
124
124
|
- README.md
|
125
125
|
- Rakefile
|
126
|
-
- app/controllers/credible/authentication/sessions_controller.rb
|
127
|
-
- app/controllers/credible/authentication/users_controller.rb
|
128
126
|
- app/controllers/credible/authentication_controller.rb
|
127
|
+
- app/controllers/credible/sessions_controller.rb
|
128
|
+
- app/controllers/credible/users_controller.rb
|
129
129
|
- app/helpers/credible/application_helper.rb
|
130
130
|
- app/jobs/credible/application_job.rb
|
131
131
|
- app/mailers/credible/confirmation_mailer.rb
|
@@ -133,16 +133,16 @@ files:
|
|
133
133
|
- app/mailers/credible/mailer_base.rb
|
134
134
|
- app/mailers/credible/reset_password_mailer.rb
|
135
135
|
- app/models/credible/application_record.rb
|
136
|
-
- app/views/credible/authentication/sessions/_session.json.jbuilder
|
137
|
-
- app/views/credible/authentication/sessions/show.json.jbuilder
|
138
|
-
- app/views/credible/authentication/users/_user.json.jbuilder
|
139
|
-
- app/views/credible/authentication/users/show.json.jbuilder
|
140
136
|
- app/views/credible/confirmation_mailer/confirmation_email.html.erb
|
141
137
|
- app/views/credible/confirmation_mailer/confirmation_email.text.erb
|
142
138
|
- app/views/credible/invitation_mailer/invitation_email.html.erb
|
143
139
|
- app/views/credible/invitation_mailer/invitation_email.text.erb
|
144
140
|
- app/views/credible/reset_password_mailer/reset_password_email.html.erb
|
145
141
|
- app/views/credible/reset_password_mailer/reset_password_email.text.erb
|
142
|
+
- app/views/credible/sessions/_session.json.jbuilder
|
143
|
+
- app/views/credible/sessions/show.json.jbuilder
|
144
|
+
- app/views/credible/users/_user.json.jbuilder
|
145
|
+
- app/views/credible/users/show.json.jbuilder
|
146
146
|
- config/initializers/warden.rb
|
147
147
|
- config/routes.rb
|
148
148
|
- lib/credible.rb
|