cmdparse 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5b749c49c99d6bd56ab96253a88f8a24ad9bc2263008841fccc158e72e8e858
4
- data.tar.gz: 24664d3ad1a54edf4fb0399f0fc1e1f35111ae188d7ed7a2d26945feae48365a
3
+ metadata.gz: e861f5a1c4fe2e9cbad48f794f090891e989679adee5a9c0eb5fccbcf58705f7
4
+ data.tar.gz: 920f8071e1567b47d6a09491a68ea450323d75c33f985ac6c95389ac326eac23
5
5
  SHA512:
6
- metadata.gz: 9783eee0c5a79aaeabdc3767bd8d13978ccb3c31a5005ea6455f2c61e76c301fb16d0d3752e2f04c2e9303bc950034799bdc2605e27e0ac2551d1476feb6bbfa
7
- data.tar.gz: 814a4d62f51928c0c56ae44c0665f41c06111f76ed2b7c3a2958ec95e5a850930e4d3ecdbecaedbcf89dfe7a7158126285cd9a897dd3e17f83ded3a26bcadb82
6
+ metadata.gz: 5453f10a2fa2ed1e169f2ed132a43cbc158f70b8df32bebaa84bee75625f1546a9420d18740688afdaf9703e25c020211e311b5b7ea0fbeb0d631501be493d62
7
+ data.tar.gz: d07b21dadf29713c7077ca8dc711b95f834fd8928fd4ea91b68ca14b409e561be049dbfdfdf2bba56fd2e92f1424629e77aacad55f5ca4e9cd9f66a421da3b5c
data/COPYING CHANGED
@@ -1,5 +1,5 @@
1
1
  cmdparse - advanced command line parser supporting commands
2
- Copyright (C) 2004-2015 Thomas Leitner <t_leitner@gmx.at>
2
+ Copyright (C) 2004-2020 Thomas Leitner <t_leitner@gmx.at>
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining a
5
5
  copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  **cmdparse** - an advanced command line parser using optparse which has support for commands
2
2
 
3
- Copyright (C) 2004-2015 Thomas Leitner
3
+ Copyright (C) 2004-2020 Thomas Leitner
4
4
 
5
5
  ## Description
6
6
 
@@ -11,7 +11,7 @@ to create programs that use such a command line interface.
11
11
  This library, cmdparse, can be used to create such a command line interface. Internally it uses
12
12
  optparse to parse options and it provides a nice API for specifying commands.
13
13
 
14
- See <http://cmdparse.gettalong.org> for detailed information, an extensive tutorial and the API
14
+ See <https://cmdparse.gettalong.org> for detailed information, an extensive tutorial and the API
15
15
  reference!
16
16
 
17
17
 
@@ -21,14 +21,14 @@ You can build the documentation by invoking
21
21
 
22
22
  $ rake doc
23
23
 
24
- This builds the whole documentation and needs webgen >=1.4.0 (http://webgen.gettalong.org) for
24
+ This builds the whole documentation and needs webgen >=1.4.0 (https://webgen.gettalong.org) for
25
25
  building.
26
26
 
27
27
 
28
28
  ## Example Usage
29
29
 
30
30
  There is an example of how to use cmdparse in the `example/net.rb` file. A detailed walkthrough of
31
- what each part does can be found on <http://cmdparse.gettalong.org/tutorial.html>.
31
+ what each part does can be found on <https://cmdparse.gettalong.org/tutorial.html>.
32
32
 
33
33
 
34
34
  ## License
@@ -58,5 +58,5 @@ If you don't want to use RubyGems, use these commands:
58
58
 
59
59
  Author: Thomas Leitner
60
60
 
61
- * Web: <http://cmdparse.gettalong.org>
61
+ * Web: <https://cmdparse.gettalong.org>
62
62
  * e-Mail: <mailto:t_leitner@gmx.at>
data/Rakefile CHANGED
@@ -113,7 +113,7 @@ namespace :dev do
113
113
  #### Author and project details
114
114
  s.author = "Thomas Leitner"
115
115
  s.email = "t_leitner@gmx.at"
116
- s.homepage = "http://cmdparse.gettalong.org"
116
+ s.homepage = "https://cmdparse.gettalong.org"
117
117
  end
118
118
 
119
119
  Gem::PackageTask.new(spec) do |pkg|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.4
1
+ 3.0.5
@@ -24,7 +24,7 @@
24
24
 
25
25
  <!-- Sidebar -->
26
26
  <div id="sidebar">
27
- <h1 id="logo"><a href="{relocatable: /}">cmdparse</a><br /><span>v 3.0.4</span></h1>
27
+ <h1 id="logo"><a href="{relocatable: /}">cmdparse</a><br /><span>v 3.0.5</span></h1>
28
28
 
29
29
  <!-- Nav -->
30
30
  <nav id="nav">
@@ -44,7 +44,7 @@
44
44
 
45
45
  <!-- Copyright -->
46
46
  <ul id="copyright">
47
- <li itemscope="" itemtype="http://schema.org/Person">&copy; 2004-2015
47
+ <li itemscope="" itemtype="http://schema.org/Person">&copy; 2004-2020
48
48
  <span itemprop="name">Thomas Leitner</span>
49
49
  <meta itemprop="email" content="t_leitner@gmx.at" />
50
50
  <meta itemprop="url" content="https://gettalong.org" />
@@ -91,7 +91,7 @@ end.flatten.join("\n")
91
91
  ## Author
92
92
 
93
93
  * **Thomas Leitner**
94
- * Web: <http://cmdparse.gettalong.org>
94
+ * Web: <https://cmdparse.gettalong.org>
95
95
  * e-Mail: <mailto:t_leitner@gmx.at>
96
96
 
97
97
 
@@ -5,6 +5,13 @@ sort_info: 8
5
5
  ---
6
6
  ## News
7
7
 
8
+ ### 2020-01-31 cmdparse 3.0.5 released!
9
+
10
+ Changes:
11
+
12
+ * Fix warning on Ruby 2.7 (thanks to Damien Robert)
13
+
14
+
8
15
  ### 2018-12-22 cmdparse 3.0.4 released!
9
16
 
10
17
  Changes:
@@ -1,7 +1,7 @@
1
1
  #
2
2
  #--
3
3
  # cmdparse: advanced command line parser supporting commands
4
- # Copyright (C) 2004-2015 Thomas Leitner
4
+ # Copyright (C) 2004-2020 Thomas Leitner
5
5
  #
6
6
  # This file is part of cmdparse which is licensed under the MIT.
7
7
  #++
@@ -47,7 +47,7 @@ end
47
47
  module CmdParse
48
48
 
49
49
  # The version of this cmdparse implemention
50
- VERSION = '3.0.4'.freeze
50
+ VERSION = '3.0.5'.freeze
51
51
 
52
52
 
53
53
  # Base class for all cmdparse errors.
@@ -841,8 +841,8 @@ module CmdParse
841
841
  # Adds a top level command.
842
842
  #
843
843
  # See Command#add_command for detailed invocation information.
844
- def add_command(*args, &block)
845
- @main_command.add_command(*args, &block)
844
+ def add_command(*args, **kws, &block)
845
+ @main_command.add_command(*args, **kws, &block)
846
846
  end
847
847
 
848
848
  # Parses the command line arguments.
@@ -1,6 +1,6 @@
1
1
  # -*- ruby -*-
2
2
 
3
- website.config['website.base_url'] = 'http://cmdparse.gettalong.org/'
3
+ website.config['website.base_url'] = 'https://cmdparse.gettalong.org/'
4
4
  website.config['sources'] =[['/', :file_system, 'doc']]
5
5
  website.config['destination'] = [:file_system, 'htmldoc']
6
6
  website.config['website.tmpdir'] = 'webgen-tmp'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmdparse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Leitner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-22 00:00:00.000000000 Z
11
+ date: 2020-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webgen
@@ -53,7 +53,7 @@ files:
53
53
  - lib/cmdparse.rb
54
54
  - setup.rb
55
55
  - webgen.config
56
- homepage: http://cmdparse.gettalong.org
56
+ homepage: https://cmdparse.gettalong.org
57
57
  licenses:
58
58
  - MIT
59
59
  metadata: {}
@@ -75,8 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubyforge_project:
79
- rubygems_version: 2.7.3
78
+ rubygems_version: 3.1.2
80
79
  signing_key:
81
80
  specification_version: 4
82
81
  summary: Advanced command line parser supporting commands