angular_rails_csrf 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/angular_rails_csrf/version.rb +1 -1
- data/test/dummy/log/test.log +81 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d93762ebe8c4484575471e50ae7316781bc2cec9
|
4
|
+
data.tar.gz: 84f0881fe1db08179afa56e6f1ec3839a6527408
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 657223223e1c1deef539f651191a42718fd5f2dd5086b6ec5be2c876a912e0de6ba352f5740bbfe5166b79a320ac15bb843f21e0b7e276650d5dc4add1656225
|
7
|
+
data.tar.gz: 55e928d9f0f4f5ba9e5b867ff245080ec8e026dc6b8ee7e8440e9efba00135561272984e4bccabd7b6be3b03484cc86935724397d64316d1a91fcd135e6b94e9
|
data/test/dummy/log/test.log
CHANGED
@@ -0,0 +1,81 @@
|
|
1
|
+
--------------------------------------------------------------------------------------------------------
|
2
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
3
|
+
--------------------------------------------------------------------------------------------------------
|
4
|
+
Processing by ApplicationController#index as HTML
|
5
|
+
Completed 200 OK in 0ms
|
6
|
+
-----------------------------------------------------------------------------
|
7
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
8
|
+
-----------------------------------------------------------------------------
|
9
|
+
Processing by ApplicationController#create as HTML
|
10
|
+
Completed 200 OK in 1ms
|
11
|
+
-----------------------------------------------------------------------------------------------------
|
12
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
13
|
+
-----------------------------------------------------------------------------------------------------
|
14
|
+
Processing by ApplicationController#create as HTML
|
15
|
+
Can't verify CSRF token authenticity.
|
16
|
+
Completed 422 Unprocessable Entity in 1ms
|
17
|
+
-------------------------------------------------------------------------------------
|
18
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
19
|
+
-------------------------------------------------------------------------------------
|
20
|
+
Processing by ApplicationController#create as HTML
|
21
|
+
Can't verify CSRF token authenticity.
|
22
|
+
Completed 422 Unprocessable Entity in 0ms
|
23
|
+
Processing by ApplicationController#index as HTML
|
24
|
+
Completed 200 OK in 0ms
|
25
|
+
Processing by ApplicationController#create as HTML
|
26
|
+
Completed 200 OK in 0ms
|
27
|
+
Processing by ApplicationController#create as HTML
|
28
|
+
WARNING: Can't verify CSRF token authenticity
|
29
|
+
Completed 422 Unprocessable Entity in 0ms
|
30
|
+
Processing by ApplicationController#create as HTML
|
31
|
+
WARNING: Can't verify CSRF token authenticity
|
32
|
+
Completed 422 Unprocessable Entity in 0ms
|
33
|
+
--------------------------------------------------------------------------------------------------------
|
34
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
35
|
+
--------------------------------------------------------------------------------------------------------
|
36
|
+
Processing by ApplicationController#index as HTML
|
37
|
+
Completed 200 OK in 0ms
|
38
|
+
-----------------------------------------------------------------------------
|
39
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
40
|
+
-----------------------------------------------------------------------------
|
41
|
+
Processing by ApplicationController#create as HTML
|
42
|
+
Completed 200 OK in 1ms
|
43
|
+
-----------------------------------------------------------------------------------------------------
|
44
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
45
|
+
-----------------------------------------------------------------------------------------------------
|
46
|
+
Processing by ApplicationController#create as HTML
|
47
|
+
Can't verify CSRF token authenticity.
|
48
|
+
Completed 422 Unprocessable Entity in 0ms
|
49
|
+
-------------------------------------------------------------------------------------
|
50
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
51
|
+
-------------------------------------------------------------------------------------
|
52
|
+
Processing by ApplicationController#create as HTML
|
53
|
+
Can't verify CSRF token authenticity.
|
54
|
+
Completed 422 Unprocessable Entity in 1ms
|
55
|
+
-------------------------------------------------------------------------------------
|
56
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
57
|
+
-------------------------------------------------------------------------------------
|
58
|
+
Processing by ApplicationController#create as HTML
|
59
|
+
Can't verify CSRF token authenticity.
|
60
|
+
Completed 422 Unprocessable Entity in 1ms
|
61
|
+
-----------------------------------------------------------------------------------------------------
|
62
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
63
|
+
-----------------------------------------------------------------------------------------------------
|
64
|
+
Processing by ApplicationController#create as HTML
|
65
|
+
Can't verify CSRF token authenticity.
|
66
|
+
Completed 422 Unprocessable Entity in 0ms
|
67
|
+
-----------------------------------------------------------------------------
|
68
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
69
|
+
-----------------------------------------------------------------------------
|
70
|
+
Processing by ApplicationController#create as HTML
|
71
|
+
Completed 200 OK in 1ms
|
72
|
+
--------------------------------------------------------------------------------------------------------
|
73
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
74
|
+
--------------------------------------------------------------------------------------------------------
|
75
|
+
Processing by ApplicationController#index as HTML
|
76
|
+
Completed 200 OK in 1ms
|
77
|
+
----------------------------------------------------------------------------
|
78
|
+
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
79
|
+
----------------------------------------------------------------------------
|
80
|
+
Processing by ExclusionsController#index as HTML
|
81
|
+
Completed 200 OK in 1ms
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular_rails_csrf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Sanders
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 5.1.
|
48
|
+
version: 5.1.1
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 5.1.
|
55
|
+
version: 5.1.1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: railties
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,9 +60,9 @@ dependencies:
|
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '3'
|
63
|
-
- - "
|
63
|
+
- - "<"
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '5.
|
65
|
+
version: '5.2'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -70,9 +70,9 @@ dependencies:
|
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '3'
|
73
|
-
- - "
|
73
|
+
- - "<"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '5.
|
75
|
+
version: '5.2'
|
76
76
|
description: AngularJS style CSRF protection for Rails
|
77
77
|
email:
|
78
78
|
- sanderjd@gmail.com
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.6.
|
121
|
+
rubygems_version: 2.6.12
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Support for AngularJS $http service style CSRF protection in Rails
|