puppetlabs_spec_helper 0.9.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjAxNWU4MmQ3YmZjZGMwZjI4MDkwNzNhZTBkNWJkZWVlZjEwMDI4OA==
4
+ YTU3MjQ0OTQwM2Y3YTg4Yjk4N2Y5NTE0ZTBjMDkxOGUzMjQ0NTAxYg==
5
5
  data.tar.gz: !binary |-
6
- M2JlODQyMDYwMWQ1NmVlNGUxYTA3ZmU5YWVkMjJkNDA4NzdkNmQzMQ==
6
+ N2NiNWY5YzgwODk5YzFkMzQ1MjZkNDNiMmI2MWNhZGI1ZjAxZGY3Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Zjc0ZjU0YjQxYWUwYTZlZWRmNzY5M2E3ODIxNzc4N2EyZTE2MGEyZjExMTZi
10
- MGE2ZDc4NTU4ZDMxMmVhOTUzYjNhMWVjZGZiMjhjODgyOGJkYjA2OTBjYTE3
11
- Y2YzZTdmNTYyYjlmZjA3OGRmYTA4Nzk0ZWY5NjdiM2I5Mjg2Yjg=
9
+ OWZlMzRkYjU4NmU1MDFjYjRmYTIwYWYxYTQyMTNjNzI4NjcyYWU5YzQ3ZTQ2
10
+ OGE3MTM2YmY1NzM3Y2I1MWZiNGNlZDdiYmEzM2Y4MDY5MDJmMTYxMjhmZjlm
11
+ MTVjZTVjNTEzNWUzODQyYjgwMmVjZDRmY2FiYWE5NzVkNjM2OGU=
12
12
  data.tar.gz: !binary |-
13
- YjA2NmUwN2I0OWM2OTY4OGM2NjQxNzRiMDVlZmFiMGM2MmU1ODQ0MzRkODI2
14
- YWFiMjYzOWMxOGMyZTEyODBkZWVjMGU2YTE3YjliYzBiNjg1NWNmNDQ1ZTEw
15
- NDBkYTIzYzNkYjI0MmM4Njg2OGFiZTUzOGE0NGQ5MzU3Nzk3MDk=
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/**/*.pp"
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"
@@ -1,5 +1,5 @@
1
1
  module PuppetlabsSpecHelper
2
2
  module Version
3
- STRING = '0.9.1'
3
+ STRING = '0.10.0'
4
4
  end
5
5
  end
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.9.1
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-02-24 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake