autotest-fsevent 0.2.16 → 0.2.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +3 -0
- data/CHANGELOG.md +5 -0
- data/README.md +20 -15
- data/lib/autotest-fsevent/version.rb +1 -1
- data/post-install.txt +0 -9
- metadata +58 -32
- metadata.gz.sig +2 -0
- data/.gitignore +0 -5
- data/.ruby-version +0 -1
- data/autotest-fsevent.gemspec +0 -30
- data/gems.locked +0 -32
- data/gems.rb +0 -4
- data/rakefile.rb +0 -12
- data/spec/lib/autotest-fsevent/version_spec.rb +0 -7
- data/spec/spec_helper.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c86d2f3ada722f680ed017201b5a9faa779f77ba00f222af79091bc62b145c7
|
4
|
+
data.tar.gz: 14369145651fb3f21b489b379d41f62d5a16fb10af2880c3e01206619e7841ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ea36558fd406527861873125ee5282d337d63b036b4c5f30d805e9b2c6c5ee915890a8a778f705012733569b3fa56ff2ff7894fcd08281d45e52717133f369b
|
7
|
+
data.tar.gz: 630b0e2667d0229eda4f058db6fe73079b135c56946c35c0eb02a29a31777ddddea916495dcf001a4b09f772234c6e330aed284d0220c5b823cf6880f861dfed
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -3,18 +3,22 @@
|
|
3
3
|
|
4
4
|
# autotest-fsevent
|
5
5
|
|
6
|
-
Autotest relies on filesystem polling to detect modifications in source code files. In other words: The filesytem is constantly being traversed which causes
|
7
|
-
|
8
|
-
Apple has
|
9
|
-
to use FSEvent and therefore be nice to your Mac.
|
6
|
+
Autotest relies on filesystem polling to detect modifications in source code files. In other words: The filesytem is constantly being traversed which causes quite some load on both the CPU and the harddrive. This is not healthy for your Mac and if you are working on a portable computer, it will drain your battery.
|
7
|
+
|
8
|
+
Apple has introduced FSEvent with Mac OS X 10.5 which is a very efficient way to have the operating system monitor file alterations. This gem teaches autotest to use FSEvent and therefore be nice to your Mac.
|
10
9
|
|
11
10
|
* [Homepage](https://github.com/svoop/autotest-fsevent)
|
12
11
|
* Author: [Sven Schwyn - Bitcetera](http://www.bitcetera.com)
|
13
12
|
|
14
13
|
## Install
|
15
14
|
|
16
|
-
|
17
|
-
|
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
|
+
|
17
|
+
```
|
18
|
+
gem cert --add <(curl -Ls https://raw.github.com/svoop/aipp/master/certs/{HANDLE}.pem)
|
19
|
+
```
|
20
|
+
|
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:
|
18
22
|
|
19
23
|
https://developer.apple.com
|
20
24
|
|
@@ -30,8 +34,13 @@ Add this to your `Gemfile` or `gems.rb`:
|
|
30
34
|
gem autotest-fsevent, group: :development
|
31
35
|
```
|
32
36
|
|
33
|
-
|
34
|
-
|
37
|
+
And securely install the bundle:
|
38
|
+
|
39
|
+
```
|
40
|
+
bundle install --trust-policy MediumSecurity
|
41
|
+
```
|
42
|
+
|
43
|
+
Then add the following line *after all other requires* in your `~/.autotest` file:
|
35
44
|
|
36
45
|
```
|
37
46
|
require 'autotest/fsevent'
|
@@ -41,19 +50,15 @@ require 'autotest/fsevent'
|
|
41
50
|
|
42
51
|
### Autotest Binary Not Present
|
43
52
|
|
44
|
-
Make sure you have either the ZenTest gem or the autotest-standalone gem
|
45
|
-
installed. This dependency has been dropped as of autotest-fsevent-0.2.3 in
|
46
|
-
order to allow any compatible test suite.
|
53
|
+
Make sure you have either the ZenTest gem or the autotest-standalone gem installed. This dependency has been dropped as of autotest-fsevent-0.2.3 in order to allow any compatible test suite.
|
47
54
|
|
48
55
|
### Compilation of fsevent_sleep Failed
|
49
56
|
|
50
|
-
Make sure you have Xcode (Mac OS X Development Suite) installed. You can
|
51
|
-
download it for free from:
|
57
|
+
Make sure you have Xcode (Mac OS X Development Suite) installed. You can download it for free from:
|
52
58
|
|
53
59
|
https://developer.apple.com
|
54
60
|
|
55
|
-
If you don't want to install Xcode, [download the prebuilt fsevent_sleep binary](https://github.com/svoop/autotest-fsevent/tree/master/prebuilt), make the
|
56
|
-
downloaded binary executable and install the gem as follows:
|
61
|
+
If you don't want to install Xcode, [download the prebuilt fsevent_sleep binary](https://github.com/svoop/autotest-fsevent/tree/master/prebuilt), make the downloaded binary executable and install the gem as follows:
|
57
62
|
|
58
63
|
```
|
59
64
|
FSEVENT_SLEEP="/absolute/path/to/fsevent_sleep" gem install autotest-fsevent
|
data/post-install.txt
CHANGED
@@ -3,12 +3,3 @@ gem or the lightweight autotest-standalone gem and then add the following
|
|
3
3
|
line to your ~/.autotest file:
|
4
4
|
|
5
5
|
require 'autotest/fsevent'
|
6
|
-
|
7
|
-
For more information, feedback and bug submissions, please visit:
|
8
|
-
|
9
|
-
http://www.bitcetera.com/products/autotest-fsevent
|
10
|
-
|
11
|
-
If you like this gem, please consider to recommend me on Working with Rails,
|
12
|
-
thank you!
|
13
|
-
|
14
|
-
http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn
|
metadata
CHANGED
@@ -1,23 +1,45 @@
|
|
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.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schwyn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MI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ETQfPTT6jNE+p4cRougDrQ32aV
|
28
|
+
29WIAY21/o0FBuJZqxLDRTu6O7AHrjFnv7Kkpr1oYiR9G4MNEihyNt909nHnSixC
|
29
|
+
qn5dLDjawWVvAz5oeD1sE0Kyp6CDY8i3NfBu4aqz8uAbaEJh3jpY5NW2Lv++s7hf
|
30
|
+
EUqN8dad5Oosf9hYbfFXPzkJIIGiKMS4e1cbnAr/vadELoccfEN9tSlLuW/voNqA
|
31
|
+
2635TmaVXxUEgIOzRhGlE1+frXI=
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
12
34
|
dependencies:
|
13
35
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
36
|
+
name: sys-uname
|
15
37
|
requirement: !ruby/object:Gem::Requirement
|
16
38
|
requirements:
|
17
39
|
- - ">="
|
18
40
|
- !ruby/object:Gem::Version
|
19
41
|
version: '0'
|
20
|
-
type: :
|
42
|
+
type: :runtime
|
21
43
|
prerelease: false
|
22
44
|
version_requirements: !ruby/object:Gem::Requirement
|
23
45
|
requirements:
|
@@ -25,7 +47,7 @@ dependencies:
|
|
25
47
|
- !ruby/object:Gem::Version
|
26
48
|
version: '0'
|
27
49
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
50
|
+
name: rake
|
29
51
|
requirement: !ruby/object:Gem::Requirement
|
30
52
|
requirements:
|
31
53
|
- - ">="
|
@@ -39,7 +61,7 @@ dependencies:
|
|
39
61
|
- !ruby/object:Gem::Version
|
40
62
|
version: '0'
|
41
63
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
64
|
+
name: minitest
|
43
65
|
requirement: !ruby/object:Gem::Requirement
|
44
66
|
requirements:
|
45
67
|
- - ">="
|
@@ -53,60 +75,66 @@ dependencies:
|
|
53
75
|
- !ruby/object:Gem::Version
|
54
76
|
version: '0'
|
55
77
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
78
|
+
name: minitest-autotest
|
57
79
|
requirement: !ruby/object:Gem::Requirement
|
58
80
|
requirements:
|
59
81
|
- - ">="
|
60
82
|
- !ruby/object:Gem::Version
|
61
83
|
version: '0'
|
62
|
-
type: :
|
84
|
+
type: :development
|
63
85
|
prerelease: false
|
64
86
|
version_requirements: !ruby/object:Gem::Requirement
|
65
87
|
requirements:
|
66
88
|
- - ">="
|
67
89
|
- !ruby/object:Gem::Version
|
68
90
|
version: '0'
|
69
|
-
description:
|
70
|
-
|
71
|
-
|
72
|
-
|
91
|
+
description: |
|
92
|
+
Autotest relies on filesystem polling to detect modifications in source
|
93
|
+
code files. This is expensive for the CPU, harddrive and battery - and
|
94
|
+
unnecesary on Mac OS X 10.5 or higher which comes with the very efficient
|
95
|
+
FSEvent core service for this very purpose. This gem teaches autotest how
|
96
|
+
to use FSEvent.
|
73
97
|
email:
|
74
98
|
- ruby@bitcetera.com
|
75
99
|
executables: []
|
76
100
|
extensions:
|
77
101
|
- ext/fsevent/extconf.rb
|
78
|
-
extra_rdoc_files:
|
102
|
+
extra_rdoc_files:
|
103
|
+
- README.md
|
104
|
+
- CHANGELOG.md
|
105
|
+
- LICENSE.txt
|
79
106
|
files:
|
80
|
-
- ".gitignore"
|
81
|
-
- ".ruby-version"
|
82
107
|
- CHANGELOG.md
|
83
108
|
- LICENSE.txt
|
84
109
|
- README.md
|
85
|
-
- autotest-fsevent.gemspec
|
86
110
|
- ext/fsevent/extconf.rb
|
87
111
|
- ext/fsevent/fsevent_sleep.c
|
88
|
-
- gems.locked
|
89
|
-
- gems.rb
|
90
112
|
- lib/autotest-fsevent.rb
|
91
113
|
- lib/autotest-fsevent/version.rb
|
92
114
|
- lib/autotest/fsevent.rb
|
93
115
|
- post-install.txt
|
94
116
|
- prebuilt/fsevent_sleep
|
95
|
-
- rakefile.rb
|
96
|
-
- spec/lib/autotest-fsevent/version_spec.rb
|
97
|
-
- spec/spec_helper.rb
|
98
117
|
homepage: https://github.com/svoop/autotest-fsevent
|
99
118
|
licenses:
|
100
119
|
- MIT
|
101
|
-
metadata:
|
120
|
+
metadata:
|
121
|
+
homepage_uri: https://github.com/svoop/autotest-fsevent
|
122
|
+
changelog_uri: https://github.com/svoop/autotest-fsevent/blob/master/CHANGELOG.md
|
123
|
+
source_code_uri: https://github.com/svoop/autotest-fsevent
|
124
|
+
documentation_uri: https://www.rubydoc.info/gems/autotest-fsevent
|
125
|
+
bug_tracker_uri: https://github.com/svoop/autotest-fsevent/issues
|
102
126
|
post_install_message: "\e[1;32m\n-------------------------------------------------------------------------------\n\nIn
|
103
127
|
order to use autotest-fsevent, install either the comprehensive ZenTest\ngem or
|
104
128
|
the lightweight autotest-standalone gem and then add the following\nline to your
|
105
|
-
~/.autotest file:\n\nrequire 'autotest/fsevent'\n\
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
129
|
+
~/.autotest file:\n\nrequire 'autotest/fsevent'\n\n-------------------------------------------------------------------------------\n\e[0m"
|
130
|
+
rdoc_options:
|
131
|
+
- "--title"
|
132
|
+
- FSEvent for Autotest
|
133
|
+
- "--main"
|
134
|
+
- README.md
|
135
|
+
- "--line-numbers"
|
136
|
+
- "--inline-source"
|
137
|
+
- "--quiet"
|
110
138
|
require_paths:
|
111
139
|
- lib
|
112
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -123,7 +151,5 @@ requirements: []
|
|
123
151
|
rubygems_version: 3.1.2
|
124
152
|
signing_key:
|
125
153
|
specification_version: 4
|
126
|
-
summary: Use FSEvent
|
127
|
-
test_files:
|
128
|
-
- spec/lib/autotest-fsevent/version_spec.rb
|
129
|
-
- spec/spec_helper.rb
|
154
|
+
summary: Use FSEvent instead of filesystem polling
|
155
|
+
test_files: []
|
metadata.gz.sig
ADDED
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby-2.6.5
|
data/autotest-fsevent.gemspec
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'autotest-fsevent/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = 'autotest-fsevent'
|
8
|
-
spec.version = Autotest::FSEvent::VERSION
|
9
|
-
spec.authors = ['Sven Schwyn']
|
10
|
-
spec.email = ['ruby@bitcetera.com']
|
11
|
-
spec.description = %q(Autotest relies on filesystem polling to detect modifications in source code files. This is expensive for the CPU, harddrive and battery - and unnecesary on Mac OS X 10.5 or higher which comes with the very efficient FSEvent core service for this very purpose. This gem teaches autotest how to use FSEvent.)
|
12
|
-
spec.summary = %q(Use FSEvent (on Mac OS X 10.5 or higher) instead of filesystem polling.)
|
13
|
-
spec.homepage = 'https://github.com/svoop/autotest-fsevent'
|
14
|
-
spec.license = 'MIT'
|
15
|
-
|
16
|
-
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ['lib']
|
20
|
-
|
21
|
-
spec.post_install_message = "\e[1;32m\n" + ('-' * 79) + "\n\n" + File.read('post-install.txt').strip + "\n\n" + ('-' * 79) + "\n\e[0m"
|
22
|
-
|
23
|
-
spec.extensions = ['ext/fsevent/extconf.rb']
|
24
|
-
|
25
|
-
spec.add_development_dependency 'rake'
|
26
|
-
spec.add_development_dependency 'minitest'
|
27
|
-
spec.add_development_dependency "minitest-autotest"
|
28
|
-
|
29
|
-
spec.add_runtime_dependency 'sys-uname'
|
30
|
-
end
|
data/gems.locked
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
autotest-fsevent (0.2.16)
|
5
|
-
sys-uname
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
ffi (1.12.2)
|
11
|
-
minitest (5.14.0)
|
12
|
-
minitest-autotest (1.1.1)
|
13
|
-
minitest-server (~> 1.0)
|
14
|
-
path_expander (~> 1.0)
|
15
|
-
minitest-server (1.0.6)
|
16
|
-
minitest (~> 5.0)
|
17
|
-
path_expander (1.1.0)
|
18
|
-
rake (13.0.1)
|
19
|
-
sys-uname (1.2.0)
|
20
|
-
ffi (>= 1.0.0)
|
21
|
-
|
22
|
-
PLATFORMS
|
23
|
-
ruby
|
24
|
-
|
25
|
-
DEPENDENCIES
|
26
|
-
autotest-fsevent!
|
27
|
-
minitest
|
28
|
-
minitest-autotest
|
29
|
-
rake
|
30
|
-
|
31
|
-
BUNDLED WITH
|
32
|
-
2.1.4
|
data/gems.rb
DELETED
data/rakefile.rb
DELETED