io-watch 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/io/watch/monitor.rb +4 -4
- data/lib/io/watch/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76f5c7a3703e675f762cbebe938285e34a1fe3f70d472f33bf04e5a713070d0c
|
|
4
|
+
data.tar.gz: 0effe0ae87058c7cf9da2e714673a7b42df74856f29e0b845a132982ccdf04cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adc9cb9e8a99469a2bd170148347d167971d7e4ff6aeda1c2d0f39c8c47439f46a0fa8ee513102d9a002ab95e9ff391a68094be6a382b83d4236b7b2efc283df
|
|
7
|
+
data.tar.gz: 2c7e38ad27b69b80598eb8d26f2a0d0599fd07215f8e0321c1f9fd9d51ddefc419d451ce92ff3671bca0b21930fe9e6d5c70a83b80cd661d8c5ee8b4d46e6299
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/io/watch/monitor.rb
CHANGED
|
@@ -10,13 +10,13 @@ class IO
|
|
|
10
10
|
# Represents a list of roots to watch for changes.
|
|
11
11
|
class Monitor
|
|
12
12
|
def self.command_path
|
|
13
|
-
if
|
|
14
|
-
if File.exist?(
|
|
15
|
-
return File.join(
|
|
13
|
+
if extension_path = Gem.loaded_specs['io-watch']&.extension_dir
|
|
14
|
+
if File.exist?(extension_path)
|
|
15
|
+
return File.join(extension_path, 'bin', 'io-watch')
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
return File.join(__dir__, '
|
|
19
|
+
return File.join(__dir__, '..', '..', '..', 'ext/io-watch')
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
COMMAND_PATH = self.command_path
|
data/lib/io/watch/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|