autotest-growl 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ pkg/*
2
+ *.gem
3
+ .bundle
4
+ .DS_Store
5
+ samples
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm ruby-1.9.2-p0@autotest-growl
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,17 @@
1
+ <<<<<<< HEAD
2
+ == 0.2.8 2010-12-02
3
+
4
+ * 2 minor improvements
5
+ * Update README due to autotest naming disagreement
6
+ * Switch from Jeweler to Bundler for development
7
+
8
+ =======
9
+ >>>>>>> 33b9db1484f1570710104e933ae1f79e5492be18
10
+ == 0.2.7 2010-10-29
11
+
12
+ * 1 minor improvement
13
+ * Fix image path for cygwin (Patrick Aikens)
14
+
1
15
  == 0.2.6 2010-09-24
2
16
 
3
17
  * 1 minor improvement
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in autotest-growl.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,28 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ autotest-growl (0.2.8)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ ZenTest (4.4.1)
10
+ diff-lcs (1.1.2)
11
+ rake (0.8.7)
12
+ rspec (2.2.0)
13
+ rspec-core (~> 2.2)
14
+ rspec-expectations (~> 2.2)
15
+ rspec-mocks (~> 2.2)
16
+ rspec-core (2.2.1)
17
+ rspec-expectations (2.2.0)
18
+ diff-lcs (~> 1.1.2)
19
+ rspec-mocks (2.2.0)
20
+
21
+ PLATFORMS
22
+ ruby
23
+
24
+ DEPENDENCIES
25
+ ZenTest
26
+ autotest-growl!
27
+ rake
28
+ rspec
data/PostInstall.txt ADDED
@@ -0,0 +1,23 @@
1
+ In order to use autotest-growl, 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/growl'
6
+
7
+ Make sure the notification service installed on your computer:
8
+
9
+ http://growl.info (Growl for Mac OS X)
10
+ http://growlforwindows.com (Growl for Windows)
11
+ http://www.galago-project.org (libnotify for Linux)
12
+
13
+ If Growl notifications are not always displayed, take a look at the README
14
+ for assistance.
15
+
16
+ For more information, feedback and bug submissions, please visit:
17
+
18
+ http://www.bitcetera.com/products/autotest-growl
19
+
20
+ If you like this gem, please consider to recommend me on Working with
21
+ Rails, thank you!
22
+
23
+ http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn
data/README.rdoc CHANGED
@@ -17,19 +17,19 @@ bundled with Mac OS X.
17
17
 
18
18
  == REQUIREMENTS:
19
19
 
20
- * either autotest (recommened) or ZenTest
20
+ * any ZenTest compatible test suite
21
21
  * Growl >= 1.1.5 on Mac OS X --OR--
22
22
  * Growl for Windows >= 2.0b18 on Windows --OR--
23
23
  * libnotify >= 0.4.5 on Linux
24
24
 
25
25
  == INSTALL:
26
26
 
27
- First of all, you have to decide whether you want to use the lightweight
28
- autotest gem (recommended) or the more comprehensive ZenTest gem and install
29
- either of them:
27
+ First of all, you have to decide whether you want to use the comprehensive
28
+ ZenTest gem or the lightweight autotest-standalone gem and install either
29
+ of them. (See "Autotest" below for more on this.)
30
30
 
31
- sudo gem install autotest --OR--
32
- sudo gem install ZenTest
31
+ sudo gem install ZenTest --OR--
32
+ sudo gem install autotest-standalone
33
33
 
34
34
  Now install this gem:
35
35
 
@@ -54,26 +54,24 @@ Rails, thank you!
54
54
 
55
55
  http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn
56
56
 
57
- == UPDATE FROM 0.1.X
57
+ == AUTOTEST:
58
58
 
59
- As of version 0.2.X autotest-growl no longer requires the ZenTest gem but
60
- either ZenTest or it's lighter twin autotest (recommended). To update and
61
- switch do the following:
59
+ You can use any ZenTest-compatible test suite with this gem, which basically
60
+ boils down to either of the following two sets of gems.
62
61
 
63
- sudo gem uninstall ZenTest
64
- sudo gem install autotest
65
- sudo gem update autotest-growl
62
+ Comprehensive test suite by Ryan Davis:
63
+ * ZenTest
64
+ * autotest-rails (for Ruby on Rails compatibility)
66
65
 
67
- To use autotest with Rails, install the autotest-rails-pure gem instead of
68
- the famous autotest-rails gem which requires ZenTest:
66
+ Lightweight test suite by Michael Grosser:
67
+ * autotest-standalone
68
+ * autotest-rails-pure (for Ruby on Rails compatibility)
69
+ * zentest-without-autotest (for full ZenTest compatibility)
69
70
 
70
- sudo gem uninstall autotest-rails
71
- sudo gem install autotest-rails-pure
72
-
73
- And in case one day you need the more advanced features of ZenTest, install
74
- the zentest-without-autotest gem alongside autotest:
75
-
76
- sudo gem install zentest-without-autotest
71
+ Note: Due to a naming disagreement, starting from version 4.4.6 the autotest
72
+ gem is no longer a lightweight fork but only an empty gem which requires
73
+ ZenTest. Switch to the autotest-standalone gem if you want to stick with the
74
+ lightweight approach.
77
75
 
78
76
  == CONFIGURATION:
79
77
 
@@ -145,10 +143,11 @@ notification listing the files modified before tests are re-run.
145
143
 
146
144
  == TROUBLESHOOTING:
147
145
 
148
- === Loading the Plugin Seems to Fail
146
+ === Autotest Binary Not Present
149
147
 
150
- The reason may be ZenTest which must not be installed. See "Update from
151
- 0.1.X" for more on this.
148
+ Make sure you have either the ZenTest gem or the autotest-standalone gem
149
+ installed. This dependency has been dropped as of autotest-growl-0.2.5 in
150
+ order to allow any compatible test suite.
152
151
 
153
152
  === Unreliable Growl Notifications on Mac OS X
154
153
 
@@ -207,6 +206,7 @@ Thanks to the following folks who have contributed to this project:
207
206
  * Martin Vielsmaier
208
207
  * Charles Roper
209
208
  * Ben Ritcey
209
+ * Patrick Aikens
210
210
 
211
211
  == LICENSE:
212
212
 
data/Rakefile ADDED
@@ -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
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.7
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "autotest-growl/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "autotest-growl"
7
+ s.version = Autotest::Growl::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-growl"
12
+ s.summary = %q{Growl notification support for autotest}
13
+ s.description = %q{This gem aims to improve support for Growl notifications by autotest.}
14
+
15
+ s.rubyforge_project = "autotest-growl"
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.add_development_dependency "rake"
24
+ s.add_development_dependency "rspec"
25
+ s.add_development_dependency "ZenTest"
26
+ end
@@ -90,6 +90,7 @@ module Autotest::Growl
90
90
  system %(notify-send "#{title}" "#{message}" -i #{image} -t 5000)
91
91
  when /windows|mswin|mingw|cygwin/i
92
92
  growl += '.com'
93
+ image = `cygpath -w #{image}` if Config::CONFIG['host_os'] =~ /cygwin/i
93
94
  system %(#{growl} #{message.inspect} /a:"Autotest" /r:"Autotest" /n:"Autotest" /i:"#{image}" /p:#{priority} /t:"#{title}" /s:#{sticky})
94
95
  else
95
96
  raise "#{Config::CONFIG['host_os']} is not supported by autotest-growl (feel free to submit a patch)"
@@ -0,0 +1,5 @@
1
+ class Autotest
2
+ module Growl
3
+ VERSION = "0.2.8"
4
+ end
5
+ 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', 'growl')
data/spec/spec_helper.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
2
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
3
  require 'autotest/growl'
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
9
9
 
10
10
  module Autotest::Growl
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 6
9
- version: 0.2.6
8
+ - 8
9
+ version: 0.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sven Schwyn
@@ -14,34 +14,69 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-24 00:00:00 +02:00
17
+ date: 2010-12-02 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: rspec
21
+ name: rake
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - ~>
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  segments:
29
- - 1
30
- - 3
31
- version: "1.3"
29
+ - 0
30
+ version: "0"
32
31
  type: :development
33
32
  version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: rspec
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :development
45
+ version_requirements: *id002
46
+ - !ruby/object:Gem::Dependency
47
+ name: ZenTest
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
34
59
  description: This gem aims to improve support for Growl notifications by autotest.
35
- email: ruby@bitcetera.com
60
+ email:
61
+ - ruby@bitcetera.com
36
62
  executables: []
37
63
 
38
64
  extensions: []
39
65
 
40
- extra_rdoc_files:
41
- - LICENSE
42
- - README.rdoc
66
+ extra_rdoc_files: []
67
+
43
68
  files:
69
+ - .gitignore
70
+ - .rvmrc
44
71
  - CHANGELOG.txt
72
+ - Gemfile
73
+ - Gemfile.lock
74
+ - LICENSE
75
+ - PostInstall.txt
76
+ - README.rdoc
77
+ - Rakefile
78
+ - VERSION
79
+ - autotest-growl.gemspec
45
80
  - growl/growlnotify
46
81
  - growl/growlnotify.com
47
82
  - img/ampelmaennchen/error.png
@@ -54,20 +89,21 @@ files:
54
89
  - img/ruby/info.png
55
90
  - img/ruby/passed.png
56
91
  - img/ruby/pending.png
92
+ - lib/autotest-growl.rb
93
+ - lib/autotest-growl/version.rb
57
94
  - lib/autotest/growl.rb
58
95
  - lib/autotest/result.rb
59
- - LICENSE
60
- - README.rdoc
61
96
  - spec/autotest-growl_spec.rb
62
97
  - spec/spec_helper.rb
63
98
  has_rdoc: true
64
99
  homepage: http://www.bitcetera.com/products/autotest-growl
65
100
  licenses: []
66
101
 
67
- post_install_message: "\n\
68
- \e[1;32mIn order to use autotest-fsevent, install either the autotest gem\n\
69
- (recommended) or the ZenTest gem and then add the following line to \n\
70
- your ~/.autotest file:\n\n\
102
+ post_install_message: "\e[1;32m\n\
103
+ -------------------------------------------------------------------------------\n\n\
104
+ In order to use autotest-growl, install either the comprehensive \n\
105
+ ZenTest gem or the lightweight autotest-standalone gem and then add the \n\
106
+ following line to your ~/.autotest file:\n\n\
71
107
  require 'autotest/growl'\n\n\
72
108
  Make sure the notification service installed on your computer:\n\n\
73
109
  http://growl.info (Growl for Mac OS X)\n\
@@ -79,10 +115,11 @@ post_install_message: "\n\
79
115
  http://www.bitcetera.com/products/autotest-growl\n\n\
80
116
  If you like this gem, please consider to recommend me on Working with\n\
81
117
  Rails, thank you!\n\n\
82
- http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn\n\
83
- \e[0m\n"
84
- rdoc_options:
85
- - --charset=UTF-8
118
+ http://workingwithrails.com/recommendation/new/person/11706-sven-schwyn\n\n\
119
+ -------------------------------------------------------------------------------\n\
120
+ \e[0m"
121
+ rdoc_options: []
122
+
86
123
  require_paths:
87
124
  - lib
88
125
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -103,11 +140,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
140
  version: "0"
104
141
  requirements: []
105
142
 
106
- rubyforge_project:
143
+ rubyforge_project: autotest-growl
107
144
  rubygems_version: 1.3.7
108
145
  signing_key:
109
146
  specification_version: 3
110
- summary: Growl notification support for autotest.
147
+ summary: Growl notification support for autotest
111
148
  test_files:
112
149
  - spec/autotest-growl_spec.rb
113
150
  - spec/spec_helper.rb