varar-config 0.6.1 → 0.7.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/varar/config.rb +5 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 412c3ac76f3a0f8ee5b659555bc774e5158e8e32f258c8bf3aefeccde312158c
4
- data.tar.gz: df5d37f4d93a87c5ff503a629d5b04b76a2452a1876446773d7136564dbfe4d1
3
+ metadata.gz: 1b79fc32fa1f2cf69465aff1a8295d9575584dd696c2356518ad8fbc1b3bea5c
4
+ data.tar.gz: 0dbaf2c855f4dc4ef6af59dfb397c66b71759462e3c825f47cd138a865f15685
5
5
  SHA512:
6
- metadata.gz: 1fb628e1a5febe3ab5febbf6f2ad522d5d15ad47b6a65bbf952fd9e76eb0122789fe60e10510279693d65a4ab73b191f5ae1cd73e7ea442dbf13ffa2f2c63714
7
- data.tar.gz: a715afa012033681d04ccc47d0331bc7f97a149d2be877467d84e2f18503a26c2980a2979384e50793dbd010c3a1c57e6b2e062ccdb6cd8d114b308a8768d206
6
+ metadata.gz: 7dde8f0743dc917ef88952de2869be1f949d3689872ee98d8a9983834f3cacd010b1de75ac7d5876545e08934e2a3f0dca7d725ba424e3f7902394561e8d5d2f
7
+ data.tar.gz: 03f20b75c8acb6e59cbb51fa17b90310554e6b0562d650bf206f1a9f4a0326570e2d1f82e3e916f971cf22b24b7108ca8454fd0905d446084e7714eb65fec0c1
data/lib/varar/config.rb CHANGED
@@ -7,16 +7,16 @@ module Varar
7
7
  # file → empty config; malformed JSON, wrong types, or unknown keys → an
8
8
  # error starting with the file path. See conformance/config/README.md.
9
9
  module Config
10
- VERSION = '0.6.1'
10
+ VERSION = '0.7.0'
11
11
 
12
12
  # The parsed config. All fields default to empty.
13
- VarConfig = Data.define(:docs_include, :docs_exclude, :steps, :snippets, :scanner_plugins) do
14
- def initialize(docs_include: [], docs_exclude: [], steps: [], snippets: {}, scanner_plugins: [])
13
+ VarConfig = Data.define(:docs_include, :docs_exclude, :steps, :snippets) do
14
+ def initialize(docs_include: [], docs_exclude: [], steps: [], snippets: {})
15
15
  super
16
16
  end
17
17
  end
18
18
 
19
- KNOWN_KEYS = %w[$schema docs steps snippets scannerPlugins].freeze
19
+ KNOWN_KEYS = %w[$schema docs steps snippets].freeze
20
20
  KNOWN_DOCS_KEYS = %w[include exclude].freeze
21
21
 
22
22
  module_function
@@ -50,8 +50,7 @@ module Varar
50
50
  docs_include: string_array(docs['include'], 'docs.include', path),
51
51
  docs_exclude: string_array(docs['exclude'], 'docs.exclude', path),
52
52
  steps: string_array(data['steps'], 'steps', path),
53
- snippets: snippets,
54
- scanner_plugins: string_array(data['scannerPlugins'], 'scannerPlugins', path)
53
+ snippets: snippets
55
54
  )
56
55
  end
57
56
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: varar-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy