Hello community,

here is the log from the commit of package rubygem-crass for openSUSE:Factory 
checked in at 2017-12-08 12:58:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-crass (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-crass.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-crass"

Fri Dec  8 12:58:01 2017 rev:2 rq:554718 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-crass/rubygem-crass.changes      
2017-12-06 08:57:54.194491483 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-crass.new/rubygem-crass.changes 
2017-12-08 12:58:10.719971874 +0100
@@ -1,0 +2,6 @@
+Fri Nov 17 09:01:01 UTC 2017 - [email protected]
+
+- updated to version 1.0.3
+  * Added support for frozen string literals. (#3 - @flavorjones)
+
+-------------------------------------------------------------------

Old:
----
  crass-1.0.2.gem

New:
----
  crass-1.0.3.gem

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

Other differences:
------------------
++++++ rubygem-crass.spec ++++++
--- /var/tmp/diff_new_pack.9zo98q/_old  2017-12-08 12:58:11.551941828 +0100
+++ /var/tmp/diff_new_pack.9zo98q/_new  2017-12-08 12:58:11.555941683 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-crass
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -15,25 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-#
-# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
-# All sections marked as MANUAL, license headers, summaries and descriptions
-# can be maintained in that file. Please consult this file before editing any
-# of those fields
-#
-
 Name:           rubygem-crass
-Version:        1.0.2
+Version:        1.0.3
 Release:        0
 %define mod_name crass
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
+BuildRequires:  %{ruby >= 1.9.2}
+BuildRequires:  %{rubygem gem2rpm}
 Url:            https://github.com/rgrove/crass/
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        CSS parser based on the CSS Syntax Level 3 spec
 License:        MIT
 Group:          Development/Languages/Ruby

++++++ crass-1.0.2.gem -> crass-1.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2015-04-18 06:16:53.000000000 +0200
+++ new/.travis.yml     2017-11-13 23:27:11.000000000 +0100
@@ -1,8 +1,7 @@
 language: ruby
 rvm:
-  - 1.9.2
   - 1.9.3
-  - 2.0.0
-  - 2.1.6
-  - 2.2.2
+  - 2.2.8
+  - 2.3.5
+  - 2.4.2
   - ruby-head
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HISTORY.md new/HISTORY.md
--- old/HISTORY.md      2015-04-18 06:16:53.000000000 +0200
+++ new/HISTORY.md      2017-11-13 23:27:11.000000000 +0100
@@ -1,6 +1,12 @@
 Crass Change History
 ====================
 
+1.0.3 (2017-11-13)
+------------------
+
+* Added support for frozen string literals. (#3 - @flavorjones)
+
+
 1.0.2 (2015-04-17)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LICENSE new/LICENSE
--- old/LICENSE 2015-04-18 06:16:53.000000000 +0200
+++ new/LICENSE 2017-11-13 23:27:11.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 2014 Ryan Grove ([email protected])
+Copyright (c) 2017 Ryan Grove ([email protected])
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the ‘Software’), to deal in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2015-04-18 06:16:53.000000000 +0200
+++ new/README.md       2017-11-13 23:27:11.000000000 +0100
@@ -194,7 +194,7 @@
 License
 -------
 
-Copyright (c) 2014 Ryan Grove ([email protected])
+Copyright (c) 2017 Ryan Grove ([email protected])
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the ‘Software’), to deal in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile        2015-04-18 06:16:53.000000000 +0200
+++ new/Rakefile        2017-11-13 23:27:11.000000000 +0100
@@ -6,6 +6,15 @@
 Rake::TestTask.new
 task :default => [:test]
 
+task :test => :set_frozen_string_literal_option
+task :set_frozen_string_literal_option do
+  if RUBY_ENGINE == "ruby" && RUBY_VERSION >= "2.3"
+    warn "NOTE: Testing support for frozen string literals"
+    ENV['RUBYOPT'] ||= ""
+    ENV['RUBYOPT'] += " --enable-frozen-string-literal 
--debug=frozen-string-literal"
+  end
+end
+
 task :'pull-css-tests' do
   sh 'git subtree pull -P test/css-parsing-tests 
https://github.com/SimonSapin/css-parsing-tests.git master --squash'
 end
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/crass/parser.rb new/lib/crass/parser.rb
--- old/lib/crass/parser.rb     2015-04-18 06:16:53.000000000 +0200
+++ new/lib/crass/parser.rb     2017-11-13 23:27:11.000000000 +0100
@@ -73,7 +73,7 @@
     #
     def self.stringify(nodes, options = {})
       nodes  = [nodes] unless nodes.is_a?(Array)
-      string = ''
+      string = String.new
 
       nodes.each do |node|
         next if node.nil?
@@ -614,7 +614,7 @@
     # Returns the unescaped value of a selector name or property declaration.
     def parse_value(nodes)
       nodes  = [nodes] unless nodes.is_a?(Array)
-      string = ''
+      string = String.new
 
       nodes.each do |node|
         case node[:node]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/crass/tokenizer.rb new/lib/crass/tokenizer.rb
--- old/lib/crass/tokenizer.rb  2015-04-18 06:16:53.000000000 +0200
+++ new/lib/crass/tokenizer.rb  2017-11-13 23:27:11.000000000 +0100
@@ -273,7 +273,7 @@
     #
     # 4.3.15. 
http://dev.w3.org/csswg/css-syntax/#consume-the-remnants-of-a-bad-url
     def consume_bad_url
-      text = ''
+      text = String.new
 
       until @s.eos?
         if valid_escape?
@@ -373,7 +373,7 @@
     #
     # 4.3.12. http://dev.w3.org/csswg/css-syntax/#consume-a-name
     def consume_name
-      result = ''
+      result = String.new
 
       until @s.eos?
         if match = @s.scan(RE_NAME)
@@ -405,7 +405,7 @@
     #
     # 4.3.13. http://dev.w3.org/csswg/css-syntax/#consume-a-number
     def consume_number
-      repr = ''
+      repr = String.new
       type = :integer
 
       repr << @s.consume if @s.peek =~ RE_NUMBER_SIGN
@@ -459,7 +459,7 @@
     # 4.3.5. http://dev.w3.org/csswg/css-syntax/#consume-a-string-token
     def consume_string(ending = nil)
       ending = @s.current if ending.nil?
-      value  = ''
+      value  = String.new
 
       until @s.eos?
         case char = @s.consume
@@ -499,7 +499,7 @@
     #
     # 4.3.7. http://dev.w3.org/csswg/css-syntax/#consume-a-unicode-range-token
     def consume_unicode_range
-      value = @s.scan(RE_HEX) || ''
+      value = @s.scan(RE_HEX) || String.new
 
       while value.length < 6
         break unless @s.peek == '?'
@@ -531,7 +531,7 @@
     #
     # 4.3.6. http://dev.w3.org/csswg/css-syntax/#consume-a-url-token
     def consume_url
-      value = ''
+      value = String.new
 
       @s.scan(RE_WHITESPACE)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/crass/version.rb new/lib/crass/version.rb
--- old/lib/crass/version.rb    2015-04-18 06:16:53.000000000 +0200
+++ new/lib/crass/version.rb    2017-11-13 23:27:11.000000000 +0100
@@ -1,5 +1,5 @@
 # encoding: utf-8
 
 module Crass
-  VERSION = '1.0.2'
+  VERSION = '1.0.3'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-04-18 06:16:53.000000000 +0200
+++ new/metadata        2017-11-13 23:27:11.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: crass
 version: !ruby/object:Gem::Version
-  version: 1.0.2
+  version: 1.0.3
 platform: ruby
 authors:
 - Ryan Grove
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-04-18 00:00:00.000000000 Z
+date: 2017-11-13 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: minitest
@@ -110,7 +110,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.4.5
+rubygems_version: 2.6.11
 signing_key: 
 specification_version: 4
 summary: CSS parser based on the CSS Syntax Level 3 spec.


Reply via email to