ProtectedConstructor 2.0.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 671d92fcd73b13e1c4478c5e23ae61af06ffa183fefa05cbdc7aadb02a866cca
4
- data.tar.gz: 3679469548417824ae75fb5e0c7db466e6acb9e7174884acb54f3b777d3c9ff4
3
+ metadata.gz: 33b8191028ae512c5b0e411f23fc93698b7154d495af2f02525b37cabbc61b17
4
+ data.tar.gz: 206af3617addf728a4966fe021dea93b732b9aa4ee85a75e26c45d0359274066
5
5
  SHA512:
6
- metadata.gz: d129b1a4e6815a292196be7f89920d8c131c0067f618afb3cf50b0c8f58b0447e1aa39fac3e17fabbfa0da46c28e618ccdb34af33d0cd4ed669289e598c66f3c
7
- data.tar.gz: 896770e47b0e5a312290a56abdff24f020544288c22fa7e741ef90fa10836d7cc2c63e2719b2873beca9e2dbd53b95e71a95ce42e8e301673c4c225dc182844b
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
- 2.6.3
1
+ 3.0.1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.1.4
2
+ * changes
3
+ * Update ruby gems.
4
+
5
+ ### 2.1.3
6
+ * changes
7
+ * Required Ruby version is now 3.0.1.
8
+
1
9
  ### 2.0.3
2
10
  * changes
3
11
  * Clean up ProtectedConstructor call to module_eval of unnecessary code.
data/Gemfile.lock CHANGED
@@ -1,74 +1,85 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ProtectedConstructor (2.0.3)
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.2)
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.22.1)
17
- parser (3.1.2.1)
18
+ parallel (1.23.0)
19
+ parser (3.2.2.3)
18
20
  ast (~> 2.4.1)
19
- pry (0.13.1)
21
+ racc
22
+ pry (0.14.2)
20
23
  coderay (~> 1.1)
21
24
  method_source (~> 1.0)
22
- pry-byebug (3.9.0)
25
+ pry-byebug (3.10.1)
23
26
  byebug (~> 11.0)
24
- pry (~> 0.13.0)
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.5.1)
28
- reek (6.1.1)
31
+ redcarpet (3.6.0)
32
+ reek (6.1.4)
29
33
  kwalify (~> 0.7.0)
30
- parser (~> 3.1.0)
34
+ parser (~> 3.2.0)
31
35
  rainbow (>= 2.0, < 4.0)
32
- regexp_parser (2.5.0)
33
- rexml (3.2.5)
34
- rspec (3.11.0)
35
- rspec-core (~> 3.11.0)
36
- rspec-expectations (~> 3.11.0)
37
- rspec-mocks (~> 3.11.0)
38
- rspec-core (3.11.0)
39
- rspec-support (~> 3.11.0)
40
- rspec-expectations (3.11.0)
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.11.0)
43
- rspec-mocks (3.11.1)
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.11.0)
46
- rspec-support (3.11.0)
47
- rubocop (1.35.0)
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.1.2.1)
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.20.1, < 2.0)
60
+ rubocop-ast (>= 1.28.1, < 2.0)
55
61
  ruby-progressbar (~> 1.7)
56
- unicode-display_width (>= 1.4.0, < 3.0)
57
- rubocop-ast (1.21.0)
58
- parser (>= 3.1.1.0)
59
- rubocop-performance (1.14.3)
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.12.1)
63
- rubocop (~> 1.31)
64
- ruby-progressbar (1.11.0)
65
- unicode-display_width (2.2.0)
66
- webrick (1.7.0)
67
- yard (0.9.28)
68
- webrick (~> 1.7.0)
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 = 'http://www.geneangelo.com'
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 = '~> 2.6.0'
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'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ProtectedConstructor
4
- VERSION = '2.0.3'
4
+ VERSION = '2.1.4'
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: 2.0.3
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: 2022-08-14 00:00:00.000000000 Z
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: http://www.geneangelo.com
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: 2.6.0
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.0.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