metadata-json-lint 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +0 -4
- data/README.md +5 -7
- data/lib/metadata-json-lint/version_requirement.rb +2 -1
- data/metadata-json-lint.gemspec +8 -10
- metadata +25 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14659a2f1f2f0cdbc342929c70ebe0e808cb01d1
|
4
|
+
data.tar.gz: 7dac64b05c3f98bd37b69982a73178c5cfa436eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a84b3571e974ecdfb133532eedcdbbcea5c4afb483f029ee2e0850b8605bb73acfbdb2af973f4b542a5ba131c05c902083f690f99c1a38889c5419b13ca12f19
|
7
|
+
data.tar.gz: 838914c262be020a5dd3df0837d404068be3eead05c973094bf938efaa7bb78c0c4a6494c323ca6368887250b196e9afdb787eb79aa8891d4db7253fe3be37db
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
7
|
|
8
|
+
## 2.0.1
|
9
|
+
|
10
|
+
### Changes
|
11
|
+
* Puppet 4.9.0 and newer uses the vendored `semantic_puppet` packaged with Puppet.
|
12
|
+
* If using Puppet 4.8.x and earlier, adding `semantic_puppet` to your Gemfile is required
|
13
|
+
as the vendored `semantic_puppet` was not packaged with Puppet prior to `4.9.0`
|
14
|
+
* Add test environment for Ruby 2.4.1
|
15
|
+
|
8
16
|
## 2.0.0
|
9
17
|
|
10
18
|
### Changes
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -7,12 +7,9 @@ The metadata-json-lint tool validates and lints `metadata.json` files in Puppet
|
|
7
7
|
metadata-json-lint is compatible with Ruby versions 2.0.0, 2.1.9, 2.3.1, and 2.4.1.
|
8
8
|
|
9
9
|
## Installation
|
10
|
-
**NOTE: `metadata-json-lint` has a dependency on the `semantic_puppet` gem if you're on
|
11
|
-
Puppet 4 or earlier. This dependency was removed from the gemspec file due to a conflict
|
12
|
-
in Puppet 5 where the `semantic_puppet` ruby gem conflicts with a version of
|
13
|
-
`semantic_puppet` bundled with the core Puppet 5 code.**
|
14
10
|
|
15
|
-
|
11
|
+
Puppet 4.9.0 and newer:
|
12
|
+
|
16
13
|
via `gem` command:
|
17
14
|
``` shell
|
18
15
|
gem install metadata-json-lint
|
@@ -23,7 +20,8 @@ via Gemfile:
|
|
23
20
|
gem 'metadata-json-lint'
|
24
21
|
```
|
25
22
|
|
26
|
-
|
23
|
+
**Puppet 4.8.x and older:**
|
24
|
+
|
27
25
|
via `gem` command:
|
28
26
|
``` shell
|
29
27
|
gem install metadata-json-lint semantic_puppet
|
@@ -32,7 +30,7 @@ gem install metadata-json-lint semantic_puppet
|
|
32
30
|
via Gemfile:
|
33
31
|
``` ruby
|
34
32
|
gem 'metadata-json-lint'
|
35
|
-
gem 'semantic_puppet
|
33
|
+
gem 'semantic_puppet
|
36
34
|
```
|
37
35
|
|
38
36
|
## Usage
|
data/metadata-json-lint.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'date'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'metadata-json-lint'
|
5
|
-
s.version = '2.0.
|
5
|
+
s.version = '2.0.1'
|
6
6
|
s.date = Date.today.to_s
|
7
7
|
s.summary = 'metadata-json-lint /path/to/metadata.json'
|
8
8
|
s.description = 'Utility to verify Puppet metadata.json files'
|
@@ -19,16 +19,14 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.required_ruby_version = '>= 2.0.0'
|
20
20
|
s.add_runtime_dependency 'spdx-licenses', '~> 1.0'
|
21
21
|
s.add_runtime_dependency 'json-schema', '~> 2.8'
|
22
|
+
s.add_runtime_dependency 'puppet', '>= 4.7.0', '< 6.0.0'
|
22
23
|
s.add_development_dependency 'rake'
|
23
24
|
s.add_development_dependency 'rspec'
|
24
25
|
s.add_development_dependency 'rubocop'
|
25
|
-
s.
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
On puppet >= 5.x, semantic_puppet will break functionality!
|
32
|
-
-------------------------------------------------------------------
|
33
|
-
EOS
|
26
|
+
s.post_install_message = '
|
27
|
+
-------------------------------------------------
|
28
|
+
semantic_puppet must be installed within
|
29
|
+
your Gemfile if you use Puppet <= 4.8.x!!
|
30
|
+
-------------------------------------------------
|
31
|
+
'
|
34
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metadata-json-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
@@ -38,6 +38,26 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: puppet
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.7.0
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 6.0.0
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 4.7.0
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 6.0.0
|
41
61
|
- !ruby/object:Gem::Dependency
|
42
62
|
name: rake
|
43
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,13 +189,9 @@ homepage: http://github.com/voxpupuli/metadata-json-lint
|
|
169
189
|
licenses:
|
170
190
|
- Apache-2.0
|
171
191
|
metadata: {}
|
172
|
-
post_install_message:
|
173
|
-
|
174
|
-
|
175
|
-
be in your Gemfile!!
|
176
|
-
|
177
|
-
On puppet >= 5.x, semantic_puppet will break functionality!
|
178
|
-
-------------------------------------------------------------------
|
192
|
+
post_install_message: "\n -------------------------------------------------\n semantic_puppet
|
193
|
+
must be installed within\n your Gemfile if you use Puppet <= 4.8.x!!\n -------------------------------------------------\n
|
194
|
+
\ "
|
179
195
|
rdoc_options: []
|
180
196
|
require_paths:
|
181
197
|
- lib
|
@@ -189,8 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
205
|
- - ">="
|
190
206
|
- !ruby/object:Gem::Version
|
191
207
|
version: '0'
|
192
|
-
requirements:
|
193
|
-
- semantic_puppet >= 0.1.2 < 2.0.0
|
208
|
+
requirements: []
|
194
209
|
rubyforge_project:
|
195
210
|
rubygems_version: 2.4.5
|
196
211
|
signing_key:
|