dry-system 1.0.0.rc1 → 1.0.1

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: 6d867a0c8708ea863edb44b5f93453c5d986925c921af51d747b605d6f4d3bbb
4
+ data.tar.gz: 1ee2e7a02c48bd9feb02a018aea1c81f59a5bda1ca7351d62a008162a62d1471
5
5
  SHA512:
6
- metadata.gz: 6607e793820ddb9c732e3c924725fcf4d0dbed7a88559a97f260435bfc7776055d14d529c9a00a3cfe39a4906187190195b45debd398f0127758eddc3093cc1d
7
- data.tar.gz: fbc14360a133b341886b2279c1dd8a69ceea18f7fa9589e32f90acbbf83e5e72c492024868fc16824249b526b01f90cb0919963bd2f1a212588ca23711fd88dc
6
+ metadata.gz: 75e76f0ff522306b18b38c17c4bdfdae39280cbf4507beff3233bfc7cd10af752de605d0af619b6528a237f6860a4baee3754afedd890d66d50ac54a2880b4bf
7
+ data.tar.gz: aa31996c109cee9a6b05f61b127d7b9a6ec04cc30fe2e10ecf3f14f8948b2c34be7e687ec6ba6565bd06b9874816cf33d150a5b7499c9e125540e920159a7531
data/CHANGELOG.md CHANGED
@@ -1,13 +1,33 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
- ## 0.28.0 unreleased
3
+ ## 1.0.1 2022-11-18
4
4
 
5
5
 
6
6
  ### Changed
7
7
 
8
- - This version uses dry-core 1.0 and dry-configurable 1.0 (@solnic + @flash-gordon)
8
+ - Bumped dry-auto_inject dependency to its 1.0.0 final release (@solnic)
9
+
10
+ [Compare v1.0.0...v1.0.1](https://github.com/dry-rb/dry-system/compare/v1.0.0...v1.0.1)
11
+
12
+ ## 1.0.0 2022-11-18
13
+
14
+
15
+ ### Fixed
16
+
17
+ - Only use DidYouMean-integrated Error for Component loading failure (via #261) (@cllns + @solnic)
9
18
 
10
- [Compare v0.27.2...v0.28.0](https://github.com/dry-rb/dry-system/compare/v0.27.2...v0.28.0)
19
+ ### Changed
20
+
21
+ - This version uses dry-core 1.0 and dry-configurable 1.0 (@solnic + @flash-gordon)
22
+ - Raise error on import after finalize (via #254) (@timriley + @tak1n)
23
+ - Validate settings even if loader does not set value (via #246) (@oeoeaio)
24
+ - Remove all deprecated functionality and deprecation messages (via #255) (@timriley)
25
+ - Use main dry/monitor entrypoint for autoloading (via #257) (@timriley)
26
+ - Use dry-configurable 1.0 (via 43c79095ccf54c6251e825ae20c97a9415e78209) (@flash-gordon)
27
+ - Use dry-core 1.0 (via 3d0cf95aef120601e67f3e8fbbf16d004017d376) (@flash-gordon)
28
+ - Remove dry-container dependency and update to use `Dry::Core::Container` (via 2b76554e5925fc92614627d5c1e0a9177cecf12f) (@solnic)
29
+
30
+ [Compare v0.27.2...v1.0.0](https://github.com/dry-rb/dry-system/compare/v0.27.2...v1.0.0)
11
31
 
12
32
  ## 0.27.2 2022-10-17
13
33
 
data/dry-system.gemspec CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.required_ruby_version = ">= 2.7.0"
30
30
 
31
31
  # to update dependencies edit project.yml
32
- spec.add_runtime_dependency "dry-auto_inject", "~> 1.0.0.rc1", "< 2"
32
+ spec.add_runtime_dependency "dry-auto_inject", "~> 1.0", "< 2"
33
33
  spec.add_runtime_dependency "dry-configurable", "~> 1.0", "< 2"
34
34
  spec.add_runtime_dependency "dry-core", "~> 1.0", "< 2"
35
35
  spec.add_runtime_dependency "dry-inflector", "~> 1.0", "< 2"
@@ -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.1"
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.1
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc1
19
+ version: '1.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '2'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.0.rc1
29
+ version: '1.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2'
@@ -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: