immutable_struct_ex 0.3.0 → 1.0.1

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: aa4a48dbdce57780e5b5d4070af7cc8c23178bfce3ad7fe7aa7f4ccb5c8c57bd
4
- data.tar.gz: '093d4b2a568379b9f3a60c408e8b193c3529b08747a187a0c89740e3b5d18d10'
3
+ metadata.gz: 2601377c1ed454176983af5228a4c9136acf77647fa9d0338b1d608c5f6d2b01
4
+ data.tar.gz: b5c4c397c9bd4a4f05b9e24563cc470494bd8b7c0c68d7fc01b224cbb8ac0956
5
5
  SHA512:
6
- metadata.gz: 0c0ac39ffb5460f9d7a02495758285d2cb6407d985f8bb1c52eff686e5e015bc3a28e5bc33a7a091507cb93a40348eebebe563cc6aaf49d0d65b7e54f6b33c2d
7
- data.tar.gz: e3bbb35209074a059fd695aec4da31d60731929633c88e268bb643bdd0fd433530cb3f44bb57377e478a571cfaeae5a87cad0fd44084b2bb94b11270f50c4ac2
6
+ metadata.gz: 51715310ff1edabc8835521471677d90bfa26728121bd01c052d9b5a1326117d6b52c4fbbb17b560070897d79cfcdf1bdfd566dbb1416c1dd78aa2e42214dc3d
7
+ data.tar.gz: f13718c35a3bc20072ae045b84ec245d77115e226a25163b2520482ef94a91b495242f288224a85a272fc554f7588749c58869bda017b4d92c9151bf7493712c
@@ -0,0 +1,16 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler"
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "weekly"
12
+ groups:
13
+ production-dependencies:
14
+ dependency-type: "production"
15
+ development-dependencies:
16
+ dependency-type: "development"
data/.rubocop.yml CHANGED
@@ -1,13 +1,3 @@
1
- # The behavior of RuboCop can be controlled via the .rubocop.yml
2
- # configuration file. It makes it possible to enable/disable
3
- # certain cops (checks) and to alter their behavior if they accept
4
- # any parameters. The file can be placed either in your home
5
- # directory or in some project directory.
6
- #
7
- # RuboCop will start looking for the configuration file in the directory
8
- # where the inspected file is and continue its way up to the root directory.
9
- #
10
- # See https://docs.rubocop.org/rubocop/configuration
11
1
  require:
12
2
  - rubocop-performance
13
3
  - rubocop-rspec
@@ -23,7 +13,8 @@ AllCops:
23
13
  - '*.gemspec'
24
14
  - 'spec/**/*'
25
15
  - 'vendor/**/*'
26
- - 'scratch.rb'
16
+ - 'scratch*.rb'
17
+ - 'snippets*.rb'
27
18
 
28
19
  # Align the elements of a hash literal if they span more than one line.
29
20
  Layout/HashAlignment:
@@ -126,7 +117,7 @@ Layout/LineLength:
126
117
  # Avoid methods longer than 15 lines of code.
127
118
  Metrics/MethodLength:
128
119
  Max: 20
129
- IgnoredMethods:
120
+ AllowedMethods:
130
121
  - swagger_path
131
122
  - operation
132
123
 
@@ -135,6 +126,9 @@ Metrics/MethodLength:
135
126
  Metrics/PerceivedComplexity:
136
127
  Max: 10
137
128
 
129
+ NestedGroups:
130
+ Max: 4
131
+
138
132
  # Naming/FileName:
139
133
  # Exclude:
140
134
  # - 'lib/file.rb'
data/CHANGELOG.md CHANGED
@@ -1,31 +1,58 @@
1
+
2
+ ### [1.0.1] 2023-08-17
3
+
4
+ Changes
5
+
6
+ - Various ruby gem updates
7
+
8
+ ### 1.0.0
9
+
10
+ Changes (not really a breaking change, but just wanted to bump to 1.0.0)
11
+
12
+ - Limit required ruby version to ~> 3.0.
13
+ - Update ruby gems.
14
+
1
15
  ### 0.3.0
2
- * Changes
3
- * Update README.md file with the correct gem name.
16
+
17
+ Changes
18
+
19
+ - Update README.md file with the correct gem name.
4
20
 
5
21
  ### 0.2.3
6
- * Bug fix
7
- * Fix bug in specs that failed to add criteria for passing tests (e.g. ".to eq true/false") so tests could not fail.
22
+
23
+ Bug fixes
24
+
25
+ - Fix bug in specs that failed to add criteria for passing tests (e.g. ".to eq true/false") so tests could not fail.
8
26
 
9
27
  ### 0.2.2
10
- * Changes
11
- * Restructure modules under lib/immutable_structure_ex folder.
12
- * Make codez to create struct a little cleaner/tighter.
13
- * Ignore .vscode folder in .gitignore file.
14
- * Update gems and especially rake gem version to squash CVE-2020-8130, see https://github.com/advisories/GHSA-jppv-gw3r-w3q8.
15
- * Fix rubocop violations.
28
+
29
+ Changes
30
+
31
+ - Restructure modules under lib/immutable_structure_ex folder.
32
+ - Make codez to create struct a little cleaner/tighter.
33
+ - Ignore .vscode folder in .gitignore file.
34
+ - Update gems and especially rake gem version to squash CVE-2020-8130, see https://github.com/advisories/GHSA-jppv-gw3r-w3q8.
35
+ - Fix rubocop violations.
16
36
 
17
37
  ### 0.2.1
18
- * Enhancements
19
- * General refactors/cleanup.
20
- * Added Immutable module; when extended on a struct, makes it immutable.
21
- * Added Comparable module; when extended on a struct, makes it comparable to other structs and hashes.
38
+
39
+ Changes
40
+
41
+ - General refactors/cleanup.
42
+ - Added Immutable module; when extended on a struct, makes it immutable.
43
+ - Added Comparable module; when extended on a struct, makes it comparable to other structs and hashes.
22
44
 
23
45
  ### 0.1.1
24
- * Enhancements
25
- * Added this CHANGELOG.md.
26
- * Bug fix
27
- * Equality method #== did not work when comparing objects whose underlying hashes were equal.
28
- * Added #== method to compare underlying hashes by calling a.to_h == b.to_h.
46
+
47
+ Changes
48
+
49
+ - Added this CHANGELOG.md.
50
+
51
+ Bug fixes
52
+
53
+ - Equality method #== did not work when comparing objects whose underlying hashes were equal.
54
+ - Added #== method to compare underlying hashes by calling a.to_h == b.to_h.
29
55
 
30
56
  ### 0.1.0
31
- * Initial release.
57
+
58
+ Initial release.
data/Gemfile.lock CHANGED
@@ -1,77 +1,90 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- immutable_struct_ex (0.3.0)
4
+ immutable_struct_ex (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
+ base64 (0.1.1)
10
11
  byebug (11.1.3)
11
12
  coderay (1.1.3)
12
13
  diff-lcs (1.5.0)
13
14
  docile (1.4.0)
14
- json (2.6.2)
15
+ json (2.6.3)
15
16
  kwalify (0.7.2)
17
+ language_server-protocol (3.17.0.3)
16
18
  method_source (1.0.0)
17
- parallel (1.22.1)
18
- parser (3.1.2.1)
19
+ parallel (1.23.0)
20
+ parser (3.2.2.3)
19
21
  ast (~> 2.4.1)
20
- pry (0.13.1)
22
+ racc
23
+ pry (0.14.2)
21
24
  coderay (~> 1.1)
22
25
  method_source (~> 1.0)
23
- pry-byebug (3.9.0)
26
+ pry-byebug (3.10.1)
24
27
  byebug (~> 11.0)
25
- pry (~> 0.13.0)
28
+ pry (>= 0.13, < 0.15)
29
+ racc (1.7.1)
26
30
  rainbow (3.1.1)
27
31
  rake (13.0.6)
28
- reek (6.1.1)
32
+ reek (6.1.4)
29
33
  kwalify (~> 0.7.0)
30
- parser (~> 3.1.0)
34
+ parser (~> 3.2.0)
31
35
  rainbow (>= 2.0, < 4.0)
32
- regexp_parser (2.5.0)
33
- rexml (3.2.5)
34
- rspec (3.11.0)
35
- rspec-core (~> 3.11.0)
36
- rspec-expectations (~> 3.11.0)
37
- rspec-mocks (~> 3.11.0)
38
- rspec-core (3.11.0)
39
- rspec-support (~> 3.11.0)
40
- rspec-expectations (3.11.0)
36
+ regexp_parser (2.8.1)
37
+ rexml (3.2.6)
38
+ rspec (3.12.0)
39
+ rspec-core (~> 3.12.0)
40
+ rspec-expectations (~> 3.12.0)
41
+ rspec-mocks (~> 3.12.0)
42
+ rspec-core (3.12.2)
43
+ rspec-support (~> 3.12.0)
44
+ rspec-expectations (3.12.3)
41
45
  diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.11.0)
43
- rspec-mocks (3.11.1)
46
+ rspec-support (~> 3.12.0)
47
+ rspec-mocks (3.12.6)
44
48
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.11.0)
46
- rspec-support (3.11.0)
47
- rubocop (1.35.0)
49
+ rspec-support (~> 3.12.0)
50
+ rspec-support (3.12.1)
51
+ rubocop (1.56.0)
52
+ base64 (~> 0.1.1)
48
53
  json (~> 2.3)
54
+ language_server-protocol (>= 3.17.0)
49
55
  parallel (~> 1.10)
50
- parser (>= 3.1.2.1)
56
+ parser (>= 3.2.2.3)
51
57
  rainbow (>= 2.2.2, < 4.0)
52
58
  regexp_parser (>= 1.8, < 3.0)
53
59
  rexml (>= 3.2.5, < 4.0)
54
- rubocop-ast (>= 1.20.1, < 2.0)
60
+ rubocop-ast (>= 1.28.1, < 2.0)
55
61
  ruby-progressbar (~> 1.7)
56
- unicode-display_width (>= 1.4.0, < 3.0)
57
- rubocop-ast (1.21.0)
58
- parser (>= 3.1.1.0)
59
- rubocop-performance (1.14.3)
62
+ unicode-display_width (>= 2.4.0, < 3.0)
63
+ rubocop-ast (1.29.0)
64
+ parser (>= 3.2.1.0)
65
+ rubocop-capybara (2.18.0)
66
+ rubocop (~> 1.41)
67
+ rubocop-factory_bot (2.23.1)
68
+ rubocop (~> 1.33)
69
+ rubocop-performance (1.19.0)
60
70
  rubocop (>= 1.7.0, < 2.0)
61
71
  rubocop-ast (>= 0.4.0)
62
- rubocop-rspec (2.12.1)
63
- rubocop (~> 1.31)
64
- ruby-progressbar (1.11.0)
65
- simplecov (0.21.2)
72
+ rubocop-rspec (2.23.2)
73
+ rubocop (~> 1.33)
74
+ rubocop-capybara (~> 2.17)
75
+ rubocop-factory_bot (~> 2.22)
76
+ ruby-progressbar (1.13.0)
77
+ simplecov (0.22.0)
66
78
  docile (~> 1.1)
67
79
  simplecov-html (~> 0.11)
68
80
  simplecov_json_formatter (~> 0.1)
69
81
  simplecov-html (0.12.3)
70
82
  simplecov_json_formatter (0.1.4)
71
- unicode-display_width (2.2.0)
83
+ unicode-display_width (2.4.2)
72
84
 
73
85
  PLATFORMS
74
86
  x86_64-darwin-19
87
+ x86_64-linux
75
88
 
76
89
  DEPENDENCIES
77
90
  bundler (~> 2.2, >= 2.2.17)
@@ -83,7 +96,7 @@ DEPENDENCIES
83
96
  rubocop (~> 1.35)
84
97
  rubocop-performance (~> 1.14, >= 1.14.3)
85
98
  rubocop-rspec (~> 2.12, >= 2.12.1)
86
- simplecov (~> 0.21.2)
99
+ simplecov (~> 0.22.0)
87
100
 
88
101
  BUNDLED WITH
89
102
  2.3.22
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'Creates an immutable struct in one step.'
15
15
  spec.homepage = 'https://github.com/gangelo/immutable_struct_ex'
16
16
  spec.license = 'MIT'
17
- spec.required_ruby_version = '>= 3.0.1'
17
+ spec.required_ruby_version = Gem::Requirement.new("~> 3.0")
18
18
 
19
19
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
20
20
  # to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -39,6 +39,6 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency 'rubocop', '~> 1.35'
40
40
  spec.add_development_dependency 'rubocop-performance', '~> 1.14', '>= 1.14.3'
41
41
  spec.add_development_dependency 'rubocop-rspec', '~> 2.12', '>= 2.12.1'
42
- spec.add_development_dependency 'simplecov', '~> 0.21.2'
42
+ spec.add_development_dependency 'simplecov', '~> 0.22.0'
43
43
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
44
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ImmutableStructEx
4
- VERSION = '0.3.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immutable_struct_ex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.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: 2022-10-01 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -138,14 +138,14 @@ dependencies:
138
138
  requirements:
139
139
  - - "~>"
140
140
  - !ruby/object:Gem::Version
141
- version: 0.21.2
141
+ version: 0.22.0
142
142
  type: :development
143
143
  prerelease: false
144
144
  version_requirements: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
- version: 0.21.2
148
+ version: 0.22.0
149
149
  - !ruby/object:Gem::Dependency
150
150
  name: rake
151
151
  requirement: !ruby/object:Gem::Requirement
@@ -173,6 +173,7 @@ executables: []
173
173
  extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
+ - ".github/dependabot.yml"
176
177
  - ".gitignore"
177
178
  - ".reek.yml"
178
179
  - ".rspec"
@@ -203,9 +204,9 @@ require_paths:
203
204
  - lib
204
205
  required_ruby_version: !ruby/object:Gem::Requirement
205
206
  requirements:
206
- - - ">="
207
+ - - "~>"
207
208
  - !ruby/object:Gem::Version
208
- version: 3.0.1
209
+ version: '3.0'
209
210
  required_rubygems_version: !ruby/object:Gem::Requirement
210
211
  requirements:
211
212
  - - ">="