cookstyle 6.15.3 → 6.15.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cookstyle.rb +2 -2
- data/lib/cookstyle/version.rb +1 -1
- data/lib/rubocop/cop/chef/sharing/empty_metadata_field.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91b883b4825831ec4a6cd167377859fa83bf1eea994b1b0dfa85d28dcdd998e9
|
4
|
+
data.tar.gz: fe4e2c83dc76b6b6713e7f6b1ad3e50f869708eda0bf22eeb1b68a43bd5c7762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330ed487b5946aba1b6b532e5ab79a0875007acd9052f7637e5a275a4db02c4cd39dfab066c981b6f14c8d24fd30b66cbd8b2b23d578232ce58176d7cc3ff11c
|
7
|
+
data.tar.gz: db1991f9e874b4fbb154e0334b09a7fcbe4062bb5207d4b3c1a3f169c4365ab8caf17fec699ca914a792be5ddab56a41207a657bdf7b919634008d1263a698d6
|
data/lib/cookstyle.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require_relative 'cookstyle/version'
|
3
3
|
|
4
|
-
require 'pathname'
|
5
|
-
require 'yaml'
|
4
|
+
require 'pathname' unless defined?(Pathname)
|
5
|
+
require 'yaml' unless defined?(YAML)
|
6
6
|
|
7
7
|
# ensure the desired target version of RuboCop is gem activated
|
8
8
|
gem 'rubocop', "= #{Cookstyle::RUBOCOP_VERSION}"
|
data/lib/cookstyle/version.rb
CHANGED
@@ -31,7 +31,7 @@ module RuboCop
|
|
31
31
|
# license 'Apache-2.0'
|
32
32
|
#
|
33
33
|
class EmptyMetadataField < Cop
|
34
|
-
MSG = 'Cookbook metadata.rb contains
|
34
|
+
MSG = 'Cookbook metadata.rb contains a field with an empty string.'
|
35
35
|
|
36
36
|
def_node_matcher :field?, '(send nil? _ $str ...)'
|
37
37
|
|
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: 6.15.
|
4
|
+
version: 6.15.5
|
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: 2020-08-
|
12
|
+
date: 2020-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|