metadata-json-lint 2.4.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39ea4bb8245d43d512bfe5836736e3f75169e607e96cb3e4648ece6acad15682
4
- data.tar.gz: 15bd5d92e4fc67f302dea753e152b535855304f9e981e3dc3d53aaa09a76bb11
3
+ metadata.gz: f188aee3a8aefbc137cc51d48a8d2fd7e6cf0f3c2c20d844f4996002db65d763
4
+ data.tar.gz: d0141e21593ce742900c5802090bbf63af1b15c67f82a8f34c8f0d1e4436be54
5
5
  SHA512:
6
- metadata.gz: '090f8e01dbb74ac8cf3e50169127a9d7f91ec7c7b74163a2d34850f1ac138976f45a946aea9250611b8c9011f905edb7f11f463891cab97d0ebf1289209cd88b'
7
- data.tar.gz: 7ff331f16fa434fbf026e2713542b14e959a468e2e944846cffd058db57e80bf60642541c347bb4ce9813c4a52bd8de9f094019a13650ded29de8075ab18c93f
6
+ metadata.gz: ae666d8e94097a33f6f2f46225f542b87a2b4e43d02f9af5fec3b4094015835c2b5033b9eced974fb47c296682741150185c85e82a366173575fefaae3746148
7
+ data.tar.gz: 6a7cb83c25d7e837e2e4adc1257cca9ad959fc915273346c7a09f534b21f46300d0277283c008aa65322e03af422b80d902bc2ae53b5a9ceb87327d194d4063b
@@ -4,13 +4,11 @@ language: ruby
4
4
  script:
5
5
  - bundle exec rake test
6
6
 
7
- sudo: false
8
-
9
7
  rvm:
10
- - 2.1.9
11
- - 2.4.3
12
- - 2.4.4
13
- - 2.5.1
8
+ - 2.1
9
+ - 2.4
10
+ - 2.5
11
+ - 2.6
14
12
  - 2.7
15
13
 
16
14
  deploy:
@@ -20,7 +18,7 @@ deploy:
20
18
  gem: metadata-json-lint
21
19
  on:
22
20
  tags: true
23
- rvm: 2.5.1
21
+ rvm: 2.7
24
22
  repo: voxpupuli/metadata-json-lint
25
23
 
26
24
  notifications:
@@ -2,9 +2,17 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [v2.4.0](https://github.com/voxpupuli/metadata-json-lint/tree/v2.4.0) (2020-06-12)
5
+ ## [v3.0.0](https://github.com/voxpupuli/metadata-json-lint/tree/v3.0.0) (2020-11-23)
6
6
 
7
- [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/2.3.0...v2.4.0)
7
+ [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/2.4.0...v3.0.0)
8
+
9
+ **Merged pull requests:**
10
+
11
+ - Require Ruby 2.1 and drop post\_install\_message [\#112](https://github.com/voxpupuli/metadata-json-lint/pull/112) ([ekohl](https://github.com/ekohl))
12
+
13
+ ## [2.4.0](https://github.com/voxpupuli/metadata-json-lint/tree/2.4.0) (2020-06-12)
14
+
15
+ [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/2.3.0...2.4.0)
8
16
 
9
17
  **Merged pull requests:**
10
18
 
data/README.md CHANGED
@@ -63,21 +63,63 @@ MetadataJsonLint.options.strict_license = false
63
63
  * `--[no-]fail-on-warnings`: Whether to fail on warnings. Defaults to `true`.
64
64
  * `--[no-]strict-puppet-version`: Whether to fail if Puppet version requirements are open-ended or no longer supported. Defaults to `false`.
65
65
 
66
+ ## Contributors
67
+
68
+ A big thank you to the [contributors](https://github.com/voxpupuli/metadata-json-lint/graphs/contributors).
69
+
70
+ ## Making a new release
71
+
72
+ How to make a new release?
66
73
 
67
- ## Make a new release
74
+ * update the gemspec file with the desired version
68
75
 
69
- To make a new release, we need to install the release gem group:
76
+ ```console
77
+ $ git diff
78
+ diff --git a/metadata-json-lint.gemspec b/metadata-json-lint.gemspec
79
+ index c86668e..6a3ad38 100644
80
+ --- a/metadata-json-lint.gemspec
81
+ +++ b/metadata-json-lint.gemspec
82
+ @@ -2,7 +2,7 @@ require 'date'
70
83
 
71
- ```sh
72
- bundle install --path .vendor/ --with release
84
+ Gem::Specification.new do |s|
85
+ s.name = 'metadata-json-lint'
86
+ - s.version = '2.4.0'
87
+ + s.version = '2.5.0'
88
+ s.date = Date.today.to_s
89
+ s.summary = 'metadata-json-lint /path/to/metadata.json'
90
+ s.description = 'Utility to verify Puppet metadata.json files'
73
91
  ```
74
92
 
75
- Afterwards export a GitHub access token (otherwise you might run into API rate limits):
93
+ * export a GitHub access token as environment variable:
76
94
 
77
- ```sh
78
- export CHANGELOG_GITHUB_TOKEN=...
95
+ ```console
96
+ export CHANGELOG_GITHUB_TOKEN=*token*
79
97
  ```
80
98
 
81
- ## Contributors
99
+ * Install deps and generate the changelog
100
+
101
+ ```console
102
+ $ bundle install --path .vendor/ --jobs=$(nproc) --with release
103
+ $ bundle exec rake changelog
104
+ Found 25 tags
105
+ Fetching tags dates: 25/25
106
+ Sorting tags...
107
+ Received issues: 103
108
+ Pull Request count: 77
109
+ Filtered pull requests: 72
110
+ Filtered issues: 26
111
+ Fetching events for issues and PR: 98
112
+ Fetching closed dates for issues: 98/98
113
+ Fetching SHAs for tags: 25
114
+ Associating PRs with tags: 72/72
115
+ Generating entry...
116
+ Done!
117
+ Generated log placed in ~/metadata-json-lint/CHANGELOG.md
118
+ ```
82
119
 
83
- A big thank you to the [contributors](https://github.com/voxpupuli/metadata-json-lint/graphs/contributors).
120
+ * Check the diff for `CHANGELOG.md`. Does it contain a breaking change but the
121
+ new version is only a minor bump? Does the new release only contains bug fixes?
122
+ Adjust the version properly while honouring semantic versioning. If required,
123
+ regenerate the `CHANGELOG.md`. Afterwards submit it as a PR.
124
+
125
+ * If it gets approved, merge the PR, create a git tag on that and push it.
@@ -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.4.0'
5
+ s.version = '3.0.0'
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'
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.homepage = 'http://github.com/voxpupuli/metadata-json-lint'
17
17
  s.license = 'Apache-2.0'
18
18
 
19
- s.required_ruby_version = '>= 2.0.0'
19
+ s.required_ruby_version = '>= 2.1.0'
20
20
  s.add_runtime_dependency 'spdx-licenses', '~> 1.0'
21
21
  s.add_runtime_dependency 'json-schema', '~> 2.8'
22
22
  s.add_development_dependency 'pry'
@@ -24,11 +24,4 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency 'semantic_puppet'
25
25
  s.add_development_dependency 'rspec'
26
26
  s.add_development_dependency 'rubocop', '~> 0.50.0'
27
- s.post_install_message = '
28
- ----------------------------------------------------------
29
- For the most accurate results, the semantic_puppet
30
- gem should be included within your Gemfile if you
31
- use Puppet <= 4.8.x
32
- ----------------------------------------------------------
33
- '.gsub(/^ /, '')
34
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata-json-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-12 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spdx-licenses
@@ -209,13 +209,7 @@ homepage: http://github.com/voxpupuli/metadata-json-lint
209
209
  licenses:
210
210
  - Apache-2.0
211
211
  metadata: {}
212
- post_install_message: |2
213
-
214
- ----------------------------------------------------------
215
- For the most accurate results, the semantic_puppet
216
- gem should be included within your Gemfile if you
217
- use Puppet <= 4.8.x
218
- ----------------------------------------------------------
212
+ post_install_message:
219
213
  rdoc_options: []
220
214
  require_paths:
221
215
  - lib
@@ -223,15 +217,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
217
  requirements:
224
218
  - - ">="
225
219
  - !ruby/object:Gem::Version
226
- version: 2.0.0
220
+ version: 2.1.0
227
221
  required_rubygems_version: !ruby/object:Gem::Requirement
228
222
  requirements:
229
223
  - - ">="
230
224
  - !ruby/object:Gem::Version
231
225
  version: '0'
232
226
  requirements: []
233
- rubyforge_project:
234
- rubygems_version: 2.7.7
227
+ rubygems_version: 3.0.8
235
228
  signing_key:
236
229
  specification_version: 4
237
230
  summary: metadata-json-lint /path/to/metadata.json