lib/chamber/keys/base.rb in chamber-3.0.0rc1 vs lib/chamber/keys/base.rb in chamber-3.0.0rc2

- 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