puppet-lint-hiera 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b99396c72c814e8d1ba03e82198c36be022d8491c2d912c7cda8ca52a10b0e2
4
- data.tar.gz: cd2fe399a7f41994e7e2d9d625952dcb92b159788f3ea673799d7b63184d824d
3
+ metadata.gz: 37494c2db3e3f592b6c19d03de6e8c3f6eb592b574559271c315f4c45706d842
4
+ data.tar.gz: 94f3ff550db6e034ac72b91b8a7929899c2e06c5fc4dfbfcc4634329c5e13145
5
5
  SHA512:
6
- metadata.gz: 2f1cb7fdd099b858c8044953e33160050db25223440303814dfdf2528b857e1418689dc0dc586c694d261b556a394b860c3d3e0d7ac11a7fcf11799daa56451a
7
- data.tar.gz: 652fe5bf8b8626d987796a8c9490754b0b6c7dd8b7377fb10448251ef979aab1d2bd9642669deec50fb5545fbcedadf734b26dd0eed5bc47271c25e06881240c
6
+ metadata.gz: 9707f79c980074b4932cfe934112b789a52dbeac06fb5f7f757d42c212fda4d7ba476b05e4e72d5866fe96e632d1426370cc844dad9edc061c61aacffd9562ff
7
+ data.tar.gz: ea0f34aa9c347aa05e92da73d673ad40e68606228567a54828974c99d7f3b66ed1ea736e694d58e9c886fd42ee1285427e2b737ebf650e57aa65f4ab5cb442b7
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # puppet-lint hiera functions check
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/puppet-lint-hiera.svg)](https://badge.fury.io/rb/puppet-lint-hiera)
4
+
3
5
  ## Installation
4
6
  To add the provided lint checks into a module utilizing the PDK:
5
7
 
@@ -13,7 +13,7 @@ describe 'lookup_in_class_params' do
13
13
  end
14
14
 
15
15
  it 'should not detect any problems' do
16
- expect(problems).to have(0).problems
16
+ expect(problems.size).to eq(0)
17
17
  end
18
18
  end
19
19
 
@@ -31,7 +31,7 @@ describe 'lookup_in_class_params' do
31
31
  end
32
32
 
33
33
  it 'should not detect any problems' do
34
- expect(problems).to have(0).problems
34
+ expect(problems.size).to eq(0)
35
35
  end
36
36
  end
37
37
 
@@ -49,7 +49,7 @@ describe 'lookup_in_class_params' do
49
49
  end
50
50
 
51
51
  it 'should not detect any problems' do
52
- expect(problems).to have(0).problem
52
+ expect(problems.size).to eq(0)
53
53
  end
54
54
  end
55
55
 
@@ -67,7 +67,7 @@ describe 'lookup_in_class_params' do
67
67
  end
68
68
 
69
69
  it 'should not detect any problems' do
70
- expect(problems).to have(0).problems
70
+ expect(problems.size).to eq(0)
71
71
  end
72
72
  end
73
73
 
@@ -88,7 +88,7 @@ describe 'lookup_in_class_params' do
88
88
  end
89
89
 
90
90
  it 'should detect a single problem' do
91
- expect(problems).to have(1).problems
91
+ expect(problems.size).to eq(1)
92
92
  end
93
93
 
94
94
  it 'should create an error' do
@@ -13,7 +13,7 @@ describe 'lookup_in_class' do
13
13
  end
14
14
 
15
15
  it 'should not detect any problems' do
16
- expect(problems).to have(0).problems
16
+ expect(problems.size).to eq(0)
17
17
  end
18
18
  end
19
19
 
@@ -31,7 +31,7 @@ describe 'lookup_in_class' do
31
31
  end
32
32
 
33
33
  it 'should not detect any problems' do
34
- expect(problems).to have(0).problems
34
+ expect(problems.size).to eq(0)
35
35
  end
36
36
  end
37
37
 
@@ -49,7 +49,7 @@ describe 'lookup_in_class' do
49
49
  end
50
50
 
51
51
  it 'should not detect any problems' do
52
- expect(problems).to have(0).problems
52
+ expect(problems.size).to eq(0)
53
53
  end
54
54
  end
55
55
 
@@ -69,7 +69,7 @@ describe 'lookup_in_class' do
69
69
  end
70
70
 
71
71
  it 'should not detect any problems' do
72
- expect(problems).to have(0).problems
72
+ expect(problems.size).to eq(0)
73
73
  end
74
74
  end
75
75
 
@@ -88,7 +88,7 @@ describe 'lookup_in_class' do
88
88
  end
89
89
 
90
90
  it 'should detect a single problem' do
91
- expect(problems).to have(1).problem
91
+ expect(problems.size).to eq(1)
92
92
  end
93
93
 
94
94
  it 'should create an error' do
@@ -13,7 +13,7 @@ describe 'lookup_in_profile_class' do
13
13
  end
14
14
 
15
15
  it 'should not detect any problems' do
16
- expect(problems).to have(0).problems
16
+ expect(problems.size).to eq(0)
17
17
  end
18
18
  end
19
19
 
@@ -31,7 +31,7 @@ describe 'lookup_in_profile_class' do
31
31
  end
32
32
 
33
33
  it 'should not detect any problems' do
34
- expect(problems).to have(0).problems
34
+ expect(problems.size).to eq(0)
35
35
  end
36
36
  end
37
37
 
@@ -49,7 +49,7 @@ describe 'lookup_in_profile_class' do
49
49
  end
50
50
 
51
51
  it 'should not detect any problems' do
52
- expect(problems).to have(0).problem
52
+ expect(problems.size).to eq(0)
53
53
  end
54
54
  end
55
55
 
@@ -69,7 +69,7 @@ describe 'lookup_in_profile_class' do
69
69
  end
70
70
 
71
71
  it 'should not detect any problems' do
72
- expect(problems).to have(0).problems
72
+ expect(problems.size).to eq(0)
73
73
  end
74
74
 
75
75
  end
@@ -89,7 +89,7 @@ describe 'lookup_in_profile_class' do
89
89
  end
90
90
 
91
91
  it 'should detect a single problem' do
92
- expect(problems).to have(1).problems
92
+ expect(problems.size).to eq(1)
93
93
  end
94
94
 
95
95
  it 'should create an error' do
@@ -13,7 +13,7 @@ describe 'no_hiera' do
13
13
  end
14
14
 
15
15
  it 'should not detect any problems' do
16
- expect(problems).to have(0).problems
16
+ expect(problems.size).to eq(0)
17
17
  end
18
18
  end
19
19
 
@@ -33,7 +33,7 @@ describe 'no_hiera' do
33
33
  end
34
34
 
35
35
  it 'should detect a single problem' do
36
- expect(problems).to have(1).problem
36
+ expect(problems.size).to eq(1)
37
37
  end
38
38
 
39
39
  it 'should create an error' do
@@ -57,7 +57,7 @@ describe 'no_hiera' do
57
57
  end
58
58
 
59
59
  it 'should detect a single problem' do
60
- expect(problems).to have(1).problem
60
+ expect(problems.size).to eq(1)
61
61
  end
62
62
 
63
63
  it 'should create an error' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-hiera
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garrett Rowell
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-08 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet-lint
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '1.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '3.0'
22
+ version: '5.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '1.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '3.0'
32
+ version: '5.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +58,6 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.0'
61
- - !ruby/object:Gem::Dependency
62
- name: rspec-collection_matchers
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '1.0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '1.0'
75
61
  - !ruby/object:Gem::Dependency
76
62
  name: rubocop
77
63
  requirement: !ruby/object:Gem::Requirement
@@ -146,10 +132,13 @@ files:
146
132
  - spec/puppet-lint/plugins/lookup_in_profile_class_spec.rb
147
133
  - spec/puppet-lint/plugins/no_hiera_spec.rb
148
134
  - spec/spec_helper.rb
149
- homepage:
150
- licenses: []
151
- metadata: {}
152
- post_install_message:
135
+ homepage: https://rubygems.org/gems/puppet-lint-hiera
136
+ licenses:
137
+ - MIT
138
+ metadata:
139
+ source_code_uri: https://github.com/garrettrowell/puppet-lint-hiera
140
+ documentation_uri: https://github.com/garrettrowell/puppet-lint-hiera/blob/master/README.md
141
+ post_install_message:
153
142
  rdoc_options: []
154
143
  require_paths:
155
144
  - lib
@@ -164,14 +153,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
153
  - !ruby/object:Gem::Version
165
154
  version: '0'
166
155
  requirements: []
167
- rubyforge_project:
168
- rubygems_version: 2.7.6
169
- signing_key:
156
+ rubygems_version: 3.3.7
157
+ signing_key:
170
158
  specification_version: 4
171
159
  summary: puppet-lint hiera and lookup function checks
172
160
  test_files:
173
- - spec/spec_helper.rb
174
161
  - spec/puppet-lint/plugins/lookup_in_class_params_spec.rb
175
- - spec/puppet-lint/plugins/no_hiera_spec.rb
176
- - spec/puppet-lint/plugins/lookup_in_profile_class_spec.rb
177
162
  - spec/puppet-lint/plugins/lookup_in_class_spec.rb
163
+ - spec/puppet-lint/plugins/lookup_in_profile_class_spec.rb
164
+ - spec/puppet-lint/plugins/no_hiera_spec.rb
165
+ - spec/spec_helper.rb