ProtectedConstructor 3.0.1 → 3.0.3
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/workflows/ruby.yml +28 -20
- data/CHANGELOG.md +11 -0
- data/Gemfile +16 -8
- data/Gemfile.lock +61 -46
- data/ProtectedConstructor.gemspec +29 -0
- data/README.md +2 -2
- data/lib/ProtectedConstructor/version.rb +1 -1
- metadata +30 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76c78926a721622fcb2c03adbc60e03387b0aad68743c1dab651e15c1047d0db
|
4
|
+
data.tar.gz: 5e34dedc47342a7ebf954f85227148562c82cd675a80464459cd4d399c8c6e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1c714692867dbde2463794b85a7c7463550289db954f904aeacf0e0aeac4b500c0855dfcce026005324d2ba33d1152f6216c04ca4aa806daa0d72ebb9472733
|
7
|
+
data.tar.gz: 5a77ece5781ddbf6995c4e3bc4fb1af4a45941908b35cff3da4ae4bef397782e5e77305c29f4e6e2a4de0b068cb88f12239307426bce9a97b1b57a664c367813
|
data/.github/workflows/ruby.yml
CHANGED
@@ -1,10 +1,3 @@
|
|
1
|
-
# This workflow uses actions that are not certified by GitHub.
|
2
|
-
# They are provided by a third-party and are governed by
|
3
|
-
# separate terms of service, privacy policy, and support
|
4
|
-
# documentation.
|
5
|
-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
-
|
8
1
|
name: Ruby
|
9
2
|
|
10
3
|
on:
|
@@ -18,26 +11,41 @@ permissions:
|
|
18
11
|
|
19
12
|
jobs:
|
20
13
|
test:
|
21
|
-
runs-on:
|
14
|
+
runs-on: ${{ matrix.os }}
|
22
15
|
strategy:
|
23
16
|
matrix:
|
24
|
-
|
25
|
-
|
26
|
-
ruby-version: ["3.0.1", "3.0.6", "3.1.4", "3.2.2"]
|
17
|
+
os: [ubuntu-latest, ubuntu-20.04, macos-latest, macos-13, macos-12, windows-latest, windows-2019]
|
18
|
+
ruby: ['3.0.7', '3.1', '3.2', '3.3']
|
27
19
|
|
28
20
|
steps:
|
29
21
|
- uses: actions/checkout@v3
|
30
|
-
|
22
|
+
|
23
|
+
- name: Set timezone on Linux
|
24
|
+
if: contains(matrix.os, 'ubuntu')
|
31
25
|
run: sudo timedatectl set-timezone 'America/New_York'
|
32
|
-
|
33
|
-
|
26
|
+
|
27
|
+
- name: Set timezone on macOS
|
28
|
+
if: contains(matrix.os, 'macos')
|
29
|
+
run: sudo systemsetup -settimezone America/New_York
|
30
|
+
|
31
|
+
- name: Set timezone on Windows
|
32
|
+
if: contains(matrix.os, 'windows')
|
33
|
+
run: tzutil /s "Eastern Standard Time"
|
34
|
+
|
34
35
|
- name: Set up Ruby
|
35
|
-
|
36
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
37
|
-
# uses: ruby/setup-ruby@v1
|
38
|
-
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
36
|
+
uses: ruby/setup-ruby@v1
|
39
37
|
with:
|
40
|
-
ruby-version: ${{ matrix.ruby
|
41
|
-
bundler-cache: true
|
38
|
+
ruby-version: ${{ matrix.ruby }}
|
39
|
+
bundler-cache: true
|
40
|
+
|
41
|
+
- name: Update RubyGems
|
42
|
+
run: gem update --system
|
43
|
+
|
44
|
+
- name: Disable bundler frozen setting
|
45
|
+
run: bundle config set frozen false
|
46
|
+
|
47
|
+
- name: Install dependencies
|
48
|
+
run: bundle install
|
49
|
+
|
42
50
|
- name: Run tests
|
43
51
|
run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -6,12 +6,20 @@ source 'https://rubygems.org'
|
|
6
6
|
gemspec
|
7
7
|
|
8
8
|
gem 'bundler', '~> 2.5', '>= 2.5.3'
|
9
|
-
gem 'pry-byebug', '>= 3.9', '< 4.0'
|
10
9
|
gem 'rake', '>= 13.0', '< 14.0'
|
11
|
-
|
12
|
-
|
13
|
-
gem '
|
14
|
-
gem 'rubocop', '>= 1.35', '< 2.0'
|
15
|
-
gem 'rubocop-performance', '>= 1.14', '< 2.0'
|
16
|
-
gem 'rubocop-rspec', '>= 2.12', '< 3.0'
|
17
|
-
|
10
|
+
|
11
|
+
group :development do
|
12
|
+
gem 'reek', '>= 6.1', '< 7.0'
|
13
|
+
gem 'rubocop', '>= 1.35', '< 2.0'
|
14
|
+
gem 'rubocop-performance', '>= 1.14', '< 2.0'
|
15
|
+
gem 'rubocop-rspec', '>= 2.12', '< 3.0'
|
16
|
+
end
|
17
|
+
|
18
|
+
group :test do
|
19
|
+
gem 'rspec', '>= 3.12', '< 4.0'
|
20
|
+
gem 'simplecov', '~> 0.22.0'
|
21
|
+
end
|
22
|
+
|
23
|
+
group :development, :test do
|
24
|
+
gem 'pry-byebug', '>= 3.9', '< 4.0'
|
25
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,30 +1,31 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ProtectedConstructor (3.0.
|
4
|
+
ProtectedConstructor (3.0.3)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
ast (2.4.2)
|
10
|
-
bigdecimal (3.1.
|
10
|
+
bigdecimal (3.1.8)
|
11
11
|
byebug (11.1.3)
|
12
12
|
coderay (1.1.3)
|
13
|
-
concurrent-ruby (1.
|
14
|
-
diff-lcs (1.5.
|
15
|
-
|
13
|
+
concurrent-ruby (1.3.3)
|
14
|
+
diff-lcs (1.5.1)
|
15
|
+
docile (1.4.1)
|
16
|
+
dry-configurable (1.2.0)
|
16
17
|
dry-core (~> 1.0, < 2)
|
17
18
|
zeitwerk (~> 2.6)
|
18
19
|
dry-core (1.0.1)
|
19
20
|
concurrent-ruby (~> 1.0)
|
20
21
|
zeitwerk (~> 2.6)
|
21
|
-
dry-inflector (1.
|
22
|
+
dry-inflector (1.1.0)
|
22
23
|
dry-initializer (3.1.1)
|
23
24
|
dry-logic (1.5.0)
|
24
25
|
concurrent-ruby (~> 1.0)
|
25
26
|
dry-core (~> 1.0, < 2)
|
26
27
|
zeitwerk (~> 2.6)
|
27
|
-
dry-schema (1.13.
|
28
|
+
dry-schema (1.13.4)
|
28
29
|
concurrent-ruby (~> 1.0)
|
29
30
|
dry-configurable (~> 1.0, >= 1.0.1)
|
30
31
|
dry-core (~> 1.0, < 2)
|
@@ -39,11 +40,11 @@ GEM
|
|
39
40
|
dry-inflector (~> 1.0)
|
40
41
|
dry-logic (~> 1.4)
|
41
42
|
zeitwerk (~> 2.6)
|
42
|
-
json (2.7.
|
43
|
+
json (2.7.2)
|
43
44
|
language_server-protocol (3.17.0.3)
|
44
|
-
method_source (1.
|
45
|
-
parallel (1.
|
46
|
-
parser (3.
|
45
|
+
method_source (1.1.0)
|
46
|
+
parallel (1.25.1)
|
47
|
+
parser (3.3.4.0)
|
47
48
|
ast (~> 2.4.1)
|
48
49
|
racc
|
49
50
|
pry (0.14.2)
|
@@ -52,61 +53,76 @@ GEM
|
|
52
53
|
pry-byebug (3.10.1)
|
53
54
|
byebug (~> 11.0)
|
54
55
|
pry (>= 0.13, < 0.15)
|
55
|
-
racc (1.
|
56
|
+
racc (1.8.1)
|
56
57
|
rainbow (3.1.1)
|
57
|
-
rake (13.1
|
58
|
-
|
59
|
-
reek (6.2.0)
|
58
|
+
rake (13.2.1)
|
59
|
+
reek (6.3.0)
|
60
60
|
dry-schema (~> 1.13.0)
|
61
|
-
parser (~> 3.
|
61
|
+
parser (~> 3.3.0)
|
62
62
|
rainbow (>= 2.0, < 4.0)
|
63
63
|
rexml (~> 3.1)
|
64
|
-
regexp_parser (2.
|
65
|
-
rexml (3.
|
66
|
-
|
67
|
-
|
68
|
-
rspec-
|
69
|
-
rspec-
|
70
|
-
|
71
|
-
|
72
|
-
|
64
|
+
regexp_parser (2.9.2)
|
65
|
+
rexml (3.3.4)
|
66
|
+
strscan
|
67
|
+
rspec (3.13.0)
|
68
|
+
rspec-core (~> 3.13.0)
|
69
|
+
rspec-expectations (~> 3.13.0)
|
70
|
+
rspec-mocks (~> 3.13.0)
|
71
|
+
rspec-core (3.13.0)
|
72
|
+
rspec-support (~> 3.13.0)
|
73
|
+
rspec-expectations (3.13.1)
|
73
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
-
rspec-support (~> 3.
|
75
|
-
rspec-mocks (3.
|
75
|
+
rspec-support (~> 3.13.0)
|
76
|
+
rspec-mocks (3.13.1)
|
76
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.
|
78
|
-
rspec-support (3.
|
79
|
-
rubocop (1.
|
78
|
+
rspec-support (~> 3.13.0)
|
79
|
+
rspec-support (3.13.1)
|
80
|
+
rubocop (1.65.1)
|
80
81
|
json (~> 2.3)
|
81
82
|
language_server-protocol (>= 3.17.0)
|
82
83
|
parallel (~> 1.10)
|
83
|
-
parser (>= 3.
|
84
|
+
parser (>= 3.3.0.2)
|
84
85
|
rainbow (>= 2.2.2, < 4.0)
|
85
|
-
regexp_parser (>=
|
86
|
+
regexp_parser (>= 2.4, < 3.0)
|
86
87
|
rexml (>= 3.2.5, < 4.0)
|
87
|
-
rubocop-ast (>= 1.
|
88
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
88
89
|
ruby-progressbar (~> 1.7)
|
89
90
|
unicode-display_width (>= 2.4.0, < 3.0)
|
90
|
-
rubocop-ast (1.
|
91
|
-
parser (>= 3.
|
92
|
-
rubocop-capybara (2.
|
91
|
+
rubocop-ast (1.32.0)
|
92
|
+
parser (>= 3.3.1.0)
|
93
|
+
rubocop-capybara (2.21.0)
|
93
94
|
rubocop (~> 1.41)
|
94
|
-
rubocop-factory_bot (2.
|
95
|
-
rubocop (~> 1.
|
96
|
-
rubocop-performance (1.
|
95
|
+
rubocop-factory_bot (2.26.1)
|
96
|
+
rubocop (~> 1.61)
|
97
|
+
rubocop-performance (1.21.1)
|
97
98
|
rubocop (>= 1.48.1, < 2.0)
|
98
|
-
rubocop-ast (>= 1.
|
99
|
-
rubocop-rspec (2.
|
99
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
100
|
+
rubocop-rspec (2.31.0)
|
100
101
|
rubocop (~> 1.40)
|
101
102
|
rubocop-capybara (~> 2.17)
|
102
103
|
rubocop-factory_bot (~> 2.22)
|
104
|
+
rubocop-rspec_rails (~> 2.28)
|
105
|
+
rubocop-rspec_rails (2.29.1)
|
106
|
+
rubocop (~> 1.61)
|
103
107
|
ruby-progressbar (1.13.0)
|
108
|
+
simplecov (0.22.0)
|
109
|
+
docile (~> 1.1)
|
110
|
+
simplecov-html (~> 0.11)
|
111
|
+
simplecov_json_formatter (~> 0.1)
|
112
|
+
simplecov-html (0.12.3)
|
113
|
+
simplecov_json_formatter (0.1.4)
|
114
|
+
strscan (3.1.0)
|
104
115
|
unicode-display_width (2.5.0)
|
105
|
-
|
106
|
-
zeitwerk (2.6.12)
|
116
|
+
zeitwerk (2.6.17)
|
107
117
|
|
108
118
|
PLATFORMS
|
119
|
+
arm64-darwin-22
|
120
|
+
arm64-darwin-23
|
121
|
+
x64-mingw-ucrt
|
122
|
+
x64-mingw32
|
123
|
+
x64-unknown
|
109
124
|
x86_64-darwin-19
|
125
|
+
x86_64-darwin-20
|
110
126
|
x86_64-darwin-21
|
111
127
|
x86_64-linux
|
112
128
|
|
@@ -115,13 +131,12 @@ DEPENDENCIES
|
|
115
131
|
bundler (~> 2.5, >= 2.5.3)
|
116
132
|
pry-byebug (>= 3.9, < 4.0)
|
117
133
|
rake (>= 13.0, < 14.0)
|
118
|
-
redcarpet (>= 3.5, < 4.0)
|
119
134
|
reek (>= 6.1, < 7.0)
|
120
|
-
rspec (>= 3.
|
135
|
+
rspec (>= 3.12, < 4.0)
|
121
136
|
rubocop (>= 1.35, < 2.0)
|
122
137
|
rubocop-performance (>= 1.14, < 2.0)
|
123
138
|
rubocop-rspec (>= 2.12, < 3.0)
|
124
|
-
|
139
|
+
simplecov (~> 0.22.0)
|
125
140
|
|
126
141
|
BUNDLED WITH
|
127
142
|
2.5.3
|
@@ -24,4 +24,33 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
25
25
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
26
26
|
spec.require_paths = ['lib']
|
27
|
+
spec.post_install_message = <<~POST_INSTALL
|
28
|
+
Thank you for installing ProtectedConstructor.
|
29
|
+
|
30
|
+
View the ProtectedConstructor README.md here: https://github.com/gangelo/ProtectedConstructor
|
31
|
+
View the ProtectedConstructor CHANGELOG.md: https://github.com/gangelo/ProtectedConstructor/blob/main/CHANGELOG.md
|
32
|
+
|
33
|
+
*
|
34
|
+
***
|
35
|
+
*******
|
36
|
+
*********
|
37
|
+
***********************
|
38
|
+
*****************
|
39
|
+
*************
|
40
|
+
******* *******
|
41
|
+
***** *****
|
42
|
+
*** ***
|
43
|
+
** **
|
44
|
+
|
45
|
+
Using ProtectedConstructor? ProtectedConstructor is made available free of charge. Please consider giving ProtectedConstructor a STAR on GitHub as well as sharing ProtectedConstructor with your fellow developers on social media.
|
46
|
+
|
47
|
+
Knowing that ProtectedConstructor is being used and appreciated is a great motivator to continue developing and improving ProtectedConstructor.
|
48
|
+
|
49
|
+
>>> Star it on github: https://github.com/gangelo/ProtectedConstructor
|
50
|
+
>>> Share on social media: https://rubygems.org/gems/ProtectedConstructor
|
51
|
+
|
52
|
+
Thank you!
|
53
|
+
|
54
|
+
<3 Gene
|
55
|
+
POST_INSTALL
|
27
56
|
end
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[](https://github.com/gangelo/ProtectedConstructor/actions/workflows/ruby.yml)
|
2
|
-
[](http://badge.fury.io/gh/gangelo%2FProtectedConstructor.svg)
|
3
|
+
[](https://badge.fury.io/rb/ProtectedConstructor.svg)
|
4
4
|
[](http://www.rubydoc.info/gems/ProtectedConstructor/)
|
5
5
|
[](https://github.com/gangelo/ProtectedConstructor/issues)
|
6
6
|
[](#license)
|
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: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene M. Angelo, Jr.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: ProtectedConstructor Gem
|
14
14
|
email:
|
@@ -39,7 +39,34 @@ homepage: https://github.com/gangelo/ProtectedConstructor
|
|
39
39
|
licenses:
|
40
40
|
- MIT
|
41
41
|
metadata: {}
|
42
|
-
post_install_message:
|
42
|
+
post_install_message: |
|
43
|
+
Thank you for installing ProtectedConstructor.
|
44
|
+
|
45
|
+
View the ProtectedConstructor README.md here: https://github.com/gangelo/ProtectedConstructor
|
46
|
+
View the ProtectedConstructor CHANGELOG.md: https://github.com/gangelo/ProtectedConstructor/blob/main/CHANGELOG.md
|
47
|
+
|
48
|
+
*
|
49
|
+
***
|
50
|
+
*******
|
51
|
+
*********
|
52
|
+
***********************
|
53
|
+
*****************
|
54
|
+
*************
|
55
|
+
******* *******
|
56
|
+
***** *****
|
57
|
+
*** ***
|
58
|
+
** **
|
59
|
+
|
60
|
+
Using ProtectedConstructor? ProtectedConstructor is made available free of charge. Please consider giving ProtectedConstructor a STAR on GitHub as well as sharing ProtectedConstructor with your fellow developers on social media.
|
61
|
+
|
62
|
+
Knowing that ProtectedConstructor is being used and appreciated is a great motivator to continue developing and improving ProtectedConstructor.
|
63
|
+
|
64
|
+
>>> Star it on github: https://github.com/gangelo/ProtectedConstructor
|
65
|
+
>>> Share on social media: https://rubygems.org/gems/ProtectedConstructor
|
66
|
+
|
67
|
+
Thank you!
|
68
|
+
|
69
|
+
<3 Gene
|
43
70
|
rdoc_options: []
|
44
71
|
require_paths:
|
45
72
|
- lib
|