Skip to content

Commit 2d198d4

Browse files
authored
Merge pull request #377 from twitter/rubocop-vuln-critical-sev0-breach
upgrade some test dependencies because the GitHub UI said
2 parents dec5a79 + c130007 commit 2d198d4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.4.2

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ language: ruby
22

33
rvm:
44
- ruby-head
5-
- 2.4.1
6-
- 2.3.4
7-
- 2.2
5+
- 2.4.2
6+
- 2.3.5
7+
- 2.2.8
88
- jruby-head
99

1010
env:

Gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ gemspec
55

66
group :test do
77
gem "coveralls"
8-
gem "json", "~> 1"
8+
gem "json"
99
gem "pry-nav"
10-
gem "rack", "~> 1"
10+
gem "rack"
1111
gem "rspec"
12-
gem "rubocop", "~> 0.47.0"
12+
gem "rubocop"
1313
gem "rubocop-github"
14-
gem "term-ansicolor", "< 1.4"
15-
gem "tins", "~> 1.6.0" # 1.7 requires ruby 2.0
14+
gem "term-ansicolor"
15+
gem "tins"
1616
end
1717

1818
group :guard do

lib/secure_headers/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def generate_csp_headers(headers)
308308
def generate_csp_headers_for_config(headers, header_key, csp_config)
309309
unless csp_config.opt_out?
310310
headers[header_key] = {}
311-
ContentSecurityPolicy::VARIATIONS.each do |name, _|
311+
ContentSecurityPolicy::VARIATIONS.each_key do |name|
312312
csp = ContentSecurityPolicy.make_header(csp_config, UserAgent.parse(name))
313313
headers[header_key][name] = csp.freeze
314314
end

0 commit comments

Comments
 (0)