vagrant-tart 0.0.6 → 0.0.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: e0f4e5c9e706e7f97e6abfb4a14b15477e34f8519f90940e93918bbc9f766485
4
- data.tar.gz: 61048e9ab2d365476cae641b2d5757bf61ee90d665871a86cd0dc17ce34ec12e
3
+ metadata.gz: 1f6354db1d8746ea83a55aebde3987ecacb53015874ad76940b80237005a453f
4
+ data.tar.gz: fd5f3ac73ed084dea827d4eab5da7cf590bd90aab2b3a9cdb96a443398393176
5
5
  SHA512:
6
- metadata.gz: 92a51146a0d799256bef1adea44b0d018d77ca6f7e0d343922f0537a4eef6c32540dc942237aede874289b6d0df447de499397d890adccfd25fbfec6fbc59616
7
- data.tar.gz: 106b2e9c056910a45d290cf977dfa3395cfd766f249f7b1054b4000b297bf275d88860fddb81d68121410dd1e01ec4fdb197816a697def4e9063addb65a1abdf
6
+ metadata.gz: 6055b302f275ce263e5a190135b26c0d21b6c2bbac0495a870ac798d0ad0c3e06c73b9bd68a8e7cd76d8930f4762162057c902c7113a764399f959b6c6ed4365
7
+ data.tar.gz: a57e102f8e3773ad452ecb07635c1c6d724d0178a9a83f652fb70262b1d375b48f1ae9a1a9c21b9f339813716e589c56d647d110d1beab3e25dfc07b18982180
@@ -72,7 +72,8 @@ module VagrantPlugins
72
72
  # Retrieve the IP address
73
73
  instance_ip = nil
74
74
  begin
75
- instance_ip = @driver.ip(@machine.provider_config.name, @machine.provider_config.ip_resolver)
75
+ ip_resolver = @machine.provider_config.ip_resolver
76
+ instance_ip = @machine.config.ssh.host || @driver.ip(@machine.provider_config.name, ip_resolver)
76
77
  rescue Errors::CommandError
77
78
  @logger.warn("Failed to read guest IP #{$ERROR_INFO}")
78
79
  end
@@ -92,6 +93,11 @@ module VagrantPlugins
92
93
  id = @machine.id.nil? ? "nil" : @machine.id
93
94
  "Tart[#{id}]"
94
95
  end
96
+
97
+ # Set the driver for the provider (used for testing).
98
+ def assing_driver(driver)
99
+ @driver = driver
100
+ end
95
101
  end
96
102
  end
97
103
  end
@@ -4,6 +4,6 @@ module VagrantPlugins
4
4
  # Top level module for the Tart provider plugin.
5
5
  module Tart
6
6
  # Current version of the Tart provider plugin.
7
- VERSION = "0.0.6"
7
+ VERSION = "0.0.7"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-tart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Etiemble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-16 00:00:00.000000000 Z
11
+ date: 2025-03-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Allows Vagrant to manage Tart virtual machines.
14
14
  email: