github-markup 1.6.1 → 1.6.2

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
  SHA1:
3
- metadata.gz: 015436ffdbdabf0b573f786f948960ccae1e547c
4
- data.tar.gz: e508fb427eb6e7ce276ab54478ff5a1f81bded7b
3
+ metadata.gz: 9cdb298d9ec9756e7fab1f948d1025957a5059c8
4
+ data.tar.gz: 2ca9f9e7c1c07111d389c242f1bbf7a8d163b051
5
5
  SHA512:
6
- metadata.gz: 67f22bcd3f185424ba4ad390b60c972a0167afc1e3bc22d5b0bd2978dd3e9825d5ed1711e9d31cb94dcac64003e9d11aa536a45282416ae6f0e6bde121230d79
7
- data.tar.gz: 875c40738eef72db08c8307800e10cbb49fadcfee28cd90bd084736e761a8e3b182c4fdf501d69ec93050693e844a7a20a059a30ded40bedddc558831a1b7322
6
+ metadata.gz: 8f9556d901900d9a930879aa1722af0465130797d7e80461ddf7af5618988b560c445f6a7db90f2aeaa5f28d7334b55255c1e8ad3dbca9577ba9770382263596
7
+ data.tar.gz: 6657b245fd58d141fef0a72b6e88dc46a9943cf19d676cb1a367dcb38bc1c225a30956897da7e5e3ed0928b7a8b10f99ffe29c4e08bbccabb006475d28c9bc08
@@ -1,3 +1,5 @@
1
+ dist: trusty
2
+ sudo: required
1
3
  language: ruby
2
4
  rvm:
3
5
  - 2.0.0
@@ -13,10 +15,8 @@ notifications:
13
15
  git:
14
16
  depth: 10
15
17
  before_install:
16
- - sudo apt-get install perl
17
- - sudo add-apt-repository --yes ppa:kalakris/cmake
18
18
  - sudo apt-get update -qq
19
- - sudo apt-get install cmake
19
+ - sudo apt-get install perl
20
20
  - curl -L http://cpanmin.us | perl - --sudo App::cpanminus
21
21
  - sudo cpanm --installdeps --notest Pod::Simple
22
22
  - sudo pip install docutils
@@ -10,7 +10,7 @@ If you are having an issue with:
10
10
 
11
11
  * **Syntax highlighting** - see [github/linguist](https://github.com/github/linguist/blob/master/CONTRIBUTING.md#fixing-syntax-highlighting)
12
12
  * **Markdown on GitHub** - contact support@github.com
13
- * **Styling issues on GitHub** - see [primer/markdown](https://github.com/primer/markdown)
13
+ * **Styling issues on GitHub** - see [primer-markdown](https://github.com/primer/primer-css/tree/master/modules/primer-markdown) module in the [primer/primer-css](https://github.com/primer/primer-css) repository
14
14
 
15
15
  Anything else - [search open issues](https://github.com/github/markup/issues) or create an issue and and we'll help point you in the right direction.
16
16
 
data/HISTORY.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.6.2 - 2017-11-27
2
+
3
+ ### Changed
4
+
5
+ * Only report basename in usage [#1131](https://github.com/github/markup/pull/1131)
6
+ * rest2html parameter signature fix [#1082](https://github.com/github/markup/pull/1082)
7
+
1
8
  ## 1.6.1 - 2017-07-25
2
9
 
3
10
  ### Changed
data/README.md CHANGED
@@ -20,11 +20,11 @@ The following markups are supported. The dependencies listed are required if
20
20
  you wish to run the library. You can also run `script/bootstrap` to fetch them all.
21
21
 
22
22
  * [.markdown, .mdown, .mkdn, .md](http://daringfireball.net/projects/markdown/) -- `gem install commonmarker` (https://github.com/gjtorikian/commonmarker)
23
- * [.textile](https://www.promptworks.com/textile) -- `gem install RedCloth`
24
- * [.rdoc](https://rdoc.github.io/rdoc/) -- `gem install rdoc -v 3.6.1`
25
- * [.org](http://orgmode.org/) -- `gem install org-ruby`
26
- * [.creole](http://wikicreole.org/) -- `gem install creole`
27
- * [.mediawiki, .wiki](http://www.mediawiki.org/wiki/Help:Formatting) -- `gem install wikicloth`
23
+ * [.textile](https://www.promptworks.com/textile) -- `gem install RedCloth` (https://github.com/jgarber/redcloth)
24
+ * [.rdoc](https://ruby.github.io/rdoc/) -- `gem install rdoc -v 3.6.1`
25
+ * [.org](http://orgmode.org/) -- `gem install org-ruby` (https://github.com/wallyqs/org-ruby)
26
+ * [.creole](http://wikicreole.org/) -- `gem install creole` (https://github.com/larsch/creole)
27
+ * [.mediawiki, .wiki](http://www.mediawiki.org/wiki/Help:Formatting) -- `gem install wikicloth` (https://github.com/nricciar/wikicloth)
28
28
  * [.rst](http://docutils.sourceforge.net/rst.html) -- `pip install docutils`
29
29
  * [.asciidoc, .adoc, .asc](http://asciidoc.org/) -- `gem install asciidoctor` (http://asciidoctor.org)
30
30
  * [.pod](http://search.cpan.org/dist/perl/pod/perlpod.pod) -- `Pod::Simple::XHTML`
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.dirname(File.realpath(__FILE__)) + "/../lib"
4
4
  require 'github/markup'
5
5
 
6
6
  if ARGV.size < 1
7
- print "usage: #$0 FILE [ FILES ... ]\n"
7
+ print "usage: #{File.basename($0)} FILE [ FILES ... ]\n"
8
8
  exit 1
9
9
  end
10
10
 
@@ -1,6 +1,6 @@
1
1
  module GitHub
2
2
  module Markup
3
- VERSION = '1.6.1'
3
+ VERSION = '1.6.2'
4
4
  Version = VERSION
5
5
  end
6
6
  end
@@ -230,8 +230,7 @@ class GitHubHTMLTranslator(HTMLTranslator):
230
230
  HTMLTranslator.depart_image(self, node)
231
231
 
232
232
 
233
- def kbd(name, rawtext, text, lineno, inliner, options=None, content=None):
234
-
233
+ def kbd(name, rawtext, text, lineno, inliner, options={}, content=[]):
235
234
  return [nodes.raw('', '<kbd>%s</kbd>' % text, format='html')], []
236
235
 
237
236
 
@@ -91,7 +91,7 @@ end
91
91
 
92
92
  ** 2009-12-27: Version 0.3
93
93
 
94
- - Uses rubypants to get better typography (smart quotes, elipses, etc...).
94
+ - Uses rubypants to get better typography (smart quotes, ellipses, etc...).
95
95
  - Fixed bugs:
96
96
  - Tables and lists did not get properly closed at the end of file
97
97
  - You couldn't do inline formatting inside table cells
@@ -96,7 +96,7 @@ end
96
96
  </ul>
97
97
  <h2>2.7 2009-12-27: Version 0.3</h2>
98
98
  <ul>
99
- <li>Uses rubypants to get better typography (smart quotes, elipses, etc…).</li>
99
+ <li>Uses rubypants to get better typography (smart quotes, ellipses, etc…).</li>
100
100
  <li>Fixed bugs:
101
101
  <ul>
102
102
  <li>Tables and lists did not get properly closed at the end of file</li>
@@ -26,7 +26,7 @@ This project is broken into three primary components:
26
26
  =item * The first is the parser, located in the C<src/parser/> directory. The
27
27
  parser proper is composed of three source files, F<grammar.pg> which is a
28
28
  Perl6Grammar file, and F<actions.pm> which is the associated actions file
29
- written in NQP, and F<grammar-oper.pm> which is the operator precidence parser.
29
+ written in NQP, and F<grammar-oper.pm> which is the operator precedence parser.
30
30
  In addition, several helper functions used by the parser are located in
31
31
  C<src/internals>.
32
32
 
@@ -21,7 +21,7 @@
21
21
 
22
22
  <ul>
23
23
 
24
- <li><p>The first is the parser, located in the <code>src/parser/</code> directory. The parser proper is composed of three source files, <i>grammar.pg</i> which is a Perl6Grammar file, and <i>actions.pm</i> which is the associated actions file written in NQP, and <i>grammar-oper.pm</i> which is the operator precidence parser. In addition, several helper functions used by the parser are located in <code>src/internals</code>.</p>
24
+ <li><p>The first is the parser, located in the <code>src/parser/</code> directory. The parser proper is composed of three source files, <i>grammar.pg</i> which is a Perl6Grammar file, and <i>actions.pm</i> which is the associated actions file written in NQP, and <i>grammar-oper.pm</i> which is the operator precedence parser. In addition, several helper functions used by the parser are located in <code>src/internals</code>.</p>
25
25
 
26
26
  </li>
27
27
  <li><p>The second component is the library of builtin functions in the <code>src/builtins/</code> directory. These functions are, currently, written primarily in PIR. Function names prefixed with an underscore are &quot;private&quot; functions for use with the parser. Other functions should have names which are the same as names for regular MATLAB or Octave functions, since they will be available to the HLL. These are also separated into different namespaces depending on visibility and utility.</p>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-markup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2017-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake