immutable_struct_ex 1.0.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: 2fce441affccae142eb67911aaecfdf0886a6ea60aa505bb7ee404217ec178d3
4
- data.tar.gz: b39016ae4dcf0c28c4381d391cb5597f835497b92551459a54ffb3d79331138d
3
+ metadata.gz: 2601377c1ed454176983af5228a4c9136acf77647fa9d0338b1d608c5f6d2b01
4
+ data.tar.gz: b5c4c397c9bd4a4f05b9e24563cc470494bd8b7c0c68d7fc01b224cbb8ac0956
5
5
  SHA512:
6
- metadata.gz: 411878a19d161a2784424180a7de70e1f4fdda4d6a115ae3e4af2f54fd0781bf345ea1a51977e0707e1d8a2579bbcd30208ddb782a225679ecbb517cec86e68b
7
- data.tar.gz: fa0f13ecb0161bf674a24b272a4254c6a957e7b12df10d87adde9127b9b2542b0da4858e8392ba1fe91ab4ddcaecff8ada10e9e50bf5a6eb40626d9659987957
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,36 +1,58 @@
1
+
2
+ ### [1.0.1] 2023-08-17
3
+
4
+ Changes
5
+
6
+ - Various ruby gem updates
7
+
1
8
  ### 1.0.0
2
- * Changes (not really a breaking change, but just wanted to bump to 1.0.0)
3
- * Limit required ruby version to ~> 3.0.
4
- * Update ruby gems.
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.
5
14
 
6
15
  ### 0.3.0
7
- * Changes
8
- * Update README.md file with the correct gem name.
16
+
17
+ Changes
18
+
19
+ - Update README.md file with the correct gem name.
9
20
 
10
21
  ### 0.2.3
11
- * Bug fix
12
- * 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.
13
26
 
14
27
  ### 0.2.2
15
- * Changes
16
- * Restructure modules under lib/immutable_structure_ex folder.
17
- * Make codez to create struct a little cleaner/tighter.
18
- * Ignore .vscode folder in .gitignore file.
19
- * Update gems and especially rake gem version to squash CVE-2020-8130, see https://github.com/advisories/GHSA-jppv-gw3r-w3q8.
20
- * 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.
21
36
 
22
37
  ### 0.2.1
23
- * Enhancements
24
- * General refactors/cleanup.
25
- * Added Immutable module; when extended on a struct, makes it immutable.
26
- * 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.
27
44
 
28
45
  ### 0.1.1
29
- * Enhancements
30
- * Added this CHANGELOG.md.
31
- * Bug fix
32
- * Equality method #== did not work when comparing objects whose underlying hashes were equal.
33
- * 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.
34
55
 
35
56
  ### 0.1.0
36
- * 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 (1.0.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.14.1)
22
+ racc
23
+ pry (0.14.2)
21
24
  coderay (~> 1.1)
22
25
  method_source (~> 1.0)
23
26
  pry-byebug (3.10.1)
24
27
  byebug (~> 11.0)
25
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.6.0)
33
- rexml (3.2.5)
36
+ regexp_parser (2.8.1)
37
+ rexml (3.2.6)
34
38
  rspec (3.12.0)
35
39
  rspec-core (~> 3.12.0)
36
40
  rspec-expectations (~> 3.12.0)
37
41
  rspec-mocks (~> 3.12.0)
38
- rspec-core (3.12.0)
42
+ rspec-core (3.12.2)
39
43
  rspec-support (~> 3.12.0)
40
- rspec-expectations (3.12.0)
44
+ rspec-expectations (3.12.3)
41
45
  diff-lcs (>= 1.2.0, < 2.0)
42
46
  rspec-support (~> 3.12.0)
43
- rspec-mocks (3.12.0)
47
+ rspec-mocks (3.12.6)
44
48
  diff-lcs (>= 1.2.0, < 2.0)
45
49
  rspec-support (~> 3.12.0)
46
- rspec-support (3.12.0)
47
- rubocop (1.38.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.23.0, < 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.23.0)
58
- parser (>= 3.1.1.0)
59
- rubocop-performance (1.15.0)
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.15.0)
72
+ rubocop-rspec (2.23.2)
63
73
  rubocop (~> 1.33)
64
- ruby-progressbar (1.11.0)
65
- simplecov (0.21.2)
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.3.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
@@ -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 = '1.0.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: 1.0.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-11-04 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"