dry_option_parser 1.0.1 → 1.0.2

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: 1f2ef69e05bb350dc77b839f08832c4dce09f5c1
4
- data.tar.gz: ef5e9b6c05fe8bfa426a5d71dbc2f52ffbf4bb15
3
+ metadata.gz: 55e9909f60289f5a51e7fe519b00705cec09d3c9
4
+ data.tar.gz: a98482c3ec3d8b9ae765aa24d7ec5e3a184d16e5
5
5
  SHA512:
6
- metadata.gz: 65a62be0815faa7b0c5c6641a571450340fa78997402842d577ab674718e99b7d88cf30e2491f014cb30fa91e6747907aaa31ce62c738f6eff31c5b0fcfc76e7
7
- data.tar.gz: a2a757c8a66efa38d2dfefca8a6d25ca8c8f244aa94dbbd1a00adb97b0a6db02ff49760ce53982a82975e73f158f16f421d8084ac8e597ee4d36c9c5fad074c3
6
+ metadata.gz: d2928e49218cdf5fc93e4549277721b3c560fae5de5c5fb6b2c6b666eb2a5b3a5993ba9df1b105f7f0b57dca2ce2cd1e20c5bb9bd94411e0d6f8917091c7d547
7
+ data.tar.gz: e27b46d8352e87c0788cece7f2930ccf1598aec2b7e9f0b63913bb6bfb7fca153de462624f2c41262d841c89787fea300ae8ae4ddac34c5d8e5384c2ff49a887
@@ -69,7 +69,7 @@ opt_parser = cli_options(options) do
69
69
  # No argument, shows at tail. This will print an options summary.
70
70
  # Try it and see!
71
71
  on_tail("-h", "--help", "Show this message") do
72
- puts options
72
+ puts self
73
73
  exit
74
74
  end
75
75
 
@@ -108,4 +108,4 @@ end # class OptparseExample
108
108
 
109
109
  options = OptparseExample.parse(ARGV)
110
110
  pp options
111
- pp ARGV
111
+ pp ARGV
@@ -1,3 +1,3 @@
1
1
  module DryOptionParser
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -74,7 +74,7 @@ describe "DryOptionParser--the long OptionParser example" do
74
74
  # No argument, shows at tail. This will print an options summary.
75
75
  # Try it and see!
76
76
  on_tail("-h", "--help", "Show this message") do
77
- puts opts
77
+ puts self
78
78
  exit
79
79
  end
80
80
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry_option_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Skocik