autotest-notification 2.2.1 → 2.3.0

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.
@@ -2,14 +2,12 @@ History.txt
2
2
  License.txt
3
3
  Manifest.txt
4
4
  PostInstall.txt
5
- README.txt
5
+ README.rdoc
6
6
  Rakefile
7
7
  autotest-notification.gemspec
8
8
  bin/an-install
9
9
  bin/an-uninstall
10
10
  bin/playsound
11
- config/hoe.rb
12
- config/requirements.rb
13
11
  images/buuf/fail.png
14
12
  images/buuf/pass.png
15
13
  images/buuf/pending.png
@@ -29,7 +27,6 @@ lib/autotest_notification/cygwin.rb
29
27
  lib/autotest_notification/doom.rb
30
28
  lib/autotest_notification/linux.rb
31
29
  lib/autotest_notification/mac.rb
32
- lib/autotest_notification/version.rb
33
30
  lib/autotest_notification/windows.rb
34
31
  script/console
35
32
  script/destroy
File without changes
data/Rakefile CHANGED
@@ -1,4 +1,26 @@
1
- require 'config/requirements'
2
- require 'config/hoe' # setup Hoe + all gem configuration
1
+ require 'rubygems'
2
+ gem 'hoe', '>= 2.1.0'
3
+ require 'hoe'
4
+ require 'fileutils'
5
+ require './lib/autotest_notification.rb'
3
6
 
4
- Dir['tasks/**/*.rake'].each { |rake| load rake }
7
+ Hoe.plugin :newgem
8
+ # Hoe.plugin :website
9
+ # Hoe.plugin :cucumberfeatures
10
+
11
+ # Generate all the Rake tasks
12
+ # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
+ $hoe = Hoe.spec 'autotest-notification.rb' do
14
+ self.developer 'Carlos Brando', 'eduardobrando@gmail.com'
15
+ self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
16
+ self.rubyforge_name = self.name # TODO this is default value
17
+ self.extra_deps = [['autotest','~> 4.3']]
18
+
19
+ end
20
+
21
+ require 'newgem/tasks'
22
+ Dir['tasks/**/*.rake'].each { |t| load t }
23
+
24
+ # TODO - want other tests/tasks run by default? Add them to the list
25
+ # remove_task :default
26
+ # task :default => [:spec, :features]
@@ -2,47 +2,41 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{autotest-notification}
5
- s.version = "2.2.1"
5
+ s.version = "2.3.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Carlos Brando", "Rodrigo Urubatan", "Alexandre da Silva", "Carlos J\303\272nior", "Davis Zanetti Cabral", "Marcos Tapaj\303\263s", "Thiago Pradi", "Oz\303\251ias Sant'ana", "Samuel Flores", "Diego Carrion", "Ernesto Nakamura"]
9
- s.date = %q{2010-04-06}
10
- s.description = %q{This gem set the autotest to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
8
+ s.authors = ["Carlos Brando"]
9
+ s.date = %q{2010-08-02}
10
+ s.description = %q{This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
11
11
  s.email = ["eduardobrando@gmail.com"]
12
12
  s.executables = ["an-install", "an-uninstall", "playsound"]
13
- s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "website/index.txt"]
14
- s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "autotest-notification.gemspec", "bin/an-install", "bin/an-uninstall", "bin/playsound", "config/hoe.rb", "config/requirements.rb", "images/buuf/fail.png", "images/buuf/pass.png", "images/buuf/pending.png", "images/doom/doom_0.png", "images/doom/doom_1.png", "images/doom/doom_2.png", "images/doom/doom_3.png", "images/doom/doom_4.png", "images/doom/doom_5.png", "images/doom/doom_6.png", "images/fail.png", "images/pass.png", "images/pending.png", "lib/autotest_notification.rb", "lib/autotest_notification/buuf.rb", "lib/autotest_notification/cygwin.rb", "lib/autotest_notification/doom.rb", "lib/autotest_notification/linux.rb", "lib/autotest_notification/mac.rb", "lib/autotest_notification/version.rb", "lib/autotest_notification/windows.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "sounds/doom/0.wav", "sounds/doom/1.wav", "sounds/doom/2.wav", "sounds/doom/3.wav", "sounds/doom/4.wav", "sounds/doom/5.wav", "sounds/doom/6.wav", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "test/autotest_notification/test_cygwin.rb", "test/autotest_notification/test_linux.rb", "test/autotest_notification/test_mac.rb", "test/autotest_notification/test_windows.rb", "test/test_autotest_notification.rb", "test/test_helper.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb"]
13
+ s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "website/index.txt"]
14
+ s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "autotest-notification.gemspec", "bin/an-install", "bin/an-uninstall", "bin/playsound", "images/buuf/fail.png", "images/buuf/pass.png", "images/buuf/pending.png", "images/doom/doom_0.png", "images/doom/doom_1.png", "images/doom/doom_2.png", "images/doom/doom_3.png", "images/doom/doom_4.png", "images/doom/doom_5.png", "images/doom/doom_6.png", "images/fail.png", "images/pass.png", "images/pending.png", "lib/autotest_notification.rb", "lib/autotest_notification/buuf.rb", "lib/autotest_notification/cygwin.rb", "lib/autotest_notification/doom.rb", "lib/autotest_notification/linux.rb", "lib/autotest_notification/mac.rb", "lib/autotest_notification/windows.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "sounds/doom/0.wav", "sounds/doom/1.wav", "sounds/doom/2.wav", "sounds/doom/3.wav", "sounds/doom/4.wav", "sounds/doom/5.wav", "sounds/doom/6.wav", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "test/autotest_notification/test_cygwin.rb", "test/autotest_notification/test_linux.rb", "test/autotest_notification/test_mac.rb", "test/autotest_notification/test_windows.rb", "test/test_autotest_notification.rb", "test/test_helper.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb"]
15
15
  s.homepage = %q{http://github.com/carlosbrando/autotest-notification/}
16
- s.post_install_message = %q{
17
- For more information on autotest_notification, see http://github.com/carlosbrando/autotest-notification/
18
-
19
- To turn on the notifier you need to run the following command:
20
- an-install
21
-
22
- To turn off:
23
- an-uninstall
24
-
25
- }
26
- s.rdoc_options = ["--main", "README.txt"]
16
+ s.post_install_message = %q{PostInstall.txt}
17
+ s.rdoc_options = ["--main", "README.rdoc"]
27
18
  s.require_paths = ["lib"]
28
- s.rubyforge_project = %q{autotest-notification}
29
- s.rubygems_version = %q{1.3.6}
30
- s.summary = %q{This gem set the autotest to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
19
+ s.rubyforge_project = %q{autotest-notification.rb}
20
+ s.rubygems_version = %q{1.3.7}
21
+ s.summary = %q{This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
31
22
  s.test_files = ["test/autotest_notification/test_cygwin.rb", "test/autotest_notification/test_linux.rb", "test/autotest_notification/test_mac.rb", "test/autotest_notification/test_windows.rb", "test/test_autotest_notification.rb", "test/test_helper.rb"]
32
23
 
33
24
  if s.respond_to? :specification_version then
34
25
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
35
26
  s.specification_version = 3
36
27
 
37
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
38
- s.add_runtime_dependency(%q<autotest>, [">= 4.2.9"])
39
- s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
28
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
29
+ s.add_runtime_dependency(%q<autotest>, ["~> 4.3"])
30
+ s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
31
+ s.add_development_dependency(%q<hoe>, [">= 2.6.0"])
40
32
  else
41
- s.add_dependency(%q<autotest>, [">= 4.2.9"])
42
- s.add_dependency(%q<hoe>, [">= 2.3.3"])
33
+ s.add_dependency(%q<autotest>, ["~> 4.3"])
34
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
35
+ s.add_dependency(%q<hoe>, [">= 2.6.0"])
43
36
  end
44
37
  else
45
- s.add_dependency(%q<autotest>, [">= 4.2.9"])
46
- s.add_dependency(%q<hoe>, [">= 2.3.3"])
38
+ s.add_dependency(%q<autotest>, ["~> 4.3"])
39
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
40
+ s.add_dependency(%q<hoe>, [">= 2.6.0"])
47
41
  end
48
42
  end
@@ -1,6 +1,10 @@
1
+ require "autotest"
1
2
  $:.unshift(File.dirname(__FILE__))
2
3
 
3
4
  module AutotestNotification
5
+
6
+ VERSION = '2.3.0'
7
+
4
8
  class Config
5
9
 
6
10
  class << self
metadata CHANGED
@@ -1,43 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotest-notification
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 3
4
5
  prerelease: false
5
6
  segments:
6
7
  - 2
7
- - 2
8
- - 1
9
- version: 2.2.1
8
+ - 3
9
+ - 0
10
+ version: 2.3.0
10
11
  platform: ruby
11
12
  authors:
12
- - "Carlos Brando, Rodrigo Urubatan, Alexandre da Silva, Carlos J\xC3\xBAnior, Davis Zanetti Cabral, Marcos Tapaj\xC3\xB3s, Thiago Pradi, Oz\xC3\xA9ias Sant'ana, Samuel Flores, Diego Carrion, Ernesto Nakamura"
13
+ - Carlos Brando
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-06 00:00:00 -03:00
18
+ date: 2010-08-02 00:00:00 -03:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: autotest
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
- - - ">="
27
+ - - ~>
26
28
  - !ruby/object:Gem::Version
29
+ hash: 29
27
30
  segments:
28
31
  - 4
29
- - 2
30
- - 9
31
- version: 4.2.9
32
+ - 3
33
+ version: "4.3"
32
34
  type: :runtime
33
35
  version_requirements: *id001
34
36
  - !ruby/object:Gem::Dependency
35
37
  name: rubyforge
36
38
  prerelease: false
37
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
38
41
  requirements:
39
42
  - - ">="
40
43
  - !ruby/object:Gem::Version
44
+ hash: 7
41
45
  segments:
42
46
  - 2
43
47
  - 0
@@ -45,35 +49,23 @@ dependencies:
45
49
  version: 2.0.4
46
50
  type: :development
47
51
  version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: gemcutter
50
- prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- segments:
56
- - 0
57
- - 4
58
- - 1
59
- version: 0.4.1
60
- type: :development
61
- version_requirements: *id003
62
52
  - !ruby/object:Gem::Dependency
63
53
  name: hoe
64
54
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
55
+ requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
66
57
  requirements:
67
58
  - - ">="
68
59
  - !ruby/object:Gem::Version
60
+ hash: 23
69
61
  segments:
70
62
  - 2
71
- - 5
63
+ - 6
72
64
  - 0
73
- version: 2.5.0
65
+ version: 2.6.0
74
66
  type: :development
75
- version_requirements: *id004
76
- description: This gem set the autotest to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
67
+ version_requirements: *id003
68
+ description: This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
77
69
  email:
78
70
  - eduardobrando@gmail.com
79
71
  executables:
@@ -87,21 +79,18 @@ extra_rdoc_files:
87
79
  - License.txt
88
80
  - Manifest.txt
89
81
  - PostInstall.txt
90
- - README.txt
91
82
  - website/index.txt
92
83
  files:
93
84
  - History.txt
94
85
  - License.txt
95
86
  - Manifest.txt
96
87
  - PostInstall.txt
97
- - README.txt
88
+ - README.rdoc
98
89
  - Rakefile
99
90
  - autotest-notification.gemspec
100
91
  - bin/an-install
101
92
  - bin/an-uninstall
102
93
  - bin/playsound
103
- - config/hoe.rb
104
- - config/requirements.rb
105
94
  - images/buuf/fail.png
106
95
  - images/buuf/pass.png
107
96
  - images/buuf/pending.png
@@ -121,7 +110,6 @@ files:
121
110
  - lib/autotest_notification/doom.rb
122
111
  - lib/autotest_notification/linux.rb
123
112
  - lib/autotest_notification/mac.rb
124
- - lib/autotest_notification/version.rb
125
113
  - lib/autotest_notification/windows.rb
126
114
  - script/console
127
115
  - script/destroy
@@ -153,42 +141,37 @@ has_rdoc: true
153
141
  homepage: http://github.com/carlosbrando/autotest-notification/
154
142
  licenses: []
155
143
 
156
- post_install_message: |+
157
-
158
- For more information on autotest_notification, see http://github.com/carlosbrando/autotest-notification/
159
-
160
- To turn on the notifier you need to run the following command:
161
- an-install
162
-
163
- To turn off:
164
- an-uninstall
165
-
144
+ post_install_message: PostInstall.txt
166
145
  rdoc_options:
167
146
  - --main
168
- - README.txt
147
+ - README.rdoc
169
148
  require_paths:
170
149
  - lib
171
150
  required_ruby_version: !ruby/object:Gem::Requirement
151
+ none: false
172
152
  requirements:
173
153
  - - ">="
174
154
  - !ruby/object:Gem::Version
155
+ hash: 3
175
156
  segments:
176
157
  - 0
177
158
  version: "0"
178
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
+ none: false
179
161
  requirements:
180
162
  - - ">="
181
163
  - !ruby/object:Gem::Version
164
+ hash: 3
182
165
  segments:
183
166
  - 0
184
167
  version: "0"
185
168
  requirements: []
186
169
 
187
- rubyforge_project: autotest-notification
188
- rubygems_version: 1.3.6
170
+ rubyforge_project: autotest-notification.rb
171
+ rubygems_version: 1.3.7
189
172
  signing_key:
190
173
  specification_version: 3
191
- summary: This gem set the autotest to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
174
+ summary: This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
192
175
  test_files:
193
176
  - test/autotest_notification/test_cygwin.rb
194
177
  - test/autotest_notification/test_linux.rb
@@ -1,76 +0,0 @@
1
- # coding: UTF-8
2
-
3
- require 'autotest_notification/version'
4
-
5
- AUTHOR = "Carlos Brando, Rodrigo Urubatan, Alexandre da Silva, Carlos Júnior, Davis Zanetti Cabral, Marcos Tapajós, Thiago Pradi, Ozéias Sant'ana, Samuel Flores, Diego Carrion, Ernesto Nakamura"
6
- EMAIL = "eduardobrando@gmail.com"
7
- DESCRIPTION = "This gem set the autotest to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results."
8
- GEM_NAME = 'autotest-notification' # what ppl will type to install your gem
9
- RUBYFORGE_PROJECT = nil # 'autotestnotific' # The unix name for your project
10
- HOMEPATH = "http://github.com/carlosbrando/autotest-notification/"
11
- DOWNLOAD_PATH = "http://github.com/carlosbrando/autotest-notification/tarball/master"
12
-
13
- EXTRA_DEPENDENCIES = [
14
- ['autotest', '>= 4.2.9']
15
- ] # An array of rubygem dependencies [name, version]
16
-
17
- @config_file = "~/.rubyforge/user-config.yml"
18
- @config = nil
19
- RUBYFORGE_USERNAME = "carlosbrando"
20
- def rubyforge_username
21
- unless @config
22
- begin
23
- @config = YAML.load(File.read(File.expand_path(@config_file)))
24
- rescue
25
- puts <<-EOS
26
- ERROR: No rubyforge config file found: #{@config_file}
27
- Run 'rubyforge setup' to prepare your env for access to Rubyforge
28
- - See http://newgem.rubyforge.org/rubyforge.html for more details
29
- EOS
30
- exit
31
- end
32
- end
33
- RUBYFORGE_USERNAME.replace @config["username"]
34
- end
35
-
36
-
37
- REV = nil
38
- # UNCOMMENT IF REQUIRED:
39
- # REV = YAML.load(`svn info`)['Revision']
40
- VERS = AutotestNotification::VERSION::STRING + (REV ? ".#{REV}" : "")
41
- RDOC_OPTS = ['--quiet', '--title', 'autotest_notification documentation',
42
- "--opname", "index.html",
43
- "--line-numbers",
44
- "--main", "README",
45
- "--inline-source"]
46
-
47
- class Hoe
48
- def extra_deps
49
- @extra_deps.reject! { |x| Array(x).first == 'hoe' }
50
- @extra_deps
51
- end
52
- end
53
-
54
- # Generate all the Rake tasks
55
- # Run 'rake -T' to see list of generated tasks (from gem root directory)
56
- $hoe = Hoe.new(GEM_NAME, VERS) do |p|
57
- p.developer(AUTHOR, EMAIL)
58
- p.description = DESCRIPTION
59
- p.summary = DESCRIPTION
60
- p.url = HOMEPATH
61
- p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
62
- p.test_globs = ["test/**/test_*.rb"]
63
- p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
64
-
65
- # == Optional
66
- p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
67
- p.extra_deps = EXTRA_DEPENDENCIES
68
-
69
- #p.spec_extras = {} # A hash of extra values to set in the gemspec.
70
- end
71
-
72
- CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
73
- PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
74
- $hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
75
- $hoe.rsync_args = '-av --delete --ignore-errors'
76
- $hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
@@ -1,15 +0,0 @@
1
- require 'fileutils'
2
- include FileUtils
3
-
4
- require 'rubygems'
5
- %w[rake hoe newgem rubigen].each do |req_gem|
6
- begin
7
- require req_gem.downcase
8
- rescue LoadError
9
- puts "This Rakefile requires the '#{req_gem}' RubyGem."
10
- puts "Installation: gem install #{req_gem}"
11
- exit
12
- end
13
- end
14
-
15
- $:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
@@ -1,9 +0,0 @@
1
- module AutotestNotification #:nodoc:
2
- module VERSION #:nodoc:
3
- MAJOR = 2
4
- MINOR = 2
5
- TINY = 1
6
-
7
- STRING = [MAJOR, MINOR, TINY].join('.')
8
- end
9
- end