filegen 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,9 @@ module Filegen
35
35
  rescue RuntimeError => e
36
36
  Filegen::Ui.error e.message
37
37
  exitstatus = 1
38
+ rescue Interrupt => e
39
+ Filegen::Ui.warning 'You told me to stop command execution.'
40
+ exitstatus = 2
38
41
  end
39
42
 
40
43
  @kernel.exit(exitstatus)
@@ -1,4 +1,4 @@
1
1
  #main Filegen
2
2
  module Filegen
3
- VERSION = '0.2.2'
3
+ VERSION = '0.2.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filegen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: