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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63718888ab30bc62003ce3294ba8537125384e0f
4
- data.tar.gz: 69905b24c7dbbfb1282803f8c9f08c5d7e47b826
3
+ metadata.gz: 2f87e8b85aeec9ba9c97de5599a2b8e9aa178ce6
4
+ data.tar.gz: df21b528d99134bf4b425621e28b742964b2f639
5
5
  SHA512:
6
- metadata.gz: bb3dc383b35d8037283e4b0d9c0b13f9eb84dda48ea235c5bc305b6c71551d792a15e8a6bbc201e398f76da04e8d0bfff18de1b788a8c16838b9eb08a5b8cc76
7
- data.tar.gz: 17148bf32c0a504eaa38b62bcc620d6003ed2c952b18a16c54d209aeca8f485b035b9dc5097c1350f626540f1197ffa7c7276a8df3ca09023af4959540be55d1
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.32.0...master)
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
 
@@ -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).expand_path}/*.rb")
184
+ @cli.options[:tests] = Dir.glob("#{Pathname(resource)}/*.rb")
185
185
  else
186
- @cli.options[:tests] = [Pathname(resource).expand_path.to_s]
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,
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '3.32.0'
3
+ STRING = '3.33.0'
4
4
  end
5
5
  end
@@ -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.32.0
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-02-23 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec