puppet-lint-version_comparison-check 0.2.1 → 1.0.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 +26 -43
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YzYxZGEwNmYxZmM4OTVlYWQzZjQ4ZmE3ZDY1NTUxMzRkZjhjMDJjOA==
5
- data.tar.gz: !binary |-
6
- ZDU2NGIyZDk3M2VjMmVmODRlYTc4M2JiMDVkMTY5YzViZTU0NmNlNQ==
2
+ SHA256:
3
+ metadata.gz: 6bcd113ab1b2615a258c6728ec80d28c326ebffea43cd9792edd736ef0f24783
4
+ data.tar.gz: 00ff9331aa96fe9e7fb1923c0a0c8f3570399951b0ff4e49ec7c7a34a6c29572
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NDIxNzQxNmI2NzIzY2Y1Yzc2ZWQ3M2IwZTlmZTQ0MGZlNmQ2ODdhYjg2OGE0
10
- NzI0OGRiOTZmNTMyOWMzNmY0NGQ2ZjFhM2QyYzBjNTI0NTkyMmZhNjU4ZDBi
11
- OTM0OTYyYTViODI4MDk1N2I3ZjhkN2ViZmJmNjFhNGY1YTE1NzQ=
12
- data.tar.gz: !binary |-
13
- MDZkMTQxZWE3OTM2NzUwOTMzODdkNWEzZjQyNWU4ZjRjNGFmNzM0ZTFmNTY3
14
- MWFiYTc3N2Q0OWNjOWM1NWFhNTU2N2Y4YjRkNTUzYmIxMTM5YTZjZmVkZmZm
15
- ZTVjZDY3M2ZjOGRhZTMzODJhMTAyOWU0YmE5OTA0MTFlYzU2ZjU=
6
+ metadata.gz: dc7130382c2365cd42df054dadd482bf18ffc753e9662cb31367cead43e37bc0dae7e95c84a47fee20a5e5fab71c001d4624be29586e397771bc4b7235d6ec8b
7
+ data.tar.gz: ce7799a7fa00c4e3178fafdf46607a74779d8c15b450ef0764fdd9b89ec0e52f8e02353647a90c4b009a9969c41c6462afffde3df2a0c61d20341eb0f8f6a336
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  puppet-lint-version_comparison-check
2
2
  ====================================
3
3
 
4
- [![Build Status](https://img.shields.io/travis/puppet-community/puppet-lint-version_comparison-check.svg)](https://travis-ci.org/puppet-community/puppet-lint-version_comparison-check)
5
- [![Gem Version](https://img.shields.io/gem/v/puppet-lint-version_comparison-check.svg)](https://rubygems.org/gems/puppet-lint-version_comparison-check)
6
- [![Gem Downloads](https://img.shields.io/gem/dt/puppet-lint-version_comparison-check.svg)](https://rubygems.org/gems/puppet-lint-version_comparison-check)
7
- [![Coverage Status](https://img.shields.io/coveralls/puppet-community/puppet-lint-version_comparison-check.svg)](https://coveralls.io/r/puppet-community/puppet-lint-version_comparison-check?branch=master)
8
- [![Gemnasium](https://img.shields.io/gemnasium/puppet-community/puppet-lint-version_comparison-check.svg)](https://gemnasium.com/puppet-community/puppet-lint-version_comparison-check)
4
+ [![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-version_comparison-check.svg)](https://github.com/voxpupuli/puppet-lint-version_comparison-check/blob/master/LICENSE)
5
+ [![Test](https://github.com/voxpupuli/puppet-lint-version_comparison-check/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-version_comparison-check/actions/workflows/test.yml)
6
+ [![Release](https://github.com/voxpupuli/puppet-lint-version_comparison-check/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-version_comparison-check/actions/workflows/release.yml)
7
+ [![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-version_comparison-check.svg)](https://rubygems.org/gems/puppet-lint-version_comparison-check)
8
+ [![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-version_comparison-check.svg)](https://rubygems.org/gems/puppet-lint-version_comparison-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-version_comparison-check/branch/master/graph/badge.svg)](https://codecov.io/gh/voxpupuli/puppet-lint-version_comparison-check)
10
11
 
11
12
  A puppet-lint plugin to check for versions compared as numbers.
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-version_comparison-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,123 +1,107 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-version_comparison-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.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: 2021-09-17 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
22
  version: '3.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
32
  version: '3.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
- - - ~>
79
+ - - ">="
80
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
- - - ~>
87
- - !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 versions compared as numbers.
118
-
119
- '
120
- email: raphael.pinson@camptocamp.com
103
+ description: " A puppet-lint plugin to check for versions compared as numbers.\n"
104
+ email: voxpupuli@groups.io
121
105
  executables: []
122
106
  extensions: []
123
107
  extra_rdoc_files: []
@@ -127,7 +111,7 @@ files:
127
111
  - lib/puppet-lint/plugins/check_version_comparison.rb
128
112
  - spec/puppet-lint/plugins/check_version_comparison/version_comparison_spec.rb
129
113
  - spec/spec_helper.rb
130
- homepage: https://github.com/puppet-community/puppet-lint-version_comparison-check
114
+ homepage: https://github.com/voxpupuli/puppet-lint-version_comparison-check
131
115
  licenses:
132
116
  - Apache-2.0
133
117
  metadata: {}
@@ -137,17 +121,16 @@ require_paths:
137
121
  - lib
138
122
  required_ruby_version: !ruby/object:Gem::Requirement
139
123
  requirements:
140
- - - ! '>='
124
+ - - ">="
141
125
  - !ruby/object:Gem::Version
142
126
  version: '0'
143
127
  required_rubygems_version: !ruby/object:Gem::Requirement
144
128
  requirements:
145
- - - ! '>='
129
+ - - ">="
146
130
  - !ruby/object:Gem::Version
147
131
  version: '0'
148
132
  requirements: []
149
- rubyforge_project:
150
- rubygems_version: 2.4.5
133
+ rubygems_version: 3.2.22
151
134
  signing_key:
152
135
  specification_version: 4
153
136
  summary: A puppet-lint plugin to check for versions compared as numbers.