pdqtest 0.8.2 → 0.8.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd12d3e44c1451ff430513f0b66e668c6e27723e
4
- data.tar.gz: 9b874d05f9a76647ccf49ce7a05d0694723ee9b5
3
+ metadata.gz: 60cdfc3e3a9969ac6fa91ff299052dbec2f1d173
4
+ data.tar.gz: 54bccb765efe99847522132e78efc32dbb4ae153
5
5
  SHA512:
6
- metadata.gz: 2d6772dc79715986c85df2d0fbe95b2cd26625891fdf4e29186eab66e520a1b89e86063a85576a5c46120b6976ccc354053cc63095b8bfbe6a40d422053c00e1
7
- data.tar.gz: 1b80fd72cd4c53e62324c490bb143f6ede7cdd8dbfe40518c5b44b2ee31d82057b4affaf7a5cffc9b6d73e77b0ac417d6dc8d273cc8b20e8048426c183c9969b
6
+ metadata.gz: b3889d39a2303537177c95c093126bf337c3c78bbc54f49c3e1f0eec8fa55e85d796b0c26cfb74948b061a1d86cec34c72f952258eac9733315ed01d126dc423
7
+ data.tar.gz: 3df8ee61f435d9b8326a971c66dd0da5ff77b2ed3a30a90bd13beae5a41354c475f1d94661fc2ebb67169176c4d68e358dae0ac9b9edf6c368f30e176157b35f
data/.travis.yml CHANGED
@@ -3,6 +3,6 @@ language: ruby
3
3
  services:
4
4
  - docker
5
5
  rvm:
6
- - 2.2.2
7
- before_install: gem install bundler -v 1.13.6
6
+ - 2.3.3
7
+ before_install: gem install bundler
8
8
  script: "bundle exec pdqtest setup && bundle exec rake spec"
@@ -1,4 +1,5 @@
1
1
  require 'pdqtest/util'
2
+ require 'pdqtest/puppet'
2
3
 
3
4
  module PDQTest
4
5
  module Docker
@@ -40,16 +41,22 @@ module PDQTest
40
41
  # ]
41
42
  # We will map this list of OSs to the simple list of docker images we
42
43
  # supply
43
- os_hash.each { |os|
44
- case os["operatingsystem"].downcase
45
- when "ubuntu"
46
- supported_images << IMAGES[:UBUNTU]
47
- when "windows"
48
- Escort::Logger.output.puts "Windows acceptance testing not supported yet... any ideas?"
49
- else
50
- supported_images << IMAGES[:DEFAULT]
44
+ if os_hash.size == 0
45
+ # Always support the default test system if no metadata present
46
+ supported_images << IMAGES[:DEFAULT]
47
+ else
48
+ os_hash.each { |os|
49
+ case os["operatingsystem"].downcase
50
+ when "ubuntu"
51
+ supported_images << IMAGES[:UBUNTU]
52
+ when "windows"
53
+ Escort::Logger.output.puts "Windows acceptance testing not supported yet... any ideas?"
54
+ else
55
+ supported_images << IMAGES[:DEFAULT]
51
56
  end
52
57
  }
58
+ end
59
+
53
60
  supported_images.uniq
54
61
  end
55
62
 
@@ -1,3 +1,3 @@
1
1
  module PDQTest
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdqtest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Williams
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-19 00:00:00.000000000 Z
11
+ date: 2017-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler