revise_auth-jets 0.2.9 → 0.3.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: e48e02003acd849df39aeaff4dd064bea52e22fc73934a26187dcfd101e5b757
4
- data.tar.gz: 323f662581f6c06ab48955979394dc46a6e854a51e327a11097448f74ef66e92
3
+ metadata.gz: 60a796b82520022a11e3865b8e78b878a5cfbff520a27e7fd45eac1e60a74217
4
+ data.tar.gz: 99bce8157842ac16506e47d78ec76fde277387058f72135bd6a6d6092d6558a3
5
5
  SHA512:
6
- metadata.gz: 923e6b3260121421e3d9c0db4fe693ed5aa85e03dadfe4d0ba8602bdf3956211331159caea7b73e099ec6db4b5950fad6612f1c161abee7c6607cda152a73538
7
- data.tar.gz: bc6c0e639d25510b33500622a35165316a6e1e51646d31535a6ab445227b903aa05cc74eda4fd94502247cb5d3a6480afd8bb9e39996f34d0486afc625ddad3a
6
+ metadata.gz: 29e42e645f8f994e5c8115206b1ec7c7972a841d891a0a10f921a8f9acf24ba2f50fcb11fdefd0668aad78881226f343b2fc4add0805bae4dfbc76d4ec408217
7
+ data.tar.gz: '0904636191cbdb182eeb4e8361062e3a93799929380f3c08550283b81acdfb066f610baacc7657cfcf8805a1c89208c4f13f53ad358364af89a98242126faae4'
data/app/config/routes.rb CHANGED
@@ -12,7 +12,7 @@ Jets.application.routes.draw do
12
12
 
13
13
  get "profile", to: "registrations#edit", as: :profile
14
14
  patch "profile", to: "registrations#update"
15
- delete "profile", to: "registrations#destroy"
15
+ delete "profile", to: "registrations#delete"
16
16
  patch "profile/email", to: "email#update"
17
17
  get "profile/password", to: "registrations#edit", as: :profile_password
18
18
  patch "profile/password", to: "password#update"
@@ -26,7 +26,7 @@ class ReviseAuth::RegistrationsController < ReviseAuthController
26
26
  end
27
27
  end
28
28
 
29
- def destroy
29
+ def delete
30
30
  current_user.destroy
31
31
  logout
32
32
  redirect_to root_path, status: :see_other, alert: I18n.t("revise_auth.account_deleted")
@@ -1,3 +1,3 @@
1
1
  module ReviseAuth
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revise_auth-jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremiah Parrack