cmdparse 3.0.3 → 3.0.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b990cb78b118f816642e1acaba73d0a98fbcd4dc
4
- data.tar.gz: d3f75b4ba8fae6beaa47172c8bc0ad08bb27551a
2
+ SHA256:
3
+ metadata.gz: e5b749c49c99d6bd56ab96253a88f8a24ad9bc2263008841fccc158e72e8e858
4
+ data.tar.gz: 24664d3ad1a54edf4fb0399f0fc1e1f35111ae188d7ed7a2d26945feae48365a
5
5
  SHA512:
6
- metadata.gz: 44cda21f98d9274a036700ece6f101dff9269f9a3e6890e5f75b4ecdeab5b412e30634d273bf8e48e448173a9c49e1572d8236f0438d80d28a8bf93f6b8f7cc4
7
- data.tar.gz: 94917bf23b20760a9c488f8acafe5c4623b07964fbd82b452293fc10b82d6684322cc3ee55d6b8c5e5894553d752b25a258f3a384ebb258504647c59e8987ee8
6
+ metadata.gz: 9783eee0c5a79aaeabdc3767bd8d13978ccb3c31a5005ea6455f2c61e76c301fb16d0d3752e2f04c2e9303bc950034799bdc2605e27e0ac2551d1476feb6bbfa
7
+ data.tar.gz: 814a4d62f51928c0c56ae44c0665f41c06111f76ed2b7c3a2958ec95e5a850930e4d3ecdbecaedbcf89dfe7a7158126285cd9a897dd3e17f83ded3a26bcadb82
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.0.4
@@ -270,7 +270,55 @@ $logo-color: #3A974D;
270
270
  /***************************************/
271
271
  /***************************************/
272
272
 
273
- @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700|Open+Sans+Condensed:300,700");
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 */
@@ -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.3</span></h1>
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">&copy; 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="http://gettalong.org" />
50
+ <meta itemprop="url" content="https://gettalong.org" />
51
51
  </li>
52
- <li>Generated by <a href="http://webgen.gettalong.org">webgen</a><br /> on <b>{date: }</b></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
- <!-- Start of StatCounter Code for Default Guide -->
61
- <script type="text/javascript">
62
- var sc_project=10338773;
63
- var sc_invisible=1;
64
- var sc_security="7779f3af";
65
- var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www.");
66
- document.write("<sc"+"ript type='text/javascript' src='" + scJsHost+ "statcounter.com/counter/counter.js'></"+"script>");
67
- </script>
68
- <noscript><div class="statcounter"><a title="website statistics" href="http://statcounter.com/" target="_blank"><img class="statcounter" src="//c.statcounter.com/10338773/0/7779f3af/1/" alt="website statistics" /></a></div></noscript>
69
- <!-- End of StatCounter Code for Default Guide -->
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&amp;rec=1" style="border:0;" alt="" /></p></noscript>
75
+
70
76
  </body>
71
77
  </html>
@@ -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
@@ -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:
@@ -47,7 +47,7 @@ end
47
47
  module CmdParse
48
48
 
49
49
  # The version of this cmdparse implemention
50
- VERSION = '3.0.3'.freeze
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.3
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: 2017-01-13 00:00:00.000000000 Z
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.6.8
79
+ rubygems_version: 2.7.3
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Advanced command line parser supporting commands