lib/chamber/keys/base.rb in chamber-2.14.2 vs lib/chamber/keys/base.rb in chamber-2.14.3

- old
+ new

@@ -37,16 +37,16 @@ def key_paths @key_paths = (filenames.any? ? filenames : [default_key_file_path]) + namespaces.map { |n| namespace_to_key_path(n) } end - # rubocop:disable Performance/ChainArrayAllocation + # rubocop:disable Performance/ChainArrayAllocation, Performance/MapCompact def filenames=(other) @filenames = Array(other) .map { |o| Pathname.new(o) } .compact end - # rubocop:enable Performance/ChainArrayAllocation + # rubocop:enable Performance/ChainArrayAllocation, Performance/MapCompact def namespaces=(other) @namespaces = other + %w{signature} end