autotest-fsevent 0.2.13 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +130 -0
- data/{LICENSE → LICENSE.txt} +2 -0
- data/README.md +85 -0
- data/ext/fsevent/extconf.rb +2 -3
- data/lib/autotest-fsevent/version.rb +1 -1
- data/post-install.txt +5 -0
- data/prebuilt/{10.7/fsevent_sleep → fsevent_sleep} +0 -0
- metadata +65 -39
- metadata.gz.sig +3 -0
- data/.gitignore +0 -5
- data/.ruby-version +0 -1
- data/CHANGELOG.txt +0 -101
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -40
- data/PostInstall.txt +0 -14
- data/README.rdoc +0 -152
- data/Rakefile +0 -7
- data/autotest-fsevent.gemspec +0 -28
- data/spec/autotest-fsevent_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 49356ac820195419d07cd1e75a5742f6cf959cea19f12fa7c5287f98e068b8f7
|
4
|
+
data.tar.gz: 960fa80cd2bcf4ce1a0324f9e79b8083ed255d9cf1ccd9f1cd5d1dc9990fbd91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2856fe80f42f52fb6223c3d0f92f128e51e0804d96d4835d39697e6920dafb8df1b94287cf3367ae1932b409e9d479a61808b9e58e1440963f1b16b561e3d57b
|
7
|
+
data.tar.gz: 8a9ffd87e1e274dafa40bcb05af4421982b82a2b2d7aa13fee91030a8de7f8a37ca42fb7d495d103c3e7f954d340e0be4ce9d3506d629adfcea9155cea5cb5c3
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
## 0.2.18
|
2
|
+
|
3
|
+
#### Additions
|
4
|
+
* Support for macOS 11 Big Sur (plus next likely release)
|
5
|
+
|
6
|
+
## 0.2.17
|
7
|
+
|
8
|
+
#### Minor Changes
|
9
|
+
* Sign gem and add checksums
|
10
|
+
|
11
|
+
## 0.2.16
|
12
|
+
|
13
|
+
#### Changes
|
14
|
+
* Bundle updated
|
15
|
+
|
16
|
+
## 0.2.15
|
17
|
+
|
18
|
+
#### Additions
|
19
|
+
* Support for macOS 10.15 Catalina
|
20
|
+
|
21
|
+
#### Changes
|
22
|
+
* Drop RSpec in favor of minitest
|
23
|
+
* Rewrite README, CHANGELOG etc
|
24
|
+
|
25
|
+
## 0.2.14
|
26
|
+
|
27
|
+
#### Additions
|
28
|
+
* Support for macOS 10.14 Mojave
|
29
|
+
|
30
|
+
## 0.2.13
|
31
|
+
|
32
|
+
#### Additions
|
33
|
+
* Support for macOS 10.13 High Sierra
|
34
|
+
|
35
|
+
## 0.2.12
|
36
|
+
|
37
|
+
#### Additions
|
38
|
+
* Support for macOS 10.12 Sierra
|
39
|
+
|
40
|
+
## 0.2.11
|
41
|
+
|
42
|
+
#### Additions
|
43
|
+
* Support for macOS 10.11 El Capitan
|
44
|
+
|
45
|
+
## 0.2.10
|
46
|
+
|
47
|
+
#### Additions
|
48
|
+
* Support for macOS 10.10 Yosemite
|
49
|
+
|
50
|
+
## 0.2.9
|
51
|
+
|
52
|
+
#### Additions
|
53
|
+
* Support for macOS 10.9 Mavericks
|
54
|
+
|
55
|
+
## 0.2.8
|
56
|
+
|
57
|
+
#### Changes
|
58
|
+
* Compatiblity with Xcode 4.3 (Pavel Forkert)
|
59
|
+
* Do nothing if installed on non-Darwin OS
|
60
|
+
|
61
|
+
## 0.2.7
|
62
|
+
|
63
|
+
#### Changes
|
64
|
+
* Use `File.exists?` which is both Ruby 1.8 and 1.9
|
65
|
+
|
66
|
+
## 0.2.6
|
67
|
+
|
68
|
+
#### Additions
|
69
|
+
* Add FSEVENT_SLEEP environment variable for prebuilt binaries
|
70
|
+
|
71
|
+
## 0.2.5
|
72
|
+
|
73
|
+
#### Changes
|
74
|
+
* Don't reset GEMPATH if already set (Robert Lowe)
|
75
|
+
|
76
|
+
## 0.2.4
|
77
|
+
|
78
|
+
#### Changes
|
79
|
+
* Update README due to autotest naming disagreement
|
80
|
+
* Switch from Jeweler to Bundler for development
|
81
|
+
|
82
|
+
## 0.2.3
|
83
|
+
|
84
|
+
#### Changes
|
85
|
+
* Remove dependency on autotest
|
86
|
+
* Loosen dependency on rspec
|
87
|
+
|
88
|
+
## 0.2.2
|
89
|
+
|
90
|
+
#### Additions
|
91
|
+
* Build binary at install time (inspired by Michael Hale)
|
92
|
+
|
93
|
+
## 0.2.1
|
94
|
+
|
95
|
+
#### Changes
|
96
|
+
* Remove wait_for_changes before redefining it
|
97
|
+
* Add dependency for sys-uname (Cyril Mougel)
|
98
|
+
|
99
|
+
## 0.2.0
|
100
|
+
|
101
|
+
#### Changes
|
102
|
+
* Change dependency from "ZenTest" to lightweight "autotest"
|
103
|
+
* Move waiting hook outside the loop (Sean DeNigris)
|
104
|
+
|
105
|
+
## 0.1.3
|
106
|
+
|
107
|
+
#### Changes
|
108
|
+
* 64bit kernel compatibility workaround
|
109
|
+
* Update README for development to reflect changes at Github
|
110
|
+
|
111
|
+
## 0.1.2
|
112
|
+
|
113
|
+
#### Additions
|
114
|
+
* Support for macOS 10.6 Snow Leopard
|
115
|
+
|
116
|
+
#### Changes
|
117
|
+
* Reset the postinstall text color to previous
|
118
|
+
* Prepare for multi-platform extension
|
119
|
+
* Patch wait_for_changes to prevent fallback to polling (Darrick Wiebe)
|
120
|
+
|
121
|
+
## 0.1.1
|
122
|
+
|
123
|
+
#### Changes
|
124
|
+
* Check platform with sys-uname instead of RUBY_PLATFORM
|
125
|
+
|
126
|
+
## 0.1.0
|
127
|
+
|
128
|
+
#### Initial Implementation
|
129
|
+
* FSEvent instead of filesystem polling on macOS 10.5 Leopard or higher
|
130
|
+
* Formerly part of autotest-mac which is now deprecated
|
data/{LICENSE → LICENSE.txt}
RENAMED
data/README.md
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
[![Version](https://img.shields.io/gem/v/autotest-fsevent.svg?style=flat)](https://rubygems.org/gems/autotest-fsevent)
|
2
|
+
[![Donorbox](https://img.shields.io/badge/donate-on_donorbox-yellow.svg)](https://donorbox.org/bitcetera)
|
3
|
+
|
4
|
+
# autotest-fsevent
|
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 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.
|
9
|
+
|
10
|
+
* [Homepage](https://github.com/svoop/autotest-fsevent)
|
11
|
+
* Author: [Sven Schwyn - Bitcetera](http://www.bitcetera.com)
|
12
|
+
|
13
|
+
## Install
|
14
|
+
|
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:
|
22
|
+
|
23
|
+
https://developer.apple.com
|
24
|
+
|
25
|
+
You can use any ZenTest-compatible test suite with this gem such as:
|
26
|
+
|
27
|
+
* [minitest-autotest](https://rubygems.org/gems/minitest-autotest)
|
28
|
+
* [Zentest](https://rubygems.org/gems/ZenTest)
|
29
|
+
* [autotest-standalone](https://rubygems.org/gems/autotest-standalone)
|
30
|
+
|
31
|
+
Add this to your `Gemfile` or `gems.rb`:
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
gem autotest-fsevent, group: :development
|
35
|
+
```
|
36
|
+
|
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:
|
44
|
+
|
45
|
+
```
|
46
|
+
require 'autotest/fsevent'
|
47
|
+
```
|
48
|
+
|
49
|
+
## Troubleshooting
|
50
|
+
|
51
|
+
### Autotest Binary Not Present
|
52
|
+
|
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.
|
54
|
+
|
55
|
+
### Compilation of fsevent_sleep Failed
|
56
|
+
|
57
|
+
Make sure you have Xcode (Mac OS X Development Suite) installed. You can download it for free from:
|
58
|
+
|
59
|
+
https://developer.apple.com
|
60
|
+
|
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:
|
62
|
+
|
63
|
+
```
|
64
|
+
FSEVENT_SLEEP="/absolute/path/to/fsevent_sleep" gem install autotest-fsevent
|
65
|
+
```
|
66
|
+
|
67
|
+
## Development
|
68
|
+
|
69
|
+
To install the development dependencies:
|
70
|
+
|
71
|
+
```
|
72
|
+
bundle install
|
73
|
+
```
|
74
|
+
|
75
|
+
Please submit issues on:
|
76
|
+
|
77
|
+
https://github.com/svoop/autotest-fsevent/issues
|
78
|
+
|
79
|
+
To contribute code, fork the project on Github, add your code and submit a pull request:
|
80
|
+
|
81
|
+
https://help.github.com/articles/fork-a-repo
|
82
|
+
|
83
|
+
## License
|
84
|
+
|
85
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/ext/fsevent/extconf.rb
CHANGED
@@ -19,10 +19,10 @@ emulate_extension_install('fsevent')
|
|
19
19
|
if `uname -s`.chomp == 'Darwin'
|
20
20
|
GEM_ROOT = File.expand_path(File.join('..', '..'))
|
21
21
|
DARWIN_VERSION = `uname -r`.to_i
|
22
|
-
SDK_VERSION = { 9 => '10.5', 10 => '10.6', 11 => '10.7', 12 => '10.8', 13 => '10.9', 14 => '10.10', 15 => '10.11', 16 => '10.12', 17 => '10.13' }[DARWIN_VERSION]
|
22
|
+
SDK_VERSION = { 9 => '10.5', 10 => '10.6', 11 => '10.7', 12 => '10.8', 13 => '10.9', 14 => '10.10', 15 => '10.11', 16 => '10.12', 17 => '10.13', 18 => '10.14', 19 => '10.15', 20 => '11', 21 => '11.1' }[DARWIN_VERSION]
|
23
23
|
|
24
24
|
raise "Darwin #{DARWIN_VERSION} is not (yet) supported" unless SDK_VERSION
|
25
|
-
|
25
|
+
|
26
26
|
`mkdir -p #{File.join(GEM_ROOT, 'bin')}`
|
27
27
|
if ENV.has_key?('FSEVENT_SLEEP')
|
28
28
|
require 'fileutils'
|
@@ -38,4 +38,3 @@ if `uname -s`.chomp == 'Darwin'
|
|
38
38
|
raise "\e[1;31mXcode not found - see README for assistance\e[0m"
|
39
39
|
end
|
40
40
|
end
|
41
|
-
|
data/post-install.txt
ADDED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,36 @@
|
|
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.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schwyn
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ0wCwYDVQQDDARydWJ5
|
14
|
+
MRkwFwYKCZImiZPyLGQBGRYJYml0Y2V0ZXJhMRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
+
MB4XDTIwMDMxNDE5NDgwNVoXDTIxMDMxNDE5NDgwNVowPzENMAsGA1UEAwwEcnVi
|
16
|
+
eTEZMBcGCgmSJomT8ixkARkWCWJpdGNldGVyYTETMBEGCgmSJomT8ixkARkWA2Nv
|
17
|
+
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL4k2DCa8/eAFiak4Kwe
|
18
|
+
0Iu8dk0JfHWeywjVVSNv6PtnQ96B/1jLmw5Wb+xYJSyvG6KEOzEMWA/lqO+nIrdO
|
19
|
+
2LDRxuWojH5GROp/dtQ+SxsWlvui4cs9iBmI5Mj0mc1UgST3UFf60ry8OnyR+E9N
|
20
|
+
RVVZZykAGmxwyAqD1aq5Yt0lZMdvrGnaLWcZdKC99e812pdTN948k8Iw2GJAaNtH
|
21
|
+
Tp17XDfDNBANHjYy9xCqrxvNTfT4Bs43rPA1A77+mkPgI2Vx51u2CWA+K3hP4gAZ
|
22
|
+
F50xqnagzgXSOzCme1mC/sUUmoAAB39g2CuNocWuhv0R3/HeqdwAsA/1XpDF2NfQ
|
23
|
+
zW8CAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFDfY
|
24
|
+
gRWUI+J6nX7Po7Zq0zvDopfYMB0GA1UdEQQWMBSBEnJ1YnlAYml0Y2V0ZXJhLmNv
|
25
|
+
bTAdBgNVHRIEFjAUgRJydWJ5QGJpdGNldGVyYS5jb20wDQYJKoZIhvcNAQEFBQAD
|
26
|
+
ggEBAFsTSBbxIkTdppL8yFl0KglyUMq9DjkMwvz7ORJzHMfw1S2OmXMYnJ5fSXFu
|
27
|
+
C/9puwYMdD6V3THyqc1Rhj6RRZ/576MDwIXMgOETQfPTT6jNE+p4cRougDrQ32aV
|
28
|
+
29WIAY21/o0FBuJZqxLDRTu6O7AHrjFnv7Kkpr1oYiR9G4MNEihyNt909nHnSixC
|
29
|
+
qn5dLDjawWVvAz5oeD1sE0Kyp6CDY8i3NfBu4aqz8uAbaEJh3jpY5NW2Lv++s7hf
|
30
|
+
EUqN8dad5Oosf9hYbfFXPzkJIIGiKMS4e1cbnAr/vadELoccfEN9tSlLuW/voNqA
|
31
|
+
2635TmaVXxUEgIOzRhGlE1+frXI=
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
34
|
dependencies:
|
13
35
|
- !ruby/object:Gem::Dependency
|
14
36
|
name: sys-uname
|
@@ -39,7 +61,7 @@ dependencies:
|
|
39
61
|
- !ruby/object:Gem::Version
|
40
62
|
version: '0'
|
41
63
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
64
|
+
name: minitest
|
43
65
|
requirement: !ruby/object:Gem::Requirement
|
44
66
|
requirements:
|
45
67
|
- - ">="
|
@@ -53,7 +75,7 @@ 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
|
- - ">="
|
@@ -66,46 +88,53 @@ dependencies:
|
|
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
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
- Gemfile
|
84
|
-
- Gemfile.lock
|
85
|
-
- LICENSE
|
86
|
-
- PostInstall.txt
|
87
|
-
- README.rdoc
|
88
|
-
- Rakefile
|
89
|
-
- autotest-fsevent.gemspec
|
107
|
+
- CHANGELOG.md
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.md
|
90
110
|
- ext/fsevent/extconf.rb
|
91
111
|
- ext/fsevent/fsevent_sleep.c
|
92
112
|
- lib/autotest-fsevent.rb
|
93
113
|
- lib/autotest-fsevent/version.rb
|
94
114
|
- lib/autotest/fsevent.rb
|
95
|
-
-
|
96
|
-
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
metadata:
|
115
|
+
- post-install.txt
|
116
|
+
- prebuilt/fsevent_sleep
|
117
|
+
homepage: https://github.com/svoop/autotest-fsevent
|
118
|
+
licenses:
|
119
|
+
- MIT
|
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
|
101
126
|
post_install_message: "\e[1;32m\n-------------------------------------------------------------------------------\n\nIn
|
102
127
|
order to use autotest-fsevent, install either the comprehensive ZenTest\ngem or
|
103
128
|
the lightweight autotest-standalone gem and then add the following\nline to your
|
104
|
-
~/.autotest file:\n\nrequire 'autotest/fsevent'\n\
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
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"
|
109
138
|
require_paths:
|
110
139
|
- lib
|
111
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -119,11 +148,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
148
|
- !ruby/object:Gem::Version
|
120
149
|
version: '0'
|
121
150
|
requirements: []
|
122
|
-
|
123
|
-
|
124
|
-
signing_key:
|
151
|
+
rubygems_version: 3.2.7
|
152
|
+
signing_key:
|
125
153
|
specification_version: 4
|
126
|
-
summary: Use FSEvent
|
127
|
-
test_files:
|
128
|
-
- spec/autotest-fsevent_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.4.2
|
data/CHANGELOG.txt
DELETED
@@ -1,101 +0,0 @@
|
|
1
|
-
== 0.2.13 2017-10-16
|
2
|
-
|
3
|
-
* 1 minor improvement
|
4
|
-
* Add support for macOS 10.13 High Sierra
|
5
|
-
|
6
|
-
== 0.2.12 2016-09-26
|
7
|
-
|
8
|
-
* 1 minor improvement
|
9
|
-
* Add support for macOS 10.12 Sierra
|
10
|
-
|
11
|
-
== 0.2.11 2015-10-05
|
12
|
-
|
13
|
-
* 1 minor improvement
|
14
|
-
* Add support for macOS 10.11 El Capitan
|
15
|
-
|
16
|
-
== 0.2.10 2014-10-23
|
17
|
-
|
18
|
-
* 1 minor improvement
|
19
|
-
* Add support for macOS 10.10 Yosemite
|
20
|
-
|
21
|
-
== 0.2.9 2013-06-11
|
22
|
-
|
23
|
-
* 1 minor improvement
|
24
|
-
* Add support for macOS 10.9 Mavericks.
|
25
|
-
|
26
|
-
== 0.2.8 2012-02-21
|
27
|
-
|
28
|
-
* 2 major improvements
|
29
|
-
* Add compatiblity with Xcode 4.3 (Pavel Forkert)
|
30
|
-
* Do nothing if installed on non-Darwin OS
|
31
|
-
|
32
|
-
== 0.2.7 2011-11-02
|
33
|
-
|
34
|
-
* 1 minor improvement
|
35
|
-
* Use File.exists? which is both Ruby 1.8 and 1.9
|
36
|
-
|
37
|
-
== 0.2.6 2011-11-02
|
38
|
-
|
39
|
-
* 1 minor improvement
|
40
|
-
* Add FSEVENT_SLEEP environment variable for prebuilt binaries
|
41
|
-
|
42
|
-
== 0.2.5 2011-03-02
|
43
|
-
|
44
|
-
* 1 minor improvement
|
45
|
-
* Don't reset GEMPATH if already set (Robert Lowe)
|
46
|
-
|
47
|
-
== 0.2.4 2010-12-02
|
48
|
-
|
49
|
-
* 2 minor improvements
|
50
|
-
* Update README due to autotest naming disagreement
|
51
|
-
* Switch from Jeweler to Bundler for development
|
52
|
-
|
53
|
-
== 0.2.3 2010-09-02
|
54
|
-
|
55
|
-
* 2 minor improvements
|
56
|
-
* Remove dependency on autotest
|
57
|
-
* Loosen dependency on rspec
|
58
|
-
|
59
|
-
== 0.2.2 2010-03-10
|
60
|
-
|
61
|
-
* 1 major improvement
|
62
|
-
* Build binary at install time (inspired by Michael Hale)
|
63
|
-
|
64
|
-
== 0.2.1 2010-02-08
|
65
|
-
|
66
|
-
* 2 minor improvements
|
67
|
-
* Remove wait_for_changes before redefining it
|
68
|
-
* Add dependency for sys-uname (Cyril Mougel)
|
69
|
-
|
70
|
-
== 0.2.0 2010-02-03
|
71
|
-
|
72
|
-
* 2 major improvements
|
73
|
-
* Change dependency from "ZenTest" to lightweight "autotest"
|
74
|
-
* Move waiting hook outside the loop (Sean DeNigris)
|
75
|
-
|
76
|
-
== 0.1.3 2009-10-12
|
77
|
-
|
78
|
-
* 1 major improvement
|
79
|
-
* 64bit kernel compatibility workaround
|
80
|
-
* 1 minor improvement
|
81
|
-
* Update README for development to reflect changes at Github
|
82
|
-
|
83
|
-
== 0.1.2 2009-10-04
|
84
|
-
|
85
|
-
* 1 major improvement
|
86
|
-
* Compatibility with macOS 10.6
|
87
|
-
* 3 minor improvements
|
88
|
-
* Reset the postinstall text color to previous
|
89
|
-
* Prepare for multi-platform extension
|
90
|
-
* Patch wait_for_changes to prevent fallback to polling (Darrick Wiebe)
|
91
|
-
|
92
|
-
== 0.1.1 2009-06-02
|
93
|
-
|
94
|
-
* 1 major improvement
|
95
|
-
* Check platform with sys-uname instead of RUBY_PLATFORM
|
96
|
-
|
97
|
-
== 0.1.0 2009-05-28
|
98
|
-
|
99
|
-
* Initial release
|
100
|
-
* FSEvent instead of filesystem polling on macOS 10.5 or higher
|
101
|
-
* Formerly part of autotest-mac which is now deprecated
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
autotest-fsevent (0.2.13)
|
5
|
-
sys-uname
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
ZenTest (4.11.1)
|
11
|
-
diff-lcs (1.3)
|
12
|
-
ffi (1.9.18)
|
13
|
-
rake (12.1.0)
|
14
|
-
rspec (3.6.0)
|
15
|
-
rspec-core (~> 3.6.0)
|
16
|
-
rspec-expectations (~> 3.6.0)
|
17
|
-
rspec-mocks (~> 3.6.0)
|
18
|
-
rspec-core (3.6.0)
|
19
|
-
rspec-support (~> 3.6.0)
|
20
|
-
rspec-expectations (3.6.0)
|
21
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
-
rspec-support (~> 3.6.0)
|
23
|
-
rspec-mocks (3.6.0)
|
24
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
-
rspec-support (~> 3.6.0)
|
26
|
-
rspec-support (3.6.0)
|
27
|
-
sys-uname (1.0.3)
|
28
|
-
ffi (>= 1.0.0)
|
29
|
-
|
30
|
-
PLATFORMS
|
31
|
-
ruby
|
32
|
-
|
33
|
-
DEPENDENCIES
|
34
|
-
ZenTest
|
35
|
-
autotest-fsevent!
|
36
|
-
rake
|
37
|
-
rspec
|
38
|
-
|
39
|
-
BUNDLED WITH
|
40
|
-
1.15.4
|
data/PostInstall.txt
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
In order to use autotest-fsevent, install either the comprehensive ZenTest
|
2
|
-
gem or the lightweight autotest-standalone gem and then add the following
|
3
|
-
line to your ~/.autotest file:
|
4
|
-
|
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
|
data/README.rdoc
DELETED
@@ -1,152 +0,0 @@
|
|
1
|
-
= Autotest FSEvent
|
2
|
-
|
3
|
-
* Author: Sven Schwyn (http://www.bitcetera.com)
|
4
|
-
* Homepage: http://www.bitcetera.com/products/autotest-fsevent
|
5
|
-
* Issues and forum: https://forge.bitcetera.com/projects/show/autotest-fsevent
|
6
|
-
|
7
|
-
== DESCRIPTION:
|
8
|
-
|
9
|
-
Autotest relies on filesystem polling to detect modifications in source code
|
10
|
-
files. In other words: The filesytem is constantly being traversed which causes
|
11
|
-
quite some load on both the CPU and the harddrive. This is not healthy for your
|
12
|
-
Mac and if you are working on a portable computer, it will drain your battery.
|
13
|
-
Apple has introduces FSEvent with Mac OS X 10.5 which is a very efficient way
|
14
|
-
to have the operating system monitor file alterations. This gem teaches autotest
|
15
|
-
to use FSEvent and therefore be nice to your Mac.
|
16
|
-
|
17
|
-
Unlike other test runners for the Mac, autotest-mac does not replace but
|
18
|
-
extend autotest and does *not* require RubyCocoa to be installed.
|
19
|
-
|
20
|
-
If you are on Linux, you should take a look at the autotest-inotify gem instead:
|
21
|
-
|
22
|
-
http://github.com/ewollesen/autotest-inotify
|
23
|
-
|
24
|
-
== REQUIREMENTS:
|
25
|
-
|
26
|
-
* Mac OS X >= 10.5
|
27
|
-
* Xcode
|
28
|
-
* any ZenTest compatible test suite
|
29
|
-
* sys-uname
|
30
|
-
|
31
|
-
== INSTALL:
|
32
|
-
|
33
|
-
In order to compile the fsevent binary at install time, Xcode (Mac OS X
|
34
|
-
Development Suite) must be installed. You can download it for free from:
|
35
|
-
|
36
|
-
http://developer.apple.com
|
37
|
-
|
38
|
-
Furthermore, you have to decide whether you want to use the comprehensive
|
39
|
-
ZenTest gem or the lightweight autotest-standalone gem and install either
|
40
|
-
of them. (See "Autotest" below for more on this.)
|
41
|
-
|
42
|
-
gem install ZenTest --OR--
|
43
|
-
gem install autotest-standalone
|
44
|
-
|
45
|
-
Now install the gem:
|
46
|
-
|
47
|
-
gem install autotest-fsevent
|
48
|
-
|
49
|
-
Then add the following line *after all other requires* in your ~/.autotest
|
50
|
-
file:
|
51
|
-
|
52
|
-
require 'autotest/fsevent'
|
53
|
-
|
54
|
-
If you like this gem, please consider to recommend me on Working with
|
55
|
-
Rails, thank you!
|
56
|
-
|
57
|
-
http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn
|
58
|
-
|
59
|
-
== AUTOTEST:
|
60
|
-
|
61
|
-
You can use any ZenTest-compatible test suite with this gem, which basically
|
62
|
-
boils down to either of the following two sets of gems.
|
63
|
-
|
64
|
-
Comprehensive test suite by Ryan Davis:
|
65
|
-
* ZenTest
|
66
|
-
* autotest-rails (for Ruby on Rails compatibility)
|
67
|
-
|
68
|
-
Lightweight test suite by Michael Grosser:
|
69
|
-
* autotest-standalone
|
70
|
-
* autotest-rails-pure (for Ruby on Rails compatibility)
|
71
|
-
* zentest-without-autotest (for full ZenTest compatibility)
|
72
|
-
|
73
|
-
Note: Due to a naming disagreement, starting from version 4.4.6 the autotest
|
74
|
-
gem is no longer a lightweight fork but only an empty gem which requires
|
75
|
-
ZenTest. Switch to the autotest-standalone gem if you want to stick with the
|
76
|
-
lightweight approach.
|
77
|
-
|
78
|
-
== TROUBLESHOOTING:
|
79
|
-
|
80
|
-
=== Autotest Binary Not Present
|
81
|
-
|
82
|
-
Make sure you have either the ZenTest gem or the autotest-standalone gem
|
83
|
-
installed. This dependency has been dropped as of autotest-fsevent-0.2.3 in
|
84
|
-
order to allow any compatible test suite.
|
85
|
-
|
86
|
-
=== Compilation of fsevent_sleep Failed
|
87
|
-
|
88
|
-
Make sure you have Xcode (Mac OS X Development Suite) installed. You can
|
89
|
-
download it for free from:
|
90
|
-
|
91
|
-
http://developer.apple.com
|
92
|
-
|
93
|
-
If you don't want to install Xcode, download and use a prebuilt fsevent_sleep
|
94
|
-
from https://github.com/svoop/autotest-fsevent/tree/master/prebuilt, make the
|
95
|
-
downloaded binary executable and install the gem as follows:
|
96
|
-
|
97
|
-
FSEVENT_SLEEP="/absolute/path/to/fsevent_sleep" gem install autotest-fsevent
|
98
|
-
|
99
|
-
== DEVELOPMENT:
|
100
|
-
|
101
|
-
You can install the bleeding edge version as follows:
|
102
|
-
|
103
|
-
git clone git://github.com/svoop/autotest-fsevent.git
|
104
|
-
cd autotest-fsevent
|
105
|
-
bundle install
|
106
|
-
rake build
|
107
|
-
rake install
|
108
|
-
|
109
|
-
Please submit issues on:
|
110
|
-
|
111
|
-
https://forge.bitcetera.com/projects/show/autotest-fsevent
|
112
|
-
|
113
|
-
To contribute code, fork the project on Github, add your code and submit a
|
114
|
-
pull request:
|
115
|
-
|
116
|
-
http://github.com/guides/fork-a-project-and-submit-your-modifications
|
117
|
-
|
118
|
-
== CONTRIBUTIONS:
|
119
|
-
|
120
|
-
Thanks to the following folks who have contributed to this project:
|
121
|
-
|
122
|
-
* Harry Vangberg
|
123
|
-
* Darrick Wiebe
|
124
|
-
* Sean DeNigris
|
125
|
-
* Cyril Mougel
|
126
|
-
* Robert Lowe
|
127
|
-
* Pavel Forkert
|
128
|
-
|
129
|
-
== LICENSE:
|
130
|
-
|
131
|
-
(The MIT License)
|
132
|
-
|
133
|
-
Copyright (c) 2010 Sven Schwyn
|
134
|
-
|
135
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
136
|
-
a copy of this software and associated documentation files (the
|
137
|
-
'Software'), to deal in the Software without restriction, including
|
138
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
139
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
140
|
-
permit persons to whom the Software is furnished to do so, subject to
|
141
|
-
the following conditions:
|
142
|
-
|
143
|
-
The above copyright notice and this permission notice shall be
|
144
|
-
included in all copies or substantial portions of the Software.
|
145
|
-
|
146
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
147
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
148
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
149
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
150
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
151
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
152
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
DELETED
data/autotest-fsevent.gemspec
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "autotest-fsevent/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "autotest-fsevent"
|
7
|
-
s.version = Autotest::FSEvent::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Sven Schwyn"]
|
10
|
-
s.email = ["ruby@bitcetera.com"]
|
11
|
-
s.homepage = "http://www.bitcetera.com/products/autotest-fsevent"
|
12
|
-
s.summary = %q{Use FSEvent (on Mac OS X 10.5 or higher) instead of filesystem polling.}
|
13
|
-
s.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.}
|
14
|
-
|
15
|
-
s.rubyforge_project = "autotest-fsevent"
|
16
|
-
|
17
|
-
s.files = `git ls-files`.split("\n")
|
18
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
-
s.require_paths = ["lib"]
|
21
|
-
|
22
|
-
s.post_install_message = "\e[1;32m\n" + ('-' * 79) + "\n\n" + File.read('PostInstall.txt').strip + "\n\n" + ('-' * 79) + "\n\e[0m"
|
23
|
-
s.extensions = ["ext/fsevent/extconf.rb"]
|
24
|
-
s.add_dependency "sys-uname"
|
25
|
-
s.add_development_dependency "rake"
|
26
|
-
s.add_development_dependency "rspec"
|
27
|
-
s.add_development_dependency "ZenTest"
|
28
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|