Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-10-08 08:24:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-sprockets"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes      
2015-09-30 05:52:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-10-08 08:25:00.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Oct  6 04:32:47 UTC 2015 - [email protected]
+
+- updated to version 3.4.0
+ see installed CHANGELOG.md
+
+  **3.4.0** (October 5, 2015)
+  
+  * Expose method to override the sass cache in the SassProcessor.
+
+-------------------------------------------------------------------

Old:
----
  sprockets-3.3.5.gem

New:
----
  sprockets-3.4.0.gem

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

Other differences:
------------------
++++++ rubygem-sprockets.spec ++++++
--- /var/tmp/diff_new_pack.0OJTmW/_old  2015-10-08 08:25:00.000000000 +0200
+++ /var/tmp/diff_new_pack.0OJTmW/_new  2015-10-08 08:25:00.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-sprockets
-Version:        3.3.5
+Version:        3.4.0
 Release:        0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++++++ sprockets-3.3.5.gem -> sprockets-3.4.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-09-25 20:47:21.000000000 +0200
+++ new/CHANGELOG.md    2015-10-05 19:48:23.000000000 +0200
@@ -1,3 +1,7 @@
+**3.4.0** (October 5, 2015)
+
+* Expose method to override the sass cache in the SassProcessor.
+
 **3.3.5** (September 25, 2015)
 
 * Fix bug related to absolute path being reintroduced into history cache #141.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/sass_processor.rb 
new/lib/sprockets/sass_processor.rb
--- old/lib/sprockets/sass_processor.rb 2015-09-25 20:47:21.000000000 +0200
+++ new/lib/sprockets/sass_processor.rb 2015-10-05 19:48:23.000000000 +0200
@@ -39,8 +39,8 @@
     # Public: Initialize template with custom options.
     #
     # options - Hash
-    #   cache_version - String custom cache version. Used to force a cache
-    #                   change after code changes are made to Sass Functions.
+    # cache_version - String custom cache version. Used to force a cache
+    #                 change after code changes are made to Sass Functions.
     #
     def initialize(options = {}, &block)
       @cache_version = options[:cache_version]
@@ -59,7 +59,7 @@
       options = {
         filename: input[:filename],
         syntax: self.class.syntax,
-        cache_store: CacheStore.new(input[:cache], @cache_version),
+        cache_store: build_cache_store(input, @cache_version),
         load_paths: input[:environment].paths,
         sprockets: {
           context: context,
@@ -84,6 +84,18 @@
       context.metadata.merge(data: css, sass_dependencies: sass_dependencies)
     end
 
+    # Public: Build the cache store to be used by the Sass engine.
+    #
+    # input - the input hash.
+    # version - the cache version.
+    #
+    # Override this method if you need to use a different cache than the
+    # Sprockets cache.
+    def build_cache_store(input, version)
+      CacheStore.new(input[:cache], version)
+    end
+    private :build_cache_store
+
     # Public: Functions injected into Sass context during Sprockets evaluation.
     #
     # This module may be extended to add global functionality to all Sprockets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/version.rb new/lib/sprockets/version.rb
--- old/lib/sprockets/version.rb        2015-09-25 20:47:21.000000000 +0200
+++ new/lib/sprockets/version.rb        2015-10-05 19:48:23.000000000 +0200
@@ -1,3 +1,3 @@
 module Sprockets
-  VERSION = "3.3.5"
+  VERSION = "3.4.0"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-09-25 20:47:21.000000000 +0200
+++ new/metadata        2015-10-05 19:48:23.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sprockets
 version: !ruby/object:Gem::Version
-  version: 3.3.5
+  version: 3.4.0
 platform: ruby
 authors:
 - Sam Stephenson
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-09-25 00:00:00.000000000 Z
+date: 2015-10-05 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rack


Reply via email to