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.
Files changed (4) hide show
  1. checksums.yaml +13 -5
  2. data/README.md +28 -5
  3. data/spec/spec_helper.rb +4 -2
  4. metadata +27 -26
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7a19b6f8a71a7d085e00b8c4dc8c2aa1c70f0350
4
- data.tar.gz: bc567c6838b7f3bdec4d9fbb719b50a562a55c9f
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OTFjYWFiOGQ2OWQyY2IyZjlhZmVmZTRhYmM0ZDhlMzhkOGNmMTE4Zg==
5
+ data.tar.gz: !binary |-
6
+ NTg4Y2QyMzBmMzVmMWI1NDYzNGU2NDA2Mjc5YjBmODA0YzRiNzQ1NA==
5
7
  SHA512:
6
- metadata.gz: c0a2bac21c5c62a01b618d51391f04607192eca8acc66dbb13215e3608a2bf1d6f8e984ac5328a4c0b383045974b106dfbeef1c48ca073859a4cf9e0bca19861
7
- data.tar.gz: 6f80d95338f238c007d22df8b2659c3e1fdb3a309b822841ae4468791a11f671c156af5efed8bc87132af6ff76d7ffd8a2b3a934ba6546443e6d8bb6c4e55fa0
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://travis-ci.org/camptocamp/puppet-lint-file_ensure-check.svg)](https://travis-ci.org/camptocamp/puppet-lint-file_ensure-check)
5
- [![Code Climate](https://codeclimate.com/github/camptocamp/puppet-lint-file_ensure-check/badges/gpa.svg)](https://codeclimate.com/github/camptocamp/puppet-lint-file_ensure-check)
6
- [![Gem Version](https://badge.fury.io/rb/puppet-lint-file_ensure-check.svg)](http://badge.fury.io/rb/puppet-lint-file_ensure-check)
7
- [![Coverage Status](https://img.shields.io/coveralls/camptocamp/puppet-lint-file_ensure-check.svg)](https://coveralls.io/r/camptocamp/puppet-lint-file_ensure-check?branch=master)
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
@@ -1,5 +1,7 @@
1
- require 'coveralls'
2
- Coveralls.wear!
1
+ unless RUBY_VERSION =~ /^1\.8/
2
+ require 'coveralls'
3
+ Coveralls.wear!
4
+ end
3
5
 
4
6
  require 'puppet-lint'
5
7
 
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.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - Camptocamp
7
+ - Puppet Community
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-10 00:00:00.000000000 Z
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: '1.0'
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: '1.0'
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: |2
112
- A puppet-lint plugin to check the ensure attribute on file resources.
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/camptocamp/puppet-lint-file_ensure-check
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.2.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