immutable_struct_ex_redactable 1.2.0 → 1.2.2

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: 321fc8418eb84c3fa0c62cb687e6811c2584c7f6a30575244b0b0468185bfbf3
4
- data.tar.gz: dfeae468c5bdc53aaf6872e247c92bac995a736434ee0eff32acfb1a8970ad20
3
+ metadata.gz: 0f17e2eaa97e190007e9d795ffd67d994b95fad1f31e6ba1cac068bed1f1738a
4
+ data.tar.gz: 395fddfefe67e8271bf01fd7440c322d92055b97b234de76c3e4242f40c5bb18
5
5
  SHA512:
6
- metadata.gz: 38f3992c16fd65c313a95988ac4dd76cba8c8765d9cba60b91fa97f94845f988c83c081ee8d4fa091946b3731c34935e91e2a1ccb7542dff1fe2319a47d867ac
7
- data.tar.gz: 81a4e7d9caad199dcf5a207321ae1ba3f8122cb295cf3f396ca5c113e7ceb08565f327aea2ccbc57d858d60db5d53c39b2cdc718a5399f6d227fc913d9d9409b
6
+ metadata.gz: 4a246e5fb6044949e70b56371faed89913d574588e21a989178e51b388609fe85af9bc0c8c9634afa3d6dff5bc0fe94f9288c769fcea708cd790ae4ab6623811
7
+ data.tar.gz: 7882512c517e1d1c6ec649cda8654687675c042a96f7e1976e2dd112b1d67dcdcb23cdb70540197367b03b5a689b998325959b2e99ec22e4dcac637f44890613
data/CHANGELOG.md CHANGED
@@ -1,11 +1,28 @@
1
+ ## [1.2.2] - 2023-08-29
2
+
3
+ Changes
4
+
5
+ - Ruby gem updates.
6
+
7
+ ## [1.2.1] - 2023-08-17
8
+
9
+ Changes
10
+
11
+ - Ruby gem updates.
12
+
1
13
  ## [1.2.0] - 2022-10-03
2
- * Changes
3
- * 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>`.
4
- * Update README.md file.
14
+
15
+ Changes
16
+
17
+ - 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>`.
18
+ - Update README.md file.
5
19
 
6
20
  ## [1.1.0] - 2022-10-02
7
- * Changes
8
- * Fix rubocop violations
21
+
22
+ Changes
23
+
24
+ - Fix rubocop violations
9
25
 
10
26
  ## [1.0.0] - 2022-10-02
11
- * Initial release
27
+
28
+ 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', '>= 6.1.1'
11
- gem 'rspec', '~> 3.0'
12
- gem 'rubocop', '~> 0.81.0'
13
- gem 'simplecov', '~> 0.21.2'
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,91 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- immutable_struct_ex_redactable (1.2.0)
5
- immutable_struct_ex (~> 0.3.0)
4
+ immutable_struct_ex_redactable (1.2.2)
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.3.0)
16
- jaro_winkler (1.5.4)
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.22.1)
20
- parser (3.1.2.1)
21
+ parallel (1.23.0)
22
+ parser (3.2.2.3)
21
23
  ast (~> 2.4.1)
22
- pry (0.14.1)
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.1)
34
+ reek (6.1.4)
31
35
  kwalify (~> 0.7.0)
32
- parser (~> 3.1.0)
36
+ parser (~> 3.2.0)
33
37
  rainbow (>= 2.0, < 4.0)
34
- rexml (3.2.5)
35
- rspec (3.11.0)
36
- rspec-core (~> 3.11.0)
37
- rspec-expectations (~> 3.11.0)
38
- rspec-mocks (~> 3.11.0)
39
- rspec-core (3.11.0)
40
- rspec-support (~> 3.11.0)
41
- rspec-expectations (3.11.1)
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.11.0)
44
- rspec-mocks (3.11.1)
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.11.0)
47
- rspec-support (3.11.1)
48
- rubocop (0.81.0)
49
- jaro_winkler (~> 1.5.1)
51
+ rspec-support (~> 3.12.0)
52
+ rspec-support (3.12.1)
53
+ rubocop (1.56.2)
54
+ base64 (~> 0.1.1)
55
+ json (~> 2.3)
56
+ language_server-protocol (>= 3.17.0)
50
57
  parallel (~> 1.10)
51
- parser (>= 2.7.0.1)
58
+ parser (>= 3.2.2.3)
52
59
  rainbow (>= 2.2.2, < 4.0)
53
- rexml
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 (>= 1.4.0, < 2.0)
56
- ruby-progressbar (1.11.0)
57
- simplecov (0.21.2)
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 (1.8.0)
74
+ unicode-display_width (2.4.2)
64
75
 
65
76
  PLATFORMS
66
77
  x86_64-darwin-19
78
+ x86_64-darwin-21
79
+ x86_64-linux
67
80
 
68
81
  DEPENDENCIES
69
82
  immutable_struct_ex_redactable!
70
83
  pry-byebug (~> 3.9)
71
84
  rake (~> 13.0)
72
- reek (~> 6.1, >= 6.1.1)
73
- rspec (~> 3.0)
74
- rubocop (~> 0.81.0)
75
- simplecov (~> 0.21.2)
85
+ reek (~> 6.1)
86
+ rspec (~> 3.12)
87
+ rubocop (~> 1.56.0)
88
+ simplecov (~> 0.22.0)
76
89
 
77
90
  BUNDLED WITH
78
91
  2.3.22
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ImmutableStructExRedactable
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.2'
5
5
  end
@@ -10,9 +10,9 @@ module ImmutableStructExRedactable
10
10
 
11
11
  module_function
12
12
 
13
- def create(**hash, &block)
13
+ def create(...)
14
14
  config = ImmutableStructExRedactable.configure
15
- create_with(config, **hash, &block)
15
+ create_with(config, ...)
16
16
  end
17
17
 
18
18
  def create_with(config, **hash, &block)
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.0
4
+ version: 1.2.2
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: 2022-10-03 00:00:00.000000000 Z
11
+ date: 2023-08-29 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: 0.3.0
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: 0.3.0
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
@@ -73,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
78
  - !ruby/object:Gem::Version
74
79
  version: '0'
75
80
  requirements: []
76
- rubygems_version: 3.3.22
81
+ rubygems_version: 3.2.15
77
82
  signing_key:
78
83
  specification_version: 4
79
84
  summary: The redactable version of the immutable_stuct_ex gem.
@@ -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