redacted_struct 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redacted_struct.rb +1 -1
- data/redacted_struct.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64c02de7881517f0bbb564741a2b999e8066a8de32f7aed539c86da981d5bddf
|
4
|
+
data.tar.gz: ad4589962d6c3be459ffc88ef3712b3e59177b83cddef3b2526a0dfb11c2a2ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4616807a9c76c8f01c63585d02c79a592b1eaed901263bfc1109ff29ceb165e3b860b6e9a5005d6fa772ab585fef04d3469b18a78466b91a10f56af438d0ee1
|
7
|
+
data.tar.gz: ffe8ffa0f62360f78113cc98c4ee8972d1cb181682b3f10c87d63bc821ab24a25e62662b1e3485ab09f774f47a1e7b0681e04214037f4bbcfe936786f2c8c83a
|
data/lib/redacted_struct.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# A subclass of Struct that redacts members by default, and can allow some to be printed
|
4
4
|
class RedactedStruct < Struct
|
5
|
-
VERSION = "1.0.
|
5
|
+
VERSION = "1.0.1"
|
6
6
|
|
7
7
|
def self.new(*name_and_members, keyword_init: nil, allowed_members: [], &block)
|
8
8
|
super(*name_and_members, keyword_init: keyword_init, &block).tap do |struct_class|
|
data/redacted_struct.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ["Zach Margolis"]
|
9
9
|
|
10
10
|
spec.summary = "A Ruby Struct that can be redacted"
|
11
|
-
spec.description = "Help prevent logging sensitive by accident"
|
11
|
+
spec.description = "Help prevent logging sensitive information by accident"
|
12
12
|
spec.homepage = "https://github.com/zachmargolis/redacted_struct"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
14
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redacted_struct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Margolis
|
@@ -10,7 +10,7 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Help prevent logging sensitive by accident
|
13
|
+
description: Help prevent logging sensitive information by accident
|
14
14
|
email:
|
15
15
|
executables: []
|
16
16
|
extensions: []
|