idrac 0.7.2 → 0.7.3
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/README.md +3 -0
- data/lib/idrac/system_config.rb +3 -1
- data/lib/idrac/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: 2daa5d9eb50a541d372954c84db4e371b0f34b02aaf4e57d915d0a08a4a839d5
|
4
|
+
data.tar.gz: 994b6605e51925c70d1c6948aa8855f45018b951c58c96bc464f4a7598f48827
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4430c49903bfff3a52f746b1a526ca7ffce1d116fef8dc8a1c610daa03bee6c3dafc7a5828483a9db58269d6082b384ba60e1d5897e6cc10df867988123905d6
|
7
|
+
data.tar.gz: ad6ecfb6c6908ddb7c7572db3265c6e10eb985374046aa6af172fbc917fe4e4db246e9336c780872f6a243fbc3d6b5145dd8bafd6cff972e47f855fe1011fbc0
|
data/README.md
CHANGED
@@ -218,6 +218,9 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
218
218
|
|
219
219
|
## Changelog
|
220
220
|
|
221
|
+
### Version 0.7.3
|
222
|
+
- Improved error handling around SystemConfigurationProfile.
|
223
|
+
|
221
224
|
### Version 0.7.2
|
222
225
|
- **Added iDRAC Reset Functionality**: New `reset!` method to gracefully restart the iDRAC controller
|
223
226
|
- Added CLI command `idrac reset` to restart iDRAC from the command line
|
data/lib/idrac/system_config.rb
CHANGED
@@ -165,7 +165,9 @@ module IDRAC
|
|
165
165
|
body: {"ExportFormat": "JSON", "ShareParameters":{"Target": target}}.to_json,
|
166
166
|
headers: {"Content-Type" => "application/json"}
|
167
167
|
)
|
168
|
-
scp = handle_location(response.headers["location"])
|
168
|
+
scp = handle_location(response.headers["location"])
|
169
|
+
# We experienced this with older iDRACs, so let's give a enriched error to help debug.
|
170
|
+
raise(Error, "Failed exporting SCP, no location header found in response. Response: #{response.inspect}") if scp.nil?
|
169
171
|
raise(Error, "Failed exporting SCP, taskstate: #{scp["TaskState"]}, taskstatus: #{scp["TaskStatus"]}") unless scp["SystemConfiguration"]
|
170
172
|
return scp
|
171
173
|
end
|
data/lib/idrac/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idrac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Siegel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|