puppet-lint-file_ensure-check 0.3.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 +30 -33
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjEyZWUzYmM4YzIyYTQxODJkZWM5NGYzYzRjZDNmYTkwNTQwM2Q0Yw==
5
- data.tar.gz: !binary |-
6
- NmRlODFjYmU4ZTdiNTlmOGYyOTNjNTNiZjE3MmYzOGUwNzBmODE4ZQ==
2
+ SHA256:
3
+ metadata.gz: 51b0ede786ff01cca71b84fcae04321a10facbaf5fce60719b4f25beeb158f5b
4
+ data.tar.gz: 5156be528b986222ad588414cefdc359edbde1a536c91fd0c72beb907f129843
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YmYxM2U1MjUyNmQ4ZmJiYWVjNThiYmU1YjQ2MDIzNzI1NWViZjk5ZjcxZWJl
10
- OTQxNjY4MmYwMmQzODFkMWIwMmQ2NjJiYTQzZTJlNmEzMTM4Y2Y3NTQ2ZjUx
11
- ZDgwZTdmZmVhYjMzYzE0YTQ4OGI2ZjdiZDEyYzY2NWUzNzNkMDU=
12
- data.tar.gz: !binary |-
13
- MDkyNGIxMWNkNTI3YTY1YmRhOGI3NGIwNGE3YTI4NWMzZjMxMzAwOTE5NTIy
14
- Y2VjNWFiMmM4NWYwNTEyY2I1OTgyMmEwZDU4NDBkMjhkZDYwYzhkOTY5MmNh
15
- MTM4MTVhZDhmZTM1ZmU2ODQ5ZjMyNTljMzQ4NGNhZTcyMDI2N2E=
6
+ metadata.gz: 54690c5c649b77a713544b57a2cfc1abb4cfd4e97601a2a3d4d4616a8b2c9ed7b60125b44fe449ed08863e91cd15c5c718ba77e2c0077d67d95384496abd63a2
7
+ data.tar.gz: 8cd362c8f9d8906d325fc1370dd6697332be0593de59a9917119327bf20406672bd80f47c2db039bfef45a7676339b4b1de8b99e0cd08a3477b356571f044985
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  puppet-lint-file_ensure-check
2
2
  ==============================
3
3
 
4
- [![Build Status](https://img.shields.io/travis/puppet-community/puppet-lint-file_ensure-check.svg)](https://travis-ci.org/puppet-community/puppet-lint-file_ensure-check)
5
- [![Gem Version](https://img.shields.io/gem/v/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-check)
6
- [![Gem Downloads](https://img.shields.io/gem/dt/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-check)
7
- [![Coverage Status](https://img.shields.io/coveralls/puppet-community/puppet-lint-file_ensure-check.svg)](https://coveralls.io/r/puppet-community/puppet-lint-file_ensure-check?branch=master)
8
- [![Gemnasium](https://img.shields.io/gemnasium/puppet-community/puppet-lint-file_ensure-check.svg)](https://gemnasium.com/puppet-community/puppet-lint-file_ensure-check)
4
+ [![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-file_ensure-check.svg)](https://github.com/voxpupuli/puppet-lint-file_ensure-check/blob/master/LICENSE)
5
+ [![Test](https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/test.yml)
6
+ [![Release](https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/release.yml)
7
+ [![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-check)
8
+ [![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-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-file_ensure-check/branch/master/graph/badge.svg)](https://codecov.io/gh/voxpupuli/puppet-lint-file_ensure-check)
10
11
 
11
12
  A puppet-lint plugin to check the ensure attribute on file resources.
12
13
 
@@ -68,3 +69,17 @@ The maintainer preferred that Puppet Community take ownership of the module for
68
69
  Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
69
70
 
70
71
  Previously: https://github.com/camptocamp/puppet-lint-file_ensure-check
72
+
73
+ ## License
74
+
75
+ This gem is licensed under the Apache-2 license.
76
+
77
+ ## Release information
78
+
79
+ To make a new release, please do:
80
+ * update the version in the gemspec file
81
+ * Install gems with `bundle install --with release --path .vendor`
82
+ * generate the changelog with `bundle exec rake changelog`
83
+ * Check if the new version matches the closed issues/PRs in the changelog
84
+ * Create a PR with it
85
+ * 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,121 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-file_ensure-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.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
76
  name: mime-types
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '1.0'
81
+ version: '0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ~>
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: '1.0'
88
+ version: '0'
89
89
  - !ruby/object:Gem::Dependency
90
- name: coveralls
90
+ name: simplecov
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ~>
93
+ - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '0.7'
95
+ version: '0'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ~>
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: '0.7'
102
+ version: '0'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rake
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ! '>='
107
+ - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - ! '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
- description: ! ' A puppet-lint plugin to check the ensure attribute on file resources.
118
-
119
- '
120
- email: raphael.pinson@camptocamp.com
117
+ description: " A puppet-lint plugin to check the ensure attribute on file resources.\n"
118
+ email: voxpupuli@groups.io
121
119
  executables: []
122
120
  extensions: []
123
121
  extra_rdoc_files: []
@@ -127,7 +125,7 @@ files:
127
125
  - lib/puppet-lint/plugins/check_file_ensure.rb
128
126
  - spec/puppet-lint/plugins/check_file_ensure/check_file_ensure_spec.rb
129
127
  - spec/spec_helper.rb
130
- homepage: https://github.com/puppet-community/puppet-lint-file_ensure-check
128
+ homepage: https://github.com/voxpupuli/puppet-lint-file_ensure-check
131
129
  licenses:
132
130
  - Apache-2.0
133
131
  metadata: {}
@@ -137,17 +135,16 @@ require_paths:
137
135
  - lib
138
136
  required_ruby_version: !ruby/object:Gem::Requirement
139
137
  requirements:
140
- - - ! '>='
138
+ - - ">="
141
139
  - !ruby/object:Gem::Version
142
140
  version: '0'
143
141
  required_rubygems_version: !ruby/object:Gem::Requirement
144
142
  requirements:
145
- - - ! '>='
143
+ - - ">="
146
144
  - !ruby/object:Gem::Version
147
145
  version: '0'
148
146
  requirements: []
149
- rubyforge_project:
150
- rubygems_version: 2.4.5
147
+ rubygems_version: 3.2.22
151
148
  signing_key:
152
149
  specification_version: 4
153
150
  summary: A puppet-lint plugin to check the ensure attribute on file resources.