zeitwerk 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zeitwerk/error.rb +6 -1
- data/lib/zeitwerk/loader.rb +3 -3
- data/lib/zeitwerk/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: afbe6dc64c3c97a4a2f2872d4e500374fc67ddae36a515d8791e3f8122a2447d
|
4
|
+
data.tar.gz: 470325ed5fe48da426cfb86fd35f20d9377fe9b41515aa4146e310a85843cce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caca8ed04aa94078f1e1af395c7e4afda10047a436694a5c5b9f4769a7829e7277d1243cd470618c8027f250ea288c82781ae64cd7d5d0771dac27b288a4350b
|
7
|
+
data.tar.gz: 507bbdb688e9b9412d908f784a902e807b90dd403df9939646c6d2d732367f9b8333b836354aa7b659425c1dc871c9bcf2f0fbe97a6522e444b968d2c5e12521
|
data/lib/zeitwerk/error.rb
CHANGED
data/lib/zeitwerk/loader.rb
CHANGED
@@ -334,7 +334,7 @@ module Zeitwerk
|
|
334
334
|
unload
|
335
335
|
setup
|
336
336
|
else
|
337
|
-
raise
|
337
|
+
raise ReloadingDisabledError, "can't reload, please call loader.enable_reloading before setup"
|
338
338
|
end
|
339
339
|
end
|
340
340
|
|
@@ -363,8 +363,8 @@ module Zeitwerk
|
|
363
363
|
|
364
364
|
shadowed_files.clear
|
365
365
|
|
366
|
-
autoloaded_dirs.each do |
|
367
|
-
Registry.unregister_autoload(
|
366
|
+
autoloaded_dirs.each do |autoloaded_dir|
|
367
|
+
Registry.unregister_autoload(autoloaded_dir)
|
368
368
|
end
|
369
369
|
autoloaded_dirs.clear
|
370
370
|
|
data/lib/zeitwerk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zeitwerk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xavier Noria
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
Zeitwerk implements constant autoloading with Ruby semantics. Each gem
|