rcov_rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rcov_rails/railtie.rb +5 -1
  2. metadata +2 -2
@@ -2,9 +2,13 @@ require 'rails'
2
2
  module RcovRails
3
3
  class Railtie < Rails::Railtie
4
4
  railtie_name :rcov_rails
5
+
6
+ def tasks_path
7
+ Dir.expand_path(File.join(File.dirname(__FILE__), "..", "tasks"))
8
+ end
5
9
 
6
10
  rake_tasks do
7
- load "lib/tasks/coverage.rake"
11
+ load File.join(tasks_path, "coverage.rake")
8
12
  end
9
13
  end
10
14
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matthew Rudy Jacobs