foobara 0.0.95 → 0.0.96

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10cd2a997729a02fc1b6f3ea24a4694a7ec3a0e5908eb3fd37f2f90fd7e56c71
4
- data.tar.gz: 2568a8ffbc4885f8a1edc70c4a7f41582631b0e8f55e6ff6100166814d579a8e
3
+ metadata.gz: ec597d78b729e892d19a941489dc22004810572d110cbcc2a3c2e1b37a9aea3b
4
+ data.tar.gz: cdafbde7f15182b72bd22d265128df7cc89b73ccf7a74cddefb315bfffeacc6f
5
5
  SHA512:
6
- metadata.gz: d41fffe3ecdb08e1c6366ce4bf58cf7733bebcf595f16745ef6b3cd3a1ddfa67a19934934b73aff8e225e03205c73ade43b5ee92d429ba9f1a3d832de1856667
7
- data.tar.gz: 61dba1a73fb5cb3399b68f2a8f00586f79268495106393b3083beb505d6fecd5c896dfb74beec941e3e4d8c8521e212bc6f499889c68f28c37b56c91c10c4260
6
+ metadata.gz: 1b1f34ddc24d6da4f7b8972c2098dc8fe0416307f4b9ec71c18c95a72f340dcbe1530fd6ecb42327126459ad4a4877df0d8edeec8a5e4aed703a67b57b23f7e7
7
+ data.tar.gz: cb69ccfec80f7670d5bfeea9af5fc8475f1bf5aa142182a268efb98d5979ffaf2e7605582cac23e8dedb4dfa86368fa599de725c2ae617f7dac8cad95fe0b36b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # [0.0.96] - 2025-04-08
2
+
3
+ - Do not attempt to remove sensitive types from non-model extension declarations
4
+
1
5
  # [0.0.95] - 2025-04-07
2
6
 
3
7
  - Split up #run and #build_request_and_command in CommandConnector to help subclasses
@@ -2,6 +2,10 @@ module Foobara
2
2
  class Model
3
3
  module SensitiveTypeRemovers
4
4
  class Model < TypeDeclarations::SensitiveTypeRemover
5
+ def applicable?(strict_type_declaration)
6
+ strict_type_declaration.is_a?(::Hash) && strict_type_declaration.key?(:attributes_declaration)
7
+ end
8
+
5
9
  def transform(strict_type_declaration)
6
10
  old_attributes_declaration = strict_type_declaration[:attributes_declaration]
7
11
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.95
4
+ version: 0.0.96
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-08 00:00:00.000000000 Z
10
+ date: 2025-04-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bigdecimal