holistics 0.3.3 → 0.3.4
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 +5 -5
- data/CHANGELOG.md +3 -1
- data/lib/holistics/helpers/job_manager.rb +2 -2
- data/lib/holistics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 07bec8a025b674144e6fb6e35b9ef2c9a279e917e2187587d83a75e025f369c0
|
|
4
|
+
data.tar.gz: abe49de6255090ee1c96898df73eeb25ee3cc88dd36eef7233901c12dbc87980
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d63c018afd38938a15be260b6ccdd63f3168d2ebba073789cba120cab1c52ea2fde9592061d580c1bfd5a166ca2662461bf16462d9b090b5fc1b951a86cec3ec
|
|
7
|
+
data.tar.gz: 6cef3b620618a6bbc562bc3ec6ed55197036ec18ebefe3ddc1c78e01492695dc17f58906df85b2054ed73f1b7e049832a302d4a64c54e84f30e98a50ba16d1fa
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## v0.3.4
|
|
6
|
+
* Update retry mechanism for `fetch_job_details`
|
|
7
|
+
|
|
5
8
|
## v0.3.3
|
|
6
9
|
* Add "transform list" and "import list" commands
|
|
7
10
|
* Add "version" command
|
|
@@ -35,4 +38,3 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
35
38
|
|
|
36
39
|
## v0.0.11
|
|
37
40
|
* Support invocation of transform from CLI: `holistics transform -j <id>`
|
|
38
|
-
|
|
@@ -14,14 +14,14 @@ module Holistics
|
|
|
14
14
|
response = http_request.simple_get url
|
|
15
15
|
|
|
16
16
|
JSON.parse(response.body)
|
|
17
|
-
rescue
|
|
17
|
+
rescue StandardError => e
|
|
18
18
|
sleep 2 ** (MAX_RETRIES - tries) unless Holistics.test?
|
|
19
19
|
if (tries -= 1) >= 0
|
|
20
20
|
puts 'Retrying...'
|
|
21
21
|
retry
|
|
22
22
|
end
|
|
23
23
|
puts 'Retry exceeded... Raise error'
|
|
24
|
-
raise
|
|
24
|
+
raise e
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def fetch_job_results(job_id)
|
data/lib/holistics/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: holistics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thanh Dinh Khac
|
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
143
143
|
version: '0'
|
|
144
144
|
requirements: []
|
|
145
145
|
rubyforge_project:
|
|
146
|
-
rubygems_version: 2.
|
|
146
|
+
rubygems_version: 2.7.7
|
|
147
147
|
signing_key:
|
|
148
148
|
specification_version: 4
|
|
149
149
|
summary: CLI interface for Holistics
|