chamber 3.1.0 → 3.1.1

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: 1434b18f4453229446ae2ae6656c2bf1efe0d1aad2525266aeee1ed974a6d1d8
4
- data.tar.gz: 461e8495983af2516b9968052acf26080570e319871ee9bab71b60e84f10865b
3
+ metadata.gz: d3c926bcc85c9ee059234c9c2098bf1ae3856fe8fbd104b5fb735c9e9563b544
4
+ data.tar.gz: 1a95f2a3b154ac32cddb9b57634897c83e963401feb1a53445b63f92ef70ee33
5
5
  SHA512:
6
- metadata.gz: 53c5345034b1b4e686965450851ddf7706c4152af276cd52d908207e357c9853574d2e62b72eaca26ebf2e2e185548e9289833a536f22b492d2ba07c00ae2f62
7
- data.tar.gz: a74af49b5470c0fb4ec3c21ff2797bf529d9e32e73e05f73915f9be8f09f05dd608a5a90e888640feba9cdbe2d457181c934d62885f89e0d1a830f4dc7e45e4c
6
+ metadata.gz: 0e606a46915ca345ce0d5983fcd03a2a1befbfc01bd0bfae11db4533c2fd860caf05fe51bb1a1b5a2c5f3c636f88822b21c30cc89b7e321164ba578651412b5e
7
+ data.tar.gz: 86d7d2379a89dc954d8c253a22ddaa1eedca2def81f24471205dda362a8225e34d1956b57f9b8181431c0571f248276e8407dce1520fcaca769bffe95b8d754f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'pp'
3
4
  require 'chamber/commands/base'
4
5
 
5
6
  module Chamber
@@ -18,7 +18,7 @@ class ContextResolver
18
18
  self.options = args
19
19
  end
20
20
 
21
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity, Metrics/AbcSize, Layout/LineLength
21
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity, Metrics/AbcSize, Layout/LineLength, Lint/SelfAssignment
22
22
  def resolve
23
23
  options[:rootpath] ||= Pathname.pwd
24
24
  options[:rootpath] = Pathname.new(options[:rootpath])
@@ -50,7 +50,7 @@ class ContextResolver
50
50
 
51
51
  options
52
52
  end
53
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity, Metrics/AbcSize, Layout/LineLength
53
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity, Metrics/AbcSize, Layout/LineLength, Lint/SelfAssignment
54
54
 
55
55
  protected
56
56
 
data/lib/chamber/file.rb CHANGED
@@ -49,7 +49,7 @@ class File < Pathname
49
49
  self.encryption_keys = encryption_keys
50
50
  self.signature_name = signature_name
51
51
 
52
- super path
52
+ super(path)
53
53
  end
54
54
 
55
55
  ###
@@ -129,7 +129,7 @@ class File < Pathname
129
129
  if decrypted_value.include?("\n")
130
130
  decrypted_value = decrypted_value
131
131
  .chomp
132
- .gsub(/\n/, "\n#{indentation_level}")
132
+ .gsub("\n", "\n#{indentation_level}")
133
133
  .prepend("|\n#{indentation_level}")
134
134
  end
135
135
 
@@ -58,7 +58,7 @@ class KeyPair
58
58
  private
59
59
 
60
60
  def encrypted_private_key
61
- @encrypted_private_key ||= \
61
+ @encrypted_private_key ||=
62
62
  unencrypted_private_key.export(encryption_cipher, passphrase)
63
63
  end
64
64
 
@@ -317,14 +317,14 @@ class Settings
317
317
  # rubocop:disable Naming/MemoizedInstanceVariableName
318
318
  def raw_data
319
319
  @filtered_raw_data ||= pre_filters.inject(@raw_data) do |filtered_data, filter|
320
- filter.execute(**{ data: filtered_data }.merge(metadata))
320
+ filter.execute(data: filtered_data, **metadata)
321
321
  end
322
322
  end
323
323
  # rubocop:enable Naming/MemoizedInstanceVariableName
324
324
 
325
325
  def data
326
326
  @data ||= post_filters.inject(raw_data) do |filtered_data, filter|
327
- filter.execute(**{ data: filtered_data }.merge(metadata))
327
+ filter.execute(data: filtered_data, **metadata)
328
328
  end
329
329
  end
330
330
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chamber
4
- VERSION = '3.1.0'
4
+ VERSION = '3.1.1'
5
5
  end
data.tar.gz.sig CHANGED
@@ -1,5 +1,4 @@
1
- bg]S�mK��9���BT
2
- �F f
3
- F���JtXY�����%S��-R'�ƻ�
4
- ��ki��(��`C�����lX����Yy��¹�Jr}�x!�����P"|��
5
- �����f��]�@sƯՙ �̟T��<�4ӌqE1 ����~�ͣ�0h�W����J"�ɠ��H���>��@p֪ӣA�<(�� �a�#��@a��@��qq�nN�y&s��H�
1
+ C�U<YwWN�=q*{1��،�*ڄ���T��__f;M��&�c���Ҝ�� �`�P����Aw#B}s[0�EByy�ㅈ��m6YCJ��M~���f��C`�Mw
2
+ Ůs� s���
3
+ mw|�D$�\}�l���ܷ׏.eL�0b�m���To�Ky�'D�zY 1�̱��Viምle�ə<�;h �S��8�
4
+ ���GZ0�.��۱zU���K�:���'uV�q�@oM�E,ޝ�iPQLN�}�_�9$z��/h�X�͛ű���W8V�Vݱa���oߙ��Lke^$4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chamber
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thekompanee
@@ -38,7 +38,7 @@ cert_chain:
38
38
  Z6HMkN0PHJ6eG0Zl3/H4H8Xb+KreWlEx3sXXfZj6UscrdHAVffRQnM1E98PCqnRX
39
39
  l5EwT4ShG/HorJMQSTY1EoBLZf54NrD5WlWcfM0CLrcvT7QM77dIqmue
40
40
  -----END CERTIFICATE-----
41
- date: 2023-03-07 00:00:00.000000000 Z
41
+ date: 2024-10-22 00:00:00.000000000 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: thor
metadata.gz.sig CHANGED
Binary file