Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-autoprefixer-rails for
openSUSE:Factory checked in at 2021-06-04 00:33:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-autoprefixer-rails (Old)
and /work/SRC/openSUSE:Factory/.rubygem-autoprefixer-rails.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-autoprefixer-rails"
Fri Jun 4 00:33:35 2021 rev:45 rq:897047 version:10.2.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-autoprefixer-rails/rubygem-autoprefixer-rails.changes
2021-05-15 01:24:55.102870906 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-autoprefixer-rails.new.1898/rubygem-autoprefixer-rails.changes
2021-06-04 00:33:48.180912694 +0200
@@ -1,0 +2,7 @@
+Tue Jun 1 03:32:33 UTC 2021 - Manuel Schnitzer <[email protected]>
+
+- updated to version 10.2.5.1
+
+ * Remove nodejs version check via ExecJS, to be compatible with 2.8.1 (#203)
+
+-------------------------------------------------------------------
Old:
----
autoprefixer-rails-10.2.5.0.gem
New:
----
autoprefixer-rails-10.2.5.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-autoprefixer-rails.spec ++++++
--- /var/tmp/diff_new_pack.x9Jr8q/_old 2021-06-04 00:33:49.136915446 +0200
+++ /var/tmp/diff_new_pack.x9Jr8q/_new 2021-06-04 00:33:49.136915446 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-autoprefixer-rails
-Version: 10.2.5.0
+Version: 10.2.5.1
Release: 0
%define mod_name autoprefixer-rails
%define mod_full_name %{mod_name}-%{version}
++++++ autoprefixer-rails-10.2.5.0.gem -> autoprefixer-rails-10.2.5.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2021-05-11 16:24:20.000000000 +0200
+++ new/CHANGELOG.md 2021-05-24 11:02:02.000000000 +0200
@@ -1,5 +1,8 @@
# Change Log
+## 10.2.5.1
+* Remvoe nodejs version check via ExecJS, to be compatible with 2.8.1 (#203)
+
## 10.2.5.0
* Fixed `:` support in `@supports` (by Dmitry Semigradsky).
* Update Can I Use data.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/autoprefixer-rails/processor.rb
new/lib/autoprefixer-rails/processor.rb
--- old/lib/autoprefixer-rails/processor.rb 2021-05-11 16:24:20.000000000
+0200
+++ new/lib/autoprefixer-rails/processor.rb 2021-05-24 11:02:02.000000000
+0200
@@ -130,25 +130,29 @@
# Lazy load for JS library
def runtime
@runtime ||= begin
- if ExecJS.runtime == ExecJS::Runtimes::Node
- version = ExecJS.runtime.eval("process.version")
- major = version.match(/^v(\d+)/)[1].to_i
-
- # supports 10, 12, 14+
- unless [10, 12].include?(major) || major >= 14
- raise "Autoprefixer doesn???t support Node #{version}. Update it."
- end
- end
-
ExecJS.compile(build_js)
rescue ExecJS::RuntimeError
- raise if SUPPORTED_RUNTIMES.include?(ExecJS.runtime)
-
# Only complain about unsupported runtimes when it failed to parse our
script.
- raise <<~MSG
- Your ExecJS runtime #{ExecJS.runtime.name} isn't supported by
autoprefixer-rails,
- please switch to #{SUPPORTED_RUNTIMES.map(&:name).join(' or ')}
- MSG
+
+ case ExecJS.runtime
+ when ExecJS::Runtimes::Node
+ node_command = ExecJS.runtime.send(:binary) rescue "Unknown"
+
+ raise <<~MSG
+ Your nodejs binary failed to load autoprefixer script file,
+ please check if you're running a supported version (10, 12, 14+)
+
+ ENV["PATH"] = #{ENV["PATH"]}
+ binary = #{node_command}
+ MSG
+ when *SUPPORTED_RUNTIMES
+ raise
+ else
+ raise <<~MSG
+ Your ExecJS runtime #{ExecJS.runtime.name} isn't supported by
autoprefixer-rails,
+ please switch to #{SUPPORTED_RUNTIMES.map(&:name).join(' or ')}
+ MSG
+ end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/autoprefixer-rails/version.rb
new/lib/autoprefixer-rails/version.rb
--- old/lib/autoprefixer-rails/version.rb 2021-05-11 16:24:20.000000000
+0200
+++ new/lib/autoprefixer-rails/version.rb 2021-05-24 11:02:02.000000000
+0200
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module AutoprefixerRails # :nodoc:
- VERSION = "10.2.5.0" unless defined? AutoprefixerRails::VERSION
+ VERSION = "10.2.5.1" unless defined? AutoprefixerRails::VERSION
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2021-05-11 16:24:20.000000000 +0200
+++ new/metadata 2021-05-24 11:02:02.000000000 +0200
@@ -1,29 +1,29 @@
--- !ruby/object:Gem::Specification
name: autoprefixer-rails
version: !ruby/object:Gem::Version
- version: 10.2.5.0
+ version: 10.2.5.1
platform: ruby
authors:
- Andrey Sitnik
autorequire:
bindir: bin
cert_chain: []
-date: 2021-05-11 00:00:00.000000000 Z
+date: 2021-05-24 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: execjs
requirement: !ruby/object:Gem::Requirement
requirements:
- - - "<"
+ - - ">"
- !ruby/object:Gem::Version
- version: 2.8.0
+ version: '0'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - - "<"
+ - - ">"
- !ruby/object:Gem::Version
- version: 2.8.0
+ version: '0'
- !ruby/object:Gem::Dependency
name: rails
requirement: !ruby/object:Gem::Requirement