pdqtest 0.1.14 → 0.1.15

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: 252a38cb94b84c965c798e0813a55fcb429e522b
4
- data.tar.gz: fb594b19707e074e9050d412ef9aca00afc76aa0
3
+ metadata.gz: e0d353b261cba8bb08ccbb67f871cc2a813c9b37
4
+ data.tar.gz: 6d4ed2b02bea498009f70d4b5dc4bb4f75257af5
5
5
  SHA512:
6
- metadata.gz: 95a764923fa9e77f8c8b32840f80e9a5377e44711cdf4ca0af98a9545f01ae2894356391ccb540d2d363fbbd8025030e7a925435c3c8f02e6c3a5cd3d4c0a164
7
- data.tar.gz: 01ac447b7dd030e560f0400d32c481fa26549b0b0220f373d12eee2cf9adead4cff50f9d281b3249985b7d60b507a1aa00d3f4b416ef87e7fc59553b2b3dae55
6
+ metadata.gz: fd93da962bce72087e77321fa7871be381cc984bd3d1de09512c36b23a5ba42a348f29df5f8e1daeed9b18a130b0e905c756fe321e8ebb1223a488a64f83e7f2
7
+ data.tar.gz: ead0de74af3969b5e968137bc678cbedd309b92cab154bbe838776e2e81608c2a9dcee2a4189c2e8939438ea18c21fca077d478e8f1aeed8c8ecbb9e4192ef49
data/.travis.yml CHANGED
@@ -4,5 +4,5 @@ services:
4
4
  - docker
5
5
  rvm:
6
6
  - 2.2.2
7
- before_install: gem install bundler -v 1.13.6 && docker pull geoffwilliams/pdqtest-centos:2017-01-08-0
8
- script: "bundle exec rake spec"
7
+ before_install: gem install bundler -v 1.13.6
8
+ script: "bundle exec pdqtest setup && bundle exec rake spec"
data/README.md CHANGED
@@ -35,6 +35,15 @@ This will install PDQTest into the `Gemfile` and will generate an example set of
35
35
 
36
36
  ## Running tests
37
37
 
38
+ ### PDQTest preparation
39
+ PDQTest needs to download a Docker image before running tests:
40
+
41
+ ```
42
+ bundle exec pdqtest setup
43
+ ```
44
+
45
+ This image is updated periodically, the above command will download the appropriate image for the version of `pdqtest` being used.
46
+
38
47
  ### Module dependencies/.fixtures.yml
39
48
  Ordinarily, there is no need to maintain a `.fixtures.yml` file. Dependencies on public forge modules should be specified in your module's `metadata.json` file.
40
49
 
@@ -91,6 +100,7 @@ You should use pdqtest if you find it increases your productivity and enriches y
91
100
 
92
101
  ## Troubleshooting
93
102
  * If you can't find the `pdqtest` command and your using `rbenv` be sure to run `rbenv rehash` after installing the gem to create the necessary symlinks
103
+ * Don't forget to run `pdqtest setup` before your first `pdqtest` run to download/update the Docker image
94
104
 
95
105
  ## Support
96
106
  This software is not supported by Puppet, Inc. Use at your own risk.
@@ -112,7 +112,7 @@ module PDQTest
112
112
  ref = opts['ref']
113
113
  end
114
114
 
115
- refresh_cmd << "git_refresh #{target} #{source} #{ref}"
115
+ refresh_cmd << "git_refresh refresh --target-dir #{target} --source-url #{source} --ref #{ref}"
116
116
  }
117
117
  end
118
118
  end
@@ -89,6 +89,7 @@ module PDQTest
89
89
  install_skeleton('.travis.yml', 'dot_travis.yml')
90
90
  install_skeleton('.gitignore', 'dot_gitignore')
91
91
  install_skeleton('.rspec', 'dot_rspec')
92
+ install_skeleton('Makefile', 'Makefile')
92
93
 
93
94
  install_example()
94
95
  install_gemfile()
@@ -1,3 +1,3 @@
1
1
  module PDQTest
2
- VERSION = "0.1.14"
2
+ VERSION = "0.1.15"
3
3
  end
data/res/skeleton/Gemfile CHANGED
@@ -7,3 +7,8 @@ gem 'puppet', '4.9.0'
7
7
  gem 'facter', '2.4.6'
8
8
  gem 'rubocop', '0.47.1'
9
9
  gem 'rspec-puppet-facts', '1.7.0'
10
+
11
+ # Workaround for PDOC-160
12
+ gem 'puppet-strings',
13
+ :git => 'https://github.com/declarativesystems/puppet-strings',
14
+ :ref => 'no_dates'
@@ -0,0 +1,3 @@
1
+ all:
2
+ bundle exec pdqtest all
3
+ bundle exec puppet strings
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdqtest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Williams
@@ -226,6 +226,7 @@ files:
226
226
  - lib/pdqtest/version.rb
227
227
  - pdqtest.gemspec
228
228
  - res/skeleton/Gemfile
229
+ - res/skeleton/Makefile
229
230
  - res/skeleton/Rakefile
230
231
  - res/skeleton/dot_gitignore
231
232
  - res/skeleton/dot_rspec