autotest-fsevent 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ pkg/*
2
+ *.gem
3
+ .bundle
4
+ .DS_Store
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm ruby-1.9.2-p0@autotest-fsevent
@@ -1,3 +1,9 @@
1
+ == 0.2.4 2010-12-02
2
+
3
+ * 2 minor improvements
4
+ * Update README due to autotest naming disagreement
5
+ * Switch from Jeweler to Bundler for development
6
+
1
7
  == 0.2.3 2010-09-02
2
8
 
3
9
  * 2 minor improvements
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in autotest-fsevent.gemspec
4
+ gemspec
@@ -0,0 +1,31 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ autotest-fsevent (0.2.4)
5
+ sys-uname
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ ZenTest (4.4.1)
11
+ diff-lcs (1.1.2)
12
+ rake (0.8.7)
13
+ rspec (2.2.0)
14
+ rspec-core (~> 2.2)
15
+ rspec-expectations (~> 2.2)
16
+ rspec-mocks (~> 2.2)
17
+ rspec-core (2.2.1)
18
+ rspec-expectations (2.2.0)
19
+ diff-lcs (~> 1.1.2)
20
+ rspec-mocks (2.2.0)
21
+ sys-uname (0.8.4)
22
+
23
+ PLATFORMS
24
+ ruby
25
+
26
+ DEPENDENCIES
27
+ ZenTest
28
+ autotest-fsevent!
29
+ rake
30
+ rspec
31
+ sys-uname
@@ -0,0 +1,14 @@
1
+ In order to use autotest-fsevent, install either the comprehensive
2
+ ZenTest gem or the lightweight autotest-standalone gem and then add the
3
+ following 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
12
+ Rails, thank you!
13
+
14
+ http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn
@@ -25,8 +25,7 @@ http://github.com/ewollesen/autotest-inotify
25
25
 
26
26
  * Mac OS X >= 10.5
27
27
  * Xcode
28
- * either autotest (recommened) or ZenTest
29
- * rspec ~> 1.3
28
+ * any ZenTest compatible test suite
30
29
  * sys-uname
31
30
 
32
31
  == INSTALL:
@@ -36,12 +35,12 @@ Development Suite) must be installed. You can download it for free from:
36
35
 
37
36
  http://developer.apple.com
38
37
 
39
- Furthermore you have to decide whether you want to use the lightweight
40
- autotest gem (recommended) or the more comprehensive ZenTest gem and install
41
- either of them:
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.)
42
41
 
43
- sudo gem install autotest --OR--
44
- sudo gem install ZenTest
42
+ sudo gem install ZenTest --OR--
43
+ sudo gem install autotest-standalone
45
44
 
46
45
  Now install the gem:
47
46
 
@@ -57,27 +56,32 @@ Rails, thank you!
57
56
 
58
57
  http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn
59
58
 
60
- == UPDATE FROM 0.1.X
59
+ == AUTOTEST:
61
60
 
62
- As of version 0.2.X autotest-fsevent no longer requires the ZenTest gem but
63
- either ZenTest or it's lighter twin autotest (recommended). To update and
64
- switch do the following:
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.
65
63
 
66
- sudo gem uninstall ZenTest
67
- sudo gem update autotest-fsevent
64
+ Comprehensive test suite by Ryan Davis:
65
+ * ZenTest
66
+ * autotest-rails (for Ruby on Rails compatibility)
68
67
 
69
- To use autotest with Rails, install the autotest-rails-pure gem instead of
70
- the famous autotest-rails gem which requires ZenTest:
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)
71
72
 
72
- sudo gem uninstall autotest-rails
73
- sudo gem install autotest-rails-pure
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.
74
77
 
75
- And in case one day you need the more advanced features of ZenTest, install
76
- the zentest-without-autotest gem alongside autotest:
78
+ == TROUBLESHOOTING:
77
79
 
78
- sudo gem install zentest-without-autotest
80
+ === Autotest Binary Not Present
79
81
 
80
- == TROUBLESHOOTING:
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.
81
85
 
82
86
  === Compilation of fsevent_sleep Failed
83
87
 
@@ -86,11 +90,6 @@ download it for free from:
86
90
 
87
91
  http://developer.apple.com
88
92
 
89
- === Loading the Plugin Seems to Fail
90
-
91
- The reason may be ZenTest which must not be installed. See "Update from
92
- 0.1.X" for more on this.
93
-
94
93
  == DEVELOPMENT:
95
94
 
96
95
  You can install the bleeding edge version as follows:
@@ -0,0 +1,7 @@
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
@@ -0,0 +1,28 @@
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') + "\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
@@ -0,0 +1,4 @@
1
+ $:.unshift(File.dirname(__FILE__)) unless
2
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
+
4
+ require File.join(File.dirname(__FILE__), 'autotest', 'fsevent')
@@ -0,0 +1,5 @@
1
+ class Autotest
2
+ module FSEvent
3
+ VERSION = "0.2.4"
4
+ end
5
+ end
@@ -1,8 +1,8 @@
1
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
2
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
3
  require 'autotest/fsevent'
4
- require 'spec'
5
- require 'spec/autorun'
4
+ require 'rspec'
5
+ require 'rspec/autorun'
6
6
 
7
- Spec::Runner.configure do |config|
7
+ RSpec.configure do |config|
8
8
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotest-fsevent
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 2
9
- - 3
10
- version: 0.2.3
8
+ - 4
9
+ version: 0.2.4
11
10
  platform: ruby
12
11
  authors:
13
12
  - Sven Schwyn
@@ -15,73 +14,107 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-09-02 00:00:00 +02:00
17
+ date: 2010-12-02 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- name: rspec
21
+ name: sys-uname
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
25
  requirements:
27
- - - ~>
26
+ - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 9
30
28
  segments:
31
- - 1
32
- - 3
33
- version: "1.3"
34
- type: :development
29
+ - 0
30
+ version: "0"
31
+ type: :runtime
35
32
  version_requirements: *id001
36
33
  - !ruby/object:Gem::Dependency
37
- name: sys-uname
34
+ name: rake
38
35
  prerelease: false
39
36
  requirement: &id002 !ruby/object:Gem::Requirement
40
37
  none: false
41
38
  requirements:
42
39
  - - ">="
43
40
  - !ruby/object:Gem::Version
44
- hash: 3
45
41
  segments:
46
42
  - 0
47
43
  version: "0"
48
- type: :runtime
44
+ type: :development
49
45
  version_requirements: *id002
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ prerelease: false
49
+ requirement: &id003 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 0
56
+ version: "0"
57
+ type: :development
58
+ version_requirements: *id003
59
+ - !ruby/object:Gem::Dependency
60
+ name: ZenTest
61
+ prerelease: false
62
+ requirement: &id004 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
69
+ version: "0"
70
+ type: :development
71
+ version_requirements: *id004
50
72
  description: 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.
51
- email: ruby@bitcetera.com
73
+ email:
74
+ - ruby@bitcetera.com
52
75
  executables: []
53
76
 
54
77
  extensions:
55
78
  - ext/fsevent/extconf.rb
56
- extra_rdoc_files:
57
- - LICENSE
58
- - README.rdoc
79
+ extra_rdoc_files: []
80
+
59
81
  files:
82
+ - .gitignore
83
+ - .rvmrc
60
84
  - CHANGELOG.txt
61
- - ext/fsevent/fsevent_sleep.c
62
- - lib/autotest/fsevent.rb
85
+ - Gemfile
86
+ - Gemfile.lock
63
87
  - LICENSE
88
+ - PostInstall.txt
64
89
  - README.rdoc
90
+ - Rakefile
91
+ - autotest-fsevent.gemspec
92
+ - ext/fsevent/extconf.rb
93
+ - ext/fsevent/fsevent_sleep.c
94
+ - lib/autotest-fsevent.rb
95
+ - lib/autotest-fsevent/version.rb
96
+ - lib/autotest/fsevent.rb
65
97
  - spec/autotest-fsevent_spec.rb
66
98
  - spec/spec_helper.rb
67
- - ext/fsevent/extconf.rb
68
99
  has_rdoc: true
69
100
  homepage: http://www.bitcetera.com/products/autotest-fsevent
70
101
  licenses: []
71
102
 
72
- post_install_message: "\n\
73
- \e[1;32mIn order to use autotest-fsevent, install either the autotest gem\n\
74
- (recommended) or the ZenTest gem and then add the following line to \n\
75
- your ~/.autotest file:\n\n\
103
+ post_install_message: "\e[1;32m\n\
104
+ -------------------------------------------------------------------------------\n\n\
105
+ In order to use autotest-fsevent, install either the comprehensive \n\
106
+ ZenTest gem or the lightweight autotest-standalone gem and then add the \n\
107
+ following line to your ~/.autotest file:\n\n\
76
108
  require 'autotest/fsevent'\n\n\
77
109
  For more information, feedback and bug submissions, please visit:\n\n\
78
110
  http://www.bitcetera.com/products/autotest-fsevent\n\n\
79
111
  If you like this gem, please consider to recommend me on Working with\n\
80
112
  Rails, thank you!\n\n\
81
- http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn\n\
82
- \e[0m\n"
83
- rdoc_options:
84
- - --charset=UTF-8
113
+ http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn\n\n\
114
+ -------------------------------------------------------------------------------\n\
115
+ \e[0m"
116
+ rdoc_options: []
117
+
85
118
  require_paths:
86
119
  - lib
87
120
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -89,7 +122,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
122
  requirements:
90
123
  - - ">="
91
124
  - !ruby/object:Gem::Version
92
- hash: 3
93
125
  segments:
94
126
  - 0
95
127
  version: "0"
@@ -98,13 +130,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
130
  requirements:
99
131
  - - ">="
100
132
  - !ruby/object:Gem::Version
101
- hash: 3
102
133
  segments:
103
134
  - 0
104
135
  version: "0"
105
136
  requirements: []
106
137
 
107
- rubyforge_project:
138
+ rubyforge_project: autotest-fsevent
108
139
  rubygems_version: 1.3.7
109
140
  signing_key:
110
141
  specification_version: 3