omniauth-rails_csrf_protection 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: bbf4c1c69045d3b8841a8e002fad5367924f1d3656bb030473da95ec61681878
4
- data.tar.gz: 57f056afa7f51d2722129715a074aa19afeac9acd58a340c5c063aff7b8436d7
3
+ metadata.gz: 8df3f086d2041b087768ece37dd651998df2a302a85f3b3978cb0f03cd6864e5
4
+ data.tar.gz: 012754e4a99a72cf407d3592fb53699346e52bd0baeaf319146a096da8c980fa
5
5
  SHA512:
6
- metadata.gz: c64a7e5a8c3252ceebe112312fa9dfa346c7c337c2ed528f72ab7d140d540333e99c580143bad2044a7fe57697360cf7be6cd36672e97224fa48f21a6d758b6d
7
- data.tar.gz: 7fdf180d08eb01a57acbf61f3f2a70754a433eee0fad1c31663f0b9bffa571ef4c45ada64669475ef6391b636437e3ae590e1bc27c785756278e1524f524cbfc
6
+ metadata.gz: 4d758b6900666a5e4a4b3fee3401148591158e3e9df0881f27013bdbe2f615b0cbae5adb00daa477ea17264be90e638f008cea76aae63a68af2c281c67ab65bc
7
+ data.tar.gz: 9a6fbd1be985e5ce835ce0c15c8e002d339c9661a72b48692561e4e1ab0e9754fdbb1e65f9fbc29c86fd84f619216d82a5468e4d2b58c060069374696f57d43f
@@ -15,6 +15,10 @@ build_steps: &build_steps
15
15
  name: Run tests
16
16
  command: rake
17
17
 
18
+ ruby-2-4: &ruby-2-4
19
+ docker:
20
+ - image: circleci/ruby:2.4
21
+
18
22
  ruby-2-5: &ruby-2-5
19
23
  docker:
20
24
  - image: circleci/ruby:2.5
@@ -23,6 +27,14 @@ ruby-2-6: &ruby-2-6
23
27
  docker:
24
28
  - image: circleci/ruby:2.6
25
29
 
30
+ rails-4-2: &rails-4-2
31
+ environment:
32
+ RAILS_VERSION: "~> 4.2.0"
33
+
34
+ rails-5-0: &rails-5-0
35
+ environment:
36
+ RAILS_VERSION: "~> 5.0.0"
37
+
26
38
  rails-5-1: &rails-5-1
27
39
  environment:
28
40
  RAILS_VERSION: "~> 5.1.0"
@@ -40,6 +52,27 @@ rails-edge: &rails-edge
40
52
  RAILS_BRANCH: "master"
41
53
 
42
54
  jobs:
55
+ "ruby-2-4-rails-4-2":
56
+ <<: *ruby-2-4
57
+ <<: *rails-4-2
58
+ <<: *build_steps
59
+ "ruby-2-4-rails-5-0":
60
+ <<: *ruby-2-4
61
+ <<: *rails-5-0
62
+ <<: *build_steps
63
+ "ruby-2-4-rails-5-1":
64
+ <<: *ruby-2-4
65
+ <<: *rails-5-1
66
+ <<: *build_steps
67
+ "ruby-2-4-rails-5-2":
68
+ <<: *ruby-2-4
69
+ <<: *rails-5-2
70
+ <<: *build_steps
71
+
72
+ "ruby-2-5-rails-5-0":
73
+ <<: *ruby-2-5
74
+ <<: *rails-5-0
75
+ <<: *build_steps
43
76
  "ruby-2-5-rails-5-1":
44
77
  <<: *ruby-2-5
45
78
  <<: *rails-5-1
@@ -56,6 +89,11 @@ jobs:
56
89
  <<: *ruby-2-5
57
90
  <<: *rails-edge
58
91
  <<: *build_steps
92
+
93
+ "ruby-2-6-rails-5-0":
94
+ <<: *ruby-2-6
95
+ <<: *rails-5-0
96
+ <<: *build_steps
59
97
  "ruby-2-6-rails-5-1":
60
98
  <<: *ruby-2-6
61
99
  <<: *rails-5-1
@@ -77,10 +115,17 @@ workflows:
77
115
  version: 2
78
116
  build:
79
117
  jobs:
118
+ - "ruby-2-4-rails-4-2"
119
+ - "ruby-2-4-rails-5-1"
120
+ - "ruby-2-4-rails-5-2"
121
+
122
+ - "ruby-2-5-rails-5-0"
80
123
  - "ruby-2-5-rails-5-1"
81
124
  - "ruby-2-5-rails-5-2"
82
125
  - "ruby-2-5-rails-6-0"
83
126
  - "ruby-2-5-rails-edge"
127
+
128
+ - "ruby-2-6-rails-5-0"
84
129
  - "ruby-2-6-rails-5-1"
85
130
  - "ruby-2-6-rails-5-2"
86
131
  - "ruby-2-6-rails-6-0"
data/README.md CHANGED
@@ -5,6 +5,8 @@ Forgery on the request phrase when using OmniAuth gem with a Ruby on Rails
5
5
  application) by implementing a CSRF token verifier that directly utilize
6
6
  `ActionController::RequestForgeryProtection` code from Rails.
7
7
 
8
+ [![CircleCI](https://circleci.com/gh/cookpad/omniauth-rails_csrf_protection/tree/master.svg?style=svg)](https://circleci.com/gh/cookpad/omniauth-rails_csrf_protection/tree/master)
9
+
8
10
  ## Usage
9
11
 
10
12
  Add this line to your application's Gemfile:
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module RailsCsrfProtection
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
5
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.require_paths = ["lib"]
29
29
 
30
- spec.add_dependency "actionpack", ">= 5.1.0"
30
+ spec.add_dependency "actionpack", ">= 4.2"
31
31
  spec.add_dependency "omniauth", ">= 1.3.1"
32
32
 
33
33
  spec.add_development_dependency "bundler"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-rails_csrf_protection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cookpad Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-30 00:00:00.000000000 Z
11
+ date: 2019-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.1.0
19
+ version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.1.0
26
+ version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: omniauth
29
29
  requirement: !ruby/object:Gem::Requirement