immutable_struct_ex_redactable 1.3.2 → 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: 9240412d92b6448641e2581a54e4f96763801caf082084893f0295041dc349ef
4
- data.tar.gz: d8ac366109c33d57914df6641363455a882ba04f48de24a25c24460ea3875b85
3
+ metadata.gz: 239f6572810600a88955cba831e0689de109f800dd329bf87bc716f073ca2de6
4
+ data.tar.gz: e67a56c48cf5289919b754cf7ca562d4929dcfe52c50780d743e393d070942ac
5
5
  SHA512:
6
- metadata.gz: 736110db9963c597d6a8808452db7ee374d41bb08eb35531ac0870fd4309cfd025aae54c1dc89434118202b4c8d043946a704931a9e532a8dfe72b3799d56c4d
7
- data.tar.gz: aa63628e6c0aceb4f52d71519b88dc286830835ec41bc6828b7436741243eacb5116261c42bb72af0a76f9f178f70777bb5da393e15dbc45fb36804559b3e47f
6
+ metadata.gz: b4e62ce4e944d6b3a3def66565c2af9eb8e13fc76eb4ea9f287ff0c91ded1070597779b0c9dce0de22127fbb9cd1a52a338cd5e15312903a3712eeac7f8a5884
7
+ data.tar.gz: 72c1560a60a83f33e2795db5f577dc811a8dcb9087565d56f082c04c33c4eb9eeff588711bb73506943bbf524643f66273a0edecff5bc6625c5bd33148fe072e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.3.3] - 2023-12-02
2
+
3
+ Changes
4
+
5
+ - Ruby gem updates.
6
+ - Fix rubocop violations
7
+
1
8
  ## [1.3.2] - 2023-12-02
2
9
 
3
10
  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,14 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- immutable_struct_ex_redactable (1.3.2)
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)
@@ -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.2'
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immutable_struct_ex_redactable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.