dry-system 1.0.0.rc1 → 1.0.0

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: c6f625944296b640e8b964f73c561bfe28fb16574bcbe716221b7f643e86d930
4
- data.tar.gz: b0195e7bb3f0979962b1687d7473552e11d97647e4d8c97fe067c35a453df8eb
3
+ metadata.gz: 8e37312a98176f2aebe7e735f1832014009d64a7e26b8e94eb43de110fe1d35d
4
+ data.tar.gz: beed65b065a2ec7b5046530daf0ce4f893536733c102eab713f439773c2062fe
5
5
  SHA512:
6
- metadata.gz: 6607e793820ddb9c732e3c924725fcf4d0dbed7a88559a97f260435bfc7776055d14d529c9a00a3cfe39a4906187190195b45debd398f0127758eddc3093cc1d
7
- data.tar.gz: fbc14360a133b341886b2279c1dd8a69ceea18f7fa9589e32f90acbbf83e5e72c492024868fc16824249b526b01f90cb0919963bd2f1a212588ca23711fd88dc
6
+ metadata.gz: 6cf0b79c907bca6fe6cdb5deb7a1f3892639adc88f0f53729140d0b9d7ee0428bfeb2b1b35ab0d135950adc1bcc49f8461f24fd751e9db147f1618a1c512e567
7
+ data.tar.gz: 1ba240c376f38215bc3eb83f165e1735c4d7339312a30eee3f8ef0e0aed0b5d9ee03d0bcbbf5791448479db9d33d5d607cc1871bdfeda80827e04cade43fa82a
data/CHANGELOG.md CHANGED
@@ -1,13 +1,24 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
- ## 0.28.0 unreleased
3
+ ## 1.0.0 2022-11-18
4
4
 
5
5
 
6
+ ### Fixed
7
+
8
+ - Only use DidYouMean-integrated Error for Component loading failure (via #261) (@cllns + @solnic)
9
+
6
10
  ### Changed
7
11
 
8
12
  - This version uses dry-core 1.0 and dry-configurable 1.0 (@solnic + @flash-gordon)
9
-
10
- [Compare v0.27.2...v0.28.0](https://github.com/dry-rb/dry-system/compare/v0.27.2...v0.28.0)
13
+ - Raise error on import after finalize (via #254) (@timriley + @tak1n)
14
+ - Validate settings even if loader does not set value (via #246) (@oeoeaio)
15
+ - Remove all deprecated functionality and deprecation messages (via #255) (@timriley)
16
+ - Use main dry/monitor entrypoint for autoloading (via #257) (@timriley)
17
+ - Use dry-configurable 1.0 (via 43c79095ccf54c6251e825ae20c97a9415e78209) (@flash-gordon)
18
+ - Use dry-core 1.0 (via 3d0cf95aef120601e67f3e8fbbf16d004017d376) (@flash-gordon)
19
+ - Remove dry-container dependency and update to use `Dry::Core::Container` (via 2b76554e5925fc92614627d5c1e0a9177cecf12f) (@solnic)
20
+
21
+ [Compare v0.27.2...v1.0.0](https://github.com/dry-rb/dry-system/compare/v0.27.2...v1.0.0)
11
22
 
12
23
  ## 0.27.2 2022-10-17
13
24
 
@@ -66,7 +66,12 @@ module Dry
66
66
  const_name = inflector.camelize(component.const_path)
67
67
  inflector.constantize(const_name)
68
68
  rescue NameError => e
69
- raise ComponentNotLoadableError.new(component, e)
69
+ # Ensure it's this component's constant, not any other NameError within the component
70
+ if e.message =~ /#{const_name}( |\n)/
71
+ raise ComponentNotLoadableError.new(component, e)
72
+ else
73
+ raise e
74
+ end
70
75
  end
71
76
 
72
77
  private
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module System
5
- VERSION = "1.0.0.rc1"
5
+ VERSION = "1.0.0"
6
6
  end
7
7
  end
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.0.0.rc1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-auto_inject
@@ -204,9 +204,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
204
  version: 2.7.0
205
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ">"
207
+ - - ">="
208
208
  - !ruby/object:Gem::Version
209
- version: 1.3.1
209
+ version: '0'
210
210
  requirements: []
211
211
  rubygems_version: 3.1.6
212
212
  signing_key: