gopt 0.0.1 → 0.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.
Files changed (6) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +26 -0
  3. data/README +8 -8
  4. data/README.en +6 -6
  5. data/lib/gopt.rb +3 -3
  6. metadata +25 -32
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9a20a482218e72d7a9833b3671f01f297f83ebb2
4
+ data.tar.gz: 48d08bc745c8949e61c1dec970172518c6a0fd71
5
+ SHA512:
6
+ metadata.gz: d64bef97d7e0d3084bfc9c0cb85e38b7a88dc0aef025d260c6e338c6c661c6dd2ec4d2c5effb48b1e1f2253b4cdb666dced8fa50cc90f9998428dc134a0057a6
7
+ data.tar.gz: db788edf99cbedb8881fbfc89a334208a6b5a0eff69ae9226580edbeac8855a97464ec006205ca4961a38ca0c612b8e4591e1bc882aa50abbb3e4cd5ba60ff1c
data/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ Copyright (c) 2005-2014, Tadayoshi Funaba
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are
6
+ met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the
14
+ distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README CHANGED
@@ -1,23 +1,23 @@
1
- gopt �⥸�塼��
2
- ==============
1
+ gopt モジュール
2
+ ===============
3
3
 
4
- gopt �ϥ��֥������Ȼظ�������ץȸ��� Ruby ��getoptlong �δ�ñ�ʥ�åѡ�
5
- �Ǥ���
4
+ gopt はオブジェクト指向スクリプト言語 Ruby getoptlong の簡単なラッパー
5
+ です。
6
6
 
7
7
 
8
- ���󥹥ȡ���
8
+ インストール
9
9
  ------------
10
10
 
11
- ������ץ� "install.rb" ��Ĥ����ޤ���
11
+ スクリプト "install.rb" をつかいます。
12
12
 
13
13
  $ ruby install.rb config
14
14
  $ ruby install.rb setup
15
15
  ($ su)
16
16
  # ruby install.rb install
17
17
 
18
- ���路���ϡ�"ruby install.rb --help" �Ȥ��Ƥ���������
18
+ くわしくは、"ruby install.rb --help" としてください。
19
19
 
20
20
 
21
- ������� (�դʤФ����褷)
21
+ ふなばただよし
22
22
  mailto:tadf@funaba.org
23
23
  http://www.funaba.org/
data/README.en CHANGED
@@ -1,12 +1,12 @@
1
1
  gopt module
2
- ==============
2
+ ===========
3
3
 
4
- gopt is a simple wrapper of getoptlong of an objectoriented
5
- scripting language Ruby.
4
+ gopt is a simple wrapper of getoptlong of an object-oriented scripting
5
+ language Ruby.
6
6
 
7
7
 
8
8
  Install
9
- ‐‐‐‐‐‐‐
9
+ -------
10
10
 
11
11
  Use the script "install.rb".
12
12
 
@@ -15,9 +15,9 @@ Use the script "install.rb".
15
15
  ($ su)
16
16
  # ruby install.rb install
17
17
 
18
- For more information, type "ruby install.rb ‐‐help".
18
+ For more information, type "ruby install.rb --help".
19
19
 
20
20
 
21
21
  Tadayoshi Funaba
22
22
  mailto:tadf@funaba.org
23
- http://www.funaba.org/en/
23
+ http://www.funaba.org/
@@ -1,5 +1,5 @@
1
- # gopt.rb: Written by Tadayoshi Funaba 2005
2
- # $Id: gopt.rb,v 1.1 2005-07-09 07:44:04+09 tadf Exp $
1
+ # gopt.rb: Written by Tadayoshi Funaba 2005,2014
2
+ # $Id: gopt.rb,v 1.2 2014-04-07 19:08:22+09 tadf Exp $
3
3
 
4
4
  require 'getoptlong'
5
5
 
@@ -19,7 +19,7 @@ module Gopt
19
19
  val = {}
20
20
  gol.each{|opt, arg| val[opt[1,1].intern] = arg}
21
21
  val
22
- rescue
22
+ rescue GetoptLong::Error
23
23
  nil
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,55 +1,48 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gopt
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Tadayoshi Funaba
8
- autorequire: gopt
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2008-11-12 00:00:00 +09:00
13
- default_executable:
11
+ date: 2014-04-07 00:00:00.000000000 Z
14
12
  dependencies: []
15
-
16
13
  description:
17
14
  email: tadf@funaba.org
18
15
  executables: []
19
-
20
16
  extensions: []
21
-
22
17
  extra_rdoc_files: []
23
-
24
- files:
18
+ files:
19
+ - LICENSE
25
20
  - README
26
21
  - README.en
27
22
  - lib/gopt.rb
28
- has_rdoc: false
29
- homepage: http://www.funaba.org/en/ruby.html
23
+ homepage: http://www.funaba.org/code
24
+ licenses:
25
+ - BSD 2-Clause
26
+ metadata: {}
30
27
  post_install_message:
31
28
  rdoc_options: []
32
-
33
- require_paths:
29
+ require_paths:
34
30
  - lib
35
- required_ruby_version: !ruby/object:Gem::Requirement
36
- requirements:
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
37
33
  - - ">="
38
- - !ruby/object:Gem::Version
39
- version: "0"
40
- version:
41
- required_rubygems_version: !ruby/object:Gem::Requirement
42
- requirements:
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
43
38
  - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
46
- version:
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
47
41
  requirements: []
48
-
49
42
  rubyforge_project: tadf
50
- rubygems_version: 1.3.1
43
+ rubygems_version: 2.2.2
51
44
  signing_key:
52
- specification_version: 2
53
- summary: gopt is a simple wrapper of getoptlong of an object-oriented scripting language Ruby.
45
+ specification_version: 4
46
+ summary: gopt is a simple wrapper of getoptlong of an object-oriented scripting language
47
+ Ruby.
54
48
  test_files: []
55
-