belafonte 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e066d43c4a43254e75d92f5130f90731a0592a4
4
- data.tar.gz: 591e9fc26038fc1ed5dfef3cd586ad3c980a49dc
3
+ metadata.gz: f0625bb265cd09580a21485c18916877315e247c
4
+ data.tar.gz: 57a1615baf5a3bd42e23176e80c340f62c248054
5
5
  SHA512:
6
- metadata.gz: 0af3f64554ced02d282c8bfbb083994f9265e580e4a32d96a567ee67657bf24132898b6bbb14cd3cd37375b8caaf87074c22daaa7cc117de5b2b79090f9b19ca
7
- data.tar.gz: 3fa7ac43522af60948d7cbff445a0d21b35e08ba7fb0927a61ec54e5ecafc0515b2ca32fe75da91ecc4b38a27bc5f7ca9ec8ce3539b88a609ef1102dc1386959
6
+ metadata.gz: 8d3ba5c06874490f5d9c1a3ba15184868f985b482d260969468cf23db1906673098d1418e6c90c3e87a1c5b3be48f28b4f9e09c79c02b71b2dc3f86b09203efb
7
+ data.tar.gz: 762c915851cd2a832b8628a02b346b7db8911e08180d3fca349e40ca1a9a97620b84289e82b69530f2f21607ffcfa256fbab56ab4ae8138d2afb65e68d11a9a9
@@ -1,4 +1,3 @@
1
- #require 'optparse'
2
1
  require 'belafonte/errors'
3
2
  require 'belafonte/help'
4
3
  require 'belafonte/parser'
@@ -11,7 +10,7 @@ module Belafonte
11
10
  parse_command_line
12
11
  @command = arg(:command).shift if arg(:command)
13
12
 
14
- calculate_exit_status
13
+ kernel.exit calculate_exit_status
15
14
  end
16
15
 
17
16
  private
@@ -82,7 +81,6 @@ module Belafonte
82
81
 
83
82
  handler.activate_help! if help_active?
84
83
  handler.execute!
85
- 0
86
84
  end
87
85
 
88
86
  def show_help
@@ -1,3 +1,3 @@
1
1
  module Belafonte
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belafonte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Walters