shindo 0.0.4 → 0.0.5

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.
Files changed (5) hide show
  1. data/Rakefile +16 -20
  2. data/VERSION +1 -1
  3. data/lib/shindo/rake.rb +14 -0
  4. data/shindo.gemspec +6 -4
  5. metadata +3 -2
data/Rakefile CHANGED
@@ -18,29 +18,25 @@ rescue LoadError
18
18
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
19
19
  end
20
20
 
21
- require 'rake/testtask'
22
- Rake::TestTask.new(:test) do |test|
23
- test.libs << 'lib' << 'tests'
24
- test.pattern = 'tests/**/*_tests.rb'
25
- test.verbose = true
26
- end
21
+ require File.join(File.dirname(__FILE__), 'lib', 'shindo', 'rake')
22
+ Shindo::Rake.new
27
23
 
28
- begin
29
- require 'rcov/rcovtask'
30
- Rcov::RcovTask.new do |test|
31
- test.libs << 'tests'
32
- test.pattern = 'tests/**/*_tests.rb'
33
- test.verbose = true
34
- end
35
- rescue LoadError
36
- task :rcov do
37
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
38
- end
39
- end
24
+ # begin
25
+ # require 'rcov/rcovtask'
26
+ # Rcov::RcovTask.new do |test|
27
+ # test.libs << 'tests'
28
+ # test.pattern = 'tests/**/*_tests.rb'
29
+ # test.verbose = true
30
+ # end
31
+ # rescue LoadError
32
+ # task :rcov do
33
+ # abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
34
+ # end
35
+ # end
40
36
 
41
- task :test => :check_dependencies
37
+ task :tests => :check_dependencies
42
38
 
43
- task :default => :test
39
+ task :default => :tests
44
40
 
45
41
  require 'rake/rdoctask'
46
42
  Rake::RDocTask.new do |rdoc|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -0,0 +1,14 @@
1
+ module Shindo
2
+
3
+ class Rake
4
+
5
+ def initialize
6
+ desc "Run tests"
7
+ task :tests do
8
+ ruby FileList[ 'tests/**/*_tests.rb' ].join(' ')
9
+ end
10
+ end
11
+
12
+ end
13
+
14
+ end
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{shindo}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["geemus (Wesley Beary)"]
12
- s.date = %q{2009-11-03}
12
+ s.date = %q{2009-11-22}
13
13
  s.default_executable = %q{shindo}
14
14
  s.description = %q{Simple depth first ruby testing}
15
15
  s.email = %q{me@geemus.com}
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  "VERSION",
26
26
  "bin/shindo",
27
27
  "lib/shindo.rb",
28
+ "lib/shindo/rake.rb",
28
29
  "shindo.gemspec",
29
30
  "tests/basic_tests.rb",
30
31
  "tests/tag_tests.rb",
@@ -50,3 +51,4 @@ Gem::Specification.new do |s|
50
51
  s.add_dependency(%q<annals>, [">= 0"])
51
52
  end
52
53
  end
54
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shindo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus (Wesley Beary)
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-03 00:00:00 -08:00
12
+ date: 2009-11-22 00:00:00 -08:00
13
13
  default_executable: shindo
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -38,6 +38,7 @@ files:
38
38
  - VERSION
39
39
  - bin/shindo
40
40
  - lib/shindo.rb
41
+ - lib/shindo/rake.rb
41
42
  - shindo.gemspec
42
43
  - tests/basic_tests.rb
43
44
  - tests/tag_tests.rb