puppet-lint-trailing_comma-check 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +27 -4
- data/spec/spec_helper.rb +4 -2
- metadata +31 -24
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MzdiMGE0NDNhMzA0ZTJlMWU3YTEyY2M0ODFiOTBjODE5OTYwNjEwMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NGRlYjY3ODg3NjAzZTM4YmNjM2JiNWM3ZGExZTJmYWUxMmY4NTAwZA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OWRkZjA2NjQzZjYxZGNkZmE2MzBjYzNkYTQ1YTE3YWI3ODRkOTdkMTc0NTEy
|
10
|
+
YzJhY2ZlZDBiNDE2NTZlOWY3ZDQ4MDdjYzdlZjAzOGVkYmI1MzA2NWEyYTBl
|
11
|
+
OTMwMWZhNzc2NDUwZTdlOGY3MDU3Yzg2ZWFhYjk5NDk5NGMwNTM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTEwNDY2YjEwMjIwMzIxZWJjN2ExZjkwZDM4MTUzMTRkYWFkZmFmYjEwYmVm
|
14
|
+
MzAwZmM3NjQwYmZjMTAwNzY2NzJiYmEwMjg0MmY5MjQwOTEyMTk1YzhjMjZl
|
15
|
+
MzY2NzhmYzc5M2ExZGY4ZTZlMjJiZDAwYzEzOWE3OGEzNjU3YWI=
|
data/README.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1
1
|
puppet-lint-trailing_comma-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-trailing_comma-check.svg)](https://travis-ci.org/puppet-community/puppet-lint-trailing_comma-check)
|
5
|
+
[![Gem Version](https://img.shields.io/gem/v/puppet-lint-trailing_comma-check.svg)](https://rubygems.org/gems/puppet-lint-trailing_comma-check)
|
6
|
+
[![Gem Downloads](https://img.shields.io/gem/dt/puppet-lint-trailing_comma-check.svg)](https://rubygems.org/gems/puppet-lint-trailing_comma-check)
|
7
|
+
[![Coverage Status](https://img.shields.io/coveralls/puppet-community/puppet-lint-trailing_comma-check.svg)](https://coveralls.io/r/puppet-community/puppet-lint-trailing_comma-check?branch=master)
|
8
|
+
[![Gemnasium](https://img.shields.io/gemnasium/puppet-community/puppet-lint-trailing_comma-check.svg)](https://gemnasium.com/puppet-community/puppet-lint-trailing_comma-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 for missing trailing commas.
|
10
12
|
|
13
|
+
## Installing
|
14
|
+
|
15
|
+
### From the command line
|
16
|
+
|
17
|
+
```shell
|
18
|
+
$ gem install puppet-lint-trailing_comma-check
|
19
|
+
```
|
20
|
+
|
21
|
+
### In a Gemfile
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
gem 'puppet-lint-trailing_comma-check', :require => false
|
25
|
+
```
|
11
26
|
|
12
27
|
## Checks
|
13
28
|
|
@@ -46,3 +61,11 @@ Alternatively, if you’re calling puppet-lint via the Rake task, you should ins
|
|
46
61
|
```ruby
|
47
62
|
PuppetLint.configuration.send('disable_trailing_comma')
|
48
63
|
```
|
64
|
+
|
65
|
+
## Transfer Notice
|
66
|
+
|
67
|
+
This plugin was originally authored by [Camptocamp](http://www.camptocamp.com).
|
68
|
+
The maintainer preferred that Puppet Community take ownership of the module for future improvement and maintenance.
|
69
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
|
70
|
+
|
71
|
+
Previously: https://github.com/camptocamp/puppet-lint-trailing_comma-check
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,115 +1,122 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-trailing_comma-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
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
19
|
version: '1.0'
|
20
|
+
- - <
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.0'
|
30
|
+
- - <
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rspec
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- -
|
37
|
+
- - ~>
|
32
38
|
- !ruby/object:Gem::Version
|
33
39
|
version: '3.0'
|
34
40
|
type: :development
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- -
|
44
|
+
- - ~>
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: '3.0'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rspec-its
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '1.0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- -
|
58
|
+
- - ~>
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: '1.0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rspec-collection_matchers
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- -
|
65
|
+
- - ~>
|
60
66
|
- !ruby/object:Gem::Version
|
61
67
|
version: '1.0'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- -
|
72
|
+
- - ~>
|
67
73
|
- !ruby/object:Gem::Version
|
68
74
|
version: '1.0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: mime-types
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- -
|
79
|
+
- - ~>
|
74
80
|
- !ruby/object:Gem::Version
|
75
81
|
version: '1.0'
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
|
-
- -
|
86
|
+
- - ~>
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: '1.0'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: coveralls
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- -
|
93
|
+
- - ~>
|
88
94
|
- !ruby/object:Gem::Version
|
89
95
|
version: '0.7'
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
|
-
- -
|
100
|
+
- - ~>
|
95
101
|
- !ruby/object:Gem::Version
|
96
102
|
version: '0.7'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: rake
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
|
-
- -
|
107
|
+
- - ! '>='
|
102
108
|
- !ruby/object:Gem::Version
|
103
109
|
version: '0'
|
104
110
|
type: :development
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
|
-
- -
|
114
|
+
- - ! '>='
|
109
115
|
- !ruby/object:Gem::Version
|
110
116
|
version: '0'
|
111
|
-
description:
|
112
|
-
|
117
|
+
description: ! ' A puppet-lint plugin to check for missing trailing commas.
|
118
|
+
|
119
|
+
'
|
113
120
|
email: raphael.pinson@camptocamp.com
|
114
121
|
executables: []
|
115
122
|
extensions: []
|
@@ -120,7 +127,7 @@ files:
|
|
120
127
|
- lib/puppet-lint/plugins/check_trailing_comma.rb
|
121
128
|
- spec/puppet-lint/plugins/check_trailing_comma/check_trailing_comma_spec.rb
|
122
129
|
- spec/spec_helper.rb
|
123
|
-
homepage: https://github.com/
|
130
|
+
homepage: https://github.com/puppet-community/puppet-lint-trailing_comma-check
|
124
131
|
licenses:
|
125
132
|
- Apache-2.0
|
126
133
|
metadata: {}
|
@@ -130,20 +137,20 @@ require_paths:
|
|
130
137
|
- lib
|
131
138
|
required_ruby_version: !ruby/object:Gem::Requirement
|
132
139
|
requirements:
|
133
|
-
- -
|
140
|
+
- - ! '>='
|
134
141
|
- !ruby/object:Gem::Version
|
135
142
|
version: '0'
|
136
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
144
|
requirements:
|
138
|
-
- -
|
145
|
+
- - ! '>='
|
139
146
|
- !ruby/object:Gem::Version
|
140
147
|
version: '0'
|
141
148
|
requirements: []
|
142
149
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
150
|
+
rubygems_version: 2.4.5
|
144
151
|
signing_key:
|
145
152
|
specification_version: 4
|
146
153
|
summary: A puppet-lint plugin to check for missing trailing commas.
|
147
154
|
test_files:
|
148
|
-
- spec/spec_helper.rb
|
149
155
|
- spec/puppet-lint/plugins/check_trailing_comma/check_trailing_comma_spec.rb
|
156
|
+
- spec/spec_helper.rb
|