dry-system 0.27.0 → 0.27.2

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: 84621f047b9ae5be5233f099d1031bf5241c8694bd965884d161ce5f5b6ee079
4
- data.tar.gz: be2f0f633dcbea09059608ed3dde19a0cb7d89b7d3f1b9e5484e780eb438f3d0
3
+ metadata.gz: 57c6404ea452b7f7a1d698c6ea823c91f477a9e4373a60a01093d17ed9510c79
4
+ data.tar.gz: 2c38004c1a8e4a478ea3da73ad500085f1cd9830630bdd0113f2f5842f422015
5
5
  SHA512:
6
- metadata.gz: 9b5fc46ed7af654f4abc07cf95815ccfac84a44ed7ea76cc20d4253092ca78f82aa6ab5d66769ccbbe2f94937e536fa90f8156b2fbabd83466e59a6bbda098eb
7
- data.tar.gz: d727819c4894eff4b5b095b33c27da01952643c7fed843321bca02e6e622c519a200b6a2f71cfe137003ef42cecb36b17a460005f291793816af10e1ad7a6475
6
+ metadata.gz: 9fbe5fd3365f6f2b235c5320b69619839c35ee3ffbf673b8de4b81353db48be179ae7ed1175fe9fe014834ce15702c9da3732be4707ccca1a40ba9c6fd27cc3c
7
+ data.tar.gz: '0837a36fd22fdcdbd6863ad2933ab6fa927d5355c5f34e9ea81a08c02866ffd11c55464fa0d696dbdfa809bc38b24aa16efd7a858bb80338d34de1d8250c9e78'
data/CHANGELOG.md CHANGED
@@ -1,11 +1,24 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
+ ## 0.27.1 2022-10-15
4
+
5
+
6
+ ### Fixed
7
+
8
+ - Tweak for zeitwerk loader (@flash-gordon)
9
+
10
+
11
+ [Compare v0.27.0...v0.27.1](https://github.com/dry-rb/dry-system/compare/v0.27.0...v0.27.1)
12
+
3
13
  ## 0.27.0 2022-10-15
4
14
 
5
15
 
6
16
  ### Changed
7
17
 
8
- - Use zeitwerk for auto-loading dry-system (@flash-gordon + @solnic)
18
+ - [BREAKING] Use zeitwerk for auto-loading dry-system (@flash-gordon + @solnic)
19
+
20
+ From now on you need to do `require "dry/system"` as it sets up its Zeitwerk loader and from
21
+ there, everything else will be auto-loaded.
9
22
 
10
23
  [Compare v0.26.0...v0.27.0](https://github.com/dry-rb/dry-system/compare/v0.26.0...v0.27.0)
11
24
 
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "dependency_graph/strategies"
4
-
5
3
  module Dry
6
4
  module System
7
5
  module Plugins
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "dry/system/constants"
4
- require "dry/system/plugins/monitoring/proxy"
5
4
 
6
5
  module Dry
7
6
  module System
@@ -58,25 +58,12 @@ module Dry
58
58
  @enabled_plugins ||= []
59
59
  end
60
60
 
61
- require "dry/system/plugins/bootsnap"
62
61
  register(:bootsnap, Plugins::Bootsnap)
63
-
64
- require "dry/system/plugins/logging"
65
62
  register(:logging, Plugins::Logging)
66
-
67
- require "dry/system/plugins/env"
68
63
  register(:env, Plugins::Env)
69
-
70
- require "dry/system/plugins/notifications"
71
64
  register(:notifications, Plugins::Notifications)
72
-
73
- require "dry/system/plugins/monitoring"
74
65
  register(:monitoring, Plugins::Monitoring)
75
-
76
- require "dry/system/plugins/dependency_graph"
77
66
  register(:dependency_graph, Plugins::DependencyGraph)
78
-
79
- require "dry/system/plugins/zeitwerk"
80
67
  register(:zeitwerk, Plugins::Zeitwerk)
81
68
  end
82
69
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "source_dsl"
4
-
5
3
  module Dry
6
4
  module System
7
5
  class Provider
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module System
5
- VERSION = "0.27.0"
5
+ VERSION = "0.27.2"
6
6
  end
7
7
  end
data/lib/dry/system.rb CHANGED
@@ -14,9 +14,9 @@ module Dry
14
14
  loader.push_dir(root)
15
15
  loader.ignore(
16
16
  "#{root}/dry-system.rb",
17
- "#{root}/dry/system/{constants,errors,stubs,version}.rb"
17
+ "#{root}/dry/system/{components,constants,errors,stubs,version}.rb"
18
18
  )
19
- loader.inflector.inflect("dsl" => "DSL")
19
+ loader.inflector.inflect("source_dsl" => "SourceDSL")
20
20
  end
21
21
  end
22
22
 
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: 0.27.0
4
+ version: 0.27.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: 2022-10-15 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk