autotest-fsevent 0.2.14 → 0.2.15

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: e245609e2a4dabc532f3af0bc4dae338b0b568651de1c05a4e2a552ff1d83b7e
4
- data.tar.gz: 184f4e36d0be8d96943e19d14bf6ccb401fcf84bbdae3d9313c655615a46fbcf
3
+ metadata.gz: 458cd8a0123809b425c4144952cbf3bc16d7d335a4c368a4809f2004918141ac
4
+ data.tar.gz: 6b0fdd99a56b360238f7cc372dc7a60c3d8ec723b41f5c80d1816840b40ab440
5
5
  SHA512:
6
- metadata.gz: 0d55cd15c788e55838c7089baf57006eda2506d59d693e7c306dd3de894f0d24e46075a9b7a98caa3288eb03361d1bd5d1bb3d80860d57e1b328c4fcb97806e1
7
- data.tar.gz: be5affb2b9428b8d14a59c0335639e20ca99c13234bb05f17366f50bbd4c943d40c952939d4d83923c632a18992f95d83c794f5827bb4818d117f17a604ad29e
6
+ metadata.gz: 2a5cafcd0c13a0a3622156e892dbb56723d054ea0ab075730fdaed4d0f5ffbb18892ddcc025a5498721ffad97cdeb971667dcff296070d1f675d1908b73a230d
7
+ data.tar.gz: 55dd98ae8003e08ebc6d819b9dc3fc6da4c3976b62ba04cd42d732cc43df778090a5f95c015ee0a1ea3f0c52853e3394ef3839eed7bcd2f692a9ba968a9ff425
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.5.1
1
+ ruby-2.6.5
data/CHANGELOG.md ADDED
@@ -0,0 +1,115 @@
1
+ ## 0.2.15
2
+
3
+ #### Additions
4
+ * Support for macOS 10.15 Catalina
5
+
6
+ #### Changes
7
+ * Drop RSpec in favor of minitest
8
+ * Rewrite README, CHANGELOG etc
9
+
10
+ ## 0.2.14
11
+
12
+ #### Additions
13
+ * Support for macOS 10.14 Mojave
14
+
15
+ ## 0.2.13
16
+
17
+ #### Additions
18
+ * Support for macOS 10.13 High Sierra
19
+
20
+ ## 0.2.12
21
+
22
+ #### Additions
23
+ * Support for macOS 10.12 Sierra
24
+
25
+ ## 0.2.11
26
+
27
+ #### Additions
28
+ * Support for macOS 10.11 El Capitan
29
+
30
+ ## 0.2.10
31
+
32
+ #### Additions
33
+ * Support for macOS 10.10 Yosemite
34
+
35
+ ## 0.2.9
36
+
37
+ #### Additions
38
+ * Support for macOS 10.9 Mavericks
39
+
40
+ ## 0.2.8
41
+
42
+ #### Changes
43
+ * Compatiblity with Xcode 4.3 (Pavel Forkert)
44
+ * Do nothing if installed on non-Darwin OS
45
+
46
+ ## 0.2.7
47
+
48
+ #### Changes
49
+ * Use `File.exists?` which is both Ruby 1.8 and 1.9
50
+
51
+ ## 0.2.6
52
+
53
+ #### Additions
54
+ * Add FSEVENT_SLEEP environment variable for prebuilt binaries
55
+
56
+ ## 0.2.5
57
+
58
+ #### Changes
59
+ * Don't reset GEMPATH if already set (Robert Lowe)
60
+
61
+ ## 0.2.4
62
+
63
+ #### Changes
64
+ * Update README due to autotest naming disagreement
65
+ * Switch from Jeweler to Bundler for development
66
+
67
+ ## 0.2.3
68
+
69
+ #### Changes
70
+ * Remove dependency on autotest
71
+ * Loosen dependency on rspec
72
+
73
+ ## 0.2.2
74
+
75
+ #### Additions
76
+ * Build binary at install time (inspired by Michael Hale)
77
+
78
+ ## 0.2.1
79
+
80
+ #### Changes
81
+ * Remove wait_for_changes before redefining it
82
+ * Add dependency for sys-uname (Cyril Mougel)
83
+
84
+ ## 0.2.0
85
+
86
+ #### Changes
87
+ * Change dependency from "ZenTest" to lightweight "autotest"
88
+ * Move waiting hook outside the loop (Sean DeNigris)
89
+
90
+ ## 0.1.3
91
+
92
+ #### Changes
93
+ * 64bit kernel compatibility workaround
94
+ * Update README for development to reflect changes at Github
95
+
96
+ ## 0.1.2
97
+
98
+ #### Additions
99
+ * Support for macOS 10.6 Snow Leopard
100
+
101
+ #### Changes
102
+ * Reset the postinstall text color to previous
103
+ * Prepare for multi-platform extension
104
+ * Patch wait_for_changes to prevent fallback to polling (Darrick Wiebe)
105
+
106
+ ## 0.1.1
107
+
108
+ #### Changes
109
+ * Check platform with sys-uname instead of RUBY_PLATFORM
110
+
111
+ ## 0.1.0
112
+
113
+ #### Initial Implementation
114
+ * FSEvent instead of filesystem polling on macOS 10.5 Leopard or higher
115
+ * Formerly part of autotest-mac which is now deprecated
@@ -1,5 +1,7 @@
1
1
  Copyright (c) 2009 Sven Schwyn
2
2
 
3
+ MIT License
4
+
3
5
  Permission is hereby granted, free of charge, to any person obtaining
4
6
  a copy of this software and associated documentation files (the
5
7
  "Software"), to deal in the Software without restriction, including
data/README.md ADDED
@@ -0,0 +1,80 @@
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
7
+ 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.
8
+ Apple has introduces 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
9
+ to use FSEvent and therefore be nice to your Mac.
10
+
11
+ * [Homepage](https://github.com/svoop/autotest-fsevent)
12
+ * Author: [Sven Schwyn - Bitcetera](http://www.bitcetera.com)
13
+
14
+ ## Install
15
+
16
+ In order to compile the fsevent binary at install time, Xcode (Mac OS X
17
+ Development Suite) must be installed. You can download it for free from:
18
+
19
+ https://developer.apple.com
20
+
21
+ You can use any ZenTest-compatible test suite with this gem such as:
22
+
23
+ * [minitest-autotest](https://rubygems.org/gems/minitest-autotest)
24
+ * [Zentest](https://rubygems.org/gems/ZenTest)
25
+ * [autotest-standalone](https://rubygems.org/gems/autotest-standalone)
26
+
27
+ Add this to your `Gemfile` or `gems.rb`:
28
+
29
+ ```ruby
30
+ gem autotest-fsevent, group: :development
31
+ ```
32
+
33
+ Then add the following line *after all other requires* in your `~/.autotest`
34
+ file:
35
+
36
+ ```
37
+ require 'autotest/fsevent'
38
+ ```
39
+
40
+ ## Troubleshooting
41
+
42
+ ### Autotest Binary Not Present
43
+
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.
47
+
48
+ ### Compilation of fsevent_sleep Failed
49
+
50
+ Make sure you have Xcode (Mac OS X Development Suite) installed. You can
51
+ download it for free from:
52
+
53
+ https://developer.apple.com
54
+
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:
57
+
58
+ ```
59
+ FSEVENT_SLEEP="/absolute/path/to/fsevent_sleep" gem install autotest-fsevent
60
+ ```
61
+
62
+ ## Development
63
+
64
+ To install the development dependencies:
65
+
66
+ ```
67
+ bundle install
68
+ ```
69
+
70
+ Please submit issues on:
71
+
72
+ https://github.com/svoop/autotest-fsevent/issues
73
+
74
+ To contribute code, fork the project on Github, add your code and submit a pull request:
75
+
76
+ https://help.github.com/articles/fork-a-repo
77
+
78
+ ## License
79
+
80
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -1,28 +1,30 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "autotest-fsevent/version"
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'
4
5
 
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.}
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'
14
15
 
15
- s.rubyforge_project = "autotest-fsevent"
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']
16
20
 
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
+ spec.post_install_message = "\e[1;32m\n" + ('-' * 79) + "\n\n" + File.read('post-install.txt').strip + "\n\n" + ('-' * 79) + "\n\e[0m"
21
22
 
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"
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'
28
30
  end
@@ -19,7 +19,7 @@ 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', 18 => '10.14' }[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'}[DARWIN_VERSION]
23
23
 
24
24
  raise "Darwin #{DARWIN_VERSION} is not (yet) supported" unless SDK_VERSION
25
25
 
data/gems.locked ADDED
@@ -0,0 +1,32 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ autotest-fsevent (0.2.15)
5
+ sys-uname
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ ffi (1.11.1)
11
+ minitest (5.12.2)
12
+ minitest-autotest (1.1.1)
13
+ minitest-server (~> 1.0)
14
+ path_expander (~> 1.0)
15
+ minitest-server (1.0.5)
16
+ minitest (~> 5.0)
17
+ path_expander (1.1.0)
18
+ rake (13.0.0)
19
+ sys-uname (1.1.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.0.2
File without changes
@@ -1,5 +1,5 @@
1
1
  class Autotest
2
2
  module FSEvent
3
- VERSION = "0.2.14"
3
+ VERSION = "0.2.15"
4
4
  end
5
5
  end
File without changes
File without changes
data/rakefile.rb ADDED
@@ -0,0 +1,12 @@
1
+ require 'bundler/gem_tasks'
2
+
3
+ require 'rake/testtask'
4
+
5
+ Rake::TestTask.new do |t|
6
+ t.libs << 'lib'
7
+ t.test_files = FileList['spec/lib/**/*_spec.rb']
8
+ t.verbose = false
9
+ t.warning = true
10
+ end
11
+
12
+ task default: :test
@@ -0,0 +1,7 @@
1
+ require_relative '../../spec_helper'
2
+
3
+ describe Autotest::FSEvent do
4
+ it "must be defined" do
5
+ _(Autotest::FSEvent::VERSION).wont_be_nil
6
+ end
7
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,8 +1,6 @@
1
- $LOAD_PATH.unshift(File.dirname(__FILE__))
2
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
- require 'autotest/fsevent'
4
- require 'rspec'
5
- require 'rspec/autorun'
1
+ gem 'minitest'
6
2
 
7
- RSpec.configure do |config|
8
- end
3
+ require 'pathname'
4
+
5
+ require 'minitest/autorun'
6
+ require Pathname(__dir__).join('..', 'lib', 'autotest-fsevent')
metadata CHANGED
@@ -1,23 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotest-fsevent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-02 00:00:00.000000000 Z
11
+ date: 2019-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sys-uname
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
- type: :runtime
20
+ type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: minitest-autotest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,13 +53,13 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: ZenTest
56
+ name: sys-uname
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
- type: :development
62
+ type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
@@ -79,24 +79,25 @@ extra_rdoc_files: []
79
79
  files:
80
80
  - ".gitignore"
81
81
  - ".ruby-version"
82
- - CHANGELOG.txt
83
- - Gemfile
84
- - Gemfile.lock
85
- - LICENSE
86
- - PostInstall.txt
87
- - README.rdoc
88
- - Rakefile
82
+ - CHANGELOG.md
83
+ - LICENSE.txt
84
+ - README.md
89
85
  - autotest-fsevent.gemspec
90
86
  - ext/fsevent/extconf.rb
91
87
  - ext/fsevent/fsevent_sleep.c
88
+ - gems.locked
89
+ - gems.rb
92
90
  - lib/autotest-fsevent.rb
93
91
  - lib/autotest-fsevent/version.rb
94
92
  - lib/autotest/fsevent.rb
95
- - prebuilt/10.7/fsevent_sleep
96
- - spec/autotest-fsevent_spec.rb
93
+ - post-install.txt
94
+ - prebuilt/fsevent_sleep
95
+ - rakefile.rb
96
+ - spec/lib/autotest-fsevent/version_spec.rb
97
97
  - spec/spec_helper.rb
98
- homepage: http://www.bitcetera.com/products/autotest-fsevent
99
- licenses: []
98
+ homepage: https://github.com/svoop/autotest-fsevent
99
+ licenses:
100
+ - MIT
100
101
  metadata: {}
101
102
  post_install_message: "\e[1;32m\n-------------------------------------------------------------------------------\n\nIn
102
103
  order to use autotest-fsevent, install either the comprehensive ZenTest\ngem or
@@ -119,11 +120,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
120
  - !ruby/object:Gem::Version
120
121
  version: '0'
121
122
  requirements: []
122
- rubyforge_project: autotest-fsevent
123
- rubygems_version: 2.7.6
123
+ rubygems_version: 3.0.6
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Use FSEvent (on Mac OS X 10.5 or higher) instead of filesystem polling.
127
127
  test_files:
128
- - spec/autotest-fsevent_spec.rb
128
+ - spec/lib/autotest-fsevent/version_spec.rb
129
129
  - spec/spec_helper.rb
data/CHANGELOG.txt DELETED
@@ -1,106 +0,0 @@
1
- == 0.2.14 2018-10-02
2
-
3
- * 1 minor improvement
4
- * Add support for macOS 10.14 Mojave
5
-
6
- == 0.2.13 2017-10-16
7
-
8
- * 1 minor improvement
9
- * Add support for macOS 10.13 High Sierra
10
-
11
- == 0.2.12 2016-09-26
12
-
13
- * 1 minor improvement
14
- * Add support for macOS 10.12 Sierra
15
-
16
- == 0.2.11 2015-10-05
17
-
18
- * 1 minor improvement
19
- * Add support for macOS 10.11 El Capitan
20
-
21
- == 0.2.10 2014-10-23
22
-
23
- * 1 minor improvement
24
- * Add support for macOS 10.10 Yosemite
25
-
26
- == 0.2.9 2013-06-11
27
-
28
- * 1 minor improvement
29
- * Add support for macOS 10.9 Mavericks.
30
-
31
- == 0.2.8 2012-02-21
32
-
33
- * 2 major improvements
34
- * Add compatiblity with Xcode 4.3 (Pavel Forkert)
35
- * Do nothing if installed on non-Darwin OS
36
-
37
- == 0.2.7 2011-11-02
38
-
39
- * 1 minor improvement
40
- * Use File.exists? which is both Ruby 1.8 and 1.9
41
-
42
- == 0.2.6 2011-11-02
43
-
44
- * 1 minor improvement
45
- * Add FSEVENT_SLEEP environment variable for prebuilt binaries
46
-
47
- == 0.2.5 2011-03-02
48
-
49
- * 1 minor improvement
50
- * Don't reset GEMPATH if already set (Robert Lowe)
51
-
52
- == 0.2.4 2010-12-02
53
-
54
- * 2 minor improvements
55
- * Update README due to autotest naming disagreement
56
- * Switch from Jeweler to Bundler for development
57
-
58
- == 0.2.3 2010-09-02
59
-
60
- * 2 minor improvements
61
- * Remove dependency on autotest
62
- * Loosen dependency on rspec
63
-
64
- == 0.2.2 2010-03-10
65
-
66
- * 1 major improvement
67
- * Build binary at install time (inspired by Michael Hale)
68
-
69
- == 0.2.1 2010-02-08
70
-
71
- * 2 minor improvements
72
- * Remove wait_for_changes before redefining it
73
- * Add dependency for sys-uname (Cyril Mougel)
74
-
75
- == 0.2.0 2010-02-03
76
-
77
- * 2 major improvements
78
- * Change dependency from "ZenTest" to lightweight "autotest"
79
- * Move waiting hook outside the loop (Sean DeNigris)
80
-
81
- == 0.1.3 2009-10-12
82
-
83
- * 1 major improvement
84
- * 64bit kernel compatibility workaround
85
- * 1 minor improvement
86
- * Update README for development to reflect changes at Github
87
-
88
- == 0.1.2 2009-10-04
89
-
90
- * 1 major improvement
91
- * Compatibility with macOS 10.6
92
- * 3 minor improvements
93
- * Reset the postinstall text color to previous
94
- * Prepare for multi-platform extension
95
- * Patch wait_for_changes to prevent fallback to polling (Darrick Wiebe)
96
-
97
- == 0.1.1 2009-06-02
98
-
99
- * 1 major improvement
100
- * Check platform with sys-uname instead of RUBY_PLATFORM
101
-
102
- == 0.1.0 2009-05-28
103
-
104
- * Initial release
105
- * FSEvent instead of filesystem polling on macOS 10.5 or higher
106
- * Formerly part of autotest-mac which is now deprecated
data/Gemfile.lock DELETED
@@ -1,40 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- autotest-fsevent (0.2.14)
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.25)
13
- rake (12.3.1)
14
- rspec (3.8.0)
15
- rspec-core (~> 3.8.0)
16
- rspec-expectations (~> 3.8.0)
17
- rspec-mocks (~> 3.8.0)
18
- rspec-core (3.8.0)
19
- rspec-support (~> 3.8.0)
20
- rspec-expectations (3.8.1)
21
- diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.8.0)
23
- rspec-mocks (3.8.0)
24
- diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.8.0)
26
- rspec-support (3.8.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.16.2
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
@@ -1,7 +0,0 @@
1
- require 'bundler'
2
- Bundler::GemHelper.install_tasks
3
-
4
- require 'rspec/core/rake_task'
5
- RSpec::Core::RakeTask.new do |t|
6
- t.rspec_opts = ["--color"]
7
- end
@@ -1 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')