mandy 0.3.13 → 0.4

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 (2) hide show
  1. data/lib/mandy.rb +3 -1
  2. metadata +1 -1
data/lib/mandy.rb CHANGED
@@ -46,7 +46,9 @@ end
46
46
 
47
47
  at_exit do
48
48
  raise $! if $!
49
- caller = Kernel.caller.first.split(':').first
49
+ caller = Kernel.caller.first
50
+ next if caller.nil?
51
+ caller = caller.split(':').first
50
52
  next if caller =~ /bin\/(rake|mandy)/
51
53
  input = Mandy.local_input || ENV['MANDY_INPUT']
52
54
  unless input
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: "0.4"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Kent