cmdparse 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/VERSION +1 -1
- data/doc/default.scss +49 -1
- data/doc/default.template +19 -13
- data/doc/metainfo +9 -0
- data/doc/news.page +8 -0
- data/lib/cmdparse.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e5b749c49c99d6bd56ab96253a88f8a24ad9bc2263008841fccc158e72e8e858
|
4
|
+
data.tar.gz: 24664d3ad1a54edf4fb0399f0fc1e1f35111ae188d7ed7a2d26945feae48365a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9783eee0c5a79aaeabdc3767bd8d13978ccb3c31a5005ea6455f2c61e76c301fb16d0d3752e2f04c2e9303bc950034799bdc2605e27e0ac2551d1476feb6bbfa
|
7
|
+
data.tar.gz: 814a4d62f51928c0c56ae44c0665f41c06111f76ed2b7c3a2958ec95e5a850930e4d3ecdbecaedbcf89dfe7a7158126285cd9a897dd3e17f83ded3a26bcadb82
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.4
|
data/doc/default.scss
CHANGED
@@ -270,7 +270,55 @@ $logo-color: #3A974D;
|
|
270
270
|
/***************************************/
|
271
271
|
/***************************************/
|
272
272
|
|
273
|
-
@
|
273
|
+
@font-face {
|
274
|
+
font-family: 'Source Sans Pro';
|
275
|
+
font-style: normal;
|
276
|
+
font-weight: 400;
|
277
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
|
278
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-regular.woff2') format('woff2'),
|
279
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-regular.woff') format('woff'),
|
280
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-regular.ttf') format('truetype');
|
281
|
+
}
|
282
|
+
|
283
|
+
@font-face {
|
284
|
+
font-family: 'Source Sans Pro';
|
285
|
+
font-style: italic;
|
286
|
+
font-weight: 400;
|
287
|
+
src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'),
|
288
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-italic.woff2') format('woff2'),
|
289
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-italic.woff') format('woff'),
|
290
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-italic.ttf') format('truetype');
|
291
|
+
}
|
292
|
+
|
293
|
+
@font-face {
|
294
|
+
font-family: 'Source Sans Pro';
|
295
|
+
font-style: normal;
|
296
|
+
font-weight: 700;
|
297
|
+
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
|
298
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-700.woff2') format('woff2'),
|
299
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-700.woff') format('woff'),
|
300
|
+
url('//static.gettalong.org/fonts/source-sans-pro-v11-latin-ext_latin-700.ttf') format('truetype');
|
301
|
+
}
|
302
|
+
|
303
|
+
@font-face {
|
304
|
+
font-family: 'Open Sans Condensed';
|
305
|
+
font-style: normal;
|
306
|
+
font-weight: 300;
|
307
|
+
src: local('Open Sans Condensed Light'), local('OpenSansCondensed-Light'),
|
308
|
+
url('//static.gettalong.org/fonts/open-sans-condensed-v12-latin-ext_latin-300.woff2') format('woff2'),
|
309
|
+
url('//static.gettalong.org/fonts/open-sans-condensed-v12-latin-ext_latin-300.woff') format('woff'),
|
310
|
+
url('//static.gettalong.org/fonts/open-sans-condensed-v12-latin-ext_latin-300.ttf') format('truetype');
|
311
|
+
}
|
312
|
+
|
313
|
+
@font-face {
|
314
|
+
font-family: 'Open Sans Condensed';
|
315
|
+
font-style: normal;
|
316
|
+
font-weight: 700;
|
317
|
+
src: local('Open Sans Condensed Bold'), local('OpenSansCondensed-Bold'),
|
318
|
+
url('//static.gettalong.org/fonts/open-sans-condensed-v12-latin-ext_latin-700.woff2') format('woff2'),
|
319
|
+
url('//static.gettalong.org/fonts/open-sans-condensed-v12-latin-ext_latin-700.woff') format('woff'),
|
320
|
+
url('//static.gettalong.org/fonts/open-sans-condensed-v12-latin-ext_latin-700.ttf') format('truetype');
|
321
|
+
}
|
274
322
|
|
275
323
|
/*********************************************************************************/
|
276
324
|
/* Basic */
|
data/doc/default.template
CHANGED
@@ -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.
|
27
|
+
<h1 id="logo"><a href="{relocatable: /}">cmdparse</a><br /><span>v 3.0.4</span></h1>
|
28
28
|
|
29
29
|
<!-- Nav -->
|
30
30
|
<nav id="nav">
|
@@ -47,9 +47,10 @@
|
|
47
47
|
<li itemscope="" itemtype="http://schema.org/Person">© 2004-2015
|
48
48
|
<span itemprop="name">Thomas Leitner</span>
|
49
49
|
<meta itemprop="email" content="t_leitner@gmx.at" />
|
50
|
-
<meta itemprop="url" content="
|
50
|
+
<meta itemprop="url" content="https://gettalong.org" />
|
51
51
|
</li>
|
52
|
-
<li
|
52
|
+
<li><a href="https://gettalong.org/legal.html">Legal Notice</a> | <a href="https://gettalong.org/privacy.html">Privacy Policy</a></li>
|
53
|
+
<li>Generated by <a href="https://webgen.gettalong.org">webgen</a><br /> on <b>{date: }</b></li>
|
53
54
|
<li>Design based on<br />Striped by <a href="http://html5up.net">HTML5 UP</a></li>
|
54
55
|
</ul>
|
55
56
|
|
@@ -57,15 +58,20 @@
|
|
57
58
|
|
58
59
|
</div>
|
59
60
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
61
|
+
<script type="text/javascript">
|
62
|
+
var _paq = _paq || [];
|
63
|
+
_paq.push(["setDoNotTrack", true]);
|
64
|
+
_paq.push(['trackPageView']);
|
65
|
+
_paq.push(['enableLinkTracking']);
|
66
|
+
(function() {
|
67
|
+
var u="//stats.gettalong.org/";
|
68
|
+
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
69
|
+
_paq.push(['setSiteId', '2']);
|
70
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
71
|
+
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
72
|
+
})();
|
73
|
+
</script>
|
74
|
+
<noscript><p><img src="//stats.gettalong.org/piwik.php?idsite=2&rec=1" style="border:0;" alt="" /></p></noscript>
|
75
|
+
|
70
76
|
</body>
|
71
77
|
</html>
|
data/doc/metainfo
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
--- paths
|
2
|
+
[/**/*.js, /**/*.css]:
|
3
|
+
modified_at_in_dest_path: true
|
4
|
+
|
5
|
+
/**/*.scss:
|
6
|
+
modified_at_in_dest_path: true
|
7
|
+
|
1
8
|
--- alcn
|
2
9
|
/api/:
|
3
10
|
title: API
|
@@ -12,3 +19,5 @@
|
|
12
19
|
/api/**/index*.html:
|
13
20
|
in_menu: false
|
14
21
|
|
22
|
+
/**/*.css:
|
23
|
+
pipeline: scss,cssminify
|
data/doc/news.page
CHANGED
@@ -5,6 +5,14 @@ sort_info: 8
|
|
5
5
|
---
|
6
6
|
## News
|
7
7
|
|
8
|
+
### 2018-12-22 cmdparse 3.0.4 released!
|
9
|
+
|
10
|
+
Changes:
|
11
|
+
|
12
|
+
* Fix bug in help output generation when a word is longer than the available space - thanks to
|
13
|
+
Damien Robert for the bug report and pull request
|
14
|
+
|
15
|
+
|
8
16
|
### 2017-01-13 cmdparse 3.0.3 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.4'.freeze
|
51
51
|
|
52
52
|
|
53
53
|
# Base class for all cmdparse errors.
|
@@ -625,7 +625,7 @@ module CmdParse
|
|
625
625
|
content.split(/\n\n/).map do |paragraph|
|
626
626
|
lines = []
|
627
627
|
until paragraph.empty?
|
628
|
-
unless (str = paragraph.slice!(pattern).sub(/[ \n]\z/, ''))
|
628
|
+
unless (str = paragraph.slice!(pattern)) and (str = str.sub(/[ \n]\z/, ''))
|
629
629
|
str = paragraph.slice!(0, line_length)
|
630
630
|
end
|
631
631
|
lines << (lines.empty? && !indent_first_line ? '' : ' ' * indent) + str.tr("\n", ' ')
|
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.4
|
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: 2018-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: webgen
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.
|
79
|
+
rubygems_version: 2.7.3
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Advanced command line parser supporting commands
|