puppetlabs_spec_helper 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/puppetlabs_spec_helper/rake_tasks.rb +6 -2
- data/lib/puppetlabs_spec_helper/version.rb +1 -1
- data/puppetlabs_spec_helper.gemspec +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e15925ec0c92c16f71d8eed1c8f8a82de0cf68
|
4
|
+
data.tar.gz: 020f9dafb26284722be445b19dbe512927b9bc7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16ea5bdac9799b1961f024ff305779bf9969f1cf359110a9cda299bcced3bb4dcfa24e12d3b7378bfd22fa11e1125d3f1b860d242a3ed7152b2fbfa5fd628e9c
|
7
|
+
data.tar.gz: 4e45b05701149bf0894b4e79caeed2ee1bec7070b8222766034af7c243ae53032bd151b09d179a8bf05be4643f2cf7f082751a6794475ca357c8362edd067a78
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
-
|
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
|
-
|
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
|
@@ -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.
|
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-
|
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
|