factpulse 2.0.7 → 2.0.10
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 +4 -4
- data/CHANGELOG.md +3 -3
- data/Gemfile.lock +1 -1
- data/lib/factpulse/api_client.rb +6 -2
- data/lib/factpulse/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ad9f29aadf9b50e5ffbf41dcdd4be0bb9c5635413e2b57f70191508543d38e8
|
|
4
|
+
data.tar.gz: 3f09ce60856fb8f03ab2cb76e645f4cc520fe9f55ef3b49ae7e24266ec69e4ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd9f6a5e9b928172122d999f2507ab6714cc7a85e988bb4d0f4f91f22e0530cbcfc1c8acf2de9a12f4b5dc86b74396c555e1b905bca076ed20d867ca2eb05c1a
|
|
7
|
+
data.tar.gz: bf3258d4cfe497c632eebcf07f15351e3de6e86c3183a35d2cc5e66aaa17e09c69f7782f9c889b1b0452ef90cf6cc5efaa44fbac25a57304f8920a856fffbd1c
|
data/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,7 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [2.0.
|
|
10
|
+
## [2.0.10] - 2025-11-20
|
|
11
11
|
|
|
12
12
|
### Added
|
|
13
13
|
- Version initiale du SDK ruby
|
|
@@ -24,5 +24,5 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
24
24
|
- Guide d'authentification JWT
|
|
25
25
|
- Configuration avancée (timeout, proxy, debug)
|
|
26
26
|
|
|
27
|
-
[Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v2.0.
|
|
28
|
-
[2.0.
|
|
27
|
+
[Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v2.0.10...HEAD
|
|
28
|
+
[2.0.10]: https://github.com/factpulse/sdk-ruby/releases/tag/v2.0.10
|
data/Gemfile.lock
CHANGED
data/lib/factpulse/api_client.rb
CHANGED
|
@@ -278,9 +278,13 @@ module FactPulse
|
|
|
278
278
|
data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
|
|
279
279
|
end
|
|
280
280
|
else
|
|
281
|
-
# models (e.g. Pet) or oneOf
|
|
281
|
+
# models (e.g. Pet) or oneOf/anyOf
|
|
282
282
|
klass = FactPulse.const_get(return_type)
|
|
283
|
-
klass.respond_to?(:openapi_one_of)
|
|
283
|
+
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of)
|
|
284
|
+
klass.build(data)
|
|
285
|
+
else
|
|
286
|
+
klass.build_from_hash(data)
|
|
287
|
+
end
|
|
284
288
|
end
|
|
285
289
|
end
|
|
286
290
|
|
data/lib/factpulse/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: factpulse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|