http_mimic 0.5.5 → 0.5.6

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: 9f042a9d602736a448c5341e306e8a46c68fcc38e5159cc881a157a52845d994
4
- data.tar.gz: 03f41604be51bc6050e1778cd4411a0c3749ad04ef823c7d99839036ec2a1784
3
+ metadata.gz: da5487d3d05ebd5c3bdd3613cc4b5461221622115e0846512e8f443b034f8aad
4
+ data.tar.gz: 88997137ba1212244539e60258b3851fd5ee7777d00c94206c89b86d76581529
5
5
  SHA512:
6
- metadata.gz: 53fa3674cd113da005dfa6a91b46ec2481dbe0c0f8e5fefb3594bb0e84d4b7258569c519d818bcb14a10034de61308155878cfb06cd8965f3e9c7e82613a338c
7
- data.tar.gz: 47696a2a7f80d0ed2a8ca81236cd9a00f1de6fa8e5ae02bfae3aa2ef2b2965169497e49ee3aec585757c7fae12ac6a63da4398b3c57b720e3ccf6917416e433b
6
+ metadata.gz: 95d2f45f527dc454bfb3ea989c89a05ed0c12c79d05c6427a52f79bc36fbad5309cb6d80b23ad9bebdeed1461717c4b0a32b6049ee21670b4f24666ebcf9aafc
7
+ data.tar.gz: 13bfd8e2a063a626148ae19774f1f13c1ba235bd961b2bbafac1044134916b704a1aa3c37f0989ee85c57cc2864aebb336c07b7ca2ad2e648e1d663e444e4da3
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.6] - 2026-09-06
9
+
10
+ ### Fixed
11
+ - **Ruby 2.3 & 2.4 Compatibility**:
12
+ - Wrapped `rescue StandardError` inside `begin...end` in `AkamaiSolver.extract_sensor_script_urls` (`akamai_solver.rb`). Ruby 2.5 introduced omitting `begin` within `do...end` blocks; in Ruby 2.3 / 2.4, omitting `begin` resulted in `SyntaxError: unexpected keyword_rescue, expecting keyword_end` during deployment.
13
+
8
14
  ## [0.5.5] - 2026-09-05
9
15
 
10
16
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpMimic
4
- VERSION = "0.5.5"
4
+ VERSION = "0.5.6"
5
5
  end
6
6
 
@@ -297,9 +297,11 @@ module HttpMimic
297
297
  end
298
298
 
299
299
  akamai_scripts.map do |raw_src|
300
- URI.join(target_url, raw_src.gsub('&', '&')).to_s
301
- rescue StandardError
302
- nil
300
+ begin
301
+ URI.join(target_url, raw_src.gsub('&', '&')).to_s
302
+ rescue StandardError
303
+ nil
304
+ end
303
305
  end.compact
304
306
  end
305
307
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_mimic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - anxgang