http-headers-verifier 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70430f5712743dd3d361144d3b07a86ea318b8bbd3058c537b0dacf891441473
4
- data.tar.gz: 183af859cd60c52fb2f9241d97be406142887587978ca648a56919871f838643
3
+ metadata.gz: efe4065f681747d629f8b0a89709e10cb16b9f7299f42cf5722e5e9faafe41fc
4
+ data.tar.gz: 9d90369303ceed997df5422d16b8999b23e04940b239ca1266212b1e42f3ef3c
5
5
  SHA512:
6
- metadata.gz: 6bb8202466725394a52d2b38ea33019e2ce39e7d2c972864cfd5675ffbb171c89ea11b7289cdd66b5d558b865e1d604858068c1f728b5055b20ca45138b4231a
7
- data.tar.gz: 2b1675488e6efded32e16be4e1978c829d48478fde7026eb9385a79a83d867354f8ee2896b3f891d22d4f5ab6d10d593c6fa8cdb3d93331138c7f501eb182354
6
+ metadata.gz: 15d3c78df3be4541b8800cbbc2317c7cbc877aceea8457aa2c89f869d5843116cdf15c08dea649668ce491a2522fbeeb3a564f1047477b0b3ca0f47adabac4d6
7
+ data.tar.gz: 4ace0055eaa94f03c104ffd1ff69a7b7fc4a245234732ff016488b50adff301b1316f50df83b2ea51a59e0c47aa327b3da4b498ac31bdf6650b7b1a48d09393e
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Http Headers Verifier
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/http-headers-verifier.svg)](https://badge.fury.io/rb/http-headers-verifier)
4
+ [![Build Status](https://travis-ci.org/AvnerCohen/http-headers-verifier.svg?branch=master)](https://travis-ci.org/AvnerCohen/http-headers-verifier)
4
5
 
5
6
  Verify a pre-defined HTTP headers configurations.
6
7
  Unlike some other similar projects, this is not meant to enforce best practices, instead it is meant to define policies on top of headers and enforce them.
@@ -98,4 +99,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
98
99
 
99
100
  ## Code of Conduct
100
101
 
101
- Everyone interacting in the Http::Headers::Verifier project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/http-headers-verifier/blob/master/CODE_OF_CONDUCT.md).
102
+ Everyone interacting in the `Http Headers Verifier` project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/http-headers-verifier/blob/master/CODE_OF_CONDUCT.md).
@@ -23,6 +23,7 @@ HttpHeadersUtils.verbose = !verbose.nil?
23
23
  actual_headers = Typhoeus.get(url, timeout: HTTP_TIMEOUT_IN_SECONDS, followlocation: true).headers
24
24
 
25
25
  def verify_headers!(actual_headers, rules)
26
+ puts "Testing url: #{url}"
26
27
  puts "Starting verification of policies #{HttpHeadersUtils.bold(@policies.join(", "))}:"
27
28
  errors = []
28
29
  checked_already = Set.new
@@ -1,3 +1,3 @@
1
1
  module HttpHeadersVerifier
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-headers-verifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avner Cohen