immutable_struct_ex 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +16 -0
- data/.rubocop.yml +6 -12
- data/CHANGELOG.md +45 -23
- data/Gemfile.lock +38 -25
- data/immutable_struct_ex.gemspec +1 -1
- data/lib/immutable_struct_ex/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2601377c1ed454176983af5228a4c9136acf77647fa9d0338b1d608c5f6d2b01
|
|
4
|
+
data.tar.gz: b5c4c397c9bd4a4f05b9e24563cc470494bd8b7c0c68d7fc01b224cbb8ac0956
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
8
|
-
|
|
16
|
+
|
|
17
|
+
Changes
|
|
18
|
+
|
|
19
|
+
- Update README.md file with the correct gem name.
|
|
9
20
|
|
|
10
21
|
### 0.2.3
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
18
|
-
parser (3.
|
|
19
|
+
parallel (1.23.0)
|
|
20
|
+
parser (3.2.2.3)
|
|
19
21
|
ast (~> 2.4.1)
|
|
20
|
-
|
|
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.
|
|
32
|
+
reek (6.1.4)
|
|
29
33
|
kwalify (~> 0.7.0)
|
|
30
|
-
parser (~> 3.
|
|
34
|
+
parser (~> 3.2.0)
|
|
31
35
|
rainbow (>= 2.0, < 4.0)
|
|
32
|
-
regexp_parser (2.
|
|
33
|
-
rexml (3.2.
|
|
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.
|
|
42
|
+
rspec-core (3.12.2)
|
|
39
43
|
rspec-support (~> 3.12.0)
|
|
40
|
-
rspec-expectations (3.12.
|
|
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.
|
|
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.
|
|
47
|
-
rubocop (1.
|
|
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.
|
|
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.
|
|
60
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
|
55
61
|
ruby-progressbar (~> 1.7)
|
|
56
|
-
unicode-display_width (>=
|
|
57
|
-
rubocop-ast (1.
|
|
58
|
-
parser (>= 3.
|
|
59
|
-
rubocop-
|
|
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.
|
|
72
|
+
rubocop-rspec (2.23.2)
|
|
63
73
|
rubocop (~> 1.33)
|
|
64
|
-
|
|
65
|
-
|
|
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.
|
|
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.
|
|
99
|
+
simplecov (~> 0.22.0)
|
|
87
100
|
|
|
88
101
|
BUNDLED WITH
|
|
89
102
|
2.3.22
|
data/immutable_struct_ex.gemspec
CHANGED
|
@@ -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.
|
|
42
|
+
spec.add_development_dependency 'simplecov', '~> 0.22.0'
|
|
43
43
|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
|
44
44
|
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.
|
|
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:
|
|
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.
|
|
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.
|
|
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"
|