puppet-lint-leading_zero-check 0.1.0 → 0.1.1
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 +32 -24
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjZkYWM5MzA2OTI4NDlkNjk4YjMxNjE1MDg5ZTlmY2FmZjMyMDZlNw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YzBkODViNzU2NDY0MjA0ZmE3NTJiYTE1ZTNkZjJiZjMwMjNhOTVkZQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MmI2NDNjYWVlMDU1NGE5NzRmOWNjYzhlZjBmYWNhYzJhNmMwODA4ZjY4MzM5
|
10
|
+
OTY3Zjg2NzhmZDIxMzQ1YTYzNGRhMWYxYzcxNWU2NmRjYTgyYWRmNzkwNTA1
|
11
|
+
MTMwMzNjZmM0YTNlZDViMGUwMjFlMTRlNmI0MjIyZGM4ZTZiZTM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZGE3NjFiYjdkNDU5OTdhODU0NzYwNmFjMDRmNWZiZTRhNzM1OWVmYmNmMjE4
|
14
|
+
MDBjYjA2YjIzNjVjMjg2ODk4YmRhZmU5ZDY5M2U4MDg2MGUxYWIzNmZlZDVi
|
15
|
+
MWIyZmFhYzQ3ZjI1MGZkY2E5ZTBkYTI3YTViMDU3YTk1NzBkOTY=
|
data/README.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1
1
|
puppet-lint-leading_zero-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-leading_zero-check.svg)](https://travis-ci.org/puppet-community/puppet-lint-leading_zero-check)
|
5
|
+
[![Gem Version](https://img.shields.io/gem/v/puppet-lint-leading_zero-check.svg)](https://rubygems.org/gems/puppet-lint-leading_zero-check)
|
6
|
+
[![Gem Downloads](https://img.shields.io/gem/dt/puppet-lint-leading_zero-check.svg)](https://rubygems.org/gems/puppet-lint-leading_zero-check)
|
7
|
+
[![Coverage Status](https://img.shields.io/coveralls/puppet-community/puppet-lint-leading_zero-check.svg)](https://coveralls.io/r/puppet-community/puppet-lint-leading_zero-check?branch=master)
|
8
|
+
[![Gemnasium](https://img.shields.io/gemnasium/puppet-community/puppet-lint-leading_zero-check.svg)](https://gemnasium.com/puppet-community/puppet-lint-leading_zero-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 unquoted numbers with leading zero.
|
10
12
|
|
13
|
+
## Installing
|
14
|
+
|
15
|
+
### From the command line
|
16
|
+
|
17
|
+
```shell
|
18
|
+
$ gem install puppet-lint-leading_zero-check
|
19
|
+
```
|
20
|
+
|
21
|
+
### In a Gemfile
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
gem 'puppet-lint-leading_zero-check', :require => false
|
25
|
+
```
|
11
26
|
|
12
27
|
## Checks
|
13
28
|
|
@@ -42,3 +57,11 @@ Alternatively, if you’re calling puppet-lint via the Rake task, you should ins
|
|
42
57
|
```ruby
|
43
58
|
PuppetLint.configuration.send('disable_leading_zero')
|
44
59
|
```
|
60
|
+
|
61
|
+
## Transfer Notice
|
62
|
+
|
63
|
+
This plugin was originally authored by [Camptocamp](http://www.camptocamp.com).
|
64
|
+
The maintainer preferred that Puppet Community take ownership of the module for future improvement and maintenance.
|
65
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
|
66
|
+
|
67
|
+
Previously: https://github.com/camptocamp/puppet-lint-leading_zero-check
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,115 +1,123 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-leading_zero-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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 unquoted numbers with leading
|
118
|
+
zero.
|
119
|
+
|
120
|
+
'
|
113
121
|
email: raphael.pinson@camptocamp.com
|
114
122
|
executables: []
|
115
123
|
extensions: []
|
@@ -120,7 +128,7 @@ files:
|
|
120
128
|
- lib/puppet-lint/plugins/check_leading_zero.rb
|
121
129
|
- spec/puppet-lint/plugins/check_leading_zero/check_leading_zero_spec.rb
|
122
130
|
- spec/spec_helper.rb
|
123
|
-
homepage: https://github.com/
|
131
|
+
homepage: https://github.com/puppet-community/puppet-lint-leading_zero-check
|
124
132
|
licenses:
|
125
133
|
- Apache-2.0
|
126
134
|
metadata: {}
|
@@ -130,20 +138,20 @@ require_paths:
|
|
130
138
|
- lib
|
131
139
|
required_ruby_version: !ruby/object:Gem::Requirement
|
132
140
|
requirements:
|
133
|
-
- -
|
141
|
+
- - ! '>='
|
134
142
|
- !ruby/object:Gem::Version
|
135
143
|
version: '0'
|
136
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
145
|
requirements:
|
138
|
-
- -
|
146
|
+
- - ! '>='
|
139
147
|
- !ruby/object:Gem::Version
|
140
148
|
version: '0'
|
141
149
|
requirements: []
|
142
150
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.4.5
|
144
152
|
signing_key:
|
145
153
|
specification_version: 4
|
146
154
|
summary: A puppet-lint plugin to check for unquoted numbers with leading zero.
|
147
155
|
test_files:
|
148
|
-
- spec/spec_helper.rb
|
149
156
|
- spec/puppet-lint/plugins/check_leading_zero/check_leading_zero_spec.rb
|
157
|
+
- spec/spec_helper.rb
|