Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-css_parser for 
openSUSE:Factory checked in at 2022-10-12 18:24:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-css_parser (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-css_parser.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-css_parser"

Wed Oct 12 18:24:46 2022 rev:5 rq:1009926 version:1.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-css_parser/rubygem-css_parser.changes    
2022-02-02 22:45:02.310057710 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-css_parser.new.2275/rubygem-css_parser.changes
  2022-10-12 18:26:25.365918512 +0200
@@ -1,0 +2,6 @@
+Mon Oct 10 13:02:00 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 1.12.0
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  css_parser-1.11.0.gem

New:
----
  css_parser-1.12.0.gem

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

Other differences:
------------------
++++++ rubygem-css_parser.spec ++++++
--- /var/tmp/diff_new_pack.CoRPD8/_old  2022-10-12 18:26:25.829919533 +0200
+++ /var/tmp/diff_new_pack.CoRPD8/_new  2022-10-12 18:26:25.829919533 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-css_parser
-Version:        1.11.0
+Version:        1.12.0
 Release:        0
 %define mod_name css_parser
 %define mod_full_name %{mod_name}-%{version}

++++++ css_parser-1.11.0.gem -> css_parser-1.12.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/css_parser/parser.rb new/lib/css_parser/parser.rb
--- old/lib/css_parser/parser.rb        2021-12-14 06:11:22.000000000 +0100
+++ new/lib/css_parser/parser.rb        2022-09-16 02:25:30.000000000 +0200
@@ -39,6 +39,7 @@
       @options = {absolute_paths: false,
                   import: true,
                   io_exceptions: true,
+                  rule_set_exceptions: true,
                   capture_offsets: false}.merge(options)
 
       # array of RuleSets
@@ -167,6 +168,8 @@
     def add_rule!(selectors, declarations, media_types = :all)
       rule_set = RuleSet.new(selectors, declarations)
       add_rule_set!(rule_set, media_types)
+    rescue ArgumentError => e
+      raise e if @options[:rule_set_exceptions]
     end
 
     # Add a CSS rule by setting the +selectors+, +declarations+, +filename+, 
+offset+ and +media_types+.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/css_parser/rule_set.rb 
new/lib/css_parser/rule_set.rb
--- old/lib/css_parser/rule_set.rb      2021-12-14 06:11:22.000000000 +0100
+++ new/lib/css_parser/rule_set.rb      2022-09-16 02:25:30.000000000 +0200
@@ -93,6 +93,8 @@
         else
           declarations[property] = Value.new(value)
         end
+      rescue ArgumentError => e
+        raise e.exception, "#{property} #{e.message}"
       end
       alias add_declaration! []=
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/css_parser/version.rb 
new/lib/css_parser/version.rb
--- old/lib/css_parser/version.rb       2021-12-14 06:11:22.000000000 +0100
+++ new/lib/css_parser/version.rb       2022-09-16 02:25:30.000000000 +0200
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module CssParser
-  VERSION = '1.11.0'.freeze
+  VERSION = '1.12.0'.freeze
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2021-12-14 06:11:22.000000000 +0100
+++ new/metadata        2022-09-16 02:25:30.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: css_parser
 version: !ruby/object:Gem::Version
-  version: 1.11.0
+  version: 1.12.0
 platform: ruby
 authors:
 - Alex Dunae
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2021-12-14 00:00:00.000000000 Z
+date: 2022-09-16 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: addressable
@@ -170,7 +170,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.2.16
+rubygems_version: 3.1.6
 signing_key: 
 specification_version: 4
 summary: Ruby CSS parser.

Reply via email to