dry-system 0.14.0 → 0.14.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: 147f6dffc6bc9ebb2773c136ba71789aa3d6ecc5330ea983b6943d257b8c14b8
4
- data.tar.gz: 3479389ed0a9ba38ecbb55dd940b70ac2b59f0fa1ddb6de210dc0cf0732338fa
3
+ metadata.gz: ba8a673942fec2cb269c2c7679a6efbf7a977ff134f4440d53e8ee55f33d2d74
4
+ data.tar.gz: 51dfe194d1053882a7f90341dd57322816306bd122ca47b7152c4815465c01a7
5
5
  SHA512:
6
- metadata.gz: 06255e42cbdbf4aaff57a811c6e7c386bf4f8014e672db919e8f2d6ad1ee5310ed1e3f8655dd20b854d3c5cd1bec767c2c6089ca4b84620c76143e454e4408ac
7
- data.tar.gz: 37b351fb70e5681d291b6ead72533ee5e5b5778bf86879136ad16fe20b144427e00af6b9a9cedc5010dda969125abe6dea6865eeb0926aecbe9dda450ed7e28a
6
+ metadata.gz: 8f8e5a0355b3d62dd42ff8caef1fd928fb92e8c17f158e71cc639d430e1be2d2ccf51dc514f523fa303114de14c86182e60123a7a9346abaef2bb0a4114ceded
7
+ data.tar.gz: 565f94e2a6b9a6ab53ac79244074b4ec2e817aeb73518ac77db29b1532ae0ba14b38eb40d531d283a5a7a83118f6dba05f18c55d748cf793941432de61ac5d69
@@ -1,4 +1,13 @@
1
- ## unreleased
1
+ ## 0.14.1 2020-01-22
2
+
3
+
4
+ ### Changed
5
+
6
+ - Use `Kernel.require` explicitly to avoid issues with monkey-patched `require` from ActiveSupport (@solnic)
7
+
8
+ [Compare v0.14.0...v0.14.1](https://github.com/dry-rb/dry-system/compare/v0.14.0...v0.14.1)
9
+
10
+ ## 0.14.0 2020-01-21
2
11
 
3
12
 
4
13
  ### Fixed
@@ -7,7 +16,7 @@
7
16
  - Fail fast if auto_registrar config contains incorrect path (@cutalion)
8
17
 
9
18
 
10
- [Compare v0.13.2...master](https://github.com/dry-rb/dry-system/compare/v0.13.2...master)
19
+ [Compare v0.13.2...v0.14.0](https://github.com/dry-rb/dry-system/compare/v0.13.2...v0.14.0)
11
20
 
12
21
  ## 0.13.2 2019-12-28
13
22
 
@@ -51,7 +51,7 @@ module Dry
51
51
  def load_component(path)
52
52
  identifier = Pathname(path).basename(RB_EXT).to_s.to_sym
53
53
 
54
- require path unless components.exists?(identifier)
54
+ Kernel.require path unless components.exists?(identifier)
55
55
 
56
56
  self
57
57
  end
@@ -155,7 +155,7 @@ module Dry
155
155
  Pathname(path).basename(RB_EXT).to_s == identifier.to_s
156
156
  }
157
157
 
158
- require boot_file if boot_file
158
+ Kernel.require boot_file if boot_file
159
159
  end
160
160
 
161
161
  # @api private
@@ -495,7 +495,7 @@ module Dry
495
495
  paths.flat_map { |path|
496
496
  path.to_s.include?('*') ? ::Dir[root.join(path)].sort : root.join(path)
497
497
  }.each { |path|
498
- require path.to_s
498
+ Kernel.require path.to_s
499
499
  }
500
500
  end
501
501
 
@@ -40,7 +40,7 @@ module Dry
40
40
 
41
41
  # @api private
42
42
  def load_dependency(dependency, gem)
43
- require dependency
43
+ Kernel.require dependency
44
44
  Plugins.loaded_dependencies << dependency.to_s
45
45
  rescue LoadError => e
46
46
  raise PluginDependencyMissing.new(name, e.message, gem)
@@ -41,7 +41,7 @@ module Dry
41
41
  end
42
42
 
43
43
  def load_components
44
- boot_files.each { |f| require f }
44
+ boot_files.each { |f| Kernel.require f }
45
45
  freeze
46
46
  self
47
47
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module System
5
- VERSION = '0.14.0'
5
+ VERSION = '0.14.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: 0.14.0
4
+ version: 0.14.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: 2020-01-21 00:00:00.000000000 Z
11
+ date: 2020-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby