Hello community,

here is the log from the commit of package rubygem-jekyll for openSUSE:Factory 
checked in at 2018-07-18 22:50:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-jekyll (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-jekyll.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-jekyll"

Wed Jul 18 22:50:02 2018 rev:9 rq:621008 version:3.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-jekyll/rubygem-jekyll.changes    
2018-05-06 15:01:49.288248648 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-jekyll.new/rubygem-jekyll.changes       
2018-07-18 22:50:05.039728040 +0200
@@ -1,0 +2,12 @@
+Tue Jun  5 14:04:29 UTC 2018 - [email protected]
+
+- updated to version 3.8.3
+  no changelog found
+
+-------------------------------------------------------------------
+Sat May 19 16:04:16 UTC 2018 - [email protected]
+
+- updated to version 3.8.2
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  jekyll-3.8.1.gem

New:
----
  jekyll-3.8.3.gem

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

Other differences:
------------------
++++++ rubygem-jekyll.spec ++++++
--- /var/tmp/diff_new_pack.636aS8/_old  2018-07-18 22:50:05.783725573 +0200
+++ /var/tmp/diff_new_pack.636aS8/_new  2018-07-18 22:50:05.787725560 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-jekyll
-Version:        3.8.1
+Version:        3.8.3
 Release:        0
 %define mod_name jekyll
 %define mod_full_name %{mod_name}-%{version}

++++++ jekyll-3.8.1.gem -> jekyll-3.8.3.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/jekyll/collection.rb new/lib/jekyll/collection.rb
--- old/lib/jekyll/collection.rb        2018-05-01 22:04:22.000000000 +0200
+++ new/lib/jekyll/collection.rb        2018-06-05 15:26:21.000000000 +0200
@@ -212,7 +212,9 @@
     def read_document(full_path)
       doc = Document.new(full_path, :site => site, :collection => self)
       doc.read
-      docs << doc unless doc.data["published"] == false
+      if site.unpublished || doc.published?
+        docs << doc
+      end
     end
 
     private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/jekyll/excerpt.rb new/lib/jekyll/excerpt.rb
--- old/lib/jekyll/excerpt.rb   2018-05-01 22:04:22.000000000 +0200
+++ new/lib/jekyll/excerpt.rb   2018-06-05 15:26:21.000000000 +0200
@@ -128,7 +128,7 @@
     #
     # Returns excerpt String
 
-    LIQUID_TAG_REGEX = %r!{%\s*(\w+).+\s*%}!m
+    LIQUID_TAG_REGEX = %r!{%-?\s*(\w+).+\s*-?%}!m
     MKDWN_LINK_REF_REGEX = %r!^ {0,3}\[[^\]]+\]:.+$!
 
     def extract_excerpt(doc_content)
@@ -141,7 +141,7 @@
         head =~ LIQUID_TAG_REGEX
         tag_name = Regexp.last_match(1)
 
-        if liquid_block?(tag_name) && 
head.match(%r!{%\s*end#{tag_name}\s*%}!).nil?
+        if liquid_block?(tag_name) && 
head.match(%r!{%-?\s*end#{tag_name}\s*-?%}!).nil?
           print_build_warning
           head << "\n{% end#{tag_name} %}"
         end
@@ -158,6 +158,11 @@
 
     def liquid_block?(tag_name)
       Liquid::Template.tags[tag_name].superclass == Liquid::Block
+    rescue NoMethodError
+      Jekyll.logger.error "Error:",
+        "A Liquid tag in the excerpt of #{doc.relative_path} couldn't be " \
+        "parsed."
+      raise
     end
 
     def print_build_warning
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/jekyll/version.rb new/lib/jekyll/version.rb
--- old/lib/jekyll/version.rb   2018-05-01 22:04:22.000000000 +0200
+++ new/lib/jekyll/version.rb   2018-06-05 15:26:21.000000000 +0200
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Jekyll
-  VERSION = "3.8.1".freeze
+  VERSION = "3.8.3".freeze
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-05-01 22:04:21.000000000 +0200
+++ new/metadata        2018-06-05 15:26:21.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: jekyll
 version: !ruby/object:Gem::Version
-  version: 3.8.1
+  version: 3.8.3
 platform: ruby
 authors:
 - Tom Preston-Werner
 autorequire: 
 bindir: exe
 cert_chain: []
-date: 2018-05-01 00:00:00.000000000 Z
+date: 2018-06-05 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: addressable


Reply via email to