ProtectedConstructor 3.0.2 → 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: b31961e21975e5e4429302742d406a53280819001d0839857082efdf37667ec5
4
- data.tar.gz: fd18416377a812845137829f4a8809808a1db13dd9ca8b931c476fa63eeb3908
3
+ metadata.gz: 76c78926a721622fcb2c03adbc60e03387b0aad68743c1dab651e15c1047d0db
4
+ data.tar.gz: 5e34dedc47342a7ebf954f85227148562c82cd675a80464459cd4d399c8c6e19
5
5
  SHA512:
6
- metadata.gz: 9f853d373804e2912eac3e9a6482d3a0df6b64a1f834b74513e4009d8a48f6fdd940dc9f874d532ef7ed892b074413bb3a5dbfee7189ca862b51931f06072aa8
7
- data.tar.gz: e36040bc65ef52b93c84adf769290fe3ef5aa3e834f553338001fee3833e4bc3972f37f5eeda5512ccb1c7eefa8ef132d6252ba6f62dea216509649bc1a72bb3
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,9 @@
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
+
1
7
  ### 3.0.2 2024-02-18
2
8
 
3
9
  * Changes
data/Gemfile.lock CHANGED
@@ -1,31 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ProtectedConstructor (3.0.2)
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.6)
10
+ bigdecimal (3.1.8)
11
11
  byebug (11.1.3)
12
12
  coderay (1.1.3)
13
- concurrent-ruby (1.2.3)
13
+ concurrent-ruby (1.3.3)
14
14
  diff-lcs (1.5.1)
15
- docile (1.4.0)
16
- dry-configurable (1.1.0)
15
+ docile (1.4.1)
16
+ dry-configurable (1.2.0)
17
17
  dry-core (~> 1.0, < 2)
18
18
  zeitwerk (~> 2.6)
19
19
  dry-core (1.0.1)
20
20
  concurrent-ruby (~> 1.0)
21
21
  zeitwerk (~> 2.6)
22
- dry-inflector (1.0.0)
22
+ dry-inflector (1.1.0)
23
23
  dry-initializer (3.1.1)
24
24
  dry-logic (1.5.0)
25
25
  concurrent-ruby (~> 1.0)
26
26
  dry-core (~> 1.0, < 2)
27
27
  zeitwerk (~> 2.6)
28
- dry-schema (1.13.3)
28
+ dry-schema (1.13.4)
29
29
  concurrent-ruby (~> 1.0)
30
30
  dry-configurable (~> 1.0, >= 1.0.1)
31
31
  dry-core (~> 1.0, < 2)
@@ -40,11 +40,11 @@ GEM
40
40
  dry-inflector (~> 1.0)
41
41
  dry-logic (~> 1.4)
42
42
  zeitwerk (~> 2.6)
43
- json (2.7.1)
43
+ json (2.7.2)
44
44
  language_server-protocol (3.17.0.3)
45
- method_source (1.0.0)
46
- parallel (1.24.0)
47
- parser (3.3.0.5)
45
+ method_source (1.1.0)
46
+ parallel (1.25.1)
47
+ parser (3.3.4.0)
48
48
  ast (~> 2.4.1)
49
49
  racc
50
50
  pry (0.14.2)
@@ -53,53 +53,57 @@ GEM
53
53
  pry-byebug (3.10.1)
54
54
  byebug (~> 11.0)
55
55
  pry (>= 0.13, < 0.15)
56
- racc (1.7.3)
56
+ racc (1.8.1)
57
57
  rainbow (3.1.1)
58
- rake (13.1.0)
58
+ rake (13.2.1)
59
59
  reek (6.3.0)
60
60
  dry-schema (~> 1.13.0)
61
61
  parser (~> 3.3.0)
62
62
  rainbow (>= 2.0, < 4.0)
63
63
  rexml (~> 3.1)
64
- regexp_parser (2.9.0)
65
- rexml (3.2.6)
64
+ regexp_parser (2.9.2)
65
+ rexml (3.3.4)
66
+ strscan
66
67
  rspec (3.13.0)
67
68
  rspec-core (~> 3.13.0)
68
69
  rspec-expectations (~> 3.13.0)
69
70
  rspec-mocks (~> 3.13.0)
70
71
  rspec-core (3.13.0)
71
72
  rspec-support (~> 3.13.0)
72
- rspec-expectations (3.13.0)
73
+ rspec-expectations (3.13.1)
73
74
  diff-lcs (>= 1.2.0, < 2.0)
74
75
  rspec-support (~> 3.13.0)
75
- rspec-mocks (3.13.0)
76
+ rspec-mocks (3.13.1)
76
77
  diff-lcs (>= 1.2.0, < 2.0)
77
78
  rspec-support (~> 3.13.0)
78
- rspec-support (3.13.0)
79
- rubocop (1.60.2)
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
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.1)
95
- rubocop (~> 1.41)
96
- rubocop-performance (1.20.2)
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)
104
108
  simplecov (0.22.0)
105
109
  docile (~> 1.1)
@@ -107,11 +111,18 @@ GEM
107
111
  simplecov_json_formatter (~> 0.1)
108
112
  simplecov-html (0.12.3)
109
113
  simplecov_json_formatter (0.1.4)
114
+ strscan (3.1.0)
110
115
  unicode-display_width (2.5.0)
111
- zeitwerk (2.6.13)
116
+ zeitwerk (2.6.17)
112
117
 
113
118
  PLATFORMS
119
+ arm64-darwin-22
120
+ arm64-darwin-23
121
+ x64-mingw-ucrt
122
+ x64-mingw32
123
+ x64-unknown
114
124
  x86_64-darwin-19
125
+ x86_64-darwin-20
115
126
  x86_64-darwin-21
116
127
  x86_64-linux
117
128
 
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=6)](http://badge.fury.io/gh/gangelo%2FProtectedConstructor.svg)
3
- [![Gem Version](https://badge.fury.io/rb/ProtectedConstructor.svg?refresh=6)](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.2'
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.2
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-02-18 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: