credible 0.9.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cdb61342de4732b34e1178a1ec8e32c384e0bc14db18e6a42598c482b52bdaf
4
- data.tar.gz: 432ee4aadde7f3f45a23e9feb41189fb102ac66a7ba039bf3ed1afcdd2664af5
3
+ metadata.gz: ea406004a9c14011202b1a455928cb1cfc78fb042e7cd04f566b2139db774a15
4
+ data.tar.gz: a820ef53bdd6459e3bc42f0ed56d60014a2d7d11a7033d74ada97fefcb4a7f2c
5
5
  SHA512:
6
- metadata.gz: d95a87ebb7fbe400f33b1df9cfb9fc3bbc55d461f8880a87e342243573fbef2670d19aee7b42ea07e216d1ab7d78f72fa6e19fb6a5ad7228ab3ae887249a9912
7
- data.tar.gz: 0072adea10f8c7e1c547ac4bcb1be39edfa0e02847f03d0fa8d08495db71111490987547e50916063f500abe804d31b9191e41647f5fc48448958a634946ecba
6
+ metadata.gz: 630b938806894826b62ac90eace364299f940c50c117f0921c97ec084774e207dc23f0c87ca1b21942bcafdf1b7a3de19c6eee05b513a4ea7d010e6f633c9b07
7
+ data.tar.gz: a0d9651b868af6775c299661928c16d648c26f9a61308620fe9575c6bbd159640a619179996d2bbc29bd9f8096e9e986bcde1e41bc47af98144a62ab772fb336
@@ -1,4 +1,4 @@
1
- class Credible::Authentication::SessionsController < Credible::AuthenticationController
1
+ class Credible::SessionsController < ApplicationController
2
2
  before_action :set_session, only: [:show, :destroy]
3
3
 
4
4
  skip_before_action :authenticate!, only: [:new, :create, :fail]
@@ -1,4 +1,4 @@
1
- class Credible::Authentication::UsersController < Credible::AuthenticationController
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]
@@ -1,5 +1,5 @@
1
1
  Rails.application.config.middleware.use Warden::Manager do |config|
2
- config.failure_app = ->(env) { Credible::Authentication::SessionsController.action(:fail).call(env) }
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
@@ -1,5 +1,5 @@
1
1
  Credible::Engine.routes.draw do
2
- scope module: 'authentication', format: false, defaults: { format: 'json' } do
2
+ scope format: false, defaults: { format: 'json' } do
3
3
  # /auth/login.json
4
4
  post 'login', to: 'sessions#create'
5
5
  # /auth/reset_password.json
@@ -1,3 +1,3 @@
1
1
  module Credible
2
- VERSION = '0.9.1'
2
+ VERSION = '0.10.0'
3
3
  end
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.9.1
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-22 00:00:00.000000000 Z
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