beaker 3.32.0 → 3.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/beaker/subcommand.rb +2 -2
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/subcommand_spec.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f87e8b85aeec9ba9c97de5599a2b8e9aa178ce6
|
4
|
+
data.tar.gz: df21b528d99134bf4b425621e28b742964b2f639
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba2b3473b8703336bba02a1dffa528d86ec02f4b2c2ebd0a054bd2789dbb956eefaee12174ed7326a05ef6b5b210c6c0ae0a3fe51b31699fe3cd7b31b2988986
|
7
|
+
data.tar.gz: 9c4f9cbf081c56e727054627c7313bdb00d3b670ee578fef65cd0e360436eec6f986f4d15299e628c097e6975ff20af370e84a79d0888d20fc7fc12a8ba29b84
|
data/CHANGELOG.md
CHANGED
@@ -11,7 +11,13 @@ Tracking in this Changelog began for this project in version 3.25.0.
|
|
11
11
|
If you're looking for changes from before this, refer to the project's
|
12
12
|
git logs & PR history.
|
13
13
|
|
14
|
-
# [Unreleased](https://github.com/puppetlabs/beaker/compare/3.
|
14
|
+
# [Unreleased](https://github.com/puppetlabs/beaker/compare/3.33.0...master)
|
15
|
+
|
16
|
+
# [3.33.0](https://github.com/puppetlabs/beaker/compare/3.32.0...3.33.0) - 2018-03-07
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
|
20
|
+
- Use relative paths for beaker exec
|
15
21
|
|
16
22
|
# [3.32.0](https://github.com/puppetlabs/beaker/compare/3.31.0...3.32.0) - 2018-02-22
|
17
23
|
|
data/lib/beaker/subcommand.rb
CHANGED
@@ -181,9 +181,9 @@ module Beaker
|
|
181
181
|
@cli.options[suite] = []
|
182
182
|
end
|
183
183
|
if Pathname(resource).directory?
|
184
|
-
@cli.options[:tests] = Dir.glob("#{Pathname(resource)
|
184
|
+
@cli.options[:tests] = Dir.glob("#{Pathname(resource)}/*.rb")
|
185
185
|
else
|
186
|
-
@cli.options[:tests] = [Pathname(resource).
|
186
|
+
@cli.options[:tests] = [Pathname(resource).to_s]
|
187
187
|
end
|
188
188
|
elsif resource.match(/pre-suite|tests|post-suite|pre-cleanup/)
|
189
189
|
# The regex match here is loose so that users can supply multiple suites,
|
data/lib/beaker/version.rb
CHANGED
@@ -178,7 +178,6 @@ module Beaker
|
|
178
178
|
|
179
179
|
expect_any_instance_of(Pathname).to receive(:exist?).and_return(true)
|
180
180
|
expect_any_instance_of(Pathname).to receive(:directory?).and_return(false)
|
181
|
-
expect_any_instance_of(Pathname).to receive(:expand_path).once
|
182
181
|
expect_any_instance_of(Beaker::CLI).to receive(:execute!).once
|
183
182
|
expect{subcommand.exec('resource')}.to_not raise_error
|
184
183
|
end
|
@@ -187,7 +186,6 @@ module Beaker
|
|
187
186
|
expect_any_instance_of(Pathname).to receive(:exist?).and_return(true)
|
188
187
|
expect_any_instance_of(Pathname).to receive(:directory?).and_return(true)
|
189
188
|
expect(Dir).to receive(:glob)
|
190
|
-
expect_any_instance_of(Pathname).to receive(:expand_path).once
|
191
189
|
expect_any_instance_of(Beaker::CLI).to receive(:execute!).once
|
192
190
|
expect{subcommand.exec('resource')}.to_not raise_error
|
193
191
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|