vagrant-cqos 0.0.2 → 0.0.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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/LICENSE +1 -1
  4. data/VERSION +1 -1
  5. data/lib/guest/guest.rb +5 -12
  6. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a65a704aa1443d77698e0f317837fc2d0a8319fa26499b28cd737d9cfb11772
4
- data.tar.gz: 32baa3b8aa5dee80fd77406d6c4a0c57f12e7376376ea0c86c6b565c00ae64d3
3
+ metadata.gz: 13060c6c9ddce8c61c472f9c099a3d25b15cc4276e06cb0087a65781105d2d01
4
+ data.tar.gz: 67687c9c0d7d29f976829c4e49a18377a72cb01861f2ce5a4d79db3bb2098575
5
5
  SHA512:
6
- metadata.gz: c90bfdc98da6018c4d600eb07eae193abfdea2147137688fa44bdc5f3dc5d10df4d1a87556ba5f2806d89a58d10ace535835fba02eeaf0e6db01cc6581a11ff6
7
- data.tar.gz: 53a0208a38ebbc78170d955bd697fe7b01b06587165fd18a808200572bc07b632095960f0f4d78d1d4d1a370cdb4c25a5975c2fbe8d3569af86db3195e9bc8ce
6
+ metadata.gz: c9995967f6921852e1d1d631462aa51f6952dd9b0c6f3466730175b1fec3b9d3d576e2215c1dcb8a8dcc6ec3d73fd9817d6a9c9a272f1b8e4083e88076fd8b62
7
+ data.tar.gz: 8362dea3465f17a7e5eaa58594a6bae2736b5b681c1e4c7cc84fd1cfd2e4f26a994d94b0b55361a5582d0ff715d50feab5ecd46c52064c523953ae6c594b7f0c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 0.0.3 - 2025-02-21
4
+
5
+ - More general implementation
6
+
3
7
  ## 0.0.2 - 2025-02-21
4
8
 
5
9
  Just bump the version
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Tiaoke Wang
1
+ Copyright (c) 2025 Tiaoke Wang
2
2
 
3
3
  MIT License
4
4
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/lib/guest/guest.rb CHANGED
@@ -1,17 +1,10 @@
1
1
  require 'logger'
2
2
 
3
- module GuestCqos
4
- class Guest < Vagrant.plugin("2", :guest)
5
- GUEST_NAME = "cqos".freeze
3
+ require Vagrant.source_root.join("plugins/guests/linux/guest")
6
4
 
7
- # def detect?(machine)
8
- # # TODO: run a command on the guest to determine if it is running
9
- # # the OS expected by this plugin. If it is, return true, otherwise
10
- # # return false and Vagrant will try with another guest plugin.
11
- # # You can run a command on the guest machine using a communicator.
12
- # # Ror example: `machine.communicate.test("")`
13
- # # return false
14
- # machine.communicate.test("cat /etc/cqos-release")
15
- # end
5
+ module GuestCqos
6
+ class Guest < VagrantPlugins::GuestLinux::Guest
7
+ # Name used for guest detection
8
+ GUEST_DETECTION_NAME = "cqos".freeze
16
9
  end
17
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-cqos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wang TiaoKe