deprec 2.2.2 → 2.2.3

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/deprec/rake.rb +7 -5
  2. metadata +1 -1
@@ -1,10 +1,12 @@
1
1
  $VERBOSE = nil
2
2
 
3
3
  # Load deprec rakefile extensions
4
- %w(
5
- db
6
- environments
7
- ).each do |task|
8
- load File.join(File.dirname(__FILE__), 'rake', "#{task}.rake")
4
+ if defined?(Rake)
5
+ %w(
6
+ db
7
+ environments
8
+ ).each do |task|
9
+ load File.join(File.dirname(__FILE__), 'rake', "#{task}.rake")
10
+ end
9
11
  end
10
12
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: deprec
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.2
5
+ version: 2.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Bailey