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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/trad-getopt.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 249a0240a2d24ecd2acdfbbeea4ea735b7741a111c3a3d73f73924ab7c69dbaa
4
- data.tar.gz: 01f880cd85ba5f25295aa1a7edbe831217fd5f60e19e9c1ffa408e20cd2fe1ed
3
+ metadata.gz: 18dfc92b20d5e5cf0d695058597b99ebb2e0ad494dc01d90e7aefeeffe8f81c9
4
+ data.tar.gz: 6a44adda3257be173d2aa3b83e6264f0b562ab8bb4dfdc5b035347cc8be4342a
5
5
  SHA512:
6
- metadata.gz: ae31e46184189f798d898d7b78f4b2036f286ad373a537f4abb235909aea49c0475412c8b224947a911f633b251f32c1c6699a0dfd1f05ebb6f57d679a340078
7
- data.tar.gz: 255ba6bab37aa24df764a7631f2519568dfbf68572d4e7d2aca67d1f8f9b5a84806871295fc95e4bdae5f0c7a4bf73a6fa65760f6c5275a8620ec5648cbb7298
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.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.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-17 00:00:00.000000000 Z
11
+ date: 2019-04-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: