devise 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of devise might be problematic. Click here for more details.
- data/CHANGELOG.rdoc +5 -0
- data/Gemfile +2 -7
- data/Gemfile.lock +47 -51
- data/lib/devise/rails/routes.rb +4 -4
- data/lib/devise/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/Gemfile
CHANGED
@@ -1,11 +1,6 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
|
4
|
-
gem "rails", :path => "../rails"
|
5
|
-
else
|
6
|
-
gem "rails", :git => "git://github.com/rails/rails.git"
|
7
|
-
end
|
8
|
-
|
3
|
+
gem "rails", "3.0.0.rc2"
|
9
4
|
gem "warden", "0.10.7"
|
10
5
|
gem "sqlite3-ruby"
|
11
6
|
gem "webrat", "0.7.0"
|
@@ -18,6 +13,6 @@ end
|
|
18
13
|
|
19
14
|
group :mongoid do
|
20
15
|
gem "mongo"
|
21
|
-
gem "mongoid", :git => "git://github.com/
|
16
|
+
gem "mongoid", :git => "git://github.com/mongoid/mongoid.git"
|
22
17
|
gem "bson_ext"
|
23
18
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,62 +1,45 @@
|
|
1
1
|
GIT
|
2
|
-
remote: git://github.com/
|
3
|
-
revision:
|
2
|
+
remote: git://github.com/mongoid/mongoid.git
|
3
|
+
revision: f38e3ef
|
4
4
|
specs:
|
5
|
-
mongoid (2.0.0.
|
6
|
-
activemodel (~> 3.0.0
|
7
|
-
bson (
|
8
|
-
mongo (
|
5
|
+
mongoid (2.0.0.beta.16)
|
6
|
+
activemodel (~> 3.0.0)
|
7
|
+
bson (= 1.0.4)
|
8
|
+
mongo (= 1.0.7)
|
9
9
|
tzinfo (~> 0.3.22)
|
10
10
|
will_paginate (~> 3.0.pre)
|
11
11
|
|
12
|
-
|
13
|
-
remote: /
|
12
|
+
GEM
|
13
|
+
remote: http://rubygems.org/
|
14
14
|
specs:
|
15
|
-
|
16
|
-
|
15
|
+
abstract (1.0.0)
|
16
|
+
actionmailer (3.0.0.rc2)
|
17
|
+
actionpack (= 3.0.0.rc2)
|
17
18
|
mail (~> 2.2.5)
|
18
|
-
actionpack (3.0.0.
|
19
|
-
activemodel (= 3.0.0.
|
20
|
-
activesupport (= 3.0.0.
|
19
|
+
actionpack (3.0.0.rc2)
|
20
|
+
activemodel (= 3.0.0.rc2)
|
21
|
+
activesupport (= 3.0.0.rc2)
|
21
22
|
builder (~> 2.1.2)
|
22
23
|
erubis (~> 2.6.6)
|
23
24
|
i18n (~> 0.4.1)
|
24
25
|
rack (~> 1.2.1)
|
25
|
-
rack-mount (~> 0.6.
|
26
|
+
rack-mount (~> 0.6.12)
|
26
27
|
rack-test (~> 0.5.4)
|
27
|
-
tzinfo (~> 0.3.
|
28
|
-
activemodel (3.0.0.
|
29
|
-
activesupport (= 3.0.0.
|
28
|
+
tzinfo (~> 0.3.23)
|
29
|
+
activemodel (3.0.0.rc2)
|
30
|
+
activesupport (= 3.0.0.rc2)
|
30
31
|
builder (~> 2.1.2)
|
31
32
|
i18n (~> 0.4.1)
|
32
|
-
activerecord (3.0.0.
|
33
|
-
activemodel (= 3.0.0.
|
34
|
-
activesupport (= 3.0.0.
|
35
|
-
arel (~> 0.
|
36
|
-
tzinfo (~> 0.3.
|
37
|
-
activeresource (3.0.0.
|
38
|
-
activemodel (= 3.0.0.
|
39
|
-
activesupport (= 3.0.0.
|
40
|
-
activesupport (3.0.0.
|
41
|
-
|
42
|
-
actionmailer (= 3.0.0.beta4)
|
43
|
-
actionpack (= 3.0.0.beta4)
|
44
|
-
activerecord (= 3.0.0.beta4)
|
45
|
-
activeresource (= 3.0.0.beta4)
|
46
|
-
activesupport (= 3.0.0.beta4)
|
47
|
-
bundler (>= 1.0.0.beta.10)
|
48
|
-
railties (= 3.0.0.beta4)
|
49
|
-
railties (3.0.0.beta4)
|
50
|
-
actionpack (= 3.0.0.beta4)
|
51
|
-
activesupport (= 3.0.0.beta4)
|
52
|
-
rake (>= 0.8.3)
|
53
|
-
thor (~> 0.14.0)
|
54
|
-
|
55
|
-
GEM
|
56
|
-
remote: http://rubygems.org/
|
57
|
-
specs:
|
58
|
-
abstract (1.0.0)
|
59
|
-
arel (0.4.0)
|
33
|
+
activerecord (3.0.0.rc2)
|
34
|
+
activemodel (= 3.0.0.rc2)
|
35
|
+
activesupport (= 3.0.0.rc2)
|
36
|
+
arel (~> 1.0.0.rc1)
|
37
|
+
tzinfo (~> 0.3.23)
|
38
|
+
activeresource (3.0.0.rc2)
|
39
|
+
activemodel (= 3.0.0.rc2)
|
40
|
+
activesupport (= 3.0.0.rc2)
|
41
|
+
activesupport (3.0.0.rc2)
|
42
|
+
arel (1.0.0.rc1)
|
60
43
|
activesupport (>= 3.0.0.beta)
|
61
44
|
bcrypt-ruby (2.1.2)
|
62
45
|
bson (1.0.4)
|
@@ -74,15 +57,28 @@ GEM
|
|
74
57
|
mime-types (1.16)
|
75
58
|
mocha (0.9.8)
|
76
59
|
rake
|
77
|
-
mongo (1.0.
|
60
|
+
mongo (1.0.7)
|
78
61
|
bson (>= 1.0.4)
|
79
|
-
nokogiri (1.4.
|
62
|
+
nokogiri (1.4.3.1)
|
80
63
|
polyglot (0.3.1)
|
81
64
|
rack (1.2.1)
|
82
|
-
rack-mount (0.6.
|
65
|
+
rack-mount (0.6.12)
|
83
66
|
rack (>= 1.0.0)
|
84
67
|
rack-test (0.5.4)
|
85
68
|
rack (>= 1.0)
|
69
|
+
rails (3.0.0.rc2)
|
70
|
+
actionmailer (= 3.0.0.rc2)
|
71
|
+
actionpack (= 3.0.0.rc2)
|
72
|
+
activerecord (= 3.0.0.rc2)
|
73
|
+
activeresource (= 3.0.0.rc2)
|
74
|
+
activesupport (= 3.0.0.rc2)
|
75
|
+
bundler (>= 1.0.0.rc.6)
|
76
|
+
railties (= 3.0.0.rc2)
|
77
|
+
railties (3.0.0.rc2)
|
78
|
+
actionpack (= 3.0.0.rc2)
|
79
|
+
activesupport (= 3.0.0.rc2)
|
80
|
+
rake (>= 0.8.3)
|
81
|
+
thor (~> 0.14.0)
|
86
82
|
rake (0.8.7)
|
87
83
|
ruby-debug (0.10.3)
|
88
84
|
columnize (>= 0.1)
|
@@ -93,14 +89,14 @@ GEM
|
|
93
89
|
thor (0.14.0)
|
94
90
|
treetop (1.4.8)
|
95
91
|
polyglot (>= 0.3.1)
|
96
|
-
tzinfo (0.3.
|
92
|
+
tzinfo (0.3.23)
|
97
93
|
warden (0.10.7)
|
98
94
|
rack (>= 1.0.0)
|
99
95
|
webrat (0.7.0)
|
100
96
|
nokogiri (>= 1.2.0)
|
101
97
|
rack (>= 1.0)
|
102
98
|
rack-test (>= 0.5.3)
|
103
|
-
will_paginate (3.0.
|
99
|
+
will_paginate (3.0.pre2)
|
104
100
|
|
105
101
|
PLATFORMS
|
106
102
|
ruby
|
@@ -111,7 +107,7 @@ DEPENDENCIES
|
|
111
107
|
mocha
|
112
108
|
mongo
|
113
109
|
mongoid!
|
114
|
-
rails
|
110
|
+
rails (= 3.0.0.rc2)
|
115
111
|
ruby-debug (>= 0.10.3)
|
116
112
|
sqlite3-ruby
|
117
113
|
warden (= 0.10.7)
|
data/lib/devise/rails/routes.rb
CHANGED
@@ -202,10 +202,10 @@ module ActionDispatch::Routing
|
|
202
202
|
protected
|
203
203
|
|
204
204
|
def devise_session(mapping, controllers) #:nodoc:
|
205
|
-
|
206
|
-
get :new, :path => mapping.path_names[:sign_in]
|
207
|
-
post :create, :path => mapping.path_names[:sign_in]
|
208
|
-
get :destroy, :path => mapping.path_names[:sign_out]
|
205
|
+
resource :session, :only => [], :controller => controllers[:sessions], :path => "" do
|
206
|
+
get :new, :path => mapping.path_names[:sign_in], :as => "new"
|
207
|
+
post :create, :path => mapping.path_names[:sign_in]
|
208
|
+
get :destroy, :path => mapping.path_names[:sign_out], :as => "destroy"
|
209
209
|
end
|
210
210
|
end
|
211
211
|
|
data/lib/devise/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Jos\xC3\xA9 Valim"
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-08-25 00:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|