authpwn_rails 0.10.6 → 0.10.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.6
1
+ 0.10.7
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "authpwn_rails"
8
- s.version = "0.10.6"
8
+ s.version = "0.10.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
12
- s.date = "2012-01-11"
12
+ s.date = "2012-01-12"
13
13
  s.description = "Works with Facebook."
14
14
  s.email = "victor@costan.us"
15
15
  s.extra_rdoc_files = [
@@ -6,7 +6,7 @@
6
6
  <p>
7
7
  You should inform the user that they are logged in as
8
8
  <%= current_user.exuid %> and suggest them to
9
- <%= link_to 'Log out', session_path, :method => :destroy %> and log in as a
9
+ <%= link_to 'Log out', session_path, :method => :delete %> and log in as a
10
10
  different user.
11
11
  </p>
12
12
  <% else %>
@@ -1,5 +1,5 @@
1
1
  <p>
2
2
  This view gets displayed when the user is logged in. Right now,
3
3
  user <%= current_user.exuid %> is logged in. You should allow the user to
4
- <%= link_to 'Log out', session_path, :method => :destroy %>.
4
+ <%= link_to 'Log out', session_path, :method => :delete %>.
5
5
  </p>
@@ -13,7 +13,7 @@ class SessionControllerTest < ActionController::TestCase
13
13
  get :show
14
14
 
15
15
  assert_equal @user, assigns(:user)
16
- assert_select 'a', 'Log out'
16
+ assert_select 'a[href="/session"][data-method="delete"]', 'Log out'
17
17
  end
18
18
 
19
19
  test "user logged in JSON request" do
@@ -49,6 +49,7 @@ class CookieControllerTest < ActionController::TestCase
49
49
  get :bouncer
50
50
  assert_response :forbidden
51
51
  assert_template 'session/forbidden'
52
+ assert_select 'a[href="/session"][data-method="delete"]', 'Log out'
52
53
  end
53
54
 
54
55
  test "valid user_id bounced in json" do
@@ -6,7 +6,7 @@
6
6
  <p>
7
7
  You should inform the user that they are logged in as
8
8
  <%= current_user.exuid %> and suggest them to
9
- <%= link_to 'Log out', session_path, :method => :destroy %> and log in as a
9
+ <%= link_to 'Log out', session_path, :method => :delete %> and log in as a
10
10
  different user.
11
11
  </p>
12
12
  <% else %>
@@ -1,5 +1,5 @@
1
1
  <p>
2
2
  This view gets displayed when the user is logged in. Right now,
3
3
  user <%= current_user.exuid %> is logged in. You should allow the user to
4
- <%= link_to 'Log out', session_path, :method => :destroy %>.
4
+ <%= link_to 'Log out', session_path, :method => :delete %>.
5
5
  </p>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authpwn_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.10.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-11 00:00:00.000000000Z
12
+ date: 2012-01-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fbgraph_rails
16
- requirement: &16847800 !ruby/object:Gem::Requirement
16
+ requirement: &8615220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.2.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16847800
24
+ version_requirements: *8615220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails
27
- requirement: &16847200 !ruby/object:Gem::Requirement
27
+ requirement: &8613980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.2.0.rc2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *16847200
35
+ version_requirements: *8613980
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &16846720 !ruby/object:Gem::Requirement
38
+ requirement: &8612260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *16846720
46
+ version_requirements: *8612260
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: flexmock
49
- requirement: &16846200 !ruby/object:Gem::Requirement
49
+ requirement: &8611500 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.9.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *16846200
57
+ version_requirements: *8611500
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: jeweler
60
- requirement: &16845660 !ruby/object:Gem::Requirement
60
+ requirement: &8610440 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.6.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *16845660
68
+ version_requirements: *8610440
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rcov
71
- requirement: &16790640 !ruby/object:Gem::Requirement
71
+ requirement: &8609220 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *16790640
79
+ version_requirements: *8609220
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: sqlite3
82
- requirement: &16790160 !ruby/object:Gem::Requirement
82
+ requirement: &8607720 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: 1.3.5
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *16790160
90
+ version_requirements: *8607720
91
91
  description: Works with Facebook.
92
92
  email: victor@costan.us
93
93
  executables: []
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  segments:
194
194
  - 0
195
- hash: -1904686130033556664
195
+ hash: 4068830889706153214
196
196
  required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  none: false
198
198
  requirements: