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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd1c2459f2ce532c1ae6c2e739396f7be871fcfa
4
- data.tar.gz: ef485f9d06efabaf0514def13d03c118b09e2002
3
+ metadata.gz: 614c956b50107960ff26d10c3148f25a91960933
4
+ data.tar.gz: bdce50d41b9fd97e8077fbd79fafd412a7f00d18
5
5
  SHA512:
6
- metadata.gz: ac7cef90a0eca5b5de44460a8d2aa8a9e87bbaec62054f0363cb0b249a5518d50b1241a86de9723ff9a132b59c30b53675ffba75e78d41baf51013e3e6fdef67
7
- data.tar.gz: 7cc4673a2f10b8e6f296fe173c56c66ef533ede5c04e306672235196c60546153560a252cb049a0743f582060cd0c4ad7379f8ad107fb3a00e68092549697947
6
+ metadata.gz: b0c568b9acbc9beb2c69257a8cb934bb61660eeffc1a1202e371ec13661e2733f02a39b4ac8475b7b4c8ccaebaefa87ad5ee90ff56eac2a9bd6816cb3adff7ca
7
+ data.tar.gz: 7139e1fbdc13d7e152ef91906d21d26d3fd36f5a3b5943cea355640b8a1f6c80269b881f7e706866fcf0bb95ec7843113ce88bc5d28aa24a53eafe40fcabbf46
@@ -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
- mount:
105
- ecm_user_area: '/auth'
106
- users: benutzer
104
+ ecm_user_area: benutzer
105
+ users: profil
106
+ user_password_reset_request: passwort-reset
107
+ user_session: session
@@ -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
- mount:
75
- ecm_user_area: '/auth'
76
- users: users
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
- resource :user, only: [:show, :edit, :update]
3
- resource :user, only: [:new, :create] if Ecm::UserArea::Configuration.enable_registrations
4
- resource :user, only: [:destroy] if Ecm::UserArea::Configuration.allow_users_to_destroy_self
5
- resource :user_password_reset_request, only: [:new, :create]
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
- resource :user_password_reset, only: [] do
8
- get 'edit/:token' => 'user_password_resets#edit', constraint: { token: /\d+/ }, as: :edit
9
- match '/:id/:token' => 'user_password_resets#update', constraint: { token: /\d+/ }, as: :update, via: [:put, :patch]
10
- end
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
- resource :user_session, only: [:new, :create, :destroy]
16
+ root to: 'user#show'
17
+ end
18
+ end
13
19
  end
@@ -1,4 +1,4 @@
1
- class CreateEcmUserAreaUsers < ActiveRecord::Migration
1
+ class CreateEcmUserAreaUsers < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :ecm_user_area_users do |t|
4
4
  # Authlogic::ActsAsAuthentic::Email
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module UserArea
3
- VERSION = '1.2.10'
3
+ VERSION = '2.0.0'
4
4
  end
5
5
  end
@@ -1,7 +1,2 @@
1
1
 
2
- # Fixes symbolized_keys bug
3
- mount Ecm::UserArea::Engine, at: '/auth'
4
-
5
- localized do
6
- mount Ecm::UserArea::Engine, at: '/auth'
7
- end
2
+ mount Ecm::UserArea::Engine, at: '/'
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: 1.2.10
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-04-11 00:00:00.000000000 Z
11
+ date: 2017-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails