metadata-json-lint 3.0.0 → 3.0.1

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: f188aee3a8aefbc137cc51d48a8d2fd7e6cf0f3c2c20d844f4996002db65d763
4
- data.tar.gz: d0141e21593ce742900c5802090bbf63af1b15c67f82a8f34c8f0d1e4436be54
3
+ metadata.gz: 88296907a8034712ed315c9673b18f7da0f6315246be651f2e62a59b32192ac9
4
+ data.tar.gz: e5d6b34c8b897688cb062121657fed5c02aa5cc8c28277896fe93833c4e68d82
5
5
  SHA512:
6
- metadata.gz: ae666d8e94097a33f6f2f46225f542b87a2b4e43d02f9af5fec3b4094015835c2b5033b9eced974fb47c296682741150185c85e82a366173575fefaae3746148
7
- data.tar.gz: 6a7cb83c25d7e837e2e4adc1257cca9ad959fc915273346c7a09f534b21f46300d0277283c008aa65322e03af422b80d902bc2ae53b5a9ceb87327d194d4063b
6
+ metadata.gz: '0008127ce7d0379fd7f5aa394fb4d0f346c4868a71dc6875598af8aedbb005927d0f6ea050bdf143b508e812915c116143df25e647db63c05f8f6af8f6bb3ec3'
7
+ data.tar.gz: 39e8387ed09f30c2a4bc5edc22babc68b13b0ab16ec4753c6973f97509837532ca091f39df19b4826742b180725b13238cd4c5c09555f284ceed614b5d3a7fb4
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "13:00"
8
+ open-pull-requests-limit: 10
@@ -0,0 +1,32 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+
8
+ jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ if: github.repository_owner == 'voxpupuli'
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Install Ruby 3.0
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: '3.0'
18
+ env:
19
+ BUNDLE_WITHOUT: release
20
+ - name: Build gem
21
+ run: gem build *.gemspec
22
+ - name: Publish gem to rubygems.org
23
+ run: gem push *.gem
24
+ env:
25
+ GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
26
+ - name: Setup GitHub packages access
27
+ run: |
28
+ mkdir -p ~/.gem
29
+ echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
30
+ chmod 0600 ~/.gem/credentials
31
+ - name: Publish gem to GitHub packages
32
+ run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
@@ -0,0 +1,36 @@
1
+ name: Test
2
+
3
+ on:
4
+ - pull_request
5
+ - push
6
+
7
+ env:
8
+ BUNDLE_WITHOUT: release
9
+
10
+ jobs:
11
+ rspec:
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ fail-fast: true
15
+ matrix:
16
+ include:
17
+ - ruby: "2.4"
18
+ - ruby: "2.5"
19
+ - ruby: "2.6"
20
+ - ruby: "2.7"
21
+ - ruby: "3.0"
22
+ coverage: "yes"
23
+ env:
24
+ COVERAGE: ${{ matrix.coverage }}
25
+ name: RSpec - Ruby ${{ matrix.ruby }}
26
+ steps:
27
+ - uses: actions/checkout@v2
28
+ - name: Install Ruby ${{ matrix.ruby }}
29
+ uses: ruby/setup-ruby@v1
30
+ with:
31
+ ruby-version: ${{ matrix.ruby }}
32
+ bundler-cache: true
33
+ - name: spec tests
34
+ run: bundle exec rake test
35
+ - name: Verify gem builds
36
+ run: gem build *.gemspec
data/.rubocop.yml CHANGED
@@ -27,3 +27,9 @@ Metrics/PerceivedComplexity:
27
27
 
28
28
  Metrics/ModuleLength:
29
29
  Max: 185
30
+
31
+ Style/TrailingCommaInHashLiteral:
32
+ EnforcedStyleForMultiline: consistent_comma
33
+
34
+ Style/AccessModifierDeclarations:
35
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,10 +1,23 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
3
+ ## [3.0.1](https://github.com/voxpupuli/metadata-json-lint/tree/3.0.1) (2021-08-13)
4
4
 
5
- ## [v3.0.0](https://github.com/voxpupuli/metadata-json-lint/tree/v3.0.0) (2020-11-23)
5
+ [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/3.0.0...3.0.1)
6
6
 
7
- [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/2.4.0...v3.0.0)
7
+ **Closed issues:**
8
+
9
+ - For the license: missing a file and license headers in source files [\#115](https://github.com/voxpupuli/metadata-json-lint/issues/115)
10
+ - one test fails against ruby 2.7 when semantic\_puppet is not present [\#114](https://github.com/voxpupuli/metadata-json-lint/issues/114)
11
+ - Missing possibility to set options via spec\_helper.rb like rspec [\#18](https://github.com/voxpupuli/metadata-json-lint/issues/18)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - Update rubocop requirement from ~\> 0.50.0 to ~\> 0.57.2 [\#117](https://github.com/voxpupuli/metadata-json-lint/pull/117) ([dependabot[bot]](https://github.com/apps/dependabot))
16
+ - Add GitHub actions + badges [\#116](https://github.com/voxpupuli/metadata-json-lint/pull/116) ([bastelfreak](https://github.com/bastelfreak))
17
+
18
+ ## [3.0.0](https://github.com/voxpupuli/metadata-json-lint/tree/3.0.0) (2020-11-24)
19
+
20
+ [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/2.4.0...3.0.0)
8
21
 
9
22
  **Merged pull requests:**
10
23
 
data/Gemfile CHANGED
@@ -5,3 +5,8 @@ gemspec
5
5
  group :release do
6
6
  gem 'github_changelog_generator', :require => false
7
7
  end
8
+
9
+ group :coverage, optional: ENV['COVERAGE'] != 'yes' do
10
+ gem 'codecov', :require => false
11
+ gem 'simplecov-console', :require => false
12
+ end
data/README.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # metadata-json-lint
2
2
 
3
+ [![License](https://img.shields.io/github/license/voxpupuli/metadata-json-lint.svg)](https://github.com/voxpupuli/metadata-json-lint/blob/master/LICENSE)
4
+ [![Test](https://github.com/voxpupuli/metadata-json-lint/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/metadata-json-lint/actions/workflows/test.yml)
5
+ [![codecov](https://codecov.io/gh/voxpupuli/metadata-json-lint/branch/master/graph/badge.svg)](https://codecov.io/gh/voxpupuli/metadata-json-lint)
6
+ [![Release](https://github.com/voxpupuli/metadata-json-lint/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/metadata-json-lint/actions/workflows/release.yml)
7
+ [![RubyGem Version](https://img.shields.io/gem/v/metadata-json-lint.svg)](https://rubygems.org/gems/metadata-json-lint)
8
+ [![RubyGem Downloads](https://img.shields.io/gem/dt/metadata-json-lint.svg)](https://rubygems.org/gems/metadata-json-lint)
9
+
3
10
  The metadata-json-lint tool validates and lints `metadata.json` files in Puppet modules against style guidelines from the [Puppet Forge module metadata](https://docs.puppet.com/puppet/latest/modules_publishing.html#write-a-metadatajson-file) recommendations.
4
11
 
5
12
  ## Compatibility
data/Rakefile CHANGED
@@ -2,7 +2,18 @@ desc 'Run all tests'
2
2
  task :test => %i[rubocop spec test:acceptance]
3
3
 
4
4
  require 'rubocop/rake_task'
5
- RuboCop::RakeTask.new
5
+ RuboCop::RakeTask.new(:rubocop) do |task|
6
+ # These make the rubocop experience maybe slightly less terrible
7
+ task.options = ['-D', '-S', '-E']
8
+
9
+ # Use Rubocop's Github Actions formatter if possible
10
+ if ENV['GITHUB_ACTIONS'] == 'true'
11
+ rubocop_spec = Gem::Specification.find_by_name('rubocop')
12
+ if Gem::Version.new(rubocop_spec.version) >= Gem::Version.new('1.2')
13
+ task.formatters << 'github'
14
+ end
15
+ end
16
+ end
6
17
 
7
18
  namespace :test do
8
19
  desc 'Acceptance suite under test/ which runs metadata-json-lint against sample files with expected output'
@@ -15,15 +26,15 @@ require 'rspec/core/rake_task'
15
26
  RSpec::Core::RakeTask.new(:spec)
16
27
 
17
28
  begin
29
+ require 'rubygems'
18
30
  require 'github_changelog_generator/task'
19
-
31
+ rescue LoadError # rubocop:disable Lint/HandleExceptions
32
+ else
20
33
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
21
- config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
22
34
  config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog]
23
35
  config.user = 'voxpupuli'
24
36
  config.project = 'metadata-json-lint'
25
- config.future_release = "v#{Gem::Specification.load("#{config.project}.gemspec").version}"
37
+ gem_version = Gem::Specification.load("#{config.project}.gemspec").version
38
+ config.future_release = gem_version
26
39
  end
27
- rescue LoadError
28
- puts 'no github_changelog_generator gem available'
29
40
  end
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- lib = File.expand_path('../../lib', __FILE__)
3
+ lib = File.expand_path('../lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  require 'metadata_json_lint'
@@ -9,7 +9,6 @@ module MetadataJsonLint
9
9
  class Schema
10
10
  # Based on https://docs.puppet.com/puppet/latest/modules_metadata.html
11
11
  #
12
- # rubocop:disable Style/TrailingCommaInLiteral # easier to modify individual lines
13
12
  def schema
14
13
  {
15
14
  '$schema' => 'http://json-schema.org/draft-04/schema#',
@@ -101,7 +100,7 @@ module MetadataJsonLint
101
100
  'tags' => {
102
101
  'type' => 'array',
103
102
  'items' => {
104
- 'type' => 'string'
103
+ 'type' => 'string',
105
104
  },
106
105
  },
107
106
  'version' => {
@@ -121,7 +120,6 @@ module MetadataJsonLint
121
120
  ],
122
121
  }
123
122
  end
124
- # rubocop:enable Style/TrailingCommaInLiteral
125
123
 
126
124
  def validate(data, options = {})
127
125
  JSON::Validator.register_format_validator('semver', method(:semver_validator))
@@ -166,3 +164,4 @@ module MetadataJsonLint
166
164
  end
167
165
  end
168
166
  end
167
+ # rubocop:enable Metrics/ClassLength
@@ -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 = '3.0.0'
5
+ s.version = '3.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'
@@ -13,15 +13,15 @@ Gem::Specification.new do |s|
13
13
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
14
14
  s.test_files = s.files.grep(%r{^(tests|spec)/})
15
15
 
16
- s.homepage = 'http://github.com/voxpupuli/metadata-json-lint'
16
+ s.homepage = 'https://github.com/voxpupuli/metadata-json-lint'
17
17
  s.license = 'Apache-2.0'
18
18
 
19
19
  s.required_ruby_version = '>= 2.1.0'
20
- s.add_runtime_dependency 'spdx-licenses', '~> 1.0'
21
20
  s.add_runtime_dependency 'json-schema', '~> 2.8'
21
+ s.add_runtime_dependency 'spdx-licenses', '~> 1.0'
22
22
  s.add_development_dependency 'pry'
23
23
  s.add_development_dependency 'rake'
24
- s.add_development_dependency 'semantic_puppet'
25
24
  s.add_development_dependency 'rspec'
26
- s.add_development_dependency 'rubocop', '~> 0.50.0'
25
+ s.add_development_dependency 'rubocop', '~> 0.57.2'
26
+ s.add_development_dependency 'semantic_puppet'
27
27
  end
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,27 @@
1
+ begin
2
+ require 'simplecov'
3
+ require 'simplecov-console'
4
+ require 'codecov'
5
+ rescue LoadError # rubocop:disable Lint/HandleExceptions
6
+ else
7
+ SimpleCov.start do
8
+ track_files 'lib/**/*.rb'
9
+
10
+ add_filter '/spec'
11
+
12
+ enable_coverage :branch
13
+
14
+ # do not track vendored files
15
+ add_filter '/vendor'
16
+ add_filter '/.vendor'
17
+ end
18
+
19
+ SimpleCov.formatters = [
20
+ SimpleCov::Formatter::Console,
21
+ SimpleCov::Formatter::Codecov
22
+ ]
23
+ end
24
+
1
25
  require 'metadata_json_lint'
2
26
 
3
27
  # This file was generated by the `rspec --init` command
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
data/tests/no_pe/Rakefile CHANGED
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,4 +1,4 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
3
3
 
4
4
  task :test => %i[metadata_lint success]
@@ -1,4 +1,4 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
3
3
  MetadataJsonLint.options.strict_license = false
4
4
  MetadataJsonLint.options.fail_on_warnings = false
@@ -1,4 +1,4 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata_json_lint'
3
3
  MetadataJsonLint.options.fail_on_warnings = false
4
4
 
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
data/tests/types/Rakefile CHANGED
@@ -1,2 +1,2 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
1
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __dir__))
2
2
  require 'metadata-json-lint/rake_task'
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata-json-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
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-11-24 00:00:00.000000000 Z
11
+ date: 2021-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: spdx-licenses
14
+ name: json-schema
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '2.8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '2.8'
27
27
  - !ruby/object:Gem::Dependency
28
- name: json-schema
28
+ name: spdx-licenses
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.8'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.8'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: semantic_puppet
70
+ name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,33 +81,33 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rspec
84
+ name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: 0.57.2
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: 0.57.2
97
97
  - !ruby/object:Gem::Dependency
98
- name: rubocop
98
+ name: semantic_puppet
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 0.50.0
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 0.50.0
110
+ version: '0'
111
111
  description: Utility to verify Puppet metadata.json files
112
112
  email: voxpupuli@groups.io
113
113
  executables:
@@ -115,11 +115,13 @@ executables:
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
+ - ".github/dependabot.yml"
119
+ - ".github/workflows/release.yml"
120
+ - ".github/workflows/test.yml"
118
121
  - ".gitignore"
119
122
  - ".rspec"
120
123
  - ".rubocop.yml"
121
124
  - ".rubocop_todo.yml"
122
- - ".travis.yml"
123
125
  - CHANGELOG.md
124
126
  - Gemfile
125
127
  - HISTORY.md
@@ -205,7 +207,7 @@ files:
205
207
  - tests/types/Rakefile
206
208
  - tests/types/expected
207
209
  - tests/types/metadata.json
208
- homepage: http://github.com/voxpupuli/metadata-json-lint
210
+ homepage: https://github.com/voxpupuli/metadata-json-lint
209
211
  licenses:
210
212
  - Apache-2.0
211
213
  metadata: {}
@@ -224,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
226
  - !ruby/object:Gem::Version
225
227
  version: '0'
226
228
  requirements: []
227
- rubygems_version: 3.0.8
229
+ rubygems_version: 3.2.22
228
230
  signing_key:
229
231
  specification_version: 4
230
232
  summary: metadata-json-lint /path/to/metadata.json
data/.travis.yml DELETED
@@ -1,30 +0,0 @@
1
- ---
2
- language: ruby
3
-
4
- script:
5
- - bundle exec rake test
6
-
7
- rvm:
8
- - 2.1
9
- - 2.4
10
- - 2.5
11
- - 2.6
12
- - 2.7
13
-
14
- deploy:
15
- provider: rubygems
16
- api_key:
17
- secure: Rm6j/fS5n4TyqmqftwMj2Ebw0avsuDbuI9wVX4exUNiuQRru967QPrQinMuAwBGLCNYMs69ZHFBMkpk61khQGC3W7d5Yr/25HabnQBFpfO2llHhKKgM/Ckyqur+ku88EVJH9nRCDqOprJtC4RGHIA833ENL8xVP/VOvfiKG0Q14=
18
- gem: metadata-json-lint
19
- on:
20
- tags: true
21
- rvm: 2.7
22
- repo: voxpupuli/metadata-json-lint
23
-
24
- notifications:
25
- email: false
26
- irc:
27
- on_success: always
28
- on_failure: always
29
- channels:
30
- - "chat.freenode.org#voxpupuli-notifications"