ProtectedConstructor 2.0.3 → 2.1.4
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/.ruby-version +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +48 -37
- data/ProtectedConstructor.gemspec +2 -2
- data/lib/ProtectedConstructor/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33b8191028ae512c5b0e411f23fc93698b7154d495af2f02525b37cabbc61b17
|
|
4
|
+
data.tar.gz: 206af3617addf728a4966fe021dea93b732b9aa4ee85a75e26c45d0359274066
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 802738afb77eb2f6b8bf7e71e50e19bd0234abaa265d10269cac60f0480d2d82c2b4b565a624419f400c0ce6f0641ea2ee15bdbde8444300d51cccd8b46ae062
|
|
7
|
+
data.tar.gz: 80a93b18af317872b456056536584c9818c4933f1e72aca9fe4e14a949149365d04d8aae48fd04d29d2079ee8e8c67f3220c474b4889b219feca2a284f4b9590
|
|
@@ -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/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3.0.1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,74 +1,85 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ProtectedConstructor (2.
|
|
4
|
+
ProtectedConstructor (2.1.4)
|
|
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
|
-
json (2.6.
|
|
14
|
+
json (2.6.3)
|
|
14
15
|
kwalify (0.7.2)
|
|
16
|
+
language_server-protocol (3.17.0.3)
|
|
15
17
|
method_source (1.0.0)
|
|
16
|
-
parallel (1.
|
|
17
|
-
parser (3.
|
|
18
|
+
parallel (1.23.0)
|
|
19
|
+
parser (3.2.2.3)
|
|
18
20
|
ast (~> 2.4.1)
|
|
19
|
-
|
|
21
|
+
racc
|
|
22
|
+
pry (0.14.2)
|
|
20
23
|
coderay (~> 1.1)
|
|
21
24
|
method_source (~> 1.0)
|
|
22
|
-
pry-byebug (3.
|
|
25
|
+
pry-byebug (3.10.1)
|
|
23
26
|
byebug (~> 11.0)
|
|
24
|
-
pry (
|
|
27
|
+
pry (>= 0.13, < 0.15)
|
|
28
|
+
racc (1.7.1)
|
|
25
29
|
rainbow (3.1.1)
|
|
26
30
|
rake (13.0.6)
|
|
27
|
-
redcarpet (3.
|
|
28
|
-
reek (6.1.
|
|
31
|
+
redcarpet (3.6.0)
|
|
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.
|
|
34
|
-
rspec (3.
|
|
35
|
-
rspec-core (~> 3.
|
|
36
|
-
rspec-expectations (~> 3.
|
|
37
|
-
rspec-mocks (~> 3.
|
|
38
|
-
rspec-core (3.
|
|
39
|
-
rspec-support (~> 3.
|
|
40
|
-
rspec-expectations (3.
|
|
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.
|
|
43
|
-
rspec-mocks (3.
|
|
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.
|
|
46
|
-
rspec-support (3.
|
|
47
|
-
rubocop (1.
|
|
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.
|
|
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.
|
|
63
|
-
rubocop (~> 1.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
+
unicode-display_width (2.4.2)
|
|
78
|
+
yard (0.9.34)
|
|
69
79
|
|
|
70
80
|
PLATFORMS
|
|
71
81
|
x86_64-darwin-19
|
|
82
|
+
x86_64-linux
|
|
72
83
|
|
|
73
84
|
DEPENDENCIES
|
|
74
85
|
ProtectedConstructor!
|
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
spec.summary = 'Provides a module that may be included in a Ruby class, ' \
|
|
16
16
|
'that protects the constructor; good for enforcing instantiation of classes ' \
|
|
17
17
|
'using, for instance, a class factory.'
|
|
18
|
-
spec.homepage = '
|
|
18
|
+
spec.homepage = 'https://github.com/gangelo/ProtectedConstructor'
|
|
19
19
|
spec.license = 'MIT'
|
|
20
20
|
|
|
21
21
|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
24
24
|
spec.require_paths = ['lib']
|
|
25
25
|
|
|
26
|
-
spec.required_ruby_version = '~>
|
|
26
|
+
spec.required_ruby_version = '~> 3.0.1'
|
|
27
27
|
spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.17'
|
|
28
28
|
spec.add_development_dependency 'pry-byebug', '~> 3.9'
|
|
29
29
|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ProtectedConstructor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gene M. Angelo, Jr.
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
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
|
|
@@ -193,6 +193,7 @@ executables: []
|
|
|
193
193
|
extensions: []
|
|
194
194
|
extra_rdoc_files: []
|
|
195
195
|
files:
|
|
196
|
+
- ".github/dependabot.yml"
|
|
196
197
|
- ".gitignore"
|
|
197
198
|
- ".rspec"
|
|
198
199
|
- ".ruby-version"
|
|
@@ -209,11 +210,11 @@ files:
|
|
|
209
210
|
- spec/spec_helper.rb
|
|
210
211
|
- spec/support/shared_klasses/klass_factory.rb
|
|
211
212
|
- spec/support/shared_klasses/klass_factory_two.rb
|
|
212
|
-
homepage:
|
|
213
|
+
homepage: https://github.com/gangelo/ProtectedConstructor
|
|
213
214
|
licenses:
|
|
214
215
|
- MIT
|
|
215
216
|
metadata: {}
|
|
216
|
-
post_install_message:
|
|
217
|
+
post_install_message:
|
|
217
218
|
rdoc_options: []
|
|
218
219
|
require_paths:
|
|
219
220
|
- lib
|
|
@@ -221,15 +222,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
221
222
|
requirements:
|
|
222
223
|
- - "~>"
|
|
223
224
|
- !ruby/object:Gem::Version
|
|
224
|
-
version:
|
|
225
|
+
version: 3.0.1
|
|
225
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
227
|
requirements:
|
|
227
228
|
- - ">="
|
|
228
229
|
- !ruby/object:Gem::Version
|
|
229
230
|
version: '0'
|
|
230
231
|
requirements: []
|
|
231
|
-
rubygems_version: 3.
|
|
232
|
-
signing_key:
|
|
232
|
+
rubygems_version: 3.3.22
|
|
233
|
+
signing_key:
|
|
233
234
|
specification_version: 4
|
|
234
235
|
summary: Provides a module that may be included in a Ruby class, that protects the
|
|
235
236
|
constructor; good for enforcing instantiation of classes using, for instance, a
|