rcov_rails 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,12 +3,8 @@ module RcovRails
3
3
  class Railtie < Rails::Railtie
4
4
  railtie_name :rcov_rails
5
5
 
6
- def tasks_path
7
- Dir.expand_path(File.join(File.dirname(__FILE__), "..", "tasks"))
8
- end
9
-
10
6
  rake_tasks do
11
- load File.join(File.dirname(__FILE__), "..", "tasks", "coverage.rake")
7
+ load "tasks/coverage.rake"
12
8
  end
13
9
  end
14
10
  end
data/lib/rcov_rails.rb ADDED
@@ -0,0 +1,4 @@
1
+ if defined?(Rails)
2
+ require 'rcov_rails/railtie'
3
+ end
4
+
@@ -61,10 +61,5 @@ begin
61
61
  end
62
62
 
63
63
  rescue LoadError
64
- puts <<-MESSAGE
65
- You must install the 'rcov' gem to use rcov_rails
66
-
67
- sudo gem install rcov
68
-
69
- MESSAGE
70
- end
64
+ "You must install the 'rcov' gem to use rcov_rails\n\tsudo gem install rcov"
65
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 4
9
- version: 0.1.4
8
+ - 6
9
+ version: 0.1.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matthew Rudy Jacobs
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-02-25 00:00:00 +08:00
17
+ date: 2010-03-01 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -41,6 +41,7 @@ files:
41
41
  - MIT-LICENSE
42
42
  - README
43
43
  - lib/rcov_rails/railtie.rb
44
+ - lib/rcov_rails.rb
44
45
  - lib/tasks/coverage.rake
45
46
  has_rdoc: true
46
47
  homepage: http://github.com/matthewrudy/rcov_rails