vagrant-k3s 0.2.1 → 0.3.0

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: d58370523d41e4bf97bfc2beecb7751dad4001ff4f7e035937448a1a10883192
4
- data.tar.gz: 58769f229916b8b39c5e37cccfe33fc055327682e3013602e3154c322fc9c7d8
3
+ metadata.gz: d35d07e20fccbefd8d5c9bc0988788cb7fe76faba596097381be5a7bdd2e3798
4
+ data.tar.gz: 5dfe03207f0b399821a66df81487c5e3f3062c5afc81b00eab02f07959f398e0
5
5
  SHA512:
6
- metadata.gz: 0d1ec1a64984af480b2bd1cc668c10d805f8023d76fa3724d844e49465a9c749c6932ade187672f4951377e8dcd3f87dcfb60d25de6c78547eb2246b6aad13c7
7
- data.tar.gz: 2e6e74745f4d2c9048fcd199d8e1d7b9573412bd7b6c361620d8b7daa7d8e565275e4d2f6cb0d20a0f9c5d5054c926e82d4fbeb6b7b301348ee7eef94c44fa1f
6
+ metadata.gz: 77a383fa3b8f11d0a43e71b08d244d8876bbac35b302e21a478d9ebb52d375efc12159dab9b291fc4b09d47cb26a584141b7542a45a4a879e9715fc9af019b48
7
+ data.tar.gz: d63d858d735855f53bbdbfa1d054205328ddcd8573b74fb079d97693c5074af57e7e81e4cb7752f1be968ff527b8b432bf705db046591251b2c5ca1e33fb3e2a
data/Gemfile CHANGED
@@ -3,7 +3,7 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  group :development do
6
- gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git', tag: "v2.3.6"
6
+ gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git'
7
7
  end
8
8
 
9
9
  group :plugins do
data/Gemfile.lock CHANGED
@@ -1,112 +1,127 @@
1
1
  GIT
2
2
  remote: https://github.com/hashicorp/vagrant.git
3
- revision: 7d35c832db0cbdd80d4c3bfeaaad550480b70dd1
4
- tag: v2.3.6
3
+ revision: c70e8ab32cd3505637e3ada6de589758bf4fbf92
5
4
  specs:
6
- vagrant (2.3.6)
5
+ vagrant (2.4.8.dev)
6
+ base64 (~> 0.2.0)
7
7
  bcrypt_pbkdf (~> 1.1)
8
- childprocess (~> 4.1.0)
8
+ childprocess (~> 5.1)
9
+ csv (~> 3.3)
9
10
  ed25519 (~> 1.3.0)
10
11
  erubi
11
- googleapis-common-protos-types (~> 1.3)
12
- grpc
13
12
  hashicorp-checkpoint (~> 0.1.5)
14
13
  i18n (~> 1.12)
15
14
  ipaddr (>= 1.2.4)
16
15
  listen (~> 3.7)
17
16
  log4r (~> 1.1.9, < 1.1.11)
17
+ logger (~> 1.0)
18
18
  mime-types (~> 3.3)
19
19
  net-ftp (~> 0.2)
20
20
  net-scp (~> 4.0)
21
21
  net-sftp (~> 4.0)
22
22
  net-ssh (~> 7.0)
23
+ ostruct (~> 0.6.0)
23
24
  rb-kqueue (~> 0.2.0)
24
25
  rexml (~> 3.2)
25
- rgl (~> 0.5.10)
26
26
  rubyzip (~> 2.3.2)
27
- vagrant_cloud (~> 3.0.5)
28
- wdm (~> 0.1.1)
29
- winrm (>= 2.3.6, < 3.0)
27
+ vagrant_cloud (~> 3.1.2)
28
+ wdm (~> 0.2.0)
29
+ winrm (>= 2.3.9, < 3.0)
30
30
  winrm-elevated (>= 1.2.3, < 2.0)
31
31
  winrm-fs (>= 1.3.5, < 2.0)
32
32
 
33
33
  PATH
34
34
  remote: .
35
35
  specs:
36
- vagrant-k3s (0.2.0)
36
+ vagrant-k3s (0.3.0)
37
37
 
38
38
  GEM
39
39
  remote: https://rubygems.org/
40
40
  specs:
41
- bcrypt_pbkdf (1.1.0)
42
- builder (3.2.4)
43
- childprocess (4.1.0)
44
- concurrent-ruby (1.2.2)
45
- date (3.3.3)
41
+ base64 (0.2.0)
42
+ bcrypt_pbkdf (1.1.1)
43
+ bigdecimal (3.2.2)
44
+ builder (3.3.0)
45
+ childprocess (5.1.0)
46
+ logger (~> 1.5)
47
+ concurrent-ruby (1.3.5)
48
+ csv (3.3.5)
49
+ date (3.4.1)
46
50
  diff-lcs (1.5.0)
47
51
  ed25519 (1.3.0)
48
- erubi (1.12.0)
49
- excon (0.100.0)
50
- ffi (1.15.5)
51
- google-protobuf (3.23.3-arm64-darwin)
52
- google-protobuf (3.23.3-x86_64-darwin)
53
- google-protobuf (3.23.3-x86_64-linux)
54
- googleapis-common-protos-types (1.6.0)
55
- google-protobuf (~> 3.14)
56
- grpc (1.56.0)
57
- google-protobuf (~> 3.23)
58
- googleapis-common-protos-types (~> 1.0)
59
- grpc (1.56.0-x86_64-darwin)
60
- google-protobuf (~> 3.23)
61
- googleapis-common-protos-types (~> 1.0)
62
- grpc (1.56.0-x86_64-linux)
63
- google-protobuf (~> 3.23)
64
- googleapis-common-protos-types (~> 1.0)
52
+ erubi (1.13.1)
53
+ excon (1.2.7)
54
+ logger
55
+ faraday (2.13.1)
56
+ faraday-net_http (>= 2.0, < 3.5)
57
+ json
58
+ logger
59
+ faraday-net_http (3.4.1)
60
+ net-http (>= 0.5.0)
61
+ ffi (1.17.2-x86_64-linux-gnu)
65
62
  gssapi (1.3.1)
66
63
  ffi (>= 1.0.1)
67
64
  gyoku (1.4.0)
68
65
  builder (>= 2.1.2)
69
66
  rexml (~> 3.0)
70
- hashicorp-checkpoint (0.1.5)
71
- httpclient (2.8.3)
72
- i18n (1.14.1)
67
+ hashicorp-checkpoint (0.1.6)
68
+ hashie (5.0.0)
69
+ httpclient (2.9.0)
70
+ mutex_m
71
+ i18n (1.14.7)
73
72
  concurrent-ruby (~> 1.0)
74
- ipaddr (1.2.5)
75
- listen (3.8.0)
73
+ ipaddr (1.2.7)
74
+ json (2.12.2)
75
+ jwt (3.0.0)
76
+ base64
77
+ listen (3.9.0)
76
78
  rb-fsevent (~> 0.10, >= 0.10.3)
77
79
  rb-inotify (~> 0.9, >= 0.9.10)
78
80
  little-plugger (1.1.4)
79
81
  log4r (1.1.10)
80
- logging (2.3.1)
82
+ logger (1.7.0)
83
+ logging (2.4.0)
81
84
  little-plugger (~> 1.1)
82
85
  multi_json (~> 1.14)
83
- mime-types (3.4.1)
84
- mime-types-data (~> 3.2015)
85
- mime-types-data (3.2023.0218.1)
86
+ mime-types (3.7.0)
87
+ logger
88
+ mime-types-data (~> 3.2025, >= 3.2025.0507)
89
+ mime-types-data (3.2025.0617)
86
90
  multi_json (1.15.0)
87
- net-ftp (0.2.0)
91
+ multi_xml (0.7.2)
92
+ bigdecimal (~> 3.1)
93
+ mutex_m (0.3.0)
94
+ net-ftp (0.3.8)
88
95
  net-protocol
89
96
  time
90
- net-protocol (0.2.1)
97
+ net-http (0.6.0)
98
+ uri
99
+ net-protocol (0.2.2)
91
100
  timeout
92
- net-scp (4.0.0)
101
+ net-scp (4.1.0)
93
102
  net-ssh (>= 2.6.5, < 8.0.0)
94
103
  net-sftp (4.0.0)
95
104
  net-ssh (>= 5.0.0, < 8.0.0)
96
- net-ssh (7.1.0)
97
- nori (2.6.0)
98
- pairing_heap (3.0.1)
105
+ net-ssh (7.3.0)
106
+ nori (2.7.1)
107
+ bigdecimal
108
+ oauth2 (2.0.12)
109
+ faraday (>= 0.17.3, < 4.0)
110
+ jwt (>= 1.0, < 4.0)
111
+ logger (~> 1.2)
112
+ multi_xml (~> 0.5)
113
+ rack (>= 1.2, < 4)
114
+ snaky_hash (~> 2.0, >= 2.0.3)
115
+ version_gem (>= 1.1.8, < 3)
116
+ ostruct (0.6.2)
117
+ rack (3.1.16)
99
118
  rake (13.0.6)
100
119
  rb-fsevent (0.11.2)
101
- rb-inotify (0.10.1)
120
+ rb-inotify (0.11.1)
102
121
  ffi (~> 1.0)
103
122
  rb-kqueue (0.2.8)
104
123
  ffi (>= 0.5.0)
105
- rexml (3.2.5)
106
- rgl (0.5.10)
107
- pairing_heap (>= 0.3.0)
108
- rexml (~> 3.2, >= 3.2.4)
109
- stream (~> 0.5.3)
124
+ rexml (3.4.1)
110
125
  rspec (3.12.0)
111
126
  rspec-core (~> 3.12.0)
112
127
  rspec-expectations (~> 3.12.0)
@@ -120,25 +135,32 @@ GEM
120
135
  diff-lcs (>= 1.2.0, < 2.0)
121
136
  rspec-support (~> 3.12.0)
122
137
  rspec-support (3.12.0)
123
- rubyntlm (0.6.3)
138
+ rubyntlm (0.6.5)
139
+ base64
124
140
  rubyzip (2.3.2)
125
- stream (0.5.5)
126
- time (0.2.2)
141
+ snaky_hash (2.0.3)
142
+ hashie (>= 0.1.0, < 6)
143
+ version_gem (>= 1.1.8, < 3)
144
+ time (0.4.1)
127
145
  date
128
- timeout (0.3.2)
129
- vagrant_cloud (3.0.5)
130
- excon (~> 0.73)
131
- log4r (~> 1.1.10)
132
- rexml (~> 3.2.5)
133
- wdm (0.1.1)
134
- winrm (2.3.6)
146
+ timeout (0.4.3)
147
+ uri (1.0.3)
148
+ vagrant_cloud (3.1.3)
149
+ excon (~> 1.0)
150
+ log4r (~> 1.1)
151
+ oauth2 (~> 2.0)
152
+ rexml (~> 3.3)
153
+ version_gem (1.1.8)
154
+ wdm (0.2.0)
155
+ winrm (2.3.9)
135
156
  builder (>= 2.1.2)
136
157
  erubi (~> 1.8)
137
158
  gssapi (~> 1.2)
138
159
  gyoku (~> 1.0)
139
160
  httpclient (~> 2.2, >= 2.2.0.2)
140
161
  logging (>= 1.6.1, < 3.0)
141
- nori (~> 2.0)
162
+ nori (~> 2.0, >= 2.7.1)
163
+ rexml (~> 3.0)
142
164
  rubyntlm (~> 0.6.0, >= 0.6.3)
143
165
  winrm-elevated (1.2.3)
144
166
  erubi (~> 1.8)
@@ -151,12 +173,10 @@ GEM
151
173
  winrm (~> 2.0)
152
174
 
153
175
  PLATFORMS
154
- arm64-darwin-22
155
- x86_64-darwin-20
156
176
  x86_64-linux
157
177
 
158
178
  DEPENDENCIES
159
- rake (~> 13.0)
179
+ rake (>= 13.0)
160
180
  rspec (~> 3.11)
161
181
  vagrant!
162
182
  vagrant-k3s!
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
- require 'multi_json/convertible_hash_keys'
4
3
  require 'vagrant'
5
4
  require 'vagrant/errors'
6
5
  require 'yaml'
@@ -8,7 +7,6 @@ require 'yaml'
8
7
  module VagrantPlugins
9
8
  module K3s
10
9
  class Provisioner < Vagrant.plugin('2', :provisioner)
11
- include MultiJson::ConvertibleHashKeys
12
10
  def initialize(machine,config)
13
11
  super(machine,config)
14
12
  @logger = Log4r::Logger.new("vagrant::provisioners::k3s")
@@ -35,7 +33,7 @@ module VagrantPlugins
35
33
  end
36
34
 
37
35
  cfg_file = config.config_path.to_s
38
- cfg_yaml = config.config.is_a?(String) ? config.config : stringify_keys(config.config).to_yaml
36
+ cfg_yaml = config.config.is_a?(String) ? config.config : config.config.transform_keys(&:to_s).to_yaml
39
37
  file_upload "k3s-config.yaml", cfg_file, cfg_yaml
40
38
 
41
39
  env_file = config.env_path.to_s
@@ -2,6 +2,6 @@
2
2
 
3
3
  module VagrantPlugins
4
4
  module K3s
5
- VERSION = '0.2.1'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+ $:.unshift File.expand_path("../lib", __FILE__)
3
+ require 'vagrant-k3s/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'vagrant-k3s'
7
+ spec.version = VagrantPlugins::K3s::VERSION
8
+ spec.platform = Gem::Platform::RUBY
9
+ spec.authors = ['Derek Nola', 'Jacob Blain Christen']
10
+ spec.email = ['derek.nola@suse.com', 'dweomer5@gmail.com']
11
+
12
+ spec.license = 'Apache-2.0'
13
+
14
+ spec.summary = 'Manage k3s installations on Vagrant guests.'
15
+ spec.description = spec.summary
16
+ spec.homepage = 'https://github.com/k3s-io/vagrant-k3s'
17
+
18
+ spec.metadata['homepage_uri'] = spec.homepage
19
+ spec.metadata['source_code_uri'] = spec.homepage
20
+
21
+ spec.required_ruby_version = ">= 2.7"
22
+ spec.required_rubygems_version = ">= 3.0.0"
23
+
24
+ spec.add_development_dependency "rake", ">= 13.0"
25
+ spec.add_development_dependency "rspec", "~> 3.11"
26
+
27
+ # Specify which files should be added to the gem when it is released.
28
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
29
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
30
+ `git ls-files -z`.split("\x0").reject do |f|
31
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
32
+ end
33
+ end
34
+ spec.bindir = 'exe'
35
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
36
+ spec.require_paths = ['lib']
37
+ end
metadata CHANGED
@@ -1,28 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-k3s
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Nola
8
8
  - Jacob Blain Christen
9
- autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2024-02-21 00:00:00.000000000 Z
11
+ date: 2025-06-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - "~>"
17
+ - - ">="
19
18
  - !ruby/object:Gem::Version
20
19
  version: '13.0'
21
20
  type: :development
22
21
  prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
23
  requirements:
25
- - - "~>"
24
+ - - ">="
26
25
  - !ruby/object:Gem::Version
27
26
  version: '13.0'
28
27
  - !ruby/object:Gem::Dependency
@@ -70,13 +69,13 @@ files:
70
69
  - lib/vagrant-k3s/plugin.rb
71
70
  - lib/vagrant-k3s/provisioner.rb
72
71
  - lib/vagrant-k3s/version.rb
72
+ - vagrant-k3s.gemspec
73
73
  homepage: https://github.com/k3s-io/vagrant-k3s
74
74
  licenses:
75
75
  - Apache-2.0
76
76
  metadata:
77
77
  homepage_uri: https://github.com/k3s-io/vagrant-k3s
78
78
  source_code_uri: https://github.com/k3s-io/vagrant-k3s
79
- post_install_message:
80
79
  rdoc_options: []
81
80
  require_paths:
82
81
  - lib
@@ -85,17 +84,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
84
  - - ">="
86
85
  - !ruby/object:Gem::Version
87
86
  version: '2.7'
88
- - - "<"
89
- - !ruby/object:Gem::Version
90
- version: '3.3'
91
87
  required_rubygems_version: !ruby/object:Gem::Requirement
92
88
  requirements:
93
89
  - - ">="
94
90
  - !ruby/object:Gem::Version
95
- version: 1.3.6
91
+ version: 3.0.0
96
92
  requirements: []
97
- rubygems_version: 3.3.5
98
- signing_key:
93
+ rubygems_version: 3.6.3
99
94
  specification_version: 4
100
95
  summary: Manage k3s installations on Vagrant guests.
101
96
  test_files: []