puppetlabs_spec_helper 0.9.0 → 0.9.1

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
- OWQxN2I3ZjM0MWZhYWQ4NTVhZGExNDAzMDA4OGU5NDg1M2QyZWJhOQ==
4
+ NjAxNWU4MmQ3YmZjZGMwZjI4MDkwNzNhZTBkNWJkZWVlZjEwMDI4OA==
5
5
  data.tar.gz: !binary |-
6
- ZGExZjlmZTlmYTNlNTdkYzY0OTlhNzIyNDRmZGE1OTZhOGZlMjY0Mg==
6
+ M2JlODQyMDYwMWQ1NmVlNGUxYTA3ZmU5YWVkMjJkNDA4NzdkNmQzMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjhjZmE1YjQxZTkxZTQ5NzE4NzkwYzBhMDNjMDA2YjUyNjJkNjZiZTI0NjA1
10
- MTc5NzY3NDA3YmQ1MjllYjUzNDc4MzYwOGQ4Mjc4MjFkNDEyMzM0NmQ5OWJi
11
- NDkxNDcxZWMxNTFjNmE3ODQwMTI5OWIzNTQ3MWVhNTgyODJkODY=
9
+ Zjc0ZjU0YjQxYWUwYTZlZWRmNzY5M2E3ODIxNzc4N2EyZTE2MGEyZjExMTZi
10
+ MGE2ZDc4NTU4ZDMxMmVhOTUzYjNhMWVjZGZiMjhjODgyOGJkYjA2OTBjYTE3
11
+ Y2YzZTdmNTYyYjlmZjA3OGRmYTA4Nzk0ZWY5NjdiM2I5Mjg2Yjg=
12
12
  data.tar.gz: !binary |-
13
- N2JiNmY2ZGQ3MWRhMmVmMzcxZjg2YmNjN2FiZTk3ZmZkZGY2NDVkOWY2Mzk2
14
- N2RmOGM1YWRjMmU4ZmQxNjZjZGQ0ODhlMjM1MTRjN2E0NWI5ZmFjNDVlZDdl
15
- ZDZhZDc0MjE2YTE1OGMxYjQyZWY2ZTk2YmZjM2Q1MWZiNzhmMmE=
13
+ YjA2NmUwN2I0OWM2OTY4OGM2NjQxNzRiMDVlZmFiMGM2MmU1ODQ0MzRkODI2
14
+ YWFiMjYzOWMxOGMyZTEyODBkZWVjMGU2YTE3YjliYzBiNjg1NWNmNDQ1ZTEw
15
+ NDBkYTIzYzNkYjI0MmM4Njg2OGFiZTUzOGE0NGQ5MzU3Nzk3MDk=
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ 2015-02-24 - Release 0.9.1
2
+ Summary:
3
+ This release removes the hard dependency on metadata-json-lint, as it requires
4
+ a dev toolchain to install the 'json' gem.
5
+
6
+ Bugfixes:
7
+ - Only warn when metadata-json-lint isn't installed instead of requiring it
8
+
1
9
  2015-02-24 - Release 0.9.0
2
10
  Summary:
3
11
  This release adds fixes for rspec-puppet 2.0 and json linting for metadata.json
@@ -236,7 +236,12 @@ end
236
236
 
237
237
  desc "Validate metadata.json file"
238
238
  task :metadata do
239
- sh "metadata-json-lint metadata.json"
239
+ begin
240
+ require 'metadata_json_lint'
241
+ sh "metadata-json-lint metadata.json"
242
+ rescue LoadError => e
243
+ warn "Skipping metadata validation; the metadata-json-lint gem was not found"
244
+ end
240
245
  end
241
246
 
242
247
  desc "Display the list of available rake tasks"
@@ -1,5 +1,5 @@
1
1
  module PuppetlabsSpecHelper
2
2
  module Version
3
- STRING = '0.9.0'
3
+ STRING = '0.9.1'
4
4
  end
5
5
  end
@@ -21,6 +21,5 @@ Gem::Specification.new do |s|
21
21
  s.add_runtime_dependency 'rspec-puppet'
22
22
  s.add_runtime_dependency 'puppet-lint'
23
23
  s.add_runtime_dependency 'puppet-syntax'
24
- s.add_runtime_dependency 'metadata-json-lint'
25
24
  s.add_runtime_dependency 'mocha'
26
25
  end
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: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: metadata-json-lint
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ! '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: mocha
85
71
  requirement: !ruby/object:Gem::Requirement