immutable_struct_ex_redactable 1.2.0 → 1.2.1
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 +4 -4
- data/CHANGELOG.md +17 -6
- data/Gemfile +4 -4
- data/Gemfile.lock +45 -33
- data/lib/immutable_struct_ex_redactable/version.rb +1 -1
- metadata +10 -5
- data/immutable_struct_ex_redactable.gemspec +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfd26e195119def213e1b3b5c296761323b2e682b7afcef49cc066b9ac386a8d
|
4
|
+
data.tar.gz: e6b605a95ff4121df11a2fec4e112493610bbca5112209a5a324a18232f98549
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5032428a593c4114903acedf6cb8747b733af10874dd092d2c2c5270f8857abb069a503400f34e18bd8fe8bfba481f4e0c2c5883fb7d3afddc150f6c019c932a
|
7
|
+
data.tar.gz: 426aa1cb7650c2abd20be06a534dc9b3f543207eaae3ee3403c09a202474ed302de6ade4e376353508a9208a40fe0d346a8533232e6a42de7e298e9fc617a1d6
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,22 @@
|
|
1
|
+
## [1.2.1] - 2023-08-17
|
2
|
+
|
3
|
+
Changes
|
4
|
+
|
5
|
+
- Ruby gem updates.
|
6
|
+
|
1
7
|
## [1.2.0] - 2022-10-03
|
2
|
-
|
3
|
-
|
4
|
-
|
8
|
+
|
9
|
+
Changes
|
10
|
+
|
11
|
+
- Add `ImmutableStructExRedactable::Configuration#redacted_unsafe` property. If this property is `true`, redacted field values will be retained and accessible as private methods on the struct named `unredacted_<field>`.
|
12
|
+
- Update README.md file.
|
5
13
|
|
6
14
|
## [1.1.0] - 2022-10-02
|
7
|
-
|
8
|
-
|
15
|
+
|
16
|
+
Changes
|
17
|
+
|
18
|
+
- Fix rubocop violations
|
9
19
|
|
10
20
|
## [1.0.0] - 2022-10-02
|
11
|
-
|
21
|
+
|
22
|
+
Initial release
|
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ gemspec
|
|
7
7
|
|
8
8
|
gem 'pry-byebug', '~> 3.9'
|
9
9
|
gem 'rake', '~> 13.0'
|
10
|
-
gem 'reek', '~> 6.1'
|
11
|
-
gem 'rspec', '~> 3.
|
12
|
-
gem 'rubocop', '~>
|
13
|
-
gem 'simplecov', '~> 0.
|
10
|
+
gem 'reek', '~> 6.1'
|
11
|
+
gem 'rspec', '~> 3.12'
|
12
|
+
gem 'rubocop', '~> 1.56.0'
|
13
|
+
gem 'simplecov', '~> 0.22.0'
|
data/Gemfile.lock
CHANGED
@@ -1,78 +1,90 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
immutable_struct_ex_redactable (1.2.
|
5
|
-
immutable_struct_ex (~> 0.
|
4
|
+
immutable_struct_ex_redactable (1.2.1)
|
5
|
+
immutable_struct_ex (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.4.2)
|
11
|
+
base64 (0.1.1)
|
11
12
|
byebug (11.1.3)
|
12
13
|
coderay (1.1.3)
|
13
14
|
diff-lcs (1.5.0)
|
14
15
|
docile (1.4.0)
|
15
|
-
immutable_struct_ex (0.
|
16
|
-
|
16
|
+
immutable_struct_ex (1.0.1)
|
17
|
+
json (2.6.3)
|
17
18
|
kwalify (0.7.2)
|
19
|
+
language_server-protocol (3.17.0.3)
|
18
20
|
method_source (1.0.0)
|
19
|
-
parallel (1.
|
20
|
-
parser (3.
|
21
|
+
parallel (1.23.0)
|
22
|
+
parser (3.2.2.3)
|
21
23
|
ast (~> 2.4.1)
|
22
|
-
|
24
|
+
racc
|
25
|
+
pry (0.14.2)
|
23
26
|
coderay (~> 1.1)
|
24
27
|
method_source (~> 1.0)
|
25
28
|
pry-byebug (3.10.1)
|
26
29
|
byebug (~> 11.0)
|
27
30
|
pry (>= 0.13, < 0.15)
|
31
|
+
racc (1.7.1)
|
28
32
|
rainbow (3.1.1)
|
29
33
|
rake (13.0.6)
|
30
|
-
reek (6.1.
|
34
|
+
reek (6.1.4)
|
31
35
|
kwalify (~> 0.7.0)
|
32
|
-
parser (~> 3.
|
36
|
+
parser (~> 3.2.0)
|
33
37
|
rainbow (>= 2.0, < 4.0)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
rspec-
|
38
|
-
rspec-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
regexp_parser (2.8.1)
|
39
|
+
rexml (3.2.6)
|
40
|
+
rspec (3.12.0)
|
41
|
+
rspec-core (~> 3.12.0)
|
42
|
+
rspec-expectations (~> 3.12.0)
|
43
|
+
rspec-mocks (~> 3.12.0)
|
44
|
+
rspec-core (3.12.2)
|
45
|
+
rspec-support (~> 3.12.0)
|
46
|
+
rspec-expectations (3.12.3)
|
42
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-mocks (3.
|
48
|
+
rspec-support (~> 3.12.0)
|
49
|
+
rspec-mocks (3.12.6)
|
45
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-support (3.
|
48
|
-
rubocop (
|
49
|
-
|
51
|
+
rspec-support (~> 3.12.0)
|
52
|
+
rspec-support (3.12.1)
|
53
|
+
rubocop (1.56.0)
|
54
|
+
base64 (~> 0.1.1)
|
55
|
+
json (~> 2.3)
|
56
|
+
language_server-protocol (>= 3.17.0)
|
50
57
|
parallel (~> 1.10)
|
51
|
-
parser (>= 2.
|
58
|
+
parser (>= 3.2.2.3)
|
52
59
|
rainbow (>= 2.2.2, < 4.0)
|
53
|
-
|
60
|
+
regexp_parser (>= 1.8, < 3.0)
|
61
|
+
rexml (>= 3.2.5, < 4.0)
|
62
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
54
63
|
ruby-progressbar (~> 1.7)
|
55
|
-
unicode-display_width (>=
|
56
|
-
|
57
|
-
|
64
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
65
|
+
rubocop-ast (1.29.0)
|
66
|
+
parser (>= 3.2.1.0)
|
67
|
+
ruby-progressbar (1.13.0)
|
68
|
+
simplecov (0.22.0)
|
58
69
|
docile (~> 1.1)
|
59
70
|
simplecov-html (~> 0.11)
|
60
71
|
simplecov_json_formatter (~> 0.1)
|
61
72
|
simplecov-html (0.12.3)
|
62
73
|
simplecov_json_formatter (0.1.4)
|
63
|
-
unicode-display_width (
|
74
|
+
unicode-display_width (2.4.2)
|
64
75
|
|
65
76
|
PLATFORMS
|
66
77
|
x86_64-darwin-19
|
78
|
+
x86_64-linux
|
67
79
|
|
68
80
|
DEPENDENCIES
|
69
81
|
immutable_struct_ex_redactable!
|
70
82
|
pry-byebug (~> 3.9)
|
71
83
|
rake (~> 13.0)
|
72
|
-
reek (~> 6.1
|
73
|
-
rspec (~> 3.
|
74
|
-
rubocop (~>
|
75
|
-
simplecov (~> 0.
|
84
|
+
reek (~> 6.1)
|
85
|
+
rspec (~> 3.12)
|
86
|
+
rubocop (~> 1.56.0)
|
87
|
+
simplecov (~> 0.22.0)
|
76
88
|
|
77
89
|
BUNDLED WITH
|
78
90
|
2.3.22
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immutable_struct_ex_redactable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene M. Angelo, Jr.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: immutable_struct_ex
|
@@ -16,14 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '1.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.1
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
29
|
+
version: '1.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.1
|
27
33
|
description: Creates and initializes an immutable struct in one step and provides
|
28
34
|
redaction functionality.
|
29
35
|
email:
|
@@ -44,7 +50,6 @@ files:
|
|
44
50
|
- Rakefile
|
45
51
|
- bin/console
|
46
52
|
- bin/setup
|
47
|
-
- immutable_struct_ex_redactable.gemspec
|
48
53
|
- lib/immutable_struct_ex_redactable.rb
|
49
54
|
- lib/immutable_struct_ex_redactable/configuration.rb
|
50
55
|
- lib/immutable_struct_ex_redactable/redacted_accessible.rb
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative 'lib/immutable_struct_ex_redactable/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'immutable_struct_ex_redactable'
|
7
|
-
spec.version = ImmutableStructExRedactable::VERSION
|
8
|
-
spec.authors = ['Gene M. Angelo, Jr.']
|
9
|
-
spec.email = ['public.gma@gmail.com']
|
10
|
-
|
11
|
-
spec.summary = 'The redactable version of the immutable_stuct_ex gem.'
|
12
|
-
spec.description = 'Creates and initializes an immutable struct in one step and provides redaction functionality.'
|
13
|
-
spec.homepage = 'https://github.com/gangelo/immutable_struct_ex_redactable'
|
14
|
-
spec.license = 'MIT'
|
15
|
-
spec.required_ruby_version = '>= 3.0.1'
|
16
|
-
|
17
|
-
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
18
|
-
|
19
|
-
spec.metadata['homepage_uri'] = spec.homepage
|
20
|
-
spec.metadata['source_code_uri'] = spec.homepage
|
21
|
-
spec.metadata['changelog_uri'] = 'https://github.com/gangelo/immutable_struct_ex_redactable/blob/main/CHANGELOG.md'
|
22
|
-
|
23
|
-
# Specify which files should be added to the gem when it is released.
|
24
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
26
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
27
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
28
|
-
end
|
29
|
-
end
|
30
|
-
spec.bindir = 'exe'
|
31
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
32
|
-
spec.require_paths = ['lib']
|
33
|
-
|
34
|
-
# Uncomment to register a new dependency of your gem
|
35
|
-
spec.add_dependency 'immutable_struct_ex', '~> 0.3.0'
|
36
|
-
spec.metadata['rubygems_mfa_required'] = 'true'
|
37
|
-
end
|