commit rubygem-jekyll-sass-converter for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-jekyll-sass-converter for openSUSE:Factory checked in at 2020-03-07 21:38:30 Comparing /work/SRC/openSUSE:Factory/rubygem-jekyll-sass-converter (Old) and /work/SRC/openSUSE:Factory/.rubygem-jekyll-sass-converter.new.26092 (New) Package is "rubygem-jekyll-sass-converter" Sat Mar 7 21:38:30 2020 rev:4 rq:773776 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-jekyll-sass-converter/rubygem-jekyll-sass-converter.changes 2018-03-06 10:45:23.032411322 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-jekyll-sass-converter.new.26092/rubygem-jekyll-sass-converter.changes 2020-03-07 21:38:35.060286159 +0100 @@ -1,0 +2,6 @@ +Mon Feb 10 14:59:15 UTC 2020 - Stephan Kulow + +- updated to version 2.1.0 + no changelog found + +--- Old: jekyll-sass-converter-1.5.2.gem New: jekyll-sass-converter-2.1.0.gem Other differences: -- ++ rubygem-jekyll-sass-converter.spec ++ --- /var/tmp/diff_new_pack.IIaazf/_old 2020-03-07 21:38:36.396287061 +0100 +++ /var/tmp/diff_new_pack.IIaazf/_new 2020-03-07 21:38:36.436287087 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-jekyll-sass-converter # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,15 +24,15 @@ # Name: rubygem-jekyll-sass-converter -Version:1.5.2 +Version:2.1.0 Release:0 %define mod_name jekyll-sass-converter %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{ruby >= 2.4.0} BuildRequires: %{rubygem gem2rpm} -BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 -Url:https://github.com/jekyll/jekyll-sass-converter +URL:https://github.com/jekyll/jekyll-sass-converter Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:A basic Sass converter for Jekyll ++ jekyll-sass-converter-1.5.2.gem -> jekyll-sass-converter-2.1.0.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/converters/sass.rb new/lib/jekyll/converters/sass.rb --- old/lib/jekyll/converters/sass.rb 2018-02-03 23:04:46.0 +0100 +++ new/lib/jekyll/converters/sass.rb 2020-02-05 21:39:42.0 +0100 @@ -1,19 +1,17 @@ # frozen_string_literal: true -require "sass" +require "sassc" require "jekyll/utils" require "jekyll/converters/scss" module Jekyll module Converters class Sass < Scss + EXTENSION_PATTERN = %r!^\.sass$!i.freeze + safe true priority :low - def matches(ext) -ext =~ %r!^\.sass$!i - end - def syntax :sass end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll/converters/scss.rb new/lib/jekyll/converters/scss.rb --- old/lib/jekyll/converters/scss.rb 2018-02-03 23:04:46.0 +0100 +++ new/lib/jekyll/converters/scss.rb 2020-02-05 21:39:42.0 +0100 @@ -1,21 +1,75 @@ # frozen_string_literal: true -require "sass" +require "sassc" require "jekyll/utils" +require "jekyll/source_map_page" module Jekyll module Converters class Scss < Converter - BYTE_ORDER_MARK = %r!^\xEF\xBB\xBF! + BYTE_ORDER_MARK = %r!^\xEF\xBB\xBF!.freeze + EXTENSION_PATTERN = %r!^\.scss$!i.freeze + SyntaxError = Class.new(ArgumentError) safe true priority :low + # This hook is triggered just before the method {#convert(content)} is executed, it + # associates the Scss (and Sass) converters with their respective sass_page objects. + Jekyll::Hooks.register :pages, :pre_render do |page| +next unless page.is_a?(Jekyll::Page) + +page.converters.each do |converter| + converter.associate_page(page) if converter.is_a?(Jekyll::Converters::Scss) +end + end + + # This hook is triggered just after the method {#convert(content)} has been executed, it + # dissociates the Scss (and Sass) converters with their respective sass_page objects. + Jekyl
commit rubygem-jekyll-sass-converter for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-jekyll-sass-converter for openSUSE:Factory checked in at 2018-03-06 10:45:20 Comparing /work/SRC/openSUSE:Factory/rubygem-jekyll-sass-converter (Old) and /work/SRC/openSUSE:Factory/.rubygem-jekyll-sass-converter.new (New) Package is "rubygem-jekyll-sass-converter" Tue Mar 6 10:45:20 2018 rev:3 rq:574933 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-jekyll-sass-converter/rubygem-jekyll-sass-converter.changes 2016-12-11 13:27:30.834075286 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-jekyll-sass-converter.new/rubygem-jekyll-sass-converter.changes 2018-03-06 10:45:23.032411322 +0100 @@ -1,0 +2,12 @@ +Thu Feb 8 06:09:43 UTC 2018 - co...@suse.com + +- updated to version 1.5.2 + no changelog found + +--- +Sun Dec 3 19:22:35 UTC 2017 - co...@suse.com + +- updated to version 1.5.1 + no changelog found + +--- Old: jekyll-sass-converter-1.5.0.gem New: jekyll-sass-converter-1.5.2.gem Other differences: -- ++ rubygem-jekyll-sass-converter.spec ++ --- /var/tmp/diff_new_pack.OvDi2r/_old 2018-03-06 10:45:24.284366090 +0100 +++ /var/tmp/diff_new_pack.OvDi2r/_new 2018-03-06 10:45:24.288365945 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-jekyll-sass-converter # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-jekyll-sass-converter -Version:1.5.0 +Version:1.5.2 Release:0 %define mod_name jekyll-sass-converter %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 Url:https://github.com/jekyll/jekyll-sass-converter -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:A basic Sass converter for Jekyll License:MIT ++ jekyll-sass-converter-1.5.0.gem -> jekyll-sass-converter-1.5.2.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/converters/sass.rb new/lib/jekyll/converters/sass.rb --- old/lib/jekyll/converters/sass.rb 2016-11-14 22:27:37.0 +0100 +++ new/lib/jekyll/converters/sass.rb 2018-02-03 23:04:46.0 +0100 @@ -1,6 +1,8 @@ -require 'sass' -require 'jekyll/utils' -require 'jekyll/converters/scss' +# frozen_string_literal: true + +require "sass" +require "jekyll/utils" +require "jekyll/converters/scss" module Jekyll module Converters @@ -9,7 +11,7 @@ priority :low def matches(ext) -ext =~ /^\.sass$/i +ext =~ %r!^\.sass$!i end def syntax diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll/converters/scss.rb new/lib/jekyll/converters/scss.rb --- old/lib/jekyll/converters/scss.rb 2016-11-14 22:27:37.0 +0100 +++ new/lib/jekyll/converters/scss.rb 2018-02-03 23:04:46.0 +0100 @@ -1,12 +1,12 @@ -# encoding: utf-8 +# frozen_string_literal: true -require 'sass' -require 'jekyll/utils' +require "sass" +require "jekyll/utils" module Jekyll module Converters class Scss < Converter - BYTE_ORDER_MARK = /^\xEF\xBB\xBF/ + BYTE_ORDER_MARK = %r!^\xEF\xBB\xBF! SyntaxError = Class.new(ArgumentError) safe true @@ -15,10 +15,10 @@ ALLOWED_STYLES = %w(nested expanded compact compressed).freeze def matches(ext) -ext =~ /^\.scss$/i +ext =~ %r!^\.scss$!i end - def output_ext(ext) + def output_ext(_ext) ".css" end @@ -29,7 +29,7 @@ def jekyll_sass_configuration options = @config["sass"] || {} unless options["style"].nil? - options["style"] = options["style"].to_s.gsub(/\A:/, '').to_sym + options["style"] = options["style"].to_s.gsub(%r!\A:!, "").to_sym end options end @@ -40,7 +40,7 @@ :load_paths => sass_load_paths, :syntax => syntax, :style => sass_style, -:cache => false +:cache => false, } else Jekyll::Utils.symbolize_hash_keys( @@ -111,16 +111,16 @@ sass_build_config