beaker-pe 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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yzg3NzgwODgwMmQ4ZTM5YTgxZWUxZjM0MGJhOTViZTA2NjBkYmYyYw==
4
+ OGNiYmFhYjQxZjA3NWI3ZjY2OTQ1ZWQ2ZGY5YjE4NzU3MDY5MDNlNQ==
5
5
  data.tar.gz: !binary |-
6
- NDlhMTNiZDZjYzZhNGQ5NDEwNzE1ODYyMmFiZjg4M2ViZDZmYjc1OA==
6
+ ZDYwZDc5ZDM4MGRhYjlkMDdiYTdlOTcyOTI3NGJiN2M4NWM4YjcxZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWM3YWJlNDlmMzY0YzM0MTYzZmY3ZGJiN2E0ZmMwMmY2YjQ1MTg3MjAyNWNj
10
- NjUzNmMwMTQwZWYzYmQ0ZTA1OTg5ZjIzY2VlYTQ5YTkxM2M3YzAyNzdmMTFk
11
- MzRjMDgyNDgzOWY5MTVlODZkMmFjMzNjYWZjZmUyMzAzMzZlZDE=
9
+ NzQ4ZDI4OGNhY2UwNTg3ZmZkZDRlMTJmZjUxNTI4MDUyYzRjOTAxZTZlODQx
10
+ NDBiOGZmMTI0MDU4M2NjYTcxY2M3Yzg4NWQ0MjVmNDhkNzFjYjY4OGY5OTcw
11
+ YTExOTZjMjlhNWEyOWY5NTZhYTQxZTFjODJhMjYwNDEwOWY5MDg=
12
12
  data.tar.gz: !binary |-
13
- NWFjMDEzODdlNjU3ZGJmMmQwZmZkOTY2NTBiYmM2MjE5ODFjNTM1NDcwMTcz
14
- M2QxY2YxNDRlMzc5OGMyOGYzODI2MjljNTczOGNlN2NiNDY1NGEwMGNmYjY0
15
- ZTcxYWQzYWYxMGQ1N2Q0NGY1YzExM2U5OWUzZTNhMjlkODg4Nzc=
13
+ MDgwNzY5MzBmZmMxOWIzY2JhNDE1MTBhYjVkMzI4YTc3YjQxNWIwMWVkZjFl
14
+ ZTQyOTkxMzNmZWNjMDQzZGEyYTQxMWUzNWM3YzEyNDE3ZDU4NWFjZmI3YTY3
15
+ YjgxMjA0Y2U5MjZkMmI0ZWEwNTJiYTljYzA4YjQyOTI5NWI1ZTk=
data/HISTORY.md CHANGED
@@ -1,13 +1,38 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 26 May, 2016 (d58ed99e)](#LATEST)
3
+ * [LATEST - 1 Jun, 2016 (e04b1f64)](#LATEST)
4
+ * [0.3.0 - 26 May, 2016 (0d6b6d4c)](#0.3.0)
4
5
  * [0.2.0 - 18 May, 2016 (a65f2083)](#0.2.0)
5
6
  * [0.1.2 - 4 Apr, 2016 (a6fd7bef)](#0.1.2)
6
7
  * [0.1.1 - 4 Apr, 2016 (8203d928)](#0.1.1)
7
8
  * [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
8
9
 
9
10
  ## Details
10
- ### <a name = "LATEST">LATEST - 26 May, 2016 (d58ed99e)
11
+ ### <a name = "LATEST">LATEST - 1 Jun, 2016 (e04b1f64)
12
+
13
+ * (GEM) update beaker-pe version to 0.4.0 (e04b1f64)
14
+
15
+ * Merge pull request #9 from jpartlow/issue/master/pe-14554-switch-default-to-meep (c9eff0ea)
16
+
17
+
18
+ ```
19
+ Merge pull request #9 from jpartlow/issue/master/pe-14554-switch-default-to-meep
20
+
21
+ (PE-14554) Switch default to meep
22
+ ```
23
+ * (PE-14554) Switch default to meep (f234e5fc)
24
+
25
+
26
+ ```
27
+ (PE-14554) Switch default to meep
28
+
29
+ If INSTALLER_TYPE is not set, beaker-pe will now default to a meep
30
+ install. You must set INSTALLER_TYPE to 'legacy' to get a legacy
31
+ install out of Beaker with this patch.
32
+ ```
33
+ ### <a name = "0.3.0">0.3.0 - 26 May, 2016 (0d6b6d4c)
34
+
35
+ * (HISTORY) update beaker-pe history for gem release 0.3.0 (0d6b6d4c)
11
36
 
12
37
  * (GEM) update beaker-pe version to 0.3.0 (d58ed99e)
13
38
 
@@ -519,7 +519,7 @@ module Beaker
519
519
  #
520
520
  # And then to just >= 2016.2.0 for cutover.
521
521
  def use_meep?(version)
522
- !version_is_less(version, MEEP_CUTOVER_VERSION) && ENV['INSTALLER_TYPE'] == 'meep'
522
+ !version_is_less(version, MEEP_CUTOVER_VERSION) && ENV['INSTALLER_TYPE'] != 'legacy'
523
523
  end
524
524
 
525
525
  # Set installer options on the passed *host* according to current
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '0.3.0'
6
+ STRING = '0.4.0'
7
7
  end
8
8
 
9
9
  end
@@ -373,6 +373,13 @@ describe ClassMixedWithDSLInstallUtils do
373
373
  it 'sets legacy settings' do
374
374
  expect(slice_installer_options(host)).to eq(legacy_settings)
375
375
  end
376
+
377
+ it 'test use_meep?' do
378
+ expect(subject.use_meep?('3.8.5')).to eq(false)
379
+ expect(subject.use_meep?('2016.1.2')).to eq(false)
380
+ expect(subject.use_meep?('2016.2.0')).to eq(false)
381
+ expect(subject.use_meep?('2016.2.0-rc1-gabcdef')).to eq(false)
382
+ end
376
383
  end
377
384
 
378
385
  context 'and ENV["INSTALLER_TYPE"]=="meep"' do
@@ -382,6 +389,23 @@ describe ClassMixedWithDSLInstallUtils do
382
389
  expect(slice_installer_options(host)).to eq(meep_settings)
383
390
  end
384
391
  end
392
+
393
+ context 'and ENV["INSTALLER_TYPE"] is not set' do
394
+ before(:each) do
395
+ ENV.delete('INSTALLER_TYPE')
396
+ end
397
+
398
+ it 'sets meep settings' do
399
+ expect(slice_installer_options(host)).to eq(meep_settings)
400
+ end
401
+
402
+ it 'test use_meep?' do
403
+ expect(subject.use_meep?('3.8.5')).to eq(false)
404
+ expect(subject.use_meep?('2016.1.2')).to eq(false)
405
+ expect(subject.use_meep?('2016.2.0')).to eq(true)
406
+ expect(subject.use_meep?('2016.2.0-rc1-gabcdef')).to eq(true)
407
+ end
408
+ end
385
409
  end
386
410
  end
387
411
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-pe
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
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-26 00:00:00.000000000 Z
11
+ date: 2016-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec