nucop 0.10.1 → 0.10.2

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: bee3ce8b5a8a717137ecd01ea6240377fc126fb48279bd99ae949d7f95124467
4
- data.tar.gz: '062902f196df892048482024e694b98af79623e781e1259de71b7e6cc1f6108d'
3
+ metadata.gz: e0c929c53d8b014887053c5b6e964ecd8c919816dbd32398e34b52abe20a135e
4
+ data.tar.gz: 6df012aed472cc2aa4e8e5847850ad1a1d1ac38aeb2b5be50ec8127db5637a90
5
5
  SHA512:
6
- metadata.gz: 2b84a41c5cc4ab709f95d79b127269d555798fcd28efa9e2ae803cf257f18d12e47848a4f3271d9da9401fb71e06752dfb4ab4a6a99c506b8d48762a2892dd10
7
- data.tar.gz: d2f1b0d5df4fe52ae4de054e1269033af48000f0d85ee625e4ed70d6e2fd34ae45ae5416846f5b943948ba3840b9b8f093e1583dc7cfeae1ced378f98cf55db6
6
+ metadata.gz: 37acee62247c368f550305b704eb4c606992bcdd0f5cbeec70d8dff2ce6d93ac3645987e47a73a05f0ae4557e1e5cd21887a10c139b51876452382cd9bac6c8b
7
+ data.tar.gz: e9ab02d7363cf957cd5bd33973ed137a8468e54b0cac4924389767774a9922b7d14e39618cceb6685a4c54b1478510b887f726aea1864514ff3dc5e24b7473c9
data/lib/nucop/cli.rb CHANGED
@@ -345,7 +345,7 @@ module Nucop
345
345
  end
346
346
 
347
347
  def enabled_cops
348
- YAML.load(`bundle exec rubocop --parallel --show-cops`) # rubocop:disable Security/YAMLLoad
348
+ YAML.safe_load(`bundle exec rubocop --parallel --show-cops`, permitted_classes: [Regexp, Symbol])
349
349
  .select { |_, config| config["Enabled"] }
350
350
  .map(&:first)
351
351
  end
data/lib/nucop/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nucop
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nucop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Schweier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-15 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git_diff_parser
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  - !ruby/object:Gem::Version
242
242
  version: '0'
243
243
  requirements: []
244
- rubygems_version: 3.4.12
244
+ rubygems_version: 3.3.26
245
245
  signing_key:
246
246
  specification_version: 4
247
247
  summary: Nulogy's implementation of RuboCop, including custom cops and additional