protected 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +7 -7
- data/config/routes.rb +6 -6
- data/lib/protected/version.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -111,17 +111,17 @@ By default the routes for Protected are specified in the gem. If you'd like to o
|
|
111
111
|
}
|
112
112
|
|
113
113
|
devise_scope :user do
|
114
|
-
get "/
|
114
|
+
get "/sign_in", :to => "sessions#new", :as => "new_session"
|
115
115
|
post "sessions", :to => "sessions#create", :as => "user_session"
|
116
|
-
get "/
|
116
|
+
get "/sign_out", :to => "sessions#destroy", :as => "destroy_session"
|
117
117
|
get 'first_login', :to => 'sessions#first_login', :as => 'first_login'
|
118
118
|
put 'update_first_login', :to => 'sessions#update_first_login', :as => 'update_first_login'
|
119
|
-
put "/
|
120
|
-
post "/
|
121
|
-
get "/
|
122
|
-
get "/
|
119
|
+
put "/password", :to => "passwords#update", :as => "update_password"
|
120
|
+
post "/password", :to => "passwords#create", :as => "create_password"
|
121
|
+
get "/password/new", :to => "passwords#new", :as => "new_user_password"
|
122
|
+
get "/password/edit", :to => "passwords#edit", :as => "edit_user_password"
|
123
|
+
match 'not_authorized', :to => 'sessions#not_authorized'
|
123
124
|
end
|
124
|
-
match 'not_authorized', :to => 'sessions#not_authorized'
|
125
125
|
|
126
126
|
=== Running Tests
|
127
127
|
|
data/config/routes.rb
CHANGED
@@ -8,15 +8,15 @@ Protected::Engine.routes.draw do
|
|
8
8
|
}
|
9
9
|
|
10
10
|
devise_scope :user do
|
11
|
-
get "
|
11
|
+
get "sign_in", :to => "sessions#new", :as => "new_user_session"
|
12
12
|
post "sessions", :to => "sessions#create", :as => "user_session"
|
13
|
-
get "
|
13
|
+
get "sign_out", :to => "sessions#destroy", :as => "destroy_user_session"
|
14
14
|
get 'first_login', :to => 'sessions#first_login', :as => 'first_login'
|
15
15
|
put 'update_first_login', :to => 'sessions#update_first_login', :as => 'update_first_login'
|
16
|
-
put "
|
17
|
-
post "
|
18
|
-
get "
|
19
|
-
get "
|
16
|
+
put "password", :to => "passwords#update", :as => "update_password"
|
17
|
+
post "password", :to => "passwords#create", :as => "create_password"
|
18
|
+
get "password/new", :to => "passwords#new", :as => "new_user_password"
|
19
|
+
get "password/edit", :to => "passwords#edit", :as => "edit_user_password"
|
20
20
|
match 'not_authorized', :to => 'sessions#not_authorized'
|
21
21
|
end
|
22
22
|
|
data/lib/protected/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protected
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -395,7 +395,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
395
395
|
version: '0'
|
396
396
|
segments:
|
397
397
|
- 0
|
398
|
-
hash: -
|
398
|
+
hash: -4299418387047575028
|
399
399
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
400
400
|
none: false
|
401
401
|
requirements:
|
@@ -404,7 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
404
404
|
version: '0'
|
405
405
|
segments:
|
406
406
|
- 0
|
407
|
-
hash: -
|
407
|
+
hash: -4299418387047575028
|
408
408
|
requirements: []
|
409
409
|
rubyforge_project:
|
410
410
|
rubygems_version: 1.8.21
|