puppet-lint-file_ensure-check 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +28 -5
- data/spec/spec_helper.rb +4 -2
- metadata +27 -26
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OTFjYWFiOGQ2OWQyY2IyZjlhZmVmZTRhYmM0ZDhlMzhkOGNmMTE4Zg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTg4Y2QyMzBmMzVmMWI1NDYzNGU2NDA2Mjc5YjBmODA0YzRiNzQ1NA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YzY1ODhlZTNkODg1NDUwNGY0ZTNlMTlhNTJiMWZhMGU5ZDE5NWRlMTA3ZjA4
|
10
|
+
ODZmMzRkOTdmZDVjM2IwMTVhMTY2OGQ0MzY0NjcyM2Q2YmNmNzc0ODExMGU1
|
11
|
+
MjNhOTkwZmExMWJhYjU0MGQ2MmI0ZjM4M2JlYjM4NjczYmFlOWQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZjQwM2UzZmIyMTUwMzMyN2E4ZTAyM2EyNmJhYjA4MDU0M2I3M2ZjNDc3YWE4
|
14
|
+
MzI5YjIxZjBiYTJmNTY5NGMzN2RjZjU2ZDY1YzczMzg0ODQxY2Y4NmY3NDMw
|
15
|
+
MzZkYmJiOTI4NGYwMjIyZmFhMTQ1ZTFiNzkyYTliNDk4MTZlYTg=
|
data/README.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1
1
|
puppet-lint-file_ensure-check
|
2
|
-
|
2
|
+
==============================
|
3
3
|
|
4
|
-
[![Build Status](https://
|
5
|
-
[![
|
6
|
-
[![Gem
|
7
|
-
[![Coverage Status](https://img.shields.io/coveralls/
|
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)
|
9
|
+
[![Donated by Camptocamp](https://img.shields.io/badge/donated%20by-camptocamp-fb7047.svg)](#transfer-notice)
|
8
10
|
|
9
11
|
A puppet-lint plugin to check the ensure attribute on file resources.
|
10
12
|
|
13
|
+
## Installing
|
14
|
+
|
15
|
+
### From the command line
|
16
|
+
|
17
|
+
```shell
|
18
|
+
$ gem install puppet-lint-file_ensure-check
|
19
|
+
```
|
20
|
+
|
21
|
+
### In a Gemfile
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
gem 'puppet-lint-file_ensure-check', :require => false
|
25
|
+
```
|
11
26
|
|
12
27
|
## Checks
|
13
28
|
|
@@ -45,3 +60,11 @@ Alternatively, if you’re calling puppet-lint via the Rake task, you should ins
|
|
45
60
|
```ruby
|
46
61
|
PuppetLint.configuration.send('disable_file_ensure')
|
47
62
|
```
|
63
|
+
|
64
|
+
## Transfer Notice
|
65
|
+
|
66
|
+
This plugin was originally authored by [Camptocamp](http://www.camptocamp.com).
|
67
|
+
The maintainer preferred that Puppet Community take ownership of the module for future improvement and maintenance.
|
68
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
|
69
|
+
|
70
|
+
Previously: https://github.com/camptocamp/puppet-lint-file_ensure-check
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,115 +1,116 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-file_ensure-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Puppet Community
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-22 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
|
-
version: '
|
19
|
+
version: '2.0'
|
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: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-its
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec-collection_matchers
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mime-types
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: coveralls
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.7'
|
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
96
|
version: '0.7'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
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
110
|
version: '0'
|
111
|
-
description:
|
112
|
-
|
111
|
+
description: ! ' A puppet-lint plugin to check the ensure attribute on file resources.
|
112
|
+
|
113
|
+
'
|
113
114
|
email: raphael.pinson@camptocamp.com
|
114
115
|
executables: []
|
115
116
|
extensions: []
|
@@ -120,7 +121,7 @@ files:
|
|
120
121
|
- lib/puppet-lint/plugins/check_file_ensure.rb
|
121
122
|
- spec/puppet-lint/plugins/check_file_ensure/check_file_ensure_spec.rb
|
122
123
|
- spec/spec_helper.rb
|
123
|
-
homepage: https://github.com/
|
124
|
+
homepage: https://github.com/puppet-community/puppet-lint-file_ensure-check
|
124
125
|
licenses:
|
125
126
|
- Apache-2.0
|
126
127
|
metadata: {}
|
@@ -130,20 +131,20 @@ require_paths:
|
|
130
131
|
- lib
|
131
132
|
required_ruby_version: !ruby/object:Gem::Requirement
|
132
133
|
requirements:
|
133
|
-
- -
|
134
|
+
- - ! '>='
|
134
135
|
- !ruby/object:Gem::Version
|
135
136
|
version: '0'
|
136
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
138
|
requirements:
|
138
|
-
- -
|
139
|
+
- - ! '>='
|
139
140
|
- !ruby/object:Gem::Version
|
140
141
|
version: '0'
|
141
142
|
requirements: []
|
142
143
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.4.5
|
144
145
|
signing_key:
|
145
146
|
specification_version: 4
|
146
147
|
summary: A puppet-lint plugin to check the ensure attribute on file resources.
|
147
148
|
test_files:
|
148
|
-
- spec/spec_helper.rb
|
149
149
|
- spec/puppet-lint/plugins/check_file_ensure/check_file_ensure_spec.rb
|
150
|
+
- spec/spec_helper.rb
|