vagrant-host-artix 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0b4707c93720f594c7415c11b471559adce927136376ebb79f436898c40eb3e
4
- data.tar.gz: eb3c081808e374592856827c5915ca1dfa01a8f9ed1966fae75a8662a7022e99
3
+ metadata.gz: '098c00231bb634f525ced0beca507612b97e9213f00eb1b071d636dbded16aea'
4
+ data.tar.gz: 9a082c0a3c4080f730dc24ba898d57d23cf2584d7ea4c7e42ce90887b0c247e4
5
5
  SHA512:
6
- metadata.gz: 6e27625dde8b8b58137ea53a13458ff89ab60d9f146a1a1207c90197d85bd692ac4af87928758eeffb692c3e4192917a8725e434e8cb832853815fe4b627152f
7
- data.tar.gz: 248e44a73f930a3f8f603f647791c8f15ff39811c5f629414ea3a84f572c78c585148e29ef2bac937ccdf6f17da5d571c97e8e1f99c55047edf944a795c7340e
6
+ metadata.gz: 20ef4d8b725a8885065de7e50693d129b436b2a0317abd01f657287fd1b1f3883e4c848962be41a0f9feabb997d0a2bbbb39194ba782227925ead85ff1823a14
7
+ data.tar.gz: 6cead65f33974def6ecd52b75eaeebe9eb7a6a82ba5123559eae23d87fed127c429059df95f58eb924fd2f67a7c3506a4b8b7feb060db09ac6f5e81df9e09ac0
@@ -17,5 +17,5 @@ jobs:
17
17
  with:
18
18
  ruby-version: '3.1'
19
19
  - name: Build RubyGem
20
- run: gem build my-vagrant-host-plugin-ruby-template.gemspec
20
+ run: gem build vagrant-host-artix.gemspec
21
21
  working-directory: ${{github.workspace}}
data/README.md CHANGED
@@ -4,7 +4,17 @@ This Ruby Gem enables support for Artix Linux Hosts on Vagrant 2.x.
4
4
 
5
5
  ### Installing
6
6
 
7
- Currently installation can only be done from source, thus you will need to clone the repository:
7
+ #### Via Vagrant plugin
8
+
9
+ The plugin is available as a Ruby Gem, thus you should be able to install it using the following command:
10
+
11
+ ```
12
+ vagrant plugin install vagrant-host-artix
13
+ ```
14
+
15
+ #### From Source
16
+
17
+ To install the plugin from source you will need to clone the repository:
8
18
 
9
19
  ```
10
20
  git clone git@github.com:Penaz91/vagrant-host-artix.git
@@ -20,13 +30,9 @@ gem build vagrant-host-artix.gemspec
20
30
  After that you can install the plugin:
21
31
 
22
32
  ```
23
- vagrant plugin install vagrant-host-artix-0.0.1.gem
33
+ vagrant plugin install vagrant-host-artix-0.0.3.gem
24
34
  ```
25
35
 
26
- ### Known Issues
27
-
28
- Some Artix systems may be migrated from Arch Linux. These systems will be detected by the builtin Arch host plugin, due to the presence of the `/etc/arch-release` file. Until this issue isn't fixed upstream, it's suggested to rename or delete such file.
29
-
30
36
  ### TODOs
31
37
 
32
38
  - [x] Testing on OpenRC
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/lib/host/host.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  require 'logger'
2
2
 
3
3
  module VagrantArtixHost
4
- class Host < Vagrant.plugin("2", :host)
4
+ class Host < Vagrant.plugin('2', :host)
5
5
  def detect?(env)
6
- File.exist?("/etc/artix-release")
6
+ File.exist?('/etc/artix-release')
7
7
  end
8
8
  end
9
9
  end
data/lib/host/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module VagrantArtixHost
2
- VERSION = File.read(File.expand_path("../../../VERSION", __FILE__)).chop
2
+ VERSION = File.read(File.expand_path('../../../VERSION', __FILE__)).chop
3
3
  end
@@ -1,14 +1,14 @@
1
1
  begin
2
- require "vagrant"
2
+ require 'vagrant'
3
3
  rescue LoadError
4
- raise "Vagrant is required!"
4
+ raise 'Vagrant is required!'
5
5
  end
6
6
 
7
- require "host/host"
7
+ require 'host/host'
8
8
 
9
9
  module VagrantArtixHost
10
- class Plugin < Vagrant.plugin("2")
11
- name "VagrantArtixHost"
10
+ class Plugin < Vagrant.plugin('2')
11
+ name 'VagrantArtixHost'
12
12
  description <<-DESC
13
13
  Vagrant Host plugin for Artix Linux
14
14
  DESC
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-host-artix
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
  - Daniele Penazzo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-21 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake