Hello community,
here is the log from the commit of package rubygem-sassc-rails for
openSUSE:Factory checked in at 2019-07-11 13:16:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sassc-rails (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sassc-rails.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sassc-rails"
Thu Jul 11 13:16:11 2019 rev:3 rq:713991 version:2.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sassc-rails/rubygem-sassc-rails.changes
2019-06-19 21:01:08.206125204 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-sassc-rails.new.4615/rubygem-sassc-rails.changes
2019-07-11 13:16:19.930806354 +0200
@@ -1,0 +2,7 @@
+Mon Jul 8 07:12:42 UTC 2019 - Manuel Schnitzer <[email protected]>
+
+- updated to version 2.1.2
+
+ * no changelog entry found
+
+-------------------------------------------------------------------
Old:
----
sassc-rails-2.1.1.gem
New:
----
sassc-rails-2.1.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sassc-rails.spec ++++++
--- /var/tmp/diff_new_pack.sOWQnG/_old 2019-07-11 13:16:21.966805712 +0200
+++ /var/tmp/diff_new_pack.sOWQnG/_new 2019-07-11 13:16:21.970805710 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-sassc-rails
-Version: 2.1.1
+Version: 2.1.2
Release: 0
%define mod_name sassc-rails
%define mod_full_name %{mod_name}-%{version}
++++++ sassc-rails-2.1.1.gem -> sassc-rails-2.1.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CODE_OF_CONDUCT.md new/CODE_OF_CONDUCT.md
--- old/CODE_OF_CONDUCT.md 2019-04-22 20:54:43.000000000 +0200
+++ new/CODE_OF_CONDUCT.md 2019-06-18 15:16:24.000000000 +0200
@@ -7,4 +7,4 @@
[The full community guidelines can be found on the Sass website.][link]
-[link]: http://sass-lang.com/community-guidelines
+[link]: https://sass-lang.com/community-guidelines
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2019-04-22 20:54:43.000000000 +0200
+++ new/README.md 2019-06-18 15:16:24.000000000 +0200
@@ -85,6 +85,8 @@
## Changelog
+- **2.1.2**
+ - [Correct reference to
SassC::Script::Value::String](https://github.com/sass/sassc-rails/pull/129)
- **2.1.1**
- [Fix Scaffolding](https://github.com/sass/sassc-rails/pull/119)
- **2.1.0**
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rails/generators/sass/assets/templates/stylesheet.sass
new/lib/rails/generators/sass/assets/templates/stylesheet.sass
--- old/lib/rails/generators/sass/assets/templates/stylesheet.sass
2019-04-22 20:54:43.000000000 +0200
+++ new/lib/rails/generators/sass/assets/templates/stylesheet.sass
2019-06-18 15:16:24.000000000 +0200
@@ -1,3 +1,3 @@
// Place all the styles related to the <%= name %> controller here.
// They will automatically be included in application.css.
-// You can use Sass here: http://sass-lang.com/
+// You can use Sass here: https://sass-lang.com/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rails/generators/scss/assets/templates/stylesheet.scss
new/lib/rails/generators/scss/assets/templates/stylesheet.scss
--- old/lib/rails/generators/scss/assets/templates/stylesheet.scss
2019-04-22 20:54:43.000000000 +0200
+++ new/lib/rails/generators/scss/assets/templates/stylesheet.scss
2019-06-18 15:16:24.000000000 +0200
@@ -1,3 +1,3 @@
// Place all the styles related to the <%= name %> controller here.
// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
+// You can use Sass (SCSS) here: https://sass-lang.com/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/sassc/rails/functions.rb
new/lib/sassc/rails/functions.rb
--- old/lib/sassc/rails/functions.rb 2019-04-22 20:54:43.000000000 +0200
+++ new/lib/sassc/rails/functions.rb 2019-06-18 15:16:24.000000000 +0200
@@ -5,7 +5,7 @@
module Sprockets
module SassFunctions
def asset_data_url(path)
- SassC::Script::String.new("url(" +
sprockets_context.asset_data_uri(path.value) + ")")
+ ::SassC::Script::Value::String.new("url(" +
sprockets_context.asset_data_uri(path.value) + ")")
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/sassc/rails/importer.rb
new/lib/sassc/rails/importer.rb
--- old/lib/sassc/rails/importer.rb 2019-04-22 20:54:43.000000000 +0200
+++ new/lib/sassc/rails/importer.rb 2019-06-18 15:16:24.000000000 +0200
@@ -75,13 +75,13 @@
EXTENSIONS = [
CssScssExtension.new,
CssSassExtension.new,
- Extension.new(".scss"),
- Extension.new(".sass"),
- CSSExtension.new,
+ SassERBExtension.new,
ERBExtension.new(".scss.erb"),
ERBExtension.new(".css.erb"),
- SassERBExtension.new
- ]
+ Extension.new(".scss"),
+ Extension.new(".sass"),
+ CSSExtension.new
+ ].freeze
PREFIXS = [ "", "_" ]
GLOB = /(\A|\/)(\*|\*\*\/\*)\z/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/sassc/rails/version.rb
new/lib/sassc/rails/version.rb
--- old/lib/sassc/rails/version.rb 2019-04-22 20:54:43.000000000 +0200
+++ new/lib/sassc/rails/version.rb 2019-06-18 15:16:24.000000000 +0200
@@ -2,6 +2,6 @@
module SassC
module Rails
- VERSION = "2.1.1"
+ VERSION = "2.1.2"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-04-22 20:54:43.000000000 +0200
+++ new/metadata 2019-06-18 15:16:24.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: sassc-rails
version: !ruby/object:Gem::Version
- version: 2.1.1
+ version: 2.1.2
platform: ruby
authors:
- Ryan Boland
autorequire:
bindir: bin
cert_chain: []
-date: 2019-04-22 00:00:00.000000000 Z
+date: 2019-06-18 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: pry
@@ -186,9 +186,11 @@
- test/dummy/app/assets/stylesheets/css_scss_erb_handler.scss.erb
- test/dummy/app/assets/stylesheets/css_scss_handler.css.scss
- test/dummy/app/assets/stylesheets/erb_render_with_context.css.erb
+- test/dummy/app/assets/stylesheets/glob_multiple_extensions_test.scss
- test/dummy/app/assets/stylesheets/glob_test.scss
- test/dummy/app/assets/stylesheets/globbed/globbed.scss
- test/dummy/app/assets/stylesheets/globbed/nested/nested_glob.scss
+- test/dummy/app/assets/stylesheets/globbed_multiple_extensions/glob.scss.erb
- test/dummy/app/assets/stylesheets/helpers_test.scss
- test/dummy/app/assets/stylesheets/imports_test.scss
- test/dummy/app/assets/stylesheets/in_load_paths/partial_in_load_paths.scss
@@ -249,9 +251,11 @@
- test/dummy/app/assets/stylesheets/css_scss_erb_handler.scss.erb
- test/dummy/app/assets/stylesheets/css_scss_handler.css.scss
- test/dummy/app/assets/stylesheets/erb_render_with_context.css.erb
+- test/dummy/app/assets/stylesheets/glob_multiple_extensions_test.scss
- test/dummy/app/assets/stylesheets/glob_test.scss
- test/dummy/app/assets/stylesheets/globbed/globbed.scss
- test/dummy/app/assets/stylesheets/globbed/nested/nested_glob.scss
+- test/dummy/app/assets/stylesheets/globbed_multiple_extensions/glob.scss.erb
- test/dummy/app/assets/stylesheets/helpers_test.scss
- test/dummy/app/assets/stylesheets/imports_test.scss
- test/dummy/app/assets/stylesheets/in_load_paths/partial_in_load_paths.scss
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/dummy/app/assets/stylesheets/glob_multiple_extensions_test.scss
new/test/dummy/app/assets/stylesheets/glob_multiple_extensions_test.scss
--- old/test/dummy/app/assets/stylesheets/glob_multiple_extensions_test.scss
1970-01-01 01:00:00.000000000 +0100
+++ new/test/dummy/app/assets/stylesheets/glob_multiple_extensions_test.scss
2019-06-18 15:16:24.000000000 +0200
@@ -0,0 +1 @@
+@import "globbed_multiple_extensions/**/*";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/dummy/app/assets/stylesheets/globbed_multiple_extensions/glob.scss.erb
new/test/dummy/app/assets/stylesheets/globbed_multiple_extensions/glob.scss.erb
---
old/test/dummy/app/assets/stylesheets/globbed_multiple_extensions/glob.scss.erb
1970-01-01 01:00:00.000000000 +0100
+++
new/test/dummy/app/assets/stylesheets/globbed_multiple_extensions/glob.scss.erb
2019-06-18 15:16:24.000000000 +0200
@@ -0,0 +1,3 @@
+.glob {
+ margin: <%= 0 %>;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/sassc_rails_test.rb new/test/sassc_rails_test.rb
--- old/test/sassc_rails_test.rb 2019-04-22 20:54:43.000000000 +0200
+++ new/test/sassc_rails_test.rb 2019-06-18 15:16:24.000000000 +0200
@@ -271,6 +271,16 @@
# assert_match /\.import-css-application/, css_output
#end
+ def test_globbed_imports_work_with_multiple_extensions
+ initialize!
+
+ asset = render_asset("glob_multiple_extensions_test.css")
+
+ assert_equal <<-CSS, asset
+.glob{margin:0}
+ CSS
+ end
+
def test_globbed_imports_work_when_globbed_file_is_changed
skip "This seems to work in practice, possible test setup problem"