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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82747ffd33eb432ab5bee2c369f9f9b16e72e6a69ba9d3ebfd45aff21c714dc3
4
- data.tar.gz: 527b4cf80c4f18ae56543751a95361399cfbc353e86e33de27e7ed8b0dac5807
3
+ metadata.gz: 47f30402e4c81c355baafa63d4afbe67c48481c1fb15553126bc391c7bd49859
4
+ data.tar.gz: ad7129fe7491740a4df85c1bf11658e64eefe56b6dfef76f624d46c29401e52e
5
5
  SHA512:
6
- metadata.gz: e419c692055364711f204ae4bff977864e393949fa3142e3fd3a3b341830e54c2a4ed05cd95ea81b2ff1985efde0e5d63ce80beb8139e0591468d53b6a1ce8fe
7
- data.tar.gz: 87e191369c6d61ec01a3de37ff45d6b812bec8792d30b5cfe2ebf994ced92f4f57adb05d329a8b472e358d883f3fb3596a7537584c1871099652e567120bef43
6
+ metadata.gz: 27e1ca4f527bc209e67a3b28cbe371083eba2ea0c8d99baaf528e6bd936219285f31a3247fe1551ca39c9b5ebcf76ca1f290954e6915b9c42e6e3263f9fc9694
7
+ data.tar.gz: ab78a04b2777b069fba35306498a3d450af1b56a7ecdbeff5ae337d06af1e3e42ac995a2c81c68e9ee55570d33f088f3e0b32f8f7d4a220cdd9ef060688b5c9e
data/Gemfile CHANGED
@@ -11,6 +11,4 @@ gem "rspec", "~> 3.0"
11
11
 
12
12
  gem "standard", "~> 1.3"
13
13
 
14
- gem "zeitwerk", "~> 2.6", github: "fxn/zeitwerk"
15
-
16
14
  gem "guard", "~> 2.18"
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.0)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Guard
4
4
  module ZeitwerkGuard
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
@@ -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.cpath_at(path)
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.0
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-24 00:00:00.000000000 Z
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: '0'
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: '0'
26
+ version: 2.6.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: guard
29
29
  requirement: !ruby/object:Gem::Requirement