idrac 0.7.6 → 0.7.7

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: 8af8037ba13fcf763b9e99710c038ba7cbc5aa200f54e0b8e1d8aa9beb1a3ff3
4
- data.tar.gz: 90506d5d63b713feaf577eb73a1b6d9a19f28d72e73c9a1c5c213e84e20686be
3
+ metadata.gz: 133dd0ab85e38e7833aa80381ea6d22bdf134e30e48d9382b6f7e9b1671e0cad
4
+ data.tar.gz: a742fa6154ebf62aeba07f0869442f486d2bed490011454eaae446d7d0b59805
5
5
  SHA512:
6
- metadata.gz: 28eb0335e54f5a47689c163cb827c2522dad3c324f071ea22682b39864c6defa9f7400c9bac0e3676713e56067d517c9b1a9cf01206992d538b3b3511dc4ff92
7
- data.tar.gz: 7780fb06301ad8727aab82cde9bf92e4a234d5c432a5319e5e771332dbd24fc46f554241a50b06235ce497621e42cb7e07ea436b8eb548cbd34cd4b583116501
6
+ metadata.gz: ec5a16a96be2ec689d2266f28e610c03442c36250bfc3ffb7992a99d54a08fbac582dace2111dcefdbcc601e76e06729265f3c2366337e70c23f0c1438dfe4d1
7
+ data.tar.gz: 21b90d2e4f5355fc830ad511bf2821a6bae41bf4792ed6bf79cd4c24bff570fee0b932a13212cf6d08b353c2d8328fdb66a6f1e40c4e0a46b692cb3c795c8f5b
data/README.md CHANGED
@@ -218,6 +218,10 @@ 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.7
222
+ - **Bug Fix**: Fixed Session base_url method to use instance variables instead of client delegation
223
+ - Resolved "undefined local variable or method 'client'" error in session.rb
224
+
221
225
  ### Version 0.7.6
222
226
  - **PR Preparation**: Updated version for PR submission
223
227
 
data/lib/idrac/session.rb CHANGED
@@ -282,7 +282,8 @@ module IDRAC
282
282
  private
283
283
 
284
284
  def base_url
285
- client.base_url
285
+ protocol = use_ssl ? 'https' : 'http'
286
+ "#{protocol}://#{host}:#{port}"
286
287
  end
287
288
 
288
289
  def print_connection_debug_info
data/lib/idrac/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IDRAC
4
- VERSION = "0.7.6"
4
+ VERSION = "0.7.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idrac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Siegel