cookstyle 7.32.7 → 7.32.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cookstyle +5 -7
- data/lib/cookstyle/chefstyle.rb +5 -0
- data/lib/cookstyle/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e966116e3a566d0ad1a8c32d4103100ccc7194fb7d5b86a794b16752c70017f2
|
4
|
+
data.tar.gz: bd46c873ff0f057fe45d5458ba99bbe716c51c2198be8565c8f36c3dfb57c6b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ee9fe75ef5ac61290b36b67047b487407d1e09be922c8237408d30a7545fbe9fef1fb8ee92603ce168c3ff774ad60b74b758cea712fc6307b0c450e56867074
|
7
|
+
data.tar.gz: b8cc58e6be9540ee6f79126fc43c53a94141a83da8871d076f445cd7cf7db049aa58ae5e18b35dd1c07eccb84220a1e86d0ecd5d19327de912512f48dfe5e41e
|
data/bin/cookstyle
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
+
$LOAD_PATH.unshift File.join(__dir__, %w(.. lib))
|
5
|
+
|
4
6
|
if ARGV.include?('--chefstyle')
|
5
7
|
ARGV.delete('--chefstyle')
|
6
|
-
|
7
|
-
|
8
|
-
|
8
|
+
require 'cookstyle/chefstyle'
|
9
|
+
else
|
10
|
+
require 'cookstyle'
|
9
11
|
end
|
10
12
|
|
11
|
-
$LOAD_PATH.unshift File.join(__dir__, %w(.. lib))
|
12
|
-
|
13
|
-
require 'cookstyle'
|
14
|
-
|
15
13
|
# force the fail level to :convention so that we can set all our new rules to
|
16
14
|
# the lowest level of :refactor without failing everyone's CI jobs
|
17
15
|
unless ARGV.include?('--fail-level')
|
data/lib/cookstyle/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cookstyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.32.
|
4
|
+
version: 7.32.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom May
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- config/default.yml
|
44
44
|
- cookstyle.gemspec
|
45
45
|
- lib/cookstyle.rb
|
46
|
+
- lib/cookstyle/chefstyle.rb
|
46
47
|
- lib/cookstyle/version.rb
|
47
48
|
- lib/rubocop/chef.rb
|
48
49
|
- lib/rubocop/chef/autocorrect_helpers.rb
|