io-watch 0.1.0 → 0.1.2

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: 28d2d87eebbc0c7ba0750330239bdd1d00c8195ff8a93121ba13a8368b681730
4
- data.tar.gz: 8528b998df129ca0da1f4ff7cbf3627721608bf4491ac7da41fb3a8b381d65cf
3
+ metadata.gz: e172b9efc41362e2c6a81d3df86e23fdab53eba5412c50d647360998daa6542f
4
+ data.tar.gz: 4c9a64ed8562bb957f47379e06c3ea8756c6b892638d57291bc83b49e8676efd
5
5
  SHA512:
6
- metadata.gz: 7896b82cab31023f395aeb3bf9a588e31291b8d5ed2030f818377977e15dfb431a7ec80af2717ee252bff134816aea367c2099084747c09af16af62c58c174fe
7
- data.tar.gz: e9f8f8a987490ace634ddd18eea1514657e12b0f945219063442750c16e53dc1f59e95b91c0ecb356e06ec863d2661a601069e611fe6ad3503a739737a01a2bf
6
+ metadata.gz: e88178762aa10a658567a3e5fbfaca0383cdc6e85d62c9307d719aff96310109067d27ae1334682c7c99591785bde853c8d2914b2406dea9344b3c148a28ca86
7
+ data.tar.gz: 183a4c0a5e0d4aec92b612d0598875085063a0e75af8180eeb46c035196f4e983a0dc7f1f757bfb099f61bc218be4564cda7ffd278ec33e3edcae5873b4c48c4
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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 extensions_path = Gem.loaded_specs['io-watch']&.extensions_dir
14
- if File.exist?(extensions_path)
15
- return File.join(extensions_path, 'io-watch')
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__, '../../../ext/bin/io-watch')
19
+ return File.join(__dir__, '..', '..', '..', 'ext/io-watch')
20
20
  end
21
21
 
22
22
  COMMAND_PATH = self.command_path
@@ -5,6 +5,6 @@
5
5
 
6
6
  class IO
7
7
  module Watch
8
- VERSION = '0.1.0'
8
+ VERSION = '0.1.2'
9
9
  end
10
10
  end
data/readme.md CHANGED
@@ -22,7 +22,7 @@ We welcome contributions to this project.
22
22
 
23
23
  ### Developer Certificate of Origin
24
24
 
25
- In order to protect users of this project, we require all contributions to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed. All contributors must agree to this document for their contributions to be accepted.
25
+ In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
26
26
 
27
27
  ### Community Guidelines
28
28
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io-watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -46,14 +46,9 @@ extensions:
46
46
  - ext/configure
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - ext/Makefile
50
- - ext/bin/io-watch
51
49
  - ext/configure
52
- - ext/io-watch
53
50
  - ext/io/watch.c
54
- - ext/io/watch.o
55
51
  - ext/io/watch/fsevent.c
56
- - ext/io/watch/fsevent.o
57
52
  - ext/io/watch/inotify.c
58
53
  - ext/io/watch/watch.h
59
54
  - lib/io/watch.rb
metadata.gz.sig CHANGED
Binary file
data/ext/Makefile DELETED
@@ -1,31 +0,0 @@
1
- TARGET = io-watch
2
- CC = cc
3
- CFLAGS = -Wall -Wextra
4
- LDFLAGS = -framework CoreServices
5
- SOURCES = io/watch.c io/watch/fsevent.c
6
- OBJECTS = $(SOURCES:.c=.o)
7
- PREFIX = /Users/samuel/Developer/socketry/io-watch/ext
8
-
9
- all: $(TARGET)
10
-
11
- $(TARGET): $(OBJECTS)
12
- $(CC) $(LDFLAGS) -o $@ $^
13
-
14
- # To create object files
15
- %.o: %.c
16
- $(CC) $(CFLAGS) -c $< -o $@
17
-
18
- # Clean Target
19
- clean:
20
- rm -f $(TARGET) $(OBJECTS)
21
-
22
- install: $(TARGET)
23
- @echo "Installing $(TARGET) to $(PREFIX)/bin"
24
- mkdir -p $(PREFIX)/bin
25
- install -m 755 $(TARGET) $(PREFIX)/bin
26
-
27
- uninstall:
28
- @echo "Removing $(TARGET) from $(PREFIX)/bin"
29
- rm -f $(PREFIX)/bin/$(TARGET)
30
-
31
- .PHONY: all clean install uninstall
data/ext/bin/io-watch DELETED
Binary file
Binary file
data/ext/io/watch.o DELETED
Binary file
data/ext/io-watch DELETED
Binary file