cmdparse 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/default.template +1 -1
- data/doc/news.page +8 -0
- data/lib/cmdparse.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b990cb78b118f816642e1acaba73d0a98fbcd4dc
|
4
|
+
data.tar.gz: d3f75b4ba8fae6beaa47172c8bc0ad08bb27551a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44cda21f98d9274a036700ece6f101dff9269f9a3e6890e5f75b4ecdeab5b412e30634d273bf8e48e448173a9c49e1572d8236f0438d80d28a8bf93f6b8f7cc4
|
7
|
+
data.tar.gz: 94917bf23b20760a9c488f8acafe5c4623b07964fbd82b452293fc10b82d6684322cc3ee55d6b8c5e5894553d752b25a258f3a384ebb258504647c59e8987ee8
|
data/doc/default.template
CHANGED
data/doc/news.page
CHANGED
@@ -5,6 +5,14 @@ sort_info: 8
|
|
5
5
|
---
|
6
6
|
## News
|
7
7
|
|
8
|
+
### 2017-01-13 cmdparse 3.0.3 released!
|
9
|
+
|
10
|
+
Changes:
|
11
|
+
|
12
|
+
* Fix bug introduced during refactoring that affected help output (continuation lines were missing)
|
13
|
+
- thanks to Andrew Talbot for reporting the bug
|
14
|
+
|
15
|
+
|
8
16
|
### 2016-12-28 cmdparse 3.0.2 released!
|
9
17
|
|
10
18
|
Changes:
|
data/lib/cmdparse.rb
CHANGED
@@ -47,7 +47,7 @@ end
|
|
47
47
|
module CmdParse
|
48
48
|
|
49
49
|
# The version of this cmdparse implemention
|
50
|
-
VERSION = '3.0.
|
50
|
+
VERSION = '3.0.3'.freeze
|
51
51
|
|
52
52
|
|
53
53
|
# Base class for all cmdparse errors.
|
@@ -624,7 +624,7 @@ module CmdParse
|
|
624
624
|
|
625
625
|
content.split(/\n\n/).map do |paragraph|
|
626
626
|
lines = []
|
627
|
-
|
627
|
+
until paragraph.empty?
|
628
628
|
unless (str = paragraph.slice!(pattern).sub(/[ \n]\z/, ''))
|
629
629
|
str = paragraph.slice!(0, line_length)
|
630
630
|
end
|
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
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Leitner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: webgen
|