tiny-rest-client 0.3.0 → 0.3.1

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: 72d74c14f37ab28b47e2c0cf52bfa9f092d2457bad0d5487bbcbb32f1c5b12d5
4
- data.tar.gz: 49eac5d225c02dd3675d1c90a41d71067fa150cebb0018d5126d2c8b0e19102e
3
+ metadata.gz: af326927e84576cb42b3d9e393142fb01f1aa6bbcac7ed7901085bff3151b69a
4
+ data.tar.gz: 9e19a2142a5d29bd9f508bfd3be45cd593f1a8e162e5469e3c4b78983ea92e0a
5
5
  SHA512:
6
- metadata.gz: ee2b67e844a132f1d549cf814098d4af9592884d7a61723391fe98774d50c525b7ba346c59bd2fdfe27d0e2ba869071ca59402c473aac1438c1791cf4d1ca94f
7
- data.tar.gz: b02d9ffc1f3e6601a942a7e6f4f2fa752f4e580fca1a7fee3a243887eb2fd9246813bc7372fa0a35416a27784969f6178cde4973f0a5985237740845dc28b7e7
6
+ metadata.gz: 17e9c3dc4f4625440777824b70562e342bc19e820b22dc22590e0dc461b2cb2e6e3b2e222ca2a42960c3ce162ed90be746d12cba3a5a02a78bb15842e986d3d2
7
+ data.tar.gz: 7e1a2dd25002c4e82a63b7749ae6ef43de2423f01b47c35007f4bc81a11acb5a67ba74ee5c840a9f8c31bb3964d6564c4b80f627a4661b083850f8d5670304d9
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Fixed
11
+ - Fixed `NoMethodError: undefined method compact_blank`. Replaced `compact_blank` with native Ruby `compact`
12
+
13
+ ## [0.3.0] - 2026-03-19
14
+
10
15
  ### Added
11
16
  - Class-level retries with configurable delay (throttling)
12
17
  - `retries 3, delay: 0.5` - retry 3 times on 5xx errors with 500ms delay between attempts
@@ -41,7 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
46
  - Full Minitest suite (classic + spec style examples)
42
47
  - Basic README documentation
43
48
 
44
- [Unreleased]: https://github.com/Dabrovsky/tiny_rest_client/compare/v0.2.1...HEAD
45
- [0.2.1]: https://github.com/Dabrovsky/tiny_rest_client/compare/v0.2.0...v0.2.1
46
- [0.2.0]: https://github.com/Dabrovsky/tiny_rest_client/compare/v0.1.0...v0.2.0
47
- [0.1.0]: https://github.com/Dabrovsky/tiny_rest_client/releases/tag/v0.1.0
49
+ [0.3.0]: https://github.com/Dabrovsky/tiny-rest-client/compare/v0.2.1...HEAD
50
+ [0.2.1]: https://github.com/Dabrovsky/tiny-rest-client/compare/v0.2.0...v0.2.1
51
+ [0.2.0]: https://github.com/Dabrovsky/tiny-rest-client/compare/v0.1.0...v0.2.0
52
+ [0.1.0]: https://github.com/Dabrovsky/tiny-rest-client/releases/tag/v0.1.0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TinyRestClient
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -103,7 +103,7 @@ module TinyRestClient
103
103
  end
104
104
 
105
105
  def common_params
106
- { headers:, auth_config:, retries: }.compact_blank
106
+ { headers:, auth_config:, retries: }.compact
107
107
  end
108
108
  end
109
109
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny-rest-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dabrovski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-19 00:00:00.000000000 Z
11
+ date: 2026-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus