inferno_core 1.0.2 → 1.0.3

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: 4b6d3addad9ac71e0079b47aa15551a3c13773227277668b48bbaad775a26ee8
4
- data.tar.gz: aa2337d181489d7b345d3c1d24b6beb895ad0e544c35a40e4346ffce8a2065be
3
+ metadata.gz: a1816905883e614c4f19df5a2a2cd5908a84c1ef1958451fe4fb4dc7d4fd54d8
4
+ data.tar.gz: c0e851aef35c773e9661d0bd941ba2911d24deaa3fe0cd1a73f825b6b7da74c1
5
5
  SHA512:
6
- metadata.gz: 7aff18aae2e2799fd7817d01a5a6a9d3b1842efe75a509845a98f6392852b934fa0fc8db37fa63cc42d8cebf1badb487ea63ffa300ee40801d008d34b3d5a689
7
- data.tar.gz: 2854ddeac51ecbf418301243a48903a68340dfdce6aaea8333ee98f42caade8723d6d66505062df06521d8716d70457aefbc1475a67cb8da11a9470dca5ff5d7
6
+ metadata.gz: '01881eacb35708475cec25b19abc16b54d9fd701913aab3e04a68a01490f701ba7d6a70bf4f8f2ee0e6b171c6e49323b841cf23736b9e5abbdfee0ee10f3ee8c'
7
+ data.tar.gz: 8fde41b5b9072c7e57375d5edd3da987107248fb2e65f9d8125d25f541dfad66db7991177f10a22106b440c78c8423cae50f64305d48f605b1ed67cdbf27a2dd
@@ -79,7 +79,14 @@ module Inferno
79
79
  local_test_kit = Inferno::Repositories::TestKits.new.local_test_kit
80
80
  if local_test_kit.present?
81
81
  base = Inferno::Application['base_path'].present? ? "/#{Inferno::Application['base_path']}" : ''
82
- [301, { 'Location' => "#{base}/#{local_test_kit.url_fragment}" }, []]
82
+ [
83
+ 302,
84
+ {
85
+ 'Cache-Control' => 'no-cache',
86
+ 'Location' => "#{base}/#{local_test_kit.url_fragment}"
87
+ },
88
+ []
89
+ ]
83
90
  else
84
91
  CLIENT_PAGE_RESPONSE.call(env)
85
92
  end
@@ -1,4 +1,4 @@
1
1
  module Inferno
2
2
  # Standard patterns for gem versions: https://guides.rubygems.org/patterns/
3
- VERSION = '1.0.2'.freeze
3
+ VERSION = '1.0.3'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inferno_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen MacVicar
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-07-21 00:00:00.000000000 Z
13
+ date: 2025-07-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport