Brian
1977637ba3
Pins dependency version of useragent because secure_headers actually requires this version for the test suite to pass
2017-06-28 19:09:08 -07:00
Patrick Toomey
48c69ab33e
Polish based on feedback from @oreoshake.
2017-06-20 15:02:50 -10:00
Patrick Toomey
e5fd74389b
Bump version number of gem.
2017-06-20 15:02:50 -10:00
Patrick Toomey
9e8c3a3f2c
Remove unused constant.
2017-06-20 15:01:44 -10:00
Patrick Toomey
f203dc340d
Update Clear-Site-Data to use the current spec format.
2017-06-20 15:01:44 -10:00
Neil Matatall
f186589288
Update CONTRIBUTING.md
2017-06-20 07:42:02 -10:00
Neil Matatall
24340c89b8
Merge pull request #332 from stve/rubocop
...
Add RuboCop
2017-06-02 09:55:13 -10:00
Steve Agalloco
886a322880
remove rspec block notation from Rakefile
2017-06-02 15:40:37 -04:00
Steve Agalloco
e21ab51db5
fix rubocop violations
2017-06-01 23:45:03 -04:00
Steve Agalloco
194c6e3da3
add rubocop-github
2017-06-01 23:45:03 -04:00
Steve Agalloco
a7e2a75a54
split out rspec and rubocop in CI
2017-06-01 23:45:03 -04:00
Steve Agalloco
194c14b4eb
enable all rubocop cops
2017-06-01 23:45:03 -04:00
Steve Agalloco
fcdabb8043
add custom rubocop rules
2017-06-01 23:45:03 -04:00
Steve Agalloco
1385e83049
add rubocop rake task
2017-06-01 23:45:03 -04:00
Steve Agalloco
94763f384a
add rubocop dependency
2017-06-01 23:45:03 -04:00
Neil Matatall
6033c85519
Merge pull request #333 from twitter/unsupported-rubies
...
Remove unsupported rubies
2017-06-01 17:16:23 -10:00
Neil Matatall
81821b22da
Update .travis.yml
2017-06-01 17:04:20 -10:00
Neil Matatall
77214a376d
Drop support for unsupported rubies
2017-06-01 17:04:02 -10:00
Neil Matatall
0e5eba732e
Merge pull request #330 from stve/warnings
...
Enable verbose mode in tests
2017-05-31 09:36:36 -10:00
Neil Matatall
2dcc7d55fe
Merge pull request #329 from scouttyg/updated-documentation-for-hashes
...
Updated a few places where wrong wordage was being used for where and…
2017-05-30 07:58:54 -10:00
Steve Agalloco
29d26965df
suppress warning in #header_hash_for
2017-05-25 17:02:58 -04:00
Steve Agalloco
4452dd86b6
update contribution guidelines to mention warnings
2017-05-25 16:09:39 -04:00
Steve Agalloco
0d1c2a4d00
fix warnings from running in verbose mode
2017-05-25 15:50:06 -04:00
Steve Agalloco
bf32b1d66a
enable warnings when running tests
2017-05-25 15:05:52 -04:00
Scott Goci
5d9b015d3d
Updated a few places where wrong wordage was being used for where and how to configure hashes
2017-05-10 17:04:19 -04:00
Neil Matatall
0966fb9088
bump 3.6.4
2017-05-03 09:00:04 -10:00
Neil Matatall
7ad53c023e
Merge pull request #325 from bobjflong/BL/f
...
prevent loss of frame_src/child_src when using append_content_securit…
2017-05-03 08:58:58 -10:00
Bob Long
587c40e71e
prevent loss of frame_src/child_src when using append_content_security_policy_directives
2017-04-26 14:18:18 +01:00
Neil Matatall
dc972de16f
bump to 3.6.3
2017-04-25 08:59:14 -10:00
Neil Matatall
d9bed91704
Create CONTRIBUTING.md
2017-04-21 09:18:48 -10:00
Neil Matatall
466664bd70
Create CODE_OF_CONDUCT.md
2017-04-21 09:17:33 -10:00
Neil Matatall
fb27fd314e
Merge pull request #324 from bobjflong/BL/dep
...
remove deprecation warning about frame_src
2017-04-14 07:08:06 -10:00
Bob Long
5fda0fa7f3
remove deprecation warning about frame_src
2017-04-14 09:43:34 +01:00
Neil Matatall
090b87d349
version bump
2017-03-03 08:50:30 -10:00
Neil Matatall
ae1d20d11d
update changelog for 3.6.2
2017-03-03 08:45:26 -10:00
Neil Matatall
b69b1fae37
comment out report_only: true
2017-03-03 08:40:47 -10:00
Neil Matatall
ad5ac24df7
Merge pull request #319 from necolt/safari10-csp2
...
Added CSP2 support for Safari 10+
2017-03-03 07:33:38 -10:00
Julius Markūnas
86b270b53d
Added CSP2 support for Safari 10+
2017-03-03 14:50:42 +02:00
Neil Matatall
68ea150778
Merge pull request #306 from connorshea/test-ruby-23-24
...
Add Ruby 2.3 and 2.4 to test matrix.
2017-03-01 07:39:20 -10:00
Connor Shea
a140b8d2bd
Add Ruby 2.3 and 2.4 to test matrix.
2017-02-28 16:34:19 -07:00
Eitan Adler
9cb212a130
Merge pull request #315 from twitter/mit-license
...
Update LICENSE to MIT
(approved on behalf of Twitter)
2017-02-16 14:38:55 -08:00
Neil Matatall
5638cb0334
Update LICENSE
2017-02-16 10:49:43 -10:00
Neil Matatall
7ac8eb98b7
bump to 3.6.1
2017-01-18 07:16:13 -10:00
Neil Matatall
fd559f2acc
Merge pull request #313 from carlosantoniodasilva/memory-improvements
...
Reduce object allocations: memory improvements
2017-01-18 07:14:47 -10:00
Carlos Antonio da Silva
85d4879d73
Use full version for Ruby 2.3 on travis, otherwise it fails
2017-01-18 09:33:08 -02:00
Carlos Antonio da Silva
35d3c219ce
Remove unneeded flatten
2017-01-17 19:53:38 -02:00
Carlos Antonio da Silva
9dceb6e140
Avoid creating extra arrays when building the headers hash
...
We only need to check for two different classes in here, so it's just
better/faster to do the individual comparisons than building an extra
array per header that is being generated.
2017-01-17 19:45:46 -02:00
Carlos Antonio da Silva
84e30f7e53
Fix type [ci skip]
2017-01-17 19:40:31 -02:00
Carlos Antonio da Silva
4bd8b9b026
Simplify the modified check on the config to avoid metaprogramming
2017-01-17 19:34:15 -02:00
Carlos Antonio da Silva
13c354cea6
Freeze all header names
...
Since the library builds a hash with all the headers many many times, it
ends up retaining a lot of strings since string hash keys are duped by
default. By freezing the keys we ensure the duping doesn't happen,
decreasing the number of objects created.
2017-01-17 19:22:40 -02:00