vagrant-zones 0.1.67 → 0.1.70

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a85d1a17b093adfe212f62f5e6c9b125522cfe74ca11a5bc49ce2c7d3d2538b6
4
- data.tar.gz: 1088bd88e036a9e31dff0482b59b9bb67d5d16d85576483b52bb9a1134a9bec2
3
+ metadata.gz: cf7f2d51ab8e038a7346aeff1ce52039e977e173188d7d18e1686b46d75bc9cb
4
+ data.tar.gz: 0fbdc3639297fe146af42a13aa48f0fb4875ef14a722d2bd1943dc2f9c6e8d17
5
5
  SHA512:
6
- metadata.gz: 95b4f1a43bdb4bc73bd832afe1f27fd7b5b3b4c6551b92229e25a082b710197c63d09d0bdf2460fe1dd3778a36bc1dbd6f3fbd4f6b6cf09e13f38bc5efd96a7a
7
- data.tar.gz: 30c81f5321792fbd92eaafd2eddafae0f2c8e8d20a7889ca540ba8fba3fbeb939f385837badd8d5f35d82b10e80e25543df5a99c651c25bb6ceb4e67ba89b4af
6
+ metadata.gz: 262811c3d2d50b6e7e5f506bd3326331bdaafa11aeb2b2fc0f7c3de5f25034faa07988ff46bfeeea72fc78b994988a8d1c19546468f1a772882266272d1e0d72
7
+ data.tar.gz: 4a83da44cb68784fddb29042545e9ac31017cdc2d8fa30ee2a5346dd481111867b01360c2138f507b829d5fe61322947c7e1ac3e1590481991e6137355b6dbb1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.70](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.69...v0.1.70) (2023-01-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * detect if linux during packaging ([ab9538c](https://github.com/STARTcloud/vagrant-zones/commit/ab9538c70b4bf0d9911e7207bec410da7daf6b0c))
9
+ * random quote ([ef2939a](https://github.com/STARTcloud/vagrant-zones/commit/ef2939a459fc6f170e0f3f0d94cf27cfaf74056e))
10
+ * rubocop literal as condition ([6e25509](https://github.com/STARTcloud/vagrant-zones/commit/6e2550943cc9766683b240c05f8d62fe66035449))
11
+ * rubylint line length ([e8edabb](https://github.com/STARTcloud/vagrant-zones/commit/e8edabbc120f4ba915497d789de768018a0883b7))
12
+
13
+ ## [0.1.69](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.68...v0.1.69) (2023-01-17)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * line count ([65edf07](https://github.com/STARTcloud/vagrant-zones/commit/65edf07b210b944d4e41f84686067086dc10b7fb))
19
+
20
+ ## [0.1.68](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.67...v0.1.68) (2023-01-17)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * packaging ([657b243](https://github.com/STARTcloud/vagrant-zones/commit/657b24334a29265ee1de55b30a051eff178bb568))
26
+
3
27
  ## [0.1.67](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.66...v0.1.67) (2023-01-15)
4
28
 
5
29
 
data/README.md CHANGED
@@ -4,6 +4,7 @@ Vagrant Plugin which can be used to managed Bhyve, LX and native zones on illumo
4
4
  This project is still in the early stages, any feedback is much appreciated
5
5
 
6
6
  [![Gem Version](https://badge.fury.io/rb/vagrant-zones.svg)](https://badge.fury.io/rb/vagrant-zones)
7
+ [![Test, Lint, Release and Publish](https://github.com/STARTcloud/vagrant-zones/actions/workflows/lint-release-and-publish.yml/badge.svg)](https://github.com/STARTcloud/vagrant-zones/actions/workflows/lint-release-and-publish.yml)
7
8
 
8
9
  - [Status](#status)
9
10
  - [Functions](../../wiki/Status#functions)
@@ -40,9 +40,7 @@ module VagrantPlugins
40
40
  Dir.mkdir(tmp_dir)
41
41
  datasetpath = "#{@machine.provider_config.boot['array']}/#{@machine.provider_config.boot['dataset']}/#{name}"
42
42
  t = Time.new
43
- d = '-'
44
- c = ':'
45
- datetime = %(#{t.year}#{d}#{t.month}#{d}#{t.day}#{d}#{t.hour}#{c}#{t.min}#{c}#{t.sec})
43
+ datetime = %(#{t.year}-#{t.month}-#{t.day}-#{t.hour}:#{t.min}:#{t.sec})
46
44
  snapshot_create(datasetpath, datetime, env[:ui], @machine.provider_config)
47
45
  snapshot_send(datasetpath, "#{tmp_dir}/box.zss", datetime, env[:ui], @machine.provider_config)
48
46
  ## snapshot_delete(datasetpath, env[:ui], datetime)
@@ -126,7 +124,9 @@ module VagrantPlugins
126
124
  end
127
125
 
128
126
  def assemble_box(boxname, extra)
129
- `tar -cvzEf "#{boxname}" ./metadata.json ./Vagrantfile ./box.zss #{extra}`
127
+ is_linux = `bash -c '[[ "$(uname -a)" =~ "Linux" ]]'`
128
+ `tar -cvzf #{boxname} ./metadata.json ./Vagrantfile ./box.zss #{extra}` if is_linux
129
+ `tar -cvzEf #{boxname} ./metadata.json ./Vagrantfile ./box.zss #{extra}` unless is_linux
130
130
  end
131
131
  end
132
132
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module VagrantPlugins
4
4
  module ProviderZone
5
- VERSION = '0.1.67'
5
+ VERSION = '0.1.70'
6
6
  NAME = 'vagrant-zones'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-zones
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.67
4
+ version: 0.1.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Gilbert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-15 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n