puppet-lint-leading_zero-check 0.1.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +20 -5
  3. data/spec/spec_helper.rb +24 -3
  4. metadata +29 -46
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjZkYWM5MzA2OTI4NDlkNjk4YjMxNjE1MDg5ZTlmY2FmZjMyMDZlNw==
5
- data.tar.gz: !binary |-
6
- YzBkODViNzU2NDY0MjA0ZmE3NTJiYTE1ZTNkZjJiZjMwMjNhOTVkZQ==
2
+ SHA256:
3
+ metadata.gz: 7ec67794fd06f168d066c55406fcee4441866e5bdd82856b1a506b929198fd49
4
+ data.tar.gz: cf60f4b0326fdc2e4b122d2c37dccf38a7f7b2476601cfaf4e98a9574ced3c0b
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MmI2NDNjYWVlMDU1NGE5NzRmOWNjYzhlZjBmYWNhYzJhNmMwODA4ZjY4MzM5
10
- OTY3Zjg2NzhmZDIxMzQ1YTYzNGRhMWYxYzcxNWU2NmRjYTgyYWRmNzkwNTA1
11
- MTMwMzNjZmM0YTNlZDViMGUwMjFlMTRlNmI0MjIyZGM4ZTZiZTM=
12
- data.tar.gz: !binary |-
13
- ZGE3NjFiYjdkNDU5OTdhODU0NzYwNmFjMDRmNWZiZTRhNzM1OWVmYmNmMjE4
14
- MDBjYjA2YjIzNjVjMjg2ODk4YmRhZmU5ZDY5M2U4MDg2MGUxYWIzNmZlZDVi
15
- MWIyZmFhYzQ3ZjI1MGZkY2E5ZTBkYTI3YTViMDU3YTk1NzBkOTY=
6
+ metadata.gz: 87aefd4f4335380c8f2d9c37f628f5097a7cd76779ac06970bfb9d2fe6e4bb0bfa6466ef65c569a3516f8aba84a79885148739993db174fc38e349e1b89d3aff
7
+ data.tar.gz: a95cf6d1cb9eaefcddbfcf3b60d1a27b5aa09bea24e8873cfa9f78a65f3f4543380075523c9fa854c6a935b5fc973fe5849845c4538f3b0ff0fa777227ebb0a4
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  puppet-lint-leading_zero-check
2
2
  ===============================
3
3
 
4
- [![Build Status](https://img.shields.io/travis/puppet-community/puppet-lint-leading_zero-check.svg)](https://travis-ci.org/puppet-community/puppet-lint-leading_zero-check)
5
- [![Gem Version](https://img.shields.io/gem/v/puppet-lint-leading_zero-check.svg)](https://rubygems.org/gems/puppet-lint-leading_zero-check)
6
- [![Gem Downloads](https://img.shields.io/gem/dt/puppet-lint-leading_zero-check.svg)](https://rubygems.org/gems/puppet-lint-leading_zero-check)
7
- [![Coverage Status](https://img.shields.io/coveralls/puppet-community/puppet-lint-leading_zero-check.svg)](https://coveralls.io/r/puppet-community/puppet-lint-leading_zero-check?branch=master)
8
- [![Gemnasium](https://img.shields.io/gemnasium/puppet-community/puppet-lint-leading_zero-check.svg)](https://gemnasium.com/puppet-community/puppet-lint-leading_zero-check)
4
+ [![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-leading_zero-check.svg)](https://github.com/voxpupuli/puppet-lint-leading_zero-check/blob/master/LICENSE)
5
+ [![Test](https://github.com/voxpupuli/puppet-lint-leading_zero-check/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-leading_zero-check/actions/workflows/test.yml)
6
+ [![Release](https://github.com/voxpupuli/puppet-lint-leading_zero-check/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-leading_zero-check/actions/workflows/release.yml)
7
+ [![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-leading_zero-check.svg)](https://rubygems.org/gems/puppet-lint-leading_zero-check)
8
+ [![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-leading_zero-check.svg)](https://rubygems.org/gems/puppet-lint-leading_zero-check)
9
9
  [![Donated by Camptocamp](https://img.shields.io/badge/donated%20by-camptocamp-fb7047.svg)](#transfer-notice)
10
+ [![codecov](https://codecov.io/gh/voxpupuli/puppet-lint-leading_zero-check/branch/master/graph/badge.svg)](https://codecov.io/gh/voxpupuli/puppet-lint-leading_zero-check)
10
11
 
11
12
  A puppet-lint plugin to check for unquoted numbers with leading zero.
12
13
 
@@ -65,3 +66,17 @@ The maintainer preferred that Puppet Community take ownership of the module for
65
66
  Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
66
67
 
67
68
  Previously: https://github.com/camptocamp/puppet-lint-leading_zero-check
69
+
70
+ ## License
71
+
72
+ This gem is licensed under the Apache-2 license.
73
+
74
+ ## Release information
75
+
76
+ To make a new release, please do:
77
+ * update the version in the gemspec file
78
+ * Install gems with `bundle install --with release --path .vendor`
79
+ * generate the changelog with `bundle exec rake changelog`
80
+ * Check if the new version matches the closed issues/PRs in the changelog
81
+ * Create a PR with it
82
+ * After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,27 @@
1
- unless RUBY_VERSION =~ /^1\.8/
2
- require 'coveralls'
3
- Coveralls.wear!
1
+ # frozen_string_literal: true
2
+
3
+ begin
4
+ require 'simplecov'
5
+ require 'simplecov-console'
6
+ require 'codecov'
7
+ rescue LoadError
8
+ else
9
+ SimpleCov.start do
10
+ track_files 'lib/**/*.rb'
11
+
12
+ add_filter '/spec'
13
+
14
+ enable_coverage :branch
15
+
16
+ # do not track vendored files
17
+ add_filter '/vendor'
18
+ add_filter '/.vendor'
19
+ end
20
+
21
+ SimpleCov.formatters = [
22
+ SimpleCov::Formatter::Console,
23
+ SimpleCov::Formatter::Codecov,
24
+ ]
4
25
  end
5
26
 
6
27
  require 'puppet-lint'
metadata CHANGED
@@ -1,124 +1,108 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-leading_zero-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Puppet Community
7
+ - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet-lint
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '3.0'
22
+ version: '4.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ! '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.0'
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '3.0'
32
+ version: '4.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ~>
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '3.0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ~>
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '3.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec-its
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ~>
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec-collection_matchers
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ~>
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ~>
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: mime-types
76
+ name: simplecov
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
80
- - !ruby/object:Gem::Version
81
- version: '1.0'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ~>
79
+ - - ">="
87
80
  - !ruby/object:Gem::Version
88
- version: '1.0'
89
- - !ruby/object:Gem::Dependency
90
- name: coveralls
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - ~>
94
- - !ruby/object:Gem::Version
95
- version: '0.7'
81
+ version: '0'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
- - - ~>
86
+ - - ">="
101
87
  - !ruby/object:Gem::Version
102
- version: '0.7'
88
+ version: '0'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: rake
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
- - - ! '>='
93
+ - - ">="
108
94
  - !ruby/object:Gem::Version
109
95
  version: '0'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
- - - ! '>='
100
+ - - ">="
115
101
  - !ruby/object:Gem::Version
116
102
  version: '0'
117
- description: ! ' A puppet-lint plugin to check for unquoted numbers with leading
118
- zero.
119
-
120
- '
121
- email: raphael.pinson@camptocamp.com
103
+ description: " A puppet-lint plugin to check for unquoted numbers with leading
104
+ zero.\n"
105
+ email: voxpupuli@groups.io
122
106
  executables: []
123
107
  extensions: []
124
108
  extra_rdoc_files: []
@@ -128,7 +112,7 @@ files:
128
112
  - lib/puppet-lint/plugins/check_leading_zero.rb
129
113
  - spec/puppet-lint/plugins/check_leading_zero/check_leading_zero_spec.rb
130
114
  - spec/spec_helper.rb
131
- homepage: https://github.com/puppet-community/puppet-lint-leading_zero-check
115
+ homepage: https://github.com/voxpupuli/puppet-lint-leading_zero-check
132
116
  licenses:
133
117
  - Apache-2.0
134
118
  metadata: {}
@@ -138,17 +122,16 @@ require_paths:
138
122
  - lib
139
123
  required_ruby_version: !ruby/object:Gem::Requirement
140
124
  requirements:
141
- - - ! '>='
125
+ - - ">="
142
126
  - !ruby/object:Gem::Version
143
127
  version: '0'
144
128
  required_rubygems_version: !ruby/object:Gem::Requirement
145
129
  requirements:
146
- - - ! '>='
130
+ - - ">="
147
131
  - !ruby/object:Gem::Version
148
132
  version: '0'
149
133
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.4.5
134
+ rubygems_version: 3.2.33
152
135
  signing_key:
153
136
  specification_version: 4
154
137
  summary: A puppet-lint plugin to check for unquoted numbers with leading zero.