autotest-fsevent 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -1
- data/README.rdoc +4 -7
- data/autotest-fsevent.gemspec +2 -2
- data/lib/autotest-fsevent.rb +1 -1
- data/lib/autotest/fsevent.rb +2 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
+
== 0.1.3 2009-10-12
|
2
|
+
|
3
|
+
* 1 major improvement
|
4
|
+
* 64bit kernel compatibility workaround
|
5
|
+
* 1 minor improvement
|
6
|
+
* Update README for development to reflect changes at Github
|
7
|
+
|
1
8
|
== 0.1.2 2009-10-04
|
2
9
|
|
3
10
|
* 1 major improvement
|
4
11
|
* Compatibility with Mac OS X 10.6
|
5
|
-
* 3 minor
|
12
|
+
* 3 minor improvements
|
6
13
|
* Reset the postinstall text color to previous
|
7
14
|
* Prepare for multi-platform extension
|
8
15
|
* Patch wait_for_changes to prevent fallback to polling (Darrick Wiebe)
|
data/README.rdoc
CHANGED
@@ -38,13 +38,10 @@ file:
|
|
38
38
|
|
39
39
|
You can install the bleeding edge version as follows:
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
0.1.5.8) to make sure Github builds the gem whenever new code is committed.
|
46
|
-
If there is no fourth version digit group, the edge version is identical
|
47
|
-
to the stable version from Rubyforge.
|
41
|
+
git clone git://github.com/svoop/autotest-fsevent.git
|
42
|
+
cd autotest-fsevent
|
43
|
+
rake gem
|
44
|
+
rake install_gem
|
48
45
|
|
49
46
|
Please submit issues on:
|
50
47
|
|
data/autotest-fsevent.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{autotest-fsevent}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Sven Schwyn"]
|
9
|
-
s.date = %q{2009-10-
|
9
|
+
s.date = %q{2009-10-12}
|
10
10
|
s.description = %q{ZenTest's 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 purpose. This gem teaches autotest how to use FSEvent.}
|
11
11
|
s.email = ["ruby@bitcetera.com"]
|
12
12
|
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt"]
|
data/lib/autotest-fsevent.rb
CHANGED
data/lib/autotest/fsevent.rb
CHANGED
@@ -21,7 +21,8 @@ module Autotest::FSEvent
|
|
21
21
|
# Use FSEvent if possible
|
22
22
|
Autotest.add_hook :waiting do
|
23
23
|
if (Uname.sysname == 'Darwin' && Uname.release.to_i >= 9) || %w(Linux).include?(Uname.sysname)
|
24
|
-
|
24
|
+
# `#{File.join(GEM_PATH, 'fsevent', Uname.sysname.downcase, 'fsevent_sleep')} '#{Dir.pwd}' 2>&1`
|
25
|
+
`cd '#{Dir.pwd}'; #{File.join(GEM_PATH, 'fsevent', Uname.sysname.downcase, 'fsevent_sleep')} . 2>&1`
|
25
26
|
else
|
26
27
|
puts
|
27
28
|
puts "autotest-fsevent: platform #{Uname.sysname} #{Uname.release} is not supported"
|
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schwyn
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-12 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|