trad-getopt 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/trad-getopt.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18dfc92b20d5e5cf0d695058597b99ebb2e0ad494dc01d90e7aefeeffe8f81c9
|
4
|
+
data.tar.gz: 6a44adda3257be173d2aa3b83e6264f0b562ab8bb4dfdc5b035347cc8be4342a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8854742fc8de6440f1bdd4e0c5ecf4f979d10eeab759de4b95cc894deefd9e5eb8e39de6b2489eec1332228a5b1d31ef027f9a906fa12d3d9ed807126b21b7f7
|
7
|
+
data.tar.gz: e9555bd35daf40b5e9d53fbfe144d594164b1a9df695ff83833574c28af45ca3aae56ecc2f5cff397abf70815bb77ec63fa2bce5f4e82745aad2511409dabcaa
|
data/trad-getopt.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Getopt
|
2
2
|
|
3
|
-
VERSION = "2.0.
|
3
|
+
VERSION = "2.0.1"
|
4
4
|
|
5
5
|
class GetoptError < StandardError
|
6
6
|
def initialize option, message
|
@@ -48,6 +48,7 @@ module Getopt
|
|
48
48
|
# error_message:
|
49
49
|
# parse:
|
50
50
|
|
51
|
+
argv = argv.dup
|
51
52
|
xargv = []
|
52
53
|
loop {
|
53
54
|
ret = getopt argv, opts, longopts,
|
@@ -88,6 +89,7 @@ module Getopt
|
|
88
89
|
# error_message:
|
89
90
|
# parse:
|
90
91
|
|
92
|
+
argv = argv.dup
|
91
93
|
xargv = []
|
92
94
|
loop {
|
93
95
|
ret = getopt argv, opts, longopts,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trad-getopt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NOZAWA Hiromasa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|