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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61f1b87afe0cb765dcd957d6becf252a1ee894628a3c064455b5b9f2a291e1ef
4
- data.tar.gz: 7bec631830748585be5d235c67f65e62f496232c1c7bac96e4538d3a2d4fdc47
3
+ metadata.gz: 76c78926a721622fcb2c03adbc60e03387b0aad68743c1dab651e15c1047d0db
4
+ data.tar.gz: 5e34dedc47342a7ebf954f85227148562c82cd675a80464459cd4d399c8c6e19
5
5
  SHA512:
6
- metadata.gz: ca4b7de60b03b9cdb62a1fc844eaf6501f1b50a1cd1cddd3a0d4c8c09b90c0cb0dff331dac87913e5135786aa5ec0ca39b862443ea24da2d01551282ef87e47a
7
- data.tar.gz: c53e583369219c3f58ea35b87dd30b61f394bb417f3ccb970d72bada28bf53142683237370ae73e20e652b0625f1001028a49379a1a341779c17f42249034989
6
+ metadata.gz: a1c714692867dbde2463794b85a7c7463550289db954f904aeacf0e0aeac4b500c0855dfcce026005324d2ba33d1152f6216c04ca4aa806daa0d72ebb9472733
7
+ data.tar.gz: 5a77ece5781ddbf6995c4e3bc4fb1af4a45941908b35cff3da4ae4bef397782e5e77305c29f4e6e2a4de0b068cb88f12239307426bce9a97b1b57a664c367813
@@ -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: ubuntu-latest
14
+ runs-on: ${{ matrix.os }}
22
15
  strategy:
23
16
  matrix:
24
- # Use `rbenv install -l` and only use the latest stable
25
- # version of ruby.
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
- - name: Set timezone
22
+
23
+ - name: Set timezone on Linux
24
+ if: contains(matrix.os, 'ubuntu')
31
25
  run: sudo timedatectl set-timezone 'America/New_York'
32
- - name: Run a command
33
- run: date
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
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
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-version }}
41
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
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
@@ -1,3 +1,14 @@
1
+ ### 3.0.3 2024-08-07
2
+
3
+ * Changes
4
+ * Update gems.
5
+ * Update ruby.yml to test against multiple ruby versions and platforms.
6
+
7
+ ### 3.0.2 2024-02-18
8
+
9
+ * Changes
10
+ * Update gems.
11
+
1
12
  ### 3.0.1 2024-01-07
2
13
 
3
14
  * Changes
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
- gem 'redcarpet', '>= 3.5', '< 4.0'
12
- gem 'reek', '>= 6.1', '< 7.0'
13
- gem 'rspec', '>= 3.10', '< 4.0'
14
- gem 'rubocop', '>= 1.35', '< 2.0'
15
- gem 'rubocop-performance', '>= 1.14', '< 2.0'
16
- gem 'rubocop-rspec', '>= 2.12', '< 3.0'
17
- gem 'yard', '>= 0.9.28', '< 1.0'
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.1)
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.5)
10
+ bigdecimal (3.1.8)
11
11
  byebug (11.1.3)
12
12
  coderay (1.1.3)
13
- concurrent-ruby (1.2.2)
14
- diff-lcs (1.5.0)
15
- dry-configurable (1.1.0)
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.0.0)
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.3)
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.1)
43
+ json (2.7.2)
43
44
  language_server-protocol (3.17.0.3)
44
- method_source (1.0.0)
45
- parallel (1.24.0)
46
- parser (3.2.2.4)
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.7.3)
56
+ racc (1.8.1)
56
57
  rainbow (3.1.1)
57
- rake (13.1.0)
58
- redcarpet (3.6.0)
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.2.0)
61
+ parser (~> 3.3.0)
62
62
  rainbow (>= 2.0, < 4.0)
63
63
  rexml (~> 3.1)
64
- regexp_parser (2.8.3)
65
- rexml (3.2.6)
66
- rspec (3.12.0)
67
- rspec-core (~> 3.12.0)
68
- rspec-expectations (~> 3.12.0)
69
- rspec-mocks (~> 3.12.0)
70
- rspec-core (3.12.2)
71
- rspec-support (~> 3.12.0)
72
- rspec-expectations (3.12.3)
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.12.0)
75
- rspec-mocks (3.12.6)
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.12.0)
78
- rspec-support (3.12.1)
79
- rubocop (1.59.0)
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.2.2.4)
84
+ parser (>= 3.3.0.2)
84
85
  rainbow (>= 2.2.2, < 4.0)
85
- regexp_parser (>= 1.8, < 3.0)
86
+ regexp_parser (>= 2.4, < 3.0)
86
87
  rexml (>= 3.2.5, < 4.0)
87
- rubocop-ast (>= 1.30.0, < 2.0)
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.30.0)
91
- parser (>= 3.2.1.0)
92
- rubocop-capybara (2.20.0)
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.25.0)
95
- rubocop (~> 1.33)
96
- rubocop-performance (1.20.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.30.0, < 2.0)
99
- rubocop-rspec (2.26.1)
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
- yard (0.9.34)
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.10, < 4.0)
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
- yard (>= 0.9.28, < 1.0)
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
  [![Ruby](https://github.com/gangelo/ProtectedConstructor/actions/workflows/ruby.yml/badge.svg)](https://github.com/gangelo/ProtectedConstructor/actions/workflows/ruby.yml)
2
- [![GitHub version](http://badge.fury.io/gh/gangelo%2FProtectedConstructor.svg?refresh=5)](http://badge.fury.io/gh/gangelo%2FProtectedConstructor.svg)
3
- [![Gem Version](https://badge.fury.io/rb/ProtectedConstructor.svg?refresh=5)](https://badge.fury.io/rb/ProtectedConstructor.svg)
2
+ [![GitHub version](http://badge.fury.io/gh/gangelo%2FProtectedConstructor.svg?refresh=7)](http://badge.fury.io/gh/gangelo%2FProtectedConstructor.svg)
3
+ [![Gem Version](https://badge.fury.io/rb/ProtectedConstructor.svg?refresh=7)](https://badge.fury.io/rb/ProtectedConstructor.svg)
4
4
  [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/ProtectedConstructor/)
5
5
  [![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/ProtectedConstructor/issues)
6
6
  [![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#license)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ProtectedConstructor
4
- VERSION = '3.0.1'
4
+ VERSION = '3.0.3'
5
5
  end
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.1
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-01-07 00:00:00.000000000 Z
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