Hello community,

here is the log from the commit of package rubygem-kramdown for 
openSUSE:Factory checked in at 2017-08-10 14:05:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-kramdown (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-kramdown.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-kramdown"

Thu Aug 10 14:05:41 2017 rev:9 rq:515075 version:1.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-kramdown/rubygem-kramdown.changes        
2017-01-15 11:17:33.714790846 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-kramdown.new/rubygem-kramdown.changes   
2017-08-10 14:13:17.302440825 +0200
@@ -1,0 +2,6 @@
+Thu Aug  3 19:25:30 UTC 2017 - co...@suse.com
+
+- updated to version 1.14.0
+ see installed news.feed
+
+-------------------------------------------------------------------

Old:
----
  kramdown-1.13.2.gem

New:
----
  kramdown-1.14.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-kramdown.spec ++++++
--- /var/tmp/diff_new_pack.ufo2cJ/_old  2017-08-10 14:13:18.094329326 +0200
+++ /var/tmp/diff_new_pack.ufo2cJ/_new  2017-08-10 14:13:18.102328199 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-kramdown
-Version:        1.13.2
+Version:        1.14.0
 Release:        0
 %define mod_name kramdown
 %define mod_full_name %{mod_name}-%{version}

++++++ kramdown-1.13.2.gem -> kramdown-1.14.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CONTRIBUTERS new/CONTRIBUTERS
--- old/CONTRIBUTERS    2017-01-07 09:10:16.000000000 +0100
+++ new/CONTRIBUTERS    2017-06-26 21:36:07.000000000 +0200
@@ -1,6 +1,6 @@
   Count Name
 ======= ====
-    829 Thomas Leitner <t_leit...@gmx.at>
+    847 Thomas Leitner <t_leit...@gmx.at>
       6 Gioele Barabucci <gio...@svario.it>
       4 Ted Pak <powerpak...@gmail.com>
       4 Shuanglei Tao <tsl0...@gmail.com>
@@ -17,6 +17,7 @@
       2 Jo Hund <jh...@clearcove.ca>
       2 Bran <m.ver...@gmail.com>
       1 winniehell <g...@winniehell.de>
+      1 William <suttonwilli...@gmail.com>
       1 utenmiki <utenm...@gmail.com>
       1 Trevor Wennblom <tre...@well.com>
       1 tomykaira <tomyka...@gmail.com>
@@ -32,13 +33,16 @@
       1 myqlarson <myqlar...@gmail.com>
       1 Michal Till <michal.t...@gmail.com>
       1 Matt Hickford <matt.hickf...@gmail.com>
+      1 Martyn Chamberlin <mar...@perfectioncoding.com>
       1 Marek Tuchowski <ma...@tuchowski.com.pl>
       1 Marcus Stollsteimer <sto....@web.de>
       1 Luca Barbato <luca.barb...@gmail.com>
       1 l3kn <he...@l3kn.de>
+      1 Jonathan Hooper <jonathan.hoo...@gsa.gov>
       1 John Croisant <jac...@gmail.com>
       1 Joe Fiorini <j...@faithfulgeek.org>
       1 Jens Kraemer <j...@jkraemer.net>
+      1 Hirofumi Wakasugi <bae...@gmail.com>
       1 Hector Correa <hec...@hectorcorrea.com>
       1 Florian Klampfer <f.klamp...@gmail.com>
       1 Floreal Morandat flore...@gmail.com <flore...@gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2017-01-07 09:10:16.000000000 +0100
+++ new/README.md       2017-06-26 21:36:07.000000000 +0200
@@ -7,8 +7,8 @@
 projects, too.
 
 However, if you use kramdown in a commercial setting, please consider 
**contributing back any
-changes** for the benefit of the community and/or **making a donation** (see 
the links in the
-sidebar on the [kramdown homepage](http://kramdown.gettalong.org/)!
+changes** for the benefit of the community and/or
+[**becoming a patron**](https://www.patreon.com/gettalong) - thanks!
 
 
 ## Introduction
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2017-01-07 09:10:16.000000000 +0100
+++ new/VERSION 2017-06-26 21:36:07.000000000 +0200
@@ -1 +1 @@
-1.13.1
+1.14.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benchmark/benchmark.sh new/benchmark/benchmark.sh
--- old/benchmark/benchmark.sh  2017-01-07 09:10:16.000000000 +0100
+++ new/benchmark/benchmark.sh  2017-06-26 21:36:07.000000000 +0200
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source ~/.bashrc
+source ~/.profile
 
 RUBY_VERSIONS=`rvm list strings | sort`
 KD_VERSIONS="`git tag | sort -V` master"
@@ -8,7 +8,7 @@
 AVERAGE=1
 MASTER_AS=master
 
-while getopts "r:k:o:m:a:" optname; do
+while getopts "r:k:om:a:" optname; do
     case "$optname" in
         "r")
             RUBY_VERSIONS="$OPTARG"
@@ -18,13 +18,13 @@
             ;;
         "o")
             OTHERS=true
-           ;;
-       "m")
-           MASTER_AS="$OPTARG"
-            ;;
-       "a")
-           AVERAGE="$OPTARG"
-           ;;
+            ;;
+        "m")
+            MASTER_AS="$OPTARG"
+            ;;
+        "a")
+            AVERAGE="$OPTARG"
+            ;;
         "?")
             echo "Unknown option $OPTARG"
             exit 1
@@ -50,8 +50,8 @@
 cd ${TMPDIR}/kramdown
 
 for RUBY_VERSION in $RUBY_VERSIONS; do
-       rvm $RUBY_VERSION
-       echo "Creating benchmark data for $(ruby -v)"
+  rvm use $RUBY_VERSION
+  echo "Creating benchmark data for $(ruby -v)"
 
     for KD_VERSION in $KD_VERSIONS; do
         echo "Using kramdown version $KD_VERSION"
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/default.scss new/doc/default.scss
--- old/doc/default.scss        2017-01-07 09:10:16.000000000 +0100
+++ new/doc/default.scss        2017-06-26 21:36:07.000000000 +0200
@@ -190,3 +190,28 @@
     display: block;
     text-align: center;
 }
+
+
+.patreon, .patreon:hover {
+    border-radius: 50px;
+    padding: 5px 10px;
+    margin: 0 5px;
+    display: inline-block;
+    text-decoration: none !important;
+    background-color: #e6461a !important;
+    box-shadow: 0px 0px 5px 5px #e6461a;
+    color: white !important;
+    font-weight: bold;
+
+    &:hover {
+      box-shadow: 0px 0px 0px 5px #e6461a;
+    }
+}
+
+#call-to-arms {
+  text-align: center;
+  margin: 40px 0 10px;
+  background-color: rgba(255, 255, 255, 0.18);
+  padding: 30px;
+  border-radius: 100px;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/documentation.template 
new/doc/documentation.template
--- old/doc/documentation.template      2017-01-07 09:10:16.000000000 +0100
+++ new/doc/documentation.template      2017-06-26 21:36:07.000000000 +0200
@@ -1,4 +1,8 @@
 --- name:sidebar pipeline:erb,tags,kramdown
+<div style="text-align: right">
+<a href="https://www.patreon.com/bePatron?u=4908963"; class="patreon">Become a 
Patron!</a>
+</div>
+
 <h1>Documentation</h1>
 
 * Parsers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/index.page new/doc/index.page
--- old/doc/index.page  2017-01-07 09:10:16.000000000 +0100
+++ new/doc/index.page  2017-06-26 21:36:07.000000000 +0200
@@ -97,12 +97,16 @@
 It is probably the fastest pure-Ruby Markdown converter available (September 
2014), being about 3x
 faster than [Maruku] and about 4.5x faster than [BlueFeather].
 
-Version **1.13.2**{:itemprop="softwareVersion"} released on
-**2017-01-07**{:itemprop="datePublished"}, [more news](news.html)
+Version **1.14.0**{:itemprop="softwareVersion"} released on
+**2017-06-26**{:itemprop="datePublished"}, [more news](news.html)
 {: style="text-align: center; font-size: 80%"}
 
 </div>
 
+<div id="call-to-arms">
+Support kramdown development and <a 
href="https://www.patreon.com/bePatron?u=4908963"; class="patreon">become a 
patron</a>!
+</div>
+
 
 [PHP Markdown Extra]: http://michelf.com/projects/php-markdown/extra/
 [Maruku]: http://maruku.rubyforge.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/quickref.page new/doc/quickref.page
--- old/doc/quickref.page       2017-01-07 09:10:16.000000000 +0100
+++ new/doc/quickref.page       2017-06-26 21:36:07.000000000 +0200
@@ -3,6 +3,10 @@
 in_menu: true
 sort_info: 9
 --- name:sidebar
+<div style="text-align: right">
+<a href="https://www.patreon.com/bePatron?u=4908963"; class="patreon">Become a 
Patron!</a>
+</div>
+
 <h1>Contents</h1>
 
 {menu: {options: {descendants: true, levels: [2,6]}}}
@@ -518,7 +522,7 @@
 {kdexample}
 
 If you want to use literal backticks in your code, just use two or more 
backticks as delimiters. The
-space right after the beginning delimiter and the one right before the closing 
delimiter are ignore:
+space right after the beginning delimiter and the one right before the closing 
delimiter are ignored:
 
 {kdexample::}
 Use backticks to markup code,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/sidebar.template new/doc/sidebar.template
--- old/doc/sidebar.template    2017-01-07 09:10:16.000000000 +0100
+++ new/doc/sidebar.template    2017-06-26 21:36:07.000000000 +0200
@@ -1,9 +1,13 @@
 <h2>Support kramdown</h2>
 
 <p>If you like kramdown and would like to support it, you are welcome to make 
a small
-donation (PayPal or Pledgie) -- it will surely be appreciated! Thanks!</p>
+donation (Patreon, PayPal or Pledgie) -- it will surely be appreciated! 
Thanks!</p>
 
-<form action="https://www.paypal.com/cgi-bin/webscr"; method="post" 
target="_top">
+<div style="text-align: center">
+
+<a href="https://www.patreon.com/bePatron?u=4908963"; class="patreon">Become a 
Patron!</a>
+
+<form style="margin-top: 15px" action="https://www.paypal.com/cgi-bin/webscr"; 
method="post" target="_top">
 <input type="hidden" name="cmd" value="_s-xclick">
 <input type="hidden" name="hosted_button_id" value="99HUWKWPMUHWG">
 <input type="image" 
src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif"; border="0" 
name="submit" alt="PayPal - The safer, easier way to pay online!">
@@ -12,6 +16,8 @@
 
 <a href='https://pledgie.com/campaigns/16657'><img alt='Click here to lend 
your support to: kramdown and make a donation at pledgie.com !' 
src='https://pledgie.com/campaigns/16657.png?skin_name=chrome' border='0' ></a>
 
+</div>
+
 <h2>Sponsors</h2>
 
 <p>GROSSWEBER provides <a href="http://grossweber.com/b/kramdown"; 
target="_blank">software
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/syntax.page new/doc/syntax.page
--- old/doc/syntax.page 2017-01-07 09:10:16.000000000 +0100
+++ new/doc/syntax.page 2017-06-26 21:36:07.000000000 +0200
@@ -3,6 +3,10 @@
 in_menu: true
 sort_info: 10
 --- name:sidebar
+<div style="text-align: right">
+<a href="https://www.patreon.com/bePatron?u=4908963"; class="patreon">Become a 
Patron!</a>
+</div>
+
 <h1>Contents</h1>
 
 {menu: {options: {descendants: true, levels: [2,6]}}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/converter/base.rb 
new/lib/kramdown/converter/base.rb
--- old/lib/kramdown/converter/base.rb  2017-01-07 09:10:16.000000000 +0100
+++ new/lib/kramdown/converter/base.rb  2017-06-26 21:36:07.000000000 +0200
@@ -67,7 +67,7 @@
         false
       end
 
-      # Returns whether the template should be applied ater the conversion of 
the tree.
+      # Returns whether the template should be applied after the conversion of 
the tree.
       #
       # Defaults to true.
       def apply_template_after?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/converter/hash_ast.rb 
new/lib/kramdown/converter/hash_ast.rb
--- old/lib/kramdown/converter/hash_ast.rb      2017-01-07 09:10:16.000000000 
+0100
+++ new/lib/kramdown/converter/hash_ast.rb      2017-06-26 21:36:07.000000000 
+0200
@@ -32,5 +32,7 @@
 
     end
 
+    HashAst = HashAST
+
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/converter/syntax_highlighter/rouge.rb 
new/lib/kramdown/converter/syntax_highlighter/rouge.rb
--- old/lib/kramdown/converter/syntax_highlighter/rouge.rb      2017-01-07 
09:10:16.000000000 +0100
+++ new/lib/kramdown/converter/syntax_highlighter/rouge.rb      2017-06-26 
21:36:07.000000000 +0200
@@ -17,6 +17,14 @@
 
       # Highlighting via Rouge is available if this constant is +true+.
       AVAILABLE = true
+
+      begin
+        # Rouge::Formatters::HTMLLegacy is available on Rouge 2.0 or later
+        FORMATTER_CLASS = ::Rouge::Formatters::HTMLLegacy
+      rescue NameError
+        # Fallbacks to Rouge 1.x formatter if Rouge::Formatters::HTMLLegacy is 
not available
+        FORMATTER_CLASS = ::Rouge::Formatters::HTML
+      end
     rescue LoadError, SyntaxError
       AVAILABLE = false  # :nodoc:
     end
@@ -26,8 +34,8 @@
       call_opts[:default_lang] = opts[:default_lang]
       lexer = ::Rouge::Lexer.find_fancy(lang || opts[:default_lang], text)
       return nil if opts[:disable] || !lexer
-
-      formatter = (opts.fetch(:formatter, ::Rouge::Formatters::HTML)).new(opts)
+      opts[:css_class] ||= 'highlight' # For backward compatibility when using 
Rouge 2.0
+      formatter = (opts.fetch(:formatter, FORMATTER_CLASS)).new(opts)
       formatter.format(lexer.lex(text))
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/converter.rb 
new/lib/kramdown/converter.rb
--- old/lib/kramdown/converter.rb       2017-01-07 09:10:16.000000000 +0100
+++ new/lib/kramdown/converter.rb       2017-06-26 21:36:07.000000000 +0200
@@ -27,6 +27,7 @@
     autoload :RemoveHtmlTags, 'kramdown/converter/remove_html_tags'
     autoload :Pdf, 'kramdown/converter/pdf'
     autoload :HashAST, 'kramdown/converter/hash_ast'
+    autoload :HashAst, 'kramdown/converter/hash_ast'
     autoload :Man, 'kramdown/converter/man'
 
     extend ::Kramdown::Utils::Configurable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/parser/gfm.rb 
new/lib/kramdown/parser/gfm.rb
--- old/lib/kramdown/parser/gfm.rb      2017-01-07 09:10:16.000000000 +0100
+++ new/lib/kramdown/parser/gfm.rb      2017-06-26 21:36:07.000000000 +0200
@@ -84,7 +84,13 @@
           elsif child.type == :smart_quote
             raw_text << 
::Kramdown::Utils::Entities.entity(child.value.to_s).char
           elsif child.type == :typographic_sym
-            raw_text << 
::Kramdown::Utils::Entities.entity(child.value.to_s).char
+            if child.value == :laquo_space
+              raw_text << "« "
+            elsif child.value == :raquo_space
+              raw_text << " »"
+            else
+              raw_text << 
::Kramdown::Utils::Entities.entity(child.value.to_s).char
+            end
           else
             child.children.each {|c| append_text.call(c)}
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/version.rb new/lib/kramdown/version.rb
--- old/lib/kramdown/version.rb 2017-01-07 09:10:16.000000000 +0100
+++ new/lib/kramdown/version.rb 2017-06-26 21:36:07.000000000 +0200
@@ -10,6 +10,6 @@
 module Kramdown
 
   # The kramdown version.
-  VERSION = '1.13.2'
+  VERSION = '1.14.0'
 
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-01-07 09:10:16.000000000 +0100
+++ new/metadata        2017-06-26 21:36:07.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: kramdown
 version: !ruby/object:Gem::Version
-  version: 1.13.2
+  version: 1.14.0
 platform: ruby
 authors:
 - Thomas Leitner
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-01-07 00:00:00.000000000 Z
+date: 2017-06-26 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: minitest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/test_files.rb new/test/test_files.rb
--- old/test/test_files.rb      2017-01-07 09:10:16.000000000 +0100
+++ new/test/test_files.rb      2017-06-26 21:36:07.000000000 +0200
@@ -15,8 +15,14 @@
 begin
   require 'kramdown/converter/syntax_highlighter/rouge'
 
+  class Kramdown::Converter::SyntaxHighlighter::Rouge::FORMATTER_CLASS
+    def format(tokens, &b)
+      super.sub(/<\/code><\/pre>\n?/, "</code></pre>\n")
+    end
+  end
+
   # custom formatter for tests
-  class RougeHTMLFormatters < ::Rouge::Formatters::HTML
+  class RougeHTMLFormatters < 
Kramdown::Converter::SyntaxHighlighter::Rouge::FORMATTER_CLASS
     tag 'rouge_html_formatters'
 
     def stream(tokens, &b)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases_gfm/header_ids.html 
new/test/testcases_gfm/header_ids.html
--- old/test/testcases_gfm/header_ids.html      2017-01-07 09:10:16.000000000 
+0100
+++ new/test/testcases_gfm/header_ids.html      2017-06-26 21:36:07.000000000 
+0200
@@ -22,6 +22,6 @@
 
 <h3 id="with-smart-quotes">With &#8220;smart&#8221; quotes</h3>
 
-<h3 id="with--typographic--symbols">with &#8212; typographic &#8230; 
symbols</h3>
+<h3 id="with--typographic--symbols">with &#8212; 
&#171;&#160;typographic&#160;&#187; &#8230; symbols</h3>
 
 <h3 id="with-m5">with <script type="math/tex">m=5</script></h3>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases_gfm/header_ids.html.19 
new/test/testcases_gfm/header_ids.html.19
--- old/test/testcases_gfm/header_ids.html.19   2017-01-07 09:10:16.000000000 
+0100
+++ new/test/testcases_gfm/header_ids.html.19   2017-06-26 21:36:07.000000000 
+0200
@@ -22,6 +22,6 @@
 
 <h3 id="with-smart-quotes">With “smart” quotes</h3>
 
-<h3 id="with--typographic--symbols">with — typographic … symbols</h3>
+<h3 id="with--typographic--symbols">with — « typographic » … symbols</h3>
 
 <h3 id="with-m5">with <script type="math/tex">m=5</script></h3>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases_gfm/header_ids.text 
new/test/testcases_gfm/header_ids.text
--- old/test/testcases_gfm/header_ids.text      2017-01-07 09:10:16.000000000 
+0100
+++ new/test/testcases_gfm/header_ids.text      2017-06-26 21:36:07.000000000 
+0200
@@ -22,6 +22,6 @@
 
 ### With "smart" quotes
 
-### with --- typographic ... symbols
+### with --- << typographic >> ... symbols
 
 ### with $$m=5$$


Reply via email to