dry-configurable 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/README.md +2 -2
- data/dry-configurable.gemspec +10 -12
- data/lib/dry/configurable/class_methods.rb +2 -2
- data/lib/dry/configurable/settings.rb +2 -2
- data/lib/dry/configurable/version.rb +1 -1
- metadata +9 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc0b056757d51704455a5ce3cb4868f5081e2d85f5f2bcb07b855e44e8b28408
|
4
|
+
data.tar.gz: 6bb906e0508a57daa383d3374b51f06a5fff34809b62ddedb6bbf51c31e23395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5728bfca629b6f2df8200eaaf10f4a31b7be0d685490a09073c6f4f8576a8db290d098321cc019734b6cbfb96b926e17123e41c5b7f97715f6ad22a37904d051
|
7
|
+
data.tar.gz: b18967e737861334404162cacf90961b846cdb26a265cac429f672b0a8f4c29d40006ef9b6dd6ebd4e1653cb4af1bf225dbf69dd2cfbc50208edd92d8a41dc66
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,20 @@
|
|
1
1
|
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
|
2
2
|
|
3
|
+
## 1.3.0 2025-01-04
|
4
|
+
|
5
|
+
|
6
|
+
### Changed
|
7
|
+
|
8
|
+
- Set minimum Ruby version to 3.1 (@flash-gordon)
|
9
|
+
|
10
|
+
[Compare v1.2.0...v1.3.0](https://github.com/dry-rb/dry-configurable/compare/v1.2.0...v1.3.0)
|
11
|
+
|
3
12
|
## 1.2.0 2024-07-03
|
4
13
|
|
5
14
|
|
6
15
|
### Changed
|
7
16
|
|
8
|
-
- Allow `Dry::Configurable` mixin to be included multiple times in a class hierarchy (#164 by @timriley)
|
17
|
+
- Allow `Dry::Configurable` mixin to be included multiple times in a class hierarchy (#164 by @timriley)
|
9
18
|
- Deprecate `Dry::Configurable::AlreadyIncludedError` (#164 by @timriley)
|
10
19
|
|
11
20
|
[Compare v1.1.0...v1.2.0](https://github.com/dry-rb/dry-configurable/compare/v1.1.0...v1.2.0)
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
[gem]: https://rubygems.org/gems/dry-configurable
|
3
3
|
[actions]: https://github.com/dry-rb/dry-configurable/actions
|
4
4
|
|
5
|
-
# dry-configurable [![Gem Version](https://badge.fury.io/rb/dry-configurable.svg)][gem] [![CI Status](https://github.com/dry-rb/dry-configurable/workflows/
|
5
|
+
# dry-configurable [![Gem Version](https://badge.fury.io/rb/dry-configurable.svg)][gem] [![CI Status](https://github.com/dry-rb/dry-configurable/workflows/CI/badge.svg)][actions]
|
6
6
|
|
7
7
|
## Links
|
8
8
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
This library officially supports the following Ruby versions:
|
16
16
|
|
17
|
-
* MRI `>= 3.
|
17
|
+
* MRI `>= 3.1`
|
18
18
|
* jruby `>= 9.4` (not tested on CI)
|
19
19
|
|
20
20
|
## License
|
data/dry-configurable.gemspec
CHANGED
@@ -16,23 +16,21 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.summary = "A mixin to add configuration functionality to your classes"
|
17
17
|
spec.description = spec.summary
|
18
18
|
spec.homepage = "https://dry-rb.org/gems/dry-configurable"
|
19
|
-
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-configurable.gemspec",
|
19
|
+
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-configurable.gemspec",
|
20
|
+
"lib/**/*"]
|
20
21
|
spec.bindir = "bin"
|
21
22
|
spec.executables = []
|
22
23
|
spec.require_paths = ["lib"]
|
23
24
|
|
24
|
-
spec.metadata["allowed_push_host"]
|
25
|
-
spec.metadata["changelog_uri"]
|
26
|
-
spec.metadata["source_code_uri"]
|
27
|
-
spec.metadata["bug_tracker_uri"]
|
25
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
26
|
+
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-configurable/blob/main/CHANGELOG.md"
|
27
|
+
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-configurable"
|
28
|
+
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-configurable/issues"
|
29
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
28
30
|
|
29
|
-
spec.required_ruby_version = ">= 3.
|
31
|
+
spec.required_ruby_version = ">= 3.1"
|
30
32
|
|
31
33
|
# to update dependencies edit project.yml
|
32
|
-
spec.
|
33
|
-
spec.
|
34
|
-
|
35
|
-
spec.add_development_dependency "bundler"
|
36
|
-
spec.add_development_dependency "rake"
|
37
|
-
spec.add_development_dependency "rspec"
|
34
|
+
spec.add_dependency "dry-core", "~> 1.1"
|
35
|
+
spec.add_dependency "zeitwerk", "~> 2.6"
|
38
36
|
end
|
@@ -40,8 +40,8 @@ module Dry
|
|
40
40
|
# @return [Dry::Configurable::Config]
|
41
41
|
#
|
42
42
|
# @api public
|
43
|
-
def setting(
|
44
|
-
setting = __config_dsl__.setting(
|
43
|
+
def setting(...)
|
44
|
+
setting = __config_dsl__.setting(...)
|
45
45
|
|
46
46
|
settings << setting
|
47
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-configurable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Holland
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-core
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '2'
|
19
|
+
version: '1.1'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1.
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '2'
|
26
|
+
version: '1.1'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: zeitwerk
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,48 +38,6 @@ dependencies:
|
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
40
|
version: '2.6'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bundler
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: rake
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rspec
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
89
41
|
description: A mixin to add configuration functionality to your classes
|
90
42
|
email:
|
91
43
|
- andyholland1991@aol.com
|
@@ -120,7 +72,8 @@ metadata:
|
|
120
72
|
changelog_uri: https://github.com/dry-rb/dry-configurable/blob/main/CHANGELOG.md
|
121
73
|
source_code_uri: https://github.com/dry-rb/dry-configurable
|
122
74
|
bug_tracker_uri: https://github.com/dry-rb/dry-configurable/issues
|
123
|
-
|
75
|
+
rubygems_mfa_required: 'true'
|
76
|
+
post_install_message:
|
124
77
|
rdoc_options: []
|
125
78
|
require_paths:
|
126
79
|
- lib
|
@@ -128,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
81
|
requirements:
|
129
82
|
- - ">="
|
130
83
|
- !ruby/object:Gem::Version
|
131
|
-
version: 3.
|
84
|
+
version: '3.1'
|
132
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
86
|
requirements:
|
134
87
|
- - ">="
|
@@ -136,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
89
|
version: '0'
|
137
90
|
requirements: []
|
138
91
|
rubygems_version: 3.3.27
|
139
|
-
signing_key:
|
92
|
+
signing_key:
|
140
93
|
specification_version: 4
|
141
94
|
summary: A mixin to add configuration functionality to your classes
|
142
95
|
test_files: []
|