autotest-fsevent 0.2.18 → 0.2.19
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/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/ext/fsevent/extconf.rb +11 -13
- data/lib/autotest-fsevent/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +19 -19
- 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: 7370722c1ce346e642895c15540e7156bd935d6f5400a36b61350489b54b8759
|
4
|
+
data.tar.gz: d4c09f5f58cf360fe2cc921f26a3ce2b1c9e2dc558d6df3c1e93af57bafd4ca0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd00b6684c276568e6db7a154831cfe4b4c1b12427be0d9f61b2685ac3b6fb6fec7b2f3a5cffd2de95932a35c6ecf0a7df29212477896eaf4e345ce94731da46
|
7
|
+
data.tar.gz: efaa633acea4a7881bebab7f35b26e3fcae84ca9f8d1c1bd72ace82fc62e154c082c94bb0d70d36adab300e50bcb89ede6d369e3ee8477d5e736c8b31811cce3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Apple has introduced FSEvent with Mac OS X 10.5 which is a very efficient way to
|
|
15
15
|
This gem is [cryptographically signed](https://guides.rubygems.org/security/#using-gems) in order to assure it hasn't been tampered with. Unless already done, please add the author's public key as a trusted certificate now:
|
16
16
|
|
17
17
|
```
|
18
|
-
gem cert --add <(curl -Ls https://raw.github.com/svoop/
|
18
|
+
gem cert --add <(curl -Ls https://raw.github.com/svoop/autotest-fsevent/main/certs/svoop.pem)
|
19
19
|
```
|
20
20
|
|
21
21
|
In order to compile the fsevent binary at install time, Xcode (macOS development suite) must be installed. You can download it for free from:
|
@@ -58,7 +58,7 @@ Make sure you have Xcode (Mac OS X Development Suite) installed. You can downloa
|
|
58
58
|
|
59
59
|
https://developer.apple.com
|
60
60
|
|
61
|
-
If you don't want to install Xcode, [download the prebuilt fsevent_sleep binary](https://github.com/svoop/autotest-fsevent/tree/
|
61
|
+
If you don't want to install Xcode, [download the prebuilt fsevent_sleep binary](https://github.com/svoop/autotest-fsevent/tree/main/prebuilt), make the downloaded binary executable and install the gem as follows:
|
62
62
|
|
63
63
|
```
|
64
64
|
FSEVENT_SLEEP="/absolute/path/to/fsevent_sleep" gem install autotest-fsevent
|
data/ext/fsevent/extconf.rb
CHANGED
@@ -17,24 +17,22 @@ emulate_extension_install('fsevent')
|
|
17
17
|
# Compile the actual fsevent_sleep binary
|
18
18
|
|
19
19
|
if `uname -s`.chomp == 'Darwin'
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
gem_root = File.expand_path(File.join('..', '..'))
|
21
|
+
darwin_version = `uname -r`.to_i
|
22
|
+
sdk_version = darwin_version < 20 ? "10.#{darwin_version - 4}" : darwin_version - 9
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
`mkdir -p #{File.join(GEM_ROOT, 'bin')}`
|
24
|
+
`mkdir -p #{File.join(gem_root, 'bin')}`
|
27
25
|
if ENV.has_key?('FSEVENT_SLEEP')
|
28
26
|
require 'fileutils'
|
29
|
-
FileUtils.cp(ENV['FSEVENT_SLEEP'], "#{
|
30
|
-
|
27
|
+
FileUtils.cp(ENV['FSEVENT_SLEEP'], "#{gem_root}/bin/fsevent_sleep", :preserve => true)
|
28
|
+
fail "Installation of fsevent_sleep binary failed - see README for assistance" unless File.executable?("#{gem_root}/bin/fsevent_sleep")
|
31
29
|
elsif File.exists?('/Developer/Applications/Xcode.app')
|
32
|
-
`CFLAGS='-isysroot /Developer/SDKs/MacOSX#{
|
33
|
-
|
30
|
+
`CFLAGS='-isysroot /Developer/SDKs/MacOSX#{sdk_version}.sdk -mmacosx-version-min=#{sdk_version}' /usr/bin/gcc -framework CoreServices -o "#{gem_root}/bin/fsevent_sleep" fsevent_sleep.c`
|
31
|
+
fail "Compilation of fsevent_sleep binary failed - see README for assistance" unless File.executable?("#{gem_root}/bin/fsevent_sleep")
|
34
32
|
elsif File.exists?('/Applications/Xcode.app') # Xcode 4.3
|
35
|
-
`CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX#{
|
36
|
-
|
33
|
+
`CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX#{sdk_version}.sdk -mmacosx-version-min=#{sdk_version}' /usr/bin/gcc -framework CoreServices -o "#{gem_root}/bin/fsevent_sleep" fsevent_sleep.c`
|
34
|
+
fail "Compilation of fsevent_sleep binary failed - see README for assistance" unless File.executable?("#{gem_root}/bin/fsevent_sleep")
|
37
35
|
else
|
38
|
-
|
36
|
+
fail "Xcode not found - see README for assistance"
|
39
37
|
end
|
40
38
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autotest-fsevent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schwyn
|
@@ -12,25 +12,25 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ0wCwYDVQQDDARydWJ5
|
14
14
|
MRkwFwYKCZImiZPyLGQBGRYJYml0Y2V0ZXJhMRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
-
|
15
|
+
MB4XDTIxMTEwODE0MzIyM1oXDTIyMTEwODE0MzIy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abUxgxrvuhrXF7Z96nrsP
|
29
|
+
EOmNMTc8H7wo4BAKfuMcI/Gh2oCf+tAhr0bGsXyBikmJ6XA45mrOMgv19M1+aMpn
|
30
|
+
1+2Y1+i+4jd1B7qxIgOLxQTNIJiwE0sqU1itFfuesfgUACS7M0IV9u9Bp4hBGNEw
|
31
|
+
5JcY2h7owdMxXIvgk1oakgldFJc=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2021-
|
33
|
+
date: 2021-12-26 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: sys-uname
|
@@ -119,7 +119,7 @@ licenses:
|
|
119
119
|
- MIT
|
120
120
|
metadata:
|
121
121
|
homepage_uri: https://github.com/svoop/autotest-fsevent
|
122
|
-
changelog_uri: https://github.com/svoop/autotest-fsevent/blob/
|
122
|
+
changelog_uri: https://github.com/svoop/autotest-fsevent/blob/main/CHANGELOG.md
|
123
123
|
source_code_uri: https://github.com/svoop/autotest-fsevent
|
124
124
|
documentation_uri: https://www.rubydoc.info/gems/autotest-fsevent
|
125
125
|
bug_tracker_uri: https://github.com/svoop/autotest-fsevent/issues
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
151
|
+
rubygems_version: 3.3.3
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: Use FSEvent instead of filesystem polling
|
metadata.gz.sig
CHANGED
Binary file
|