beaker-hiera 0.3.0 → 0.4.0

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: 3f452d3f2513e4aba4d980f029222044b4f899d92c68ae02f71f8c25bbfd531a
4
- data.tar.gz: b03bc1cf07161dbe89c7915c7b3f489a7f37b471aee548f8d26438a39e9bb46f
3
+ metadata.gz: '063381dc747483f09d3a2c79c70d81e8a72b0abaf1a5ab31e9f62395747f34e9'
4
+ data.tar.gz: 7803c73a1abc13a5c1e6c6cf517cb9aab4ad6a875e363e8228ad5177aae28f48
5
5
  SHA512:
6
- metadata.gz: 17e9609cbf693def9d87ecfb7c51df255a143cbdbf3e03dd791b5cd44520d6861495d06c4292403c9240391aba7ddaeb3dafc696b6b5c570e65e359fad18e000
7
- data.tar.gz: 8bfb95f9b8331d10c3185760425668898ab445c46889ddf8e4b857f2149e6d5973ae3e686859bb2d7544e81496b257525fbfa1e0ee79a54426110dc30f062874
6
+ metadata.gz: fc401af5ec25921c0a2e7fcb3d9e77f312485d47564eec3f2f4acbeaa74a35e90171b834ccd52f9390212382406a5e00108d3550af673e684378e04427c4c2c0
7
+ data.tar.gz: 7d5adec446f0efaf74435bc45ec9491a1df00d3b85c2bdfeb73aee6f1f796cfa438a58e7c177c98515b709a6b38620959de1e72b6b59d6e3671b70f94b993315
@@ -15,6 +15,7 @@ jobs:
15
15
  - "2.5"
16
16
  - "2.6"
17
17
  - "2.7"
18
+ - "3.0"
18
19
  name: Ruby ${{ matrix.ruby }}
19
20
  steps:
20
21
  - uses: actions/checkout@v2
data/HISTORY.md CHANGED
@@ -7,6 +7,11 @@
7
7
 
8
8
  ## Details
9
9
 
10
+ ### <a name = "0.4.0">0.4.0 - 19 May, 2021
11
+
12
+ * Support Ruby 3
13
+ * Handle an array of hosts in copy_hiera_data_to
14
+
10
15
  ### <a name = "0.3.0">0.3.0 - 18 May, 2021
11
16
 
12
17
  * Major update to work with Beaker 4
data/beaker-hiera.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
17
17
  s.require_paths = ['lib']
18
18
 
19
- s.required_ruby_version = '~> 2.4'
19
+ s.required_ruby_version = '>= 2.4', '< 4'
20
20
 
21
21
  # Testing dependencies
22
22
  s.add_development_dependency 'pry', '~> 0.10'
@@ -43,7 +43,9 @@ module Beaker
43
43
  # @param [String] source
44
44
  # Directory containing the hiera data files.
45
45
  def copy_hiera_data_to(host, source)
46
- scp_to host, File.expand_path(source), hiera_datadir(host)
46
+ block_on host do |hst|
47
+ scp_to hst, File.expand_path(source), hiera_datadir(hst)
48
+ end
47
49
  end
48
50
 
49
51
  # Copy hiera data files to the default host
@@ -4,7 +4,7 @@ module Beaker
4
4
  module Hiera
5
5
  module Version
6
6
  # Current version of beaker-hiera
7
- STRING = '0.3.0'.freeze
7
+ STRING = '0.4.0'.freeze
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-hiera
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-05-18 00:00:00.000000000 Z
12
+ date: 2021-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
@@ -158,9 +158,12 @@ require_paths:
158
158
  - lib
159
159
  required_ruby_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - "~>"
161
+ - - ">="
162
162
  - !ruby/object:Gem::Version
163
163
  version: '2.4'
164
+ - - "<"
165
+ - !ruby/object:Gem::Version
166
+ version: '4'
164
167
  required_rubygems_version: !ruby/object:Gem::Requirement
165
168
  requirements:
166
169
  - - ">="