ecm_user_area2 1.2.10 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/de.yml +4 -3
- data/config/locales/en.yml +4 -3
- data/config/routes.rb +15 -9
- data/db/migrate/20160115181043_create_ecm_user_area_users.rb +1 -1
- data/lib/ecm/user_area/version.rb +1 -1
- data/lib/generators/ecm/user_area/install/templates/routes.source +1 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 614c956b50107960ff26d10c3148f25a91960933
|
4
|
+
data.tar.gz: bdce50d41b9fd97e8077fbd79fafd412a7f00d18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0c568b9acbc9beb2c69257a8cb934bb61660eeffc1a1202e371ec13661e2733f02a39b4ac8475b7b4c8ccaebaefa87ad5ee90ff56eac2a9bd6816cb3adff7ca
|
7
|
+
data.tar.gz: 7139e1fbdc13d7e152ef91906d21d26d3fd36f5a3b5943cea355640b8a1f6c80269b881f7e706866fcf0bb95ec7843113ce88bc5d28aa24a53eafe40fcabbf46
|
data/config/locales/de.yml
CHANGED
@@ -101,6 +101,7 @@ de:
|
|
101
101
|
authentication_failed: 'Sie müssen sich anmelden oder registrieren, bevor Sie fortfahren können.'
|
102
102
|
perishable_token_invalid: 'Es konnte kein Benutzer mit dem eingegebenen Token gefunden werden oder ihr Token ist zu alt.'
|
103
103
|
routes:
|
104
|
-
|
105
|
-
|
106
|
-
|
104
|
+
ecm_user_area: benutzer
|
105
|
+
users: profil
|
106
|
+
user_password_reset_request: passwort-reset
|
107
|
+
user_session: session
|
data/config/locales/en.yml
CHANGED
@@ -71,6 +71,7 @@ en:
|
|
71
71
|
ecm_user_area:
|
72
72
|
authentication_failed: 'You need to sign in or sign up before continuing.'
|
73
73
|
routes:
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
ecm_user_area: users
|
75
|
+
user: profile
|
76
|
+
user_password_reset_request: password-reset
|
77
|
+
user_session: session
|
data/config/routes.rb
CHANGED
@@ -1,13 +1,19 @@
|
|
1
1
|
Ecm::UserArea::Engine.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
localized do
|
3
|
+
scope :ecm_user_area do
|
4
|
+
resource :user, only: [:show, :edit, :update]
|
5
|
+
resource :user, only: [:new, :create] if Ecm::UserArea::Configuration.enable_registrations
|
6
|
+
resource :user, only: [:destroy] if Ecm::UserArea::Configuration.allow_users_to_destroy_self
|
7
|
+
resource :user_password_reset_request, only: [:new, :create]
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
9
|
+
resource :user_password_reset, only: [] do
|
10
|
+
get 'edit/:token' => 'user_password_resets#edit', constraint: { token: /\d+/ }, as: :edit
|
11
|
+
match '/:id/:token' => 'user_password_resets#update', constraint: { token: /\d+/ }, as: :update, via: [:put, :patch]
|
12
|
+
end
|
13
|
+
|
14
|
+
resource :user_session, only: [:new, :create, :destroy]
|
11
15
|
|
12
|
-
|
16
|
+
root to: 'user#show'
|
17
|
+
end
|
18
|
+
end
|
13
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_user_area2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|