guard-zeitwerk 0.1.0 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/Gemfile.lock +3 -9
- data/lib/guard/zeitwerk/templates/Guardfile +1 -1
- data/lib/guard/zeitwerk/version.rb +1 -1
- data/lib/guard/zeitwerk.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47f30402e4c81c355baafa63d4afbe67c48481c1fb15553126bc391c7bd49859
|
4
|
+
data.tar.gz: ad7129fe7491740a4df85c1bf11658e64eefe56b6dfef76f624d46c29401e52e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e1ca4f527bc209e67a3b28cbe371083eba2ea0c8d99baaf528e6bd936219285f31a3247fe1551ca39c9b5ebcf76ca1f290954e6915b9c42e6e3263f9fc9694
|
7
|
+
data.tar.gz: ab78a04b2777b069fba35306498a3d450af1b56a7ecdbeff5ae337d06af1e3e42ac995a2c81c68e9ee55570d33f088f3e0b32f8f7d4a220cdd9ef060688b5c9e
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,16 +1,10 @@
|
|
1
|
-
GIT
|
2
|
-
remote: https://github.com/fxn/zeitwerk.git
|
3
|
-
revision: 607e162a6086901240e334480ff495cf25acfcd7
|
4
|
-
specs:
|
5
|
-
zeitwerk (2.6.8)
|
6
|
-
|
7
1
|
PATH
|
8
2
|
remote: .
|
9
3
|
specs:
|
10
|
-
guard-zeitwerk (0.1.
|
4
|
+
guard-zeitwerk (0.1.4)
|
11
5
|
guard (~> 2.1)
|
12
6
|
guard-compat (~> 1.1)
|
13
|
-
zeitwerk
|
7
|
+
zeitwerk (> 2.6.8)
|
14
8
|
|
15
9
|
GEM
|
16
10
|
remote: https://rubygems.org/
|
@@ -101,6 +95,7 @@ GEM
|
|
101
95
|
rubocop-performance (~> 1.18.0)
|
102
96
|
thor (1.2.2)
|
103
97
|
unicode-display_width (2.4.2)
|
98
|
+
zeitwerk (2.6.9)
|
104
99
|
|
105
100
|
PLATFORMS
|
106
101
|
arm64-darwin-22
|
@@ -111,7 +106,6 @@ DEPENDENCIES
|
|
111
106
|
rake (~> 13.0)
|
112
107
|
rspec (~> 3.0)
|
113
108
|
standard (~> 1.3)
|
114
|
-
zeitwerk (~> 2.6)!
|
115
109
|
|
116
110
|
BUNDLED WITH
|
117
111
|
2.4.8
|
@@ -2,6 +2,6 @@
|
|
2
2
|
#
|
3
3
|
# The `require:` parameter is configured for a Rails project. If using it for
|
4
4
|
# a gem, change the require path to whatever loads a Zeitwerk::Autoloader.
|
5
|
-
guard :zeitwerk, require: "config/application.rb" do
|
5
|
+
guard :zeitwerk, require: "./config/application.rb" do
|
6
6
|
watch(/.*\.rb$/)
|
7
7
|
end
|
data/lib/guard/zeitwerk.rb
CHANGED
@@ -51,7 +51,7 @@ module Guard
|
|
51
51
|
next unless File.zero?(path)
|
52
52
|
|
53
53
|
::Zeitwerk::Registry.loaders.each do |loader|
|
54
|
-
namespace = loader.
|
54
|
+
namespace = loader.expected_cpath_at(path)
|
55
55
|
next if namespace.nil?
|
56
56
|
|
57
57
|
*constant_names, object_name = namespace.split("::")
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-zeitwerk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.6.8
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.6.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: guard
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|