beaker 2.47.0 → 2.47.1
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 +8 -8
- data/HISTORY.md +20 -2
- data/lib/beaker/shared/host_manager.rb +1 -1
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/shared/host_manager_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2EyOTk3ODFjZGY3YzkxYjRiZDQ3MmMzODdiYjk5YTgyZDAxYzE3Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjFhMjEzOWI0NWVlODMwZDA5NmVhMDA2YjI4YmM4M2U3NzNkM2I1ZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGMwOTlmYTEwYzA5ZDE3YTJkYmNjYTRkYjZiMTgzMGYzNTAwOGFkNGU0Nzkz
|
10
|
+
MWFiZjlhNmU1Zjk2YmFkN2Y0NjJjYjIwMjBjMjkzYTUxYjM5OGI1ZjcwNTU3
|
11
|
+
MDk2NTIwMTcxYjFjYzJhZGFmNTRkZWFmYjU3MjE0MWExNjQ2ZjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDU1ZDUyNmI4ODAwYWRjYTg3ZGNlYTM5Y2IyYzhhNWU1YTIyY2E1MjMzZTk1
|
14
|
+
Yjg1OTE5ZGIxN2EzNTkyYTBkN2MzMGNjNmVjYmNhMWQ5YTI3YjAyNzI5MzM3
|
15
|
+
MDkwZmMyODgzNjMxYTBkNWFkZjMyOThhNjMwZGVkNDdmZTVjMzc=
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# default - History
|
2
2
|
## Tags
|
3
|
-
* [LATEST -
|
3
|
+
* [LATEST - 15 Jul, 2016 (7c89a4d0)](#LATEST)
|
4
|
+
* [2.47.0 - 13 Jul, 2016 (bf4cbcf0)](#2.47.0)
|
4
5
|
* [2.46.0 - 8 Jul, 2016 (3a650c95)](#2.46.0)
|
5
6
|
* [2.45.0 - 29 Jun, 2016 (c0b56972)](#2.45.0)
|
6
7
|
* [2.44.0 - 9 Jun, 2016 (38dfb77f)](#2.44.0)
|
@@ -123,7 +124,24 @@
|
|
123
124
|
* [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
|
124
125
|
|
125
126
|
## Details
|
126
|
-
### <a name = "LATEST">LATEST -
|
127
|
+
### <a name = "LATEST">LATEST - 15 Jul, 2016 (7c89a4d0)
|
128
|
+
|
129
|
+
* (GEM) update beaker version to 2.47.1 (7c89a4d0)
|
130
|
+
|
131
|
+
* (BKR-884) Fix issue in run_block_on (#1183) (abced8b0)
|
132
|
+
|
133
|
+
|
134
|
+
```
|
135
|
+
(BKR-884) Fix issue in run_block_on (#1183)
|
136
|
+
|
137
|
+
* (BKR-884) Need to check if opts[:run_in_parallel] == true
|
138
|
+
as if it evaluates to [], it will go into the if statement as it stands.
|
139
|
+
|
140
|
+
* Added unit test.
|
141
|
+
```
|
142
|
+
### <a name = "2.47.0">2.47.0 - 13 Jul, 2016 (bf4cbcf0)
|
143
|
+
|
144
|
+
* (HISTORY) update beaker history for gem release 2.47.0 (bf4cbcf0)
|
127
145
|
|
128
146
|
* (GEM) update beaker version to 2.47.0 (8bd72c92)
|
129
147
|
|
@@ -102,7 +102,7 @@ module Beaker
|
|
102
102
|
end
|
103
103
|
if block_hosts.is_a? Array
|
104
104
|
if block_hosts.length > 0
|
105
|
-
if opts[:run_in_parallel]
|
105
|
+
if opts[:run_in_parallel] == true
|
106
106
|
# Pass caller[1] - the line that called block_on - for logging purposes.
|
107
107
|
result = block_hosts.map.each_in_parallel(caller[1]) do |h|
|
108
108
|
run_block_on h, &block
|
data/lib/beaker/version.rb
CHANGED
@@ -163,6 +163,14 @@ module Beaker
|
|
163
163
|
}
|
164
164
|
end
|
165
165
|
|
166
|
+
it "will ignore run_in_parallel global option" do
|
167
|
+
myhosts = host_handler.run_block_on( hosts, nil, { :run_in_parallel => [] } ) do |host|
|
168
|
+
host
|
169
|
+
end
|
170
|
+
expect( InParallel::InParallelExecutor ).not_to receive(:_execute_in_parallel).with(any_args)
|
171
|
+
expect(myhosts).to eq(hosts)
|
172
|
+
end
|
173
|
+
|
166
174
|
it "does not run in parallel if there is only 1 host in the array" do
|
167
175
|
myhosts = host_handler.run_block_on( [hosts[0]], nil, { :run_in_parallel => true } ) do |host|
|
168
176
|
puts host
|
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: 2.47.
|
4
|
+
version: 2.47.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|