catchex 0.0.7 → 0.0.8

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 (3) hide show
  1. data/Rakefile +1 -1
  2. data/bin/rake +5 -2
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
  require 'fileutils'
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'catchex'
15
- s.version = '0.0.7'
15
+ s.version = '0.0.8'
16
16
  s.has_rdoc = false
17
17
  s.bindir = 'bin'
18
18
  s.add_dependency('rake', '>= 0.8')
data/bin/rake CHANGED
@@ -28,11 +28,14 @@ rescue LoadError
28
28
  end
29
29
 
30
30
  require 'rake'
31
- require "catchex"
32
31
 
33
32
  begin
34
33
  Rake.application.run
35
34
  rescue Exception => e
36
- CatchEx.catch(e, Rake.application.top_level_tasks.first)
35
+ begin
36
+ require "catchex"
37
+ CatchEx.catch(e, Rake.application.top_level_tasks.first)
38
+ rescue LoadError
39
+ end
37
40
  raise e
38
41
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catchex
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Braisdom