puppet-lint-version_comparison-check 0.2.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +5 -13
  2. data/CHANGELOG.md +46 -0
  3. data/README.md +20 -5
  4. data/spec/spec_helper.rb +24 -3
  5. metadata +29 -45
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: 8fb963a206341b0ca35ac2ae345a68d25ef28553fb6710cccecadce1e8fb417f
4
+ data.tar.gz: '058e28f92340c9c4714f6330ea34d0b57459be5a2c395e2f3ac20caf6059b86b'
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: 6b0ccc13db5fbbcbaa7b3907b8f7ac46b2ad0945cab46b67fec2de08bb5bfb08e319595c9ac9fa5cf1b8b3dbe9c72c651da7973ff4ad1c92d007853aa36b0a20
7
+ data.tar.gz: 422a9cfe4bfca63c9b2b71bb7c4ed1f183341eb1240cc8318c5a45f51b00af1adcabfe6cf0f77751119705f45eabe9f1283b4c48f448f775964a287ce1b9cbd0
data/CHANGELOG.md ADDED
@@ -0,0 +1,46 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [1.1.0](https://github.com/voxpupuli/puppet-lint-version_comparison-check/tree/1.1.0) (2022-11-29)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-version_comparison-check/compare/1.0.0...1.1.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - puppet-lint: Allow 3.x [\#13](https://github.com/voxpupuli/puppet-lint-version_comparison-check/pull/13) ([bastelfreak](https://github.com/bastelfreak))
12
+
13
+ ## [1.0.0](https://github.com/voxpupuli/puppet-lint-version_comparison-check/tree/1.0.0) (2021-09-17)
14
+
15
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-version_comparison-check/compare/0.2.1...1.0.0)
16
+
17
+ **Merged pull requests:**
18
+
19
+ - README.md: fix typo [\#8](https://github.com/voxpupuli/puppet-lint-version_comparison-check/pull/8) ([kenyon](https://github.com/kenyon))
20
+ - cleanup Gemfile/gemspec/README.md [\#7](https://github.com/voxpupuli/puppet-lint-version_comparison-check/pull/7) ([bastelfreak](https://github.com/bastelfreak))
21
+ - Convert to Github Actions [\#5](https://github.com/voxpupuli/puppet-lint-version_comparison-check/pull/5) ([ekohl](https://github.com/ekohl))
22
+
23
+ ## [0.2.1](https://github.com/voxpupuli/puppet-lint-version_comparison-check/tree/0.2.1) (2016-06-22)
24
+
25
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-version_comparison-check/compare/0.1.2...0.2.1)
26
+
27
+ **Merged pull requests:**
28
+
29
+ - With the release of puppet-lint 2.0.0, support ~\>2.0 versions. [\#3](https://github.com/voxpupuli/puppet-lint-version_comparison-check/pull/3) ([rnelson0](https://github.com/rnelson0))
30
+ - With the release of puppet-lint 2.0.0, support ~\>2.0 versions. [\#2](https://github.com/voxpupuli/puppet-lint-version_comparison-check/pull/2) ([rnelson0](https://github.com/rnelson0))
31
+
32
+ ## [0.1.2](https://github.com/voxpupuli/puppet-lint-version_comparison-check/tree/0.1.2) (2015-02-19)
33
+
34
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-version_comparison-check/compare/0.1.1...0.1.2)
35
+
36
+ ## [0.1.1](https://github.com/voxpupuli/puppet-lint-version_comparison-check/tree/0.1.1) (2015-02-19)
37
+
38
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-version_comparison-check/compare/0.1.0...0.1.1)
39
+
40
+ ## [0.1.0](https://github.com/voxpupuli/puppet-lint-version_comparison-check/tree/0.1.0) (2015-02-19)
41
+
42
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-version_comparison-check/compare/87366d0663f2fe11ea14eb3c8cc5560452811970...0.1.0)
43
+
44
+
45
+
46
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
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,133 +1,118 @@
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.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: 2022-11-29 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'
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'
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 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: []
124
108
  files:
109
+ - CHANGELOG.md
125
110
  - LICENSE
126
111
  - README.md
127
112
  - lib/puppet-lint/plugins/check_version_comparison.rb
128
113
  - spec/puppet-lint/plugins/check_version_comparison/version_comparison_spec.rb
129
114
  - spec/spec_helper.rb
130
- homepage: https://github.com/puppet-community/puppet-lint-version_comparison-check
115
+ homepage: https://github.com/voxpupuli/puppet-lint-version_comparison-check
131
116
  licenses:
132
117
  - Apache-2.0
133
118
  metadata: {}
@@ -137,17 +122,16 @@ require_paths:
137
122
  - lib
138
123
  required_ruby_version: !ruby/object:Gem::Requirement
139
124
  requirements:
140
- - - ! '>='
125
+ - - ">="
141
126
  - !ruby/object:Gem::Version
142
127
  version: '0'
143
128
  required_rubygems_version: !ruby/object:Gem::Requirement
144
129
  requirements:
145
- - - ! '>='
130
+ - - ">="
146
131
  - !ruby/object:Gem::Version
147
132
  version: '0'
148
133
  requirements: []
149
- rubyforge_project:
150
- rubygems_version: 2.4.5
134
+ rubygems_version: 3.2.33
151
135
  signing_key:
152
136
  specification_version: 4
153
137
  summary: A puppet-lint plugin to check for versions compared as numbers.