mercenary 0.3.2 → 0.3.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8c6f00310335bb25ca352dd2172054bad0b3c24
4
- data.tar.gz: 3dbc954fbe05ddd60c274f39e59cd19b8ffedc42
3
+ metadata.gz: 1e8ace0bee08c6aff506aab3ad8659bcab218a2a
4
+ data.tar.gz: 9aa228efcb73b18a05f224f72b0d453675c4a06b
5
5
  SHA512:
6
- metadata.gz: ff3e130d16901f12c6e30f4cbfeb24b7ba589350a785fbfd1386d3e418fdd683fa3771b915a1162334dff36a924d693c2a4b56a556372b2a6c79e493f8070f6b
7
- data.tar.gz: 07c5c6bdb22f47880044fc1fb4ba90c122b8eae3c7bce02d95c3a8561eb29541ee5473b5043865b513f3b687749ce8664b51b090186e28ed0e6a4be7634d8caa
6
+ metadata.gz: de2cd102e00fd2071c09cdc3c83d2c900bccdeecde98dbf66c730d0890251a532519542295fff824c71529834b36f996abe6663d5ba6645ad788a37d6638d848
7
+ data.tar.gz: c0036d18eb7112070ae547dc5b01c57a0e71ca84ad0969988f2c27cc2b741e43cc89c0bc80aa619f6d4afa8cc9bb2fed176e79bf687092033c68ac4fade2fc62
@@ -8,6 +8,12 @@
8
8
 
9
9
  ### Development Fixes
10
10
 
11
+ ## 0.3.3 / 2014-05-07
12
+
13
+ ### Bug Fixes
14
+
15
+ * The `--version` flag should not exit with code 1, but instead code 0. (#33)
16
+
11
17
  ## 0.3.2 / 2014-03-18
12
18
 
13
19
  ### Bug Fixes
@@ -194,7 +194,7 @@ module Mercenary
194
194
  option 'show_backtrace', '-t', '--trace', 'Show the full backtrace when an error occurs'
195
195
  opts.on("-v", "--version", "Print the version") do
196
196
  puts "#{name} #{version}"
197
- abort
197
+ exit(0)
198
198
  end
199
199
 
200
200
  opts.on('-t', '--trace', 'Show full backtrace if an error occurs') do
@@ -1,3 +1,3 @@
1
1
  module Mercenary
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
@@ -10,6 +10,7 @@ function run () {
10
10
  }
11
11
 
12
12
  run logging.rb
13
+ run logging.rb -v
13
14
  run help_dialogue.rb -h
14
15
  run help_dialogue.rb some_subcommand -h
15
16
  run help_dialogue.rb another_subcommand -h
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercenary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-19 00:00:00.000000000 Z
12
+ date: 2014-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler