puppetlabs_spec_helper 0.9.1 → 0.10.0
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 +8 -8
- data/CHANGELOG +12 -0
- data/lib/puppetlabs_spec_helper/rake_tasks.rb +5 -1
- data/lib/puppetlabs_spec_helper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTU3MjQ0OTQwM2Y3YTg4Yjk4N2Y5NTE0ZTBjMDkxOGUzMjQ0NTAxYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2NiNWY5YzgwODk5YzFkMzQ1MjZkNDNiMmI2MWNhZGI1ZjAxZGY3Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWZlMzRkYjU4NmU1MDFjYjRmYTIwYWYxYTQyMTNjNzI4NjcyYWU5YzQ3ZTQ2
|
10
|
+
OGE3MTM2YmY1NzM3Y2I1MWZiNGNlZDdiYmEzM2Y4MDY5MDJmMTYxMjhmZjlm
|
11
|
+
MTVjZTVjNTEzNWUzODQyYjgwMmVjZDRmY2FiYWE5NzVkNjM2OGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Yjk5MDhhOTVhYjNlN2IxM2JkYzYxMjAxOWI2MGMyMDFmNmVlMzVkMTFjZWFh
|
14
|
+
YzgxOTE1NzcxNTU5OWZkYzY5ZDY2NGY1NzU4YTExY2VlNDNlYWFlZTU1ZjVi
|
15
|
+
Y2EwYWY0Mzg0Mjk5NzNhODg4Y2U3ODEwNGVkMmZhNTBkNGU3Nzk=
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
2015-03-16 - Release 0.10.0
|
2
|
+
Summary:
|
3
|
+
This release adds shallow fixtures clones to speed up the spec_prep step for
|
4
|
+
rspec-puppet
|
5
|
+
|
6
|
+
Features:
|
7
|
+
- Shallow clone fixtures
|
8
|
+
|
9
|
+
Bugfixes:
|
10
|
+
- Don't lint in vendor/ (spec/fixtures/ and pkg/ are alread ignored)
|
11
|
+
- Don't syntax check in spec/fixtures/, pkg/, or vendor/
|
12
|
+
|
1
13
|
2015-02-24 - Release 0.9.1
|
2
14
|
Summary:
|
3
15
|
This release removes the hard dependency on metadata-json-lint, as it requires
|
@@ -65,6 +65,7 @@ def clone_repo(scm, remote, target, ref=nil, branch=nil)
|
|
65
65
|
args.push(remote, target)
|
66
66
|
when 'git'
|
67
67
|
args.push('clone')
|
68
|
+
args.push('--depth 1')
|
68
69
|
args.push('-b', branch) if branch
|
69
70
|
args.push(remote, target)
|
70
71
|
else
|
@@ -217,11 +218,14 @@ task :lint do
|
|
217
218
|
PuppetLint.configuration.ignore_paths ||= []
|
218
219
|
PuppetLint.configuration.ignore_paths << "spec/fixtures/**/*.pp"
|
219
220
|
PuppetLint.configuration.ignore_paths << "pkg/**/*.pp"
|
221
|
+
PuppetLint.configuration.ignore_paths << "vendor/**/*.pp"
|
220
222
|
end
|
221
223
|
|
222
224
|
require 'puppet-syntax/tasks/puppet-syntax'
|
223
225
|
PuppetSyntax.exclude_paths ||= []
|
224
|
-
PuppetSyntax.exclude_paths << "spec/fixtures
|
226
|
+
PuppetSyntax.exclude_paths << "spec/fixtures/**/*"
|
227
|
+
PuppetSyntax.exclude_paths << "pkg/**/*"
|
228
|
+
PuppetSyntax.exclude_paths << "vendor/**/*"
|
225
229
|
PuppetSyntax.future_parser = true if ENV['FUTURE_PARSER'] == 'yes'
|
226
230
|
|
227
231
|
desc "Check syntax of Ruby files and call :syntax and :metadata"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetlabs_spec_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|