puppet-lint-hiera 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb43cbf0b196ab4b1c1baa0270d0c8106823c78207ddb0cb82a0164d6926a02c
4
- data.tar.gz: 35fa28b5b24891fd4bd3625108667505ce4cbfaa681306d3d7b00d78832a5fef
3
+ metadata.gz: 37494c2db3e3f592b6c19d03de6e8c3f6eb592b574559271c315f4c45706d842
4
+ data.tar.gz: 94f3ff550db6e034ac72b91b8a7929899c2e06c5fc4dfbfcc4634329c5e13145
5
5
  SHA512:
6
- metadata.gz: 93c83a85e82d86c1dbf696942e8458ab4c091c6b1d54a8c3d68934d787fec9b508d9d8ec1162104f910ed51cea4af049430fa1e42a4941f5a242a06f19f3b3b5
7
- data.tar.gz: 9b8634f7bb8e295cb3e9d54186fb4b8a7f6050977b27f99bb387713ede9103b0e7cea64b3bdd8e615e9d633f13ea5c1818c5452c29e6cdc48a8db516068dcbfc
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.3
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
@@ -152,7 +138,7 @@ licenses:
152
138
  metadata:
153
139
  source_code_uri: https://github.com/garrettrowell/puppet-lint-hiera
154
140
  documentation_uri: https://github.com/garrettrowell/puppet-lint-hiera/blob/master/README.md
155
- post_install_message:
141
+ post_install_message:
156
142
  rdoc_options: []
157
143
  require_paths:
158
144
  - lib
@@ -167,14 +153,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
153
  - !ruby/object:Gem::Version
168
154
  version: '0'
169
155
  requirements: []
170
- rubyforge_project:
171
- rubygems_version: 2.7.6
172
- signing_key:
156
+ rubygems_version: 3.3.7
157
+ signing_key:
173
158
  specification_version: 4
174
159
  summary: puppet-lint hiera and lookup function checks
175
160
  test_files:
176
- - spec/spec_helper.rb
177
161
  - spec/puppet-lint/plugins/lookup_in_class_params_spec.rb
178
- - spec/puppet-lint/plugins/no_hiera_spec.rb
179
- - spec/puppet-lint/plugins/lookup_in_profile_class_spec.rb
180
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