puppetlabs_spec_helper 2.1.1 → 2.1.2

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: 1ae4e69417e52cfd69ff901b61bc4bf6b3619357
4
- data.tar.gz: 3513ec2ea271e02ae91915642f5f447bde405c2e
3
+ metadata.gz: 28e15925ec0c92c16f71d8eed1c8f8a82de0cf68
4
+ data.tar.gz: 020f9dafb26284722be445b19dbe512927b9bc7e
5
5
  SHA512:
6
- metadata.gz: 427c3d913b5f3adb5c3f15b469cf22d8e125add794ea4688e41e3e6e535c1d219b443c821a7c96ecfe39f1bdab35cce13e1e35fc3672392665eff0f66684265c
7
- data.tar.gz: 99c2f3f7b13f73eb573d13ca35bea6d6646fe7f822cd37fe409cc0c99daf3d5dcff67a4fe812937ffcdc686e3d6af67e12ddea53008bf0ebc176d64c8167e87a
6
+ metadata.gz: 16ea5bdac9799b1961f024ff305779bf9969f1cf359110a9cda299bcced3bb4dcfa24e12d3b7378bfd22fa11e1125d3f1b860d242a3ed7152b2fbfa5fd628e9c
7
+ data.tar.gz: 4e45b05701149bf0894b4e79caeed2ee1bec7070b8222766034af7c243ae53032bd151b09d179a8bf05be4643f2cf7f082751a6794475ca357c8362edd067a78
@@ -2,6 +2,13 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [2.1.2]
6
+ ### Summary:
7
+ The `release_tasks` now falls back to `spec` if the `parallel_spec` test fails due to the `parallel_tests` gem being absent.
8
+
9
+ ### Fixed:
10
+ - Make `release_tasks` fall back to `spec` when missing the `parallel_tests` gem
11
+
5
12
  ## [2.1.1]
6
13
  ### Summary:
7
14
  Bugfix for an unstated dependency on parallel\_spec that was added in 2.0.0
@@ -323,7 +330,8 @@ compatible yet.
323
330
  ### Added
324
331
  * Initial release
325
332
 
326
- [unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.1...master
333
+ [unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.2...master
334
+ [2.1.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.1...v2.1.2
327
335
  [2.1.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.0...v2.1.1
328
336
  [2.1.0]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.0.1...v2.1.0
329
337
  [2.0.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.0.0...v2.0.1
@@ -371,7 +371,7 @@ task :parallel_spec do
371
371
  ParallelTests::CLI.new.run(args)
372
372
  Rake::Task[:spec_clean].invoke
373
373
  rescue LoadError
374
- fail 'Add the parallel_tests gem to Gemfile to enable this task'
374
+ raise 'Add the parallel_tests gem to Gemfile to enable this task'
375
375
  end
376
376
  end
377
377
 
@@ -515,7 +515,11 @@ desc "Runs all necessary checks on a module in preparation for a release"
515
515
  task :release_checks do
516
516
  Rake::Task[:lint].invoke
517
517
  Rake::Task[:validate].invoke
518
- Rake::Task[:parallel_spec].invoke
518
+ begin
519
+ Rake::Task[:parallel_spec].invoke
520
+ rescue RuntimeError
521
+ Rake::Task[:spec].invoke
522
+ end
519
523
  Rake::Task["check:symlinks"].invoke
520
524
  Rake::Task["check:test_file"].invoke
521
525
  Rake::Task["check:dot_underscore"].invoke
@@ -1,5 +1,5 @@
1
1
  module PuppetlabsSpecHelper
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
 
4
4
  # compat for pre-1.2.0 users; deprecated
5
5
  module Version
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_runtime_dependency "mocha", "~> 1.0"
22
- spec.add_runtime_dependency "parallel_tests"
23
22
  spec.add_runtime_dependency "puppet-lint", "~> 2.0"
24
23
  spec.add_runtime_dependency "puppet-syntax", "~> 2.0"
25
24
  spec.add_runtime_dependency "rspec-puppet", "~> 2.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetlabs_spec_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-03-29 00:00:00.000000000 Z
12
+ date: 2017-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha
@@ -25,20 +25,6 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.0'
28
- - !ruby/object:Gem::Dependency
29
- name: parallel_tests
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: '0'
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- version: '0'
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: puppet-lint
44
30
  requirement: !ruby/object:Gem::Requirement