grover 1.0.3 → 1.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: a7b3b3f08cd1bc34a419001834c4e598b0f1de7ef0f000feb5d65c3ef530c954
4
- data.tar.gz: 4a92e62a4b3170aeded26631ea181fe9712f0bcaa483c38d168955875d09c955
3
+ metadata.gz: 49f70f988f01666e9141fc0ad9584468d3efb06e6a82042460b3d403b94966e3
4
+ data.tar.gz: 3a87cb41b36398d56f48930da0df266cc87435d85aa41c520de0759175793131
5
5
  SHA512:
6
- metadata.gz: 8e232bf24b7094446e23cd4d3f5e7088593bdb3510d9b1589ae0f4148a4dc0bc82121542a597877eeb0b73280a1f867741c96e86b7af040cf1405c93b60fe22d
7
- data.tar.gz: fd7f4107b126fec4fde6eee2be864c52536669f80ab8ae8719fa1025fb2dc4dd251cf89a4835aa5ef4e6118ea4e7bbc072661c54f306e80ae3ec8fa30506ef6f
6
+ metadata.gz: a24f664083b90c1e5666c6800a7b8ed8fce43c27c91763c1f2c5ffac797d8c29c77fe37489186ea1567ef0667da88d85d8519fefea31b2bd4ae583af4832d1cb
7
+ data.tar.gz: 9a90bd6c19b5f09e1a90b9b998df5a7446e87915abe326e94ae4e75ddefa5bd592460dbad406e25dbc2c6714899ea77122ceea938cc294e46f447fcbc64cafa0
@@ -127,7 +127,7 @@ const _processPage = (async (convertAction, urlOrHtml, options) => {
127
127
  const raiseOnRequestFailure = options.raiseOnRequestFailure; delete options.raiseOnRequestFailure;
128
128
  if (raiseOnRequestFailure) {
129
129
  page.on('requestfinished', (request) => {
130
- if (request.response() && !request.response().ok() && !request.redirectChain().length > 0) {
130
+ if (request.response() && !(request.response().ok() || request.response().status() == 304) && !request.redirectChain().length > 0) {
131
131
  errors.push(request);
132
132
  }
133
133
  });
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Grover
4
- VERSION = '1.0.3'
4
+ VERSION = '1.0.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grover
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Bromwich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-21 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: combine_pdf