immutable_struct_ex_redactable 1.3.1 → 1.3.3

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: 0c4f3f6ce9e3f02ca66a1b18ab28082daa4f6a34982a4e5c2eb77353a3b6f20f
4
- data.tar.gz: 0df6795630105361be3ff215e358b84574bee88b969ecdbe325ea3423aeea22e
3
+ metadata.gz: 239f6572810600a88955cba831e0689de109f800dd329bf87bc716f073ca2de6
4
+ data.tar.gz: e67a56c48cf5289919b754cf7ca562d4929dcfe52c50780d743e393d070942ac
5
5
  SHA512:
6
- metadata.gz: 0d5e62274412520398f484e497104d413dc93ad407a9511295abd47978c92e6e189d82d6850e53eefc378e3a93532fc27b02c26f0bb41ac0ad7cde01a9677327
7
- data.tar.gz: 97d9bf80cf892b847e5eac46893abe160c0d4f16e3cbe5775fc4fd959ebaee5e1b08706812a90da3dbbf4cd16fcf8e327673898f3573440bd611ea74121e1411
6
+ metadata.gz: b4e62ce4e944d6b3a3def66565c2af9eb8e13fc76eb4ea9f287ff0c91ded1070597779b0c9dce0de22127fbb9cd1a52a338cd5e15312903a3712eeac7f8a5884
7
+ data.tar.gz: 72c1560a60a83f33e2795db5f577dc811a8dcb9087565d56f082c04c33c4eb9eeff588711bb73506943bbf524643f66273a0edecff5bc6625c5bd33148fe072e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [1.3.3] - 2023-12-02
2
+
3
+ Changes
4
+
5
+ - Ruby gem updates.
6
+ - Fix rubocop violations
7
+
8
+ ## [1.3.2] - 2023-12-02
9
+
10
+ Changes
11
+
12
+ - Ruby gem updates.
13
+
1
14
  ## [1.3.1] - 2023-11-01
2
15
 
3
16
  Changes
data/Gemfile CHANGED
@@ -5,9 +5,9 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in immutable_struct_ex_redactable.gemspec
6
6
  gemspec
7
7
 
8
- gem 'pry-byebug', '~> 3.9'
8
+ gem 'pry-byebug', '>= 3.9', '< 4.0'
9
9
  gem 'rake', '~> 13.0'
10
10
  gem 'reek', '~> 6.1'
11
- gem 'rspec', '~> 3.12'
12
- gem 'rubocop', '~> 1.56.0'
13
- gem 'simplecov', '~> 0.22.0'
11
+ gem 'rspec', '>= 3.12', '< 4.0'
12
+ gem 'rubocop', '>= 1.56.0', '< 2.0'
13
+ gem 'simplecov', '>= 0.22.0', '< 1.0'
data/Gemfile.lock CHANGED
@@ -1,20 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- immutable_struct_ex_redactable (1.3.1)
4
+ immutable_struct_ex_redactable (1.3.3)
5
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)
12
11
  byebug (11.1.3)
13
12
  coderay (1.1.3)
14
13
  diff-lcs (1.5.0)
15
14
  docile (1.4.0)
16
- immutable_struct_ex (1.0.3)
17
- json (2.6.3)
15
+ immutable_struct_ex (1.0.4)
16
+ json (2.7.0)
18
17
  kwalify (0.7.2)
19
18
  language_server-protocol (3.17.0.3)
20
19
  method_source (1.0.0)
@@ -28,7 +27,7 @@ GEM
28
27
  pry-byebug (3.10.1)
29
28
  byebug (~> 11.0)
30
29
  pry (>= 0.13, < 0.15)
31
- racc (1.7.2)
30
+ racc (1.7.3)
32
31
  rainbow (3.1.1)
33
32
  rake (13.1.0)
34
33
  reek (6.1.4)
@@ -50,16 +49,15 @@ GEM
50
49
  diff-lcs (>= 1.2.0, < 2.0)
51
50
  rspec-support (~> 3.12.0)
52
51
  rspec-support (3.12.1)
53
- rubocop (1.56.4)
54
- base64 (~> 0.1.1)
52
+ rubocop (1.58.0)
55
53
  json (~> 2.3)
56
54
  language_server-protocol (>= 3.17.0)
57
55
  parallel (~> 1.10)
58
- parser (>= 3.2.2.3)
56
+ parser (>= 3.2.2.4)
59
57
  rainbow (>= 2.2.2, < 4.0)
60
58
  regexp_parser (>= 1.8, < 3.0)
61
59
  rexml (>= 3.2.5, < 4.0)
62
- rubocop-ast (>= 1.28.1, < 2.0)
60
+ rubocop-ast (>= 1.30.0, < 2.0)
63
61
  ruby-progressbar (~> 1.7)
64
62
  unicode-display_width (>= 2.4.0, < 3.0)
65
63
  rubocop-ast (1.30.0)
@@ -80,12 +78,12 @@ PLATFORMS
80
78
 
81
79
  DEPENDENCIES
82
80
  immutable_struct_ex_redactable!
83
- pry-byebug (~> 3.9)
81
+ pry-byebug (>= 3.9, < 4.0)
84
82
  rake (~> 13.0)
85
83
  reek (~> 6.1)
86
- rspec (~> 3.12)
87
- rubocop (~> 1.56.0)
88
- simplecov (~> 0.22.0)
84
+ rspec (>= 3.12, < 4.0)
85
+ rubocop (>= 1.56.0, < 2.0)
86
+ simplecov (>= 0.22.0, < 1.0)
89
87
 
90
88
  BUNDLED WITH
91
89
  2.3.22
@@ -12,7 +12,7 @@ module ImmutableStructExRedactable
12
12
  def redacted_accessible_module_for(hash:, config:)
13
13
  Module.new do
14
14
  if config.whitelist.any?
15
- hash.each do |attr, _|
15
+ hash.each_key do |attr|
16
16
  next if config.whitelist.include? attr
17
17
 
18
18
  unredacted_attr_method = "unredacted_#{attr}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ImmutableStructExRedactable
4
- VERSION = '1.3.1'
4
+ VERSION = '1.3.3'
5
5
  end
@@ -22,7 +22,7 @@ module ImmutableStructExRedactable
22
22
  end
23
23
 
24
24
  if config.whitelist.any?
25
- hash.each do |key, _|
25
+ hash.each_key do |key|
26
26
  next if config.whitelist.include? key
27
27
 
28
28
  hash[key] = config.redacted_label
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.3.1
4
+ version: 1.3.3
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: 2023-11-01 00:00:00.000000000 Z
11
+ date: 2023-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: immutable_struct_ex