dry-system 1.2.1 → 1.2.2
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/CHANGELOG.md +10 -0
- data/lib/dry/system/plugins/monitoring.rb +2 -2
- data/lib/dry/system/provider/source.rb +2 -2
- data/lib/dry/system/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bfe2490a297c8a15055b59c5687a43010a16cbad255c3e2a725599e92e6511b
|
|
4
|
+
data.tar.gz: 74140748c45051afcf0fea5949bf22340fa24de48a0c7fd15e52bb48e2075064
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87e0577c52a30753bd5ac790d041ea85332b1c0697cc080b0f8e76da7b02dc48b9b10832584b392580066e645f4440367802938919722c1ad3cad341f15981f9
|
|
7
|
+
data.tar.gz: 24ae404d4315f3251e35f75ff419c2bc07681a7009e7de360cb5e3af0ed7a1429c7e9077b0d398f95bc8a8e78d867d5d99d2b858cde29398175083daaa053296
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
|
|
2
2
|
|
|
3
|
+
## 1.2.2 2025-01-31
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Fixed
|
|
7
|
+
|
|
8
|
+
- Syntax errors on 3.3.0 (@flash-gordon, see #284)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
[Compare v1.2.1...v1.2.2](https://github.com/dry-rb/dry-system/compare/v1.2.1...v1.2.2)
|
|
12
|
+
|
|
3
13
|
## 1.2.1 2025-01-08
|
|
4
14
|
|
|
5
15
|
|
|
@@ -24,7 +24,7 @@ module Dry
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
# @api private
|
|
27
|
-
def monitor(key, **options, &)
|
|
27
|
+
def monitor(key, **options, &block)
|
|
28
28
|
notifications = self[:notifications]
|
|
29
29
|
|
|
30
30
|
resolve(key).tap do |target|
|
|
@@ -32,7 +32,7 @@ module Dry
|
|
|
32
32
|
|
|
33
33
|
if block_given?
|
|
34
34
|
proxy.monitored_methods.each do |meth|
|
|
35
|
-
notifications.subscribe(:monitoring, target: key, method: meth, &)
|
|
35
|
+
notifications.subscribe(:monitoring, target: key, method: meth, &block)
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -37,7 +37,7 @@ module Dry
|
|
|
37
37
|
# @see Dry::System::Provider::SourceDSL
|
|
38
38
|
#
|
|
39
39
|
# @api private
|
|
40
|
-
def for(name:, group: nil, superclass: nil, &)
|
|
40
|
+
def for(name:, group: nil, superclass: nil, &block)
|
|
41
41
|
superclass ||= self
|
|
42
42
|
|
|
43
43
|
::Class.new(superclass) { |klass|
|
|
@@ -51,7 +51,7 @@ module Dry
|
|
|
51
51
|
end # end
|
|
52
52
|
RUBY
|
|
53
53
|
|
|
54
|
-
SourceDSL.evaluate(klass, &) if block_given?
|
|
54
|
+
SourceDSL.evaluate(klass, &block) if block_given?
|
|
55
55
|
}
|
|
56
56
|
end
|
|
57
57
|
|
data/lib/dry/system/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dry-system
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Piotr Solnica
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-01-
|
|
11
|
+
date: 2025-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-auto_inject
|