factpulse 3.0.26 → 3.0.27

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: c60cabc56a3ce46d0538bb280fbfa8730d6eaf93ad9c8b52d8dbc1e01cc0a4d3
4
- data.tar.gz: c55ccb52a7b1f488075b68e427e198c9cc4773b2e7770a45faee2903aaa9f4bc
3
+ metadata.gz: afd9c744626f24a5048ba9d266e8da192313dc2281e8abe90becf0d1a70481e5
4
+ data.tar.gz: 5db03bdd8014b9e1634c1fa6db8698e8b634676cc4c2682a8808396c059932aa
5
5
  SHA512:
6
- metadata.gz: c5218b7d860655677afc61890fb45aa7671a3c6805ac9ad4ce87026e93770836c112bf03560a270d0106aa92b0384ed5462a2bad227a3dbea06fe56c831e5452
7
- data.tar.gz: bac307b11b7aa5e65a8077713358ae89f8e5893234fbafd5878f1d7223e5cd698a2a78bb9c4bda4325fdda27d3bcb06e7cdc838e459c99fefccc70882139c02c
6
+ metadata.gz: '0194b86867c3c9d2a6cf38767dcf363cb2073bdc773f98e259dfae7d78f9090892b874338a42b83ea8355ecde8f7f464f27f0a76cb4995cb7f4e930c789660d5'
7
+ data.tar.gz: c122df51210bcdaa67e62e4eed2f302dff7b740a5ba2c145d403696afa3b7e007ecb3437cdbe596f9116b2da4024fdeaff73496f692d207d2a9faa6f2f63c8be
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
- ## [3.0.26] - 2026-01-15
10
+ ## [3.0.27] - 2026-01-15
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/v3.0.26...HEAD
28
- [3.0.26]: https://github.com/factpulse/sdk-ruby/releases/tag/v3.0.26
27
+ [Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v3.0.27...HEAD
28
+ [3.0.27]: https://github.com/factpulse/sdk-ruby/releases/tag/v3.0.27
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factpulse (3.0.26)
4
+ factpulse (3.0.27)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -200,10 +200,10 @@ module FactPulse
200
200
  ensure_authenticated; response = http_get(URI("#{@api_url}/api/v1/processing/tasks/#{task_id}/status"))
201
201
  reset_auth and next if response.code == '401'
202
202
  data = JSON.parse(response.body)
203
- return data['resultat'] || {} if data['statut'] == 'SUCCESS'
204
- if data['statut'] == 'FAILURE'
203
+ return data['result'] || {} if data['status'] == 'SUCCESS'
204
+ if data['status'] == 'FAILURE'
205
205
  # Format AFNOR: errorMessage, details
206
- r = data['resultat'] || {}
206
+ r = data['result'] || {}
207
207
  raise FactPulseValidationError.new("Task #{task_id} failed: #{r['errorMessage'] || '?'}", (r['details'] || []).map { |e| ValidationErrorDetail.from_hash(e) })
208
208
  end
209
209
  sleep(current_interval / 1000.0); current_interval = [current_interval * 1.5, 10000].min
@@ -11,5 +11,5 @@ Generator version: 7.19.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module FactPulse
14
- VERSION = '3.0.26'
14
+ VERSION = '3.0.27'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factpulse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.26
4
+ version: 3.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator