commit rubygem-sprockets for openSUSE:Factory

2020-06-25 Thread root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2020-06-25 15:11:05

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new.3060 (New)


Package is "rubygem-sprockets"

Thu Jun 25 15:11:05 2020 rev:39 rq:817014 version:4.0.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2019-11-13 13:25:47.551539247 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-sprockets.new.3060/rubygem-sprockets.changes
2020-06-25 15:11:28.146126092 +0200
@@ -1,0 +2,7 @@
+Thu Jun 25 09:46:47 UTC 2020 - Manuel Schnitzer 
+
+- updated to version 4.0.2
+
+  * Fix `etag` and digest path compilation that were generating string with 
invalid digest since 4.0.1.
+
+---

Old:

  sprockets-4.0.0.gem

New:

  sprockets-4.0.2.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.LCx0Ah/_old  2020-06-25 15:11:30.130132317 +0200
+++ /var/tmp/diff_new_pack.LCx0Ah/_new  2020-06-25 15:11:30.134132331 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sprockets
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:4.0.0
+Version:4.0.2
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
-Url:https://github.com/rails/sprockets
+URL:https://github.com/rails/sprockets
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:Rack-based asset packaging system

++ sprockets-4.0.0.gem -> sprockets-4.0.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2019-10-08 19:04:54.0 +0200
+++ new/CHANGELOG.md2020-06-05 21:05:32.0 +0200
@@ -2,7 +2,15 @@
 
 Get upgrade notes from Sprockets 3.x to 4.x at 
https://github.com/rails/sprockets/blob/master/UPGRADING.md
 
-## Master
+## 4.0.2
+
+- Fix `etag` and digest path compilation that were generating string with 
invalid digest since 4.0.1.
+
+## 4.0.1
+
+- Fix for Ruby 2.7 keyword arguments warning in `base.rb`. 
[#660](https://github.com/rails/sprockets/pull/660)
+- Fix for when `x_sprockets_linecount` is missing from a source map.
+- Fix subresource integrity to match the digest of the asset.
 
 ## 4.0.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2019-10-08 19:04:54.0 +0200
+++ new/README.md   2020-06-05 21:05:32.0 +0200
@@ -115,9 +115,9 @@
 - [`require_self`](#require_self) - Change order of where current contents are 
concatenated to current
 - [`require_directory`](#require_directory) - Add contents of each file in a 
folder to current
 - [`require_tree`](#require_tree) - Add contents of all files in all 
directories in a path to current
-- [`link`](#link) - Make target file compile and be publically available 
without adding contents to current
-- [`link_directory`](#link_directory) - Make target directory compile and be 
publically available without adding contents to current
-- [`link_tree`](#link_tree) - Make target tree compile and be publically 
available without adding contents to current
+- [`link`](#link) - Make target file compile and be publicly available without 
adding contents to current
+- [`link_directory`](#link_directory) - Make target directory compile and be 
publicly available without adding contents to current
+- [`link_tree`](#link_tree) - Make target tree compile and be publicly 
available without adding contents to current
 - [`depend_on`](#depend_on) - Recompile current file if target has changed
 - [`stub`](#stub) - Ignore target file
 
@@ -363,37 +363,70 @@
 ### link
 
 `link` *path* declares a dependency on the target *path* and adds it to a list
-of subdependencies to automatically be compiled when the asset is written out 
to
+of subdependencies to be compiled when the asset is written out to
 disk.
 
 Example:
 
-If you've got a `manifest.js` file and you want to explicitly make sure an 
`admin.js` file is
-generated and made available to the public you can link it like this:
+If you've got a 

commit rubygem-sprockets for openSUSE:Factory

2019-11-13 Thread root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2019-11-13 13:25:45

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new.2990 (New)


Package is "rubygem-sprockets"

Wed Nov 13 13:25:45 2019 rev:38 rq:747719 version:4.0.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2018-06-22 13:35:45.585815381 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-sprockets.new.2990/rubygem-sprockets.changes
2019-11-13 13:25:47.551539247 +0100
@@ -1,0 +2,8 @@
+Tue Nov 12 14:21:25 UTC 2019 - Manuel Schnitzer 
+
+- updated to version 4.0.0
+
+  * Fixes for Ruby 2.7 keyword arguments warnings #625
+  * Manifest files are sorted alphabetically #626
+
+---

Old:

  sprockets-3.7.2.gem

New:

  sprockets-4.0.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.isyQ88/_old  2019-11-13 13:25:48.495540230 +0100
+++ /var/tmp/diff_new_pack.isyQ88/_new  2019-11-13 13:25:48.499540234 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sprockets
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,12 +24,12 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.7.2
+Version:4.0.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby >= 1.9.3}
+BuildRequires:  %{ruby >= 2.5.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
@@ -43,7 +43,7 @@
 
 %description
 Sprockets is a Rack-based asset packaging system that concatenates and serves
-JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.
+JavaScript, CoffeeScript, CSS, Sass, and SCSS.
 
 %prep
 
@@ -52,7 +52,7 @@
 %install
 %gem_install \
   --symlink-binaries \
-  --doc-files="CHANGELOG.md LICENSE README.md" \
+  --doc-files="CHANGELOG.md README.md" \
   -f
 
 %gem_packages

++ sprockets-3.7.2.gem -> sprockets-4.0.0.gem ++
 8157 lines of diff (skipped)




commit rubygem-sprockets for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2018-06-22 13:35:40

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is "rubygem-sprockets"

Fri Jun 22 13:35:40 2018 rev:37 rq:618298 version:3.7.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2018-06-20 15:34:10.731932909 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2018-06-22 13:35:45.585815381 +0200
@@ -9,0 +10 @@
+  (bsc#1098369)



Other differences:
--



commit rubygem-sprockets for openSUSE:Factory

2018-06-20 Thread root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2018-06-20 15:34:02

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is "rubygem-sprockets"

Wed Jun 20 15:34:02 2018 rev:36 rq:617845 version:3.7.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2016-12-29 22:47:01.341718679 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2018-06-20 15:34:10.731932909 +0200
@@ -1,0 +2,10 @@
+Tue Jun 19 16:14:03 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 3.7.2
+ see installed CHANGELOG.md
+
+  **3.7.2** (June 19, 2018)
+  
+  * Security release for 
[CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760).
+
+---

Old:

  sprockets-3.7.1.gem

New:

  sprockets-3.7.2.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.uueGpL/_old  2018-06-20 15:34:13.607828556 +0200
+++ /var/tmp/diff_new_pack.uueGpL/_new  2018-06-20 15:34:13.611828411 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sprockets
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.7.1
+Version:3.7.2
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
@@ -34,7 +34,7 @@
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:https://github.com/rails/sprockets
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:Rack-based asset packaging system
 License:MIT

++ sprockets-3.7.1.gem -> sprockets-3.7.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2016-12-20 02:29:28.0 +0100
+++ new/CHANGELOG.md2018-06-19 17:33:53.0 +0200
@@ -1,3 +1,7 @@
+**3.7.2** (June 19, 2018)
+
+* Security release for 
[CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760).
+
 **3.7.1** (December 19, 2016)
 
 * Ruby 2.4 support for Sprockets 3.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/manifest.rb 
new/lib/sprockets/manifest.rb
--- old/lib/sprockets/manifest.rb   2016-12-20 02:29:28.0 +0100
+++ new/lib/sprockets/manifest.rb   2018-06-19 17:33:53.0 +0200
@@ -161,7 +161,8 @@
 end
   else
 args.each do |path|
-  yield File.binread(File.join(dir, assets[path]))
+  asset = assets[path]
+  yield File.binread(File.join(dir, asset)) if asset
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/processing.rb 
new/lib/sprockets/processing.rb
--- old/lib/sprockets/processing.rb 2016-12-20 02:29:29.0 +0100
+++ new/lib/sprockets/processing.rb 2018-06-19 17:33:53.0 +0200
@@ -232,7 +232,7 @@
   end
 
   def deprecate_legacy_processor_interface(interface)
-msg = "You are using the a deprecated processor interface #{ 
interface.inspect }.\n" +
+msg = "You are using a deprecated processor interface #{ 
interface.inspect }.\n" +
 "Please update your processor interface:\n" +
 
"https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors\n;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/server.rb new/lib/sprockets/server.rb
--- old/lib/sprockets/server.rb 2016-12-20 02:29:29.0 +0100
+++ new/lib/sprockets/server.rb 2018-06-19 17:33:53.0 +0200
@@ -115,7 +115,7 @@
 #
 # http://example.org/assets/../../../etc/passwd
 #
-path.include?("..") || absolute_path?(path)
+path.include?("..") || absolute_path?(path) || path.include?("://")
   end
 
   def head_request?(env)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/version.rb 

commit rubygem-sprockets for openSUSE:Factory

2016-07-29 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2016-07-30 00:26:24

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  
2016-07-21 07:57:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2016-07-30 00:26:30.0 +0200
@@ -1,0 +2,10 @@
+Sat Jul 23 04:33:33 UTC 2016 - co...@suse.com
+
+- updated to version 3.7.0
+ see installed CHANGELOG.md
+
+  ** 3.7.0** (July 21, 2016)
+  
+  * Deprecated interfaces now emit deprecation warnings #345
+
+---

Old:

  sprockets-3.6.3.gem

New:

  sprockets-3.7.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.um5Ao3/_old  2016-07-30 00:26:32.0 +0200
+++ /var/tmp/diff_new_pack.um5Ao3/_new  2016-07-30 00:26:32.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.6.3
+Version:3.7.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.6.3.gem -> sprockets-3.7.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2016-07-01 20:01:12.0 +0200
+++ new/CHANGELOG.md2016-07-21 17:39:19.0 +0200
@@ -1,3 +1,7 @@
+** 3.7.0** (July 21, 2016)
+
+* Deprecated interfaces now emit deprecation warnings #345
+
 **3.6.3** (July 1, 2016)
 
 * Faster asset lookup in large directories #336
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/coffee_script_template.rb 
new/lib/sprockets/coffee_script_template.rb
--- old/lib/sprockets/coffee_script_template.rb 2016-07-01 20:01:12.0 
+0200
+++ new/lib/sprockets/coffee_script_template.rb 2016-07-21 17:39:19.0 
+0200
@@ -2,5 +2,16 @@
 
 module Sprockets
   # Deprecated
-  CoffeeScriptTemplate = CoffeeScriptProcessor
+  module CoffeeScriptTemplate
+VERSION = CoffeeScriptProcessor::VERSION
+
+def self.cache_key
+  CoffeeScriptProcessor.cache_key
+end
+
+def self.call(*args)
+  Deprecation.new.warn "CoffeeScriptTemplate is deprecated please use 
CoffeeScriptProcessor instead"
+  CoffeeScriptProcessor.call(*args)
+end
+  end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/deprecation.rb 
new/lib/sprockets/deprecation.rb
--- old/lib/sprockets/deprecation.rb1970-01-01 01:00:00.0 +0100
+++ new/lib/sprockets/deprecation.rb2016-07-21 17:39:19.0 +0200
@@ -0,0 +1,90 @@
+module Sprockets
+  class Deprecation
+THREAD_LOCAL__SILENCE_KEY = "_sprockets_deprecation_silence".freeze
+DEFAULT_BEHAVIORS = {
+  raise: ->(message, callstack) {
+e = DeprecationException.new(message)
+e.set_backtrace(callstack.map(&:to_s))
+raise e
+  },
+
+  stderr: ->(message, callstack) {
+$stderr.puts(message)
+  },
+}
+
+attr_reader :callstack
+
+def self.silence()
+  Thread.current[THREAD_LOCAL__SILENCE_KEY] = true
+  block.call
+ensure
+  Thread.current[THREAD_LOCAL__SILENCE_KEY] = false
+end
+
+def initialize(callstack = nil)
+  @callstack = callstack || caller(2)
+end
+
+def warn(message)
+  return if Thread.current[THREAD_LOCAL__SILENCE_KEY]
+  deprecation_message(message).tap do |m|
+behavior.each { |b| b.call(m, callstack) }
+  end
+end
+
+private
+  def behavior
+@behavior ||= [DEFAULT_BEHAVIORS[:stderr]]
+  end
+
+  def behavior=(behavior)
+@behavior = Array(behavior).map { |b| DEFAULT_BEHAVIORS[b] || b }
+  end
+
+  def deprecation_message(message = nil)
+message ||= "You are using deprecated behavior which will be removed 
from the next major or minor release."
+"DEPRECATION WARNING: #{message} #{ deprecation_caller_message }"
+  end
+
+  def deprecation_caller_message
+file, line, method = extract_callstack
+if file
+  if line && method
+"(called from #{method} at #{file}:#{line})"
+  else
+"(called from #{file}:#{line})"
+  end
+end
+  end
+
+  SPROCKETS_GEM_ROOT = File.expand_path("../../../../..", __FILE__) + "/"
+
+  def ignored_callstack(path)
+ 

commit rubygem-sprockets for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2016-07-21 07:57:25

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  
2016-07-01 09:59:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2016-07-21 07:57:29.0 +0200
@@ -1,0 +2,23 @@
+Mon Jul  4 10:13:20 UTC 2016 - co...@suse.com
+
+- updated to version 3.6.3
+ see installed CHANGELOG.md
+
+  **3.6.3** (July 1, 2016)
+  
+  * Faster asset lookup in large directories #336
+  * Faster PathUtils.match_path_extname 
https://github.com/rails/sprockets/commit/697269cf81e5261fdd7072e32bd489403027fd7e
+  * Fixed uglifier comment stripping #326
+  * Error messages now show load path info #313
+
+---
+Wed Jun 29 04:33:20 UTC 2016 - co...@suse.com
+
+- updated to version 3.6.2
+ see installed CHANGELOG.md
+
+  **3.6.2** (June 21, 2016)
+  
+  * More performance improvements.
+
+---

Old:

  sprockets-3.6.1.gem

New:

  sprockets-3.6.3.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.1WwLzq/_old  2016-07-21 07:57:32.0 +0200
+++ /var/tmp/diff_new_pack.1WwLzq/_new  2016-07-21 07:57:32.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.6.1
+Version:3.6.3
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.6.1.gem -> sprockets-3.6.3.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2016-06-17 17:43:43.0 +0200
+++ new/CHANGELOG.md2016-07-01 20:01:12.0 +0200
@@ -1,3 +1,14 @@
+**3.6.3** (July 1, 2016)
+
+* Faster asset lookup in large directories #336
+* Faster PathUtils.match_path_extname 
https://github.com/rails/sprockets/commit/697269cf81e5261fdd7072e32bd489403027fd7e
+* Fixed uglifier comment stripping #326
+* Error messages now show load path info #313
+
+**3.6.2** (June 21, 2016)
+
+* More performance improvements.
+
 **3.6.1** (June 17, 2016)
 
 * Some performance improvements.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/digest_utils.rb 
new/lib/sprockets/digest_utils.rb
--- old/lib/sprockets/digest_utils.rb   2016-06-17 17:43:43.0 +0200
+++ new/lib/sprockets/digest_utils.rb   2016-07-01 20:01:12.0 +0200
@@ -34,6 +34,50 @@
   DIGEST_SIZES[bytes.bytesize]
 end
 
+ADD_VALUE_TO_DIGEST = {
+  String => ->(val, digest) { digest << val },
+  FalseClass => ->(val, digest) { digest << 'FalseClass'.freeze },
+  TrueClass  => ->(val, digest) { digest << 'TrueClass'.freeze  },
+  NilClass   => ->(val, digest) { digest << 'NilClass'.freeze   },
+
+  Symbol => ->(val, digest) {
+digest << 'Symbol'.freeze
+digest << val.to_s
+  },
+  Fixnum => ->(val, digest) {
+digest << 'Fixnum'.freeze
+digest << val.to_s
+  },
+  Bignum => ->(val, digest) {
+digest << 'Bignum'.freeze
+digest << val.to_s
+  },
+  Array => ->(val, digest) {
+digest << 'Array'.freeze
+val.each do |element|
+  ADD_VALUE_TO_DIGEST[element.class].call(element, digest)
+end
+  },
+  Hash => ->(val, digest) {
+digest << 'Hash'.freeze
+val.sort.each do |array|
+  ADD_VALUE_TO_DIGEST[Array].call(array, digest)
+end
+  },
+  Set => ->(val, digest) {
+digest << 'Set'.freeze
+ADD_VALUE_TO_DIGEST[Array].call(val.to_a, digest)
+  },
+  Encoding => ->(val, digest) {
+digest << 'Encoding'.freeze
+digest << val.name
+  },
+}
+ADD_VALUE_TO_DIGEST.default_proc = ->(_, val) {
+  raise TypeError, "couldn't digest #{ val }"
+}
+private_constant :ADD_VALUE_TO_DIGEST
+
 # Internal: Generate a hexdigest for a nested JSON serializable object.
 #
 # This is used for generating cache keys, so its pretty important its
@@ -44,46 +88,8 @@
 # Returns a String digest of the object.
 def digest(obj)
   digest = digest_class.new
-  queue  = [obj]
-
-  while queue.length > 0
-obj = queue.shift
-klass = obj.class
-
-if klass == String

commit rubygem-sprockets for openSUSE:Factory

2016-07-01 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2016-07-01 09:59:15

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  
2016-04-28 16:56:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2016-07-01 09:59:16.0 +0200
@@ -1,0 +2,10 @@
+Sat Jun 18 04:36:58 UTC 2016 - co...@suse.com
+
+- updated to version 3.6.1
+ see installed CHANGELOG.md
+
+  **3.6.1** (June 17, 2016)
+  
+  * Some performance improvements.
+
+---

Old:

  sprockets-3.6.0.gem

New:

  sprockets-3.6.1.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.g70nM1/_old  2016-07-01 09:59:17.0 +0200
+++ /var/tmp/diff_new_pack.g70nM1/_new  2016-07-01 09:59:17.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.6.0
+Version:3.6.1
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.6.0.gem -> sprockets-3.6.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2016-04-06 20:20:58.0 +0200
+++ new/CHANGELOG.md2016-06-17 17:43:43.0 +0200
@@ -1,3 +1,7 @@
+**3.6.1** (June 17, 2016)
+
+* Some performance improvements.
+
 **3.6.0** (April 6, 2016)
 
 * Add `Manifest#find_sources` to return the source of the compiled assets.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/cache/file_store.rb 
new/lib/sprockets/cache/file_store.rb
--- old/lib/sprockets/cache/file_store.rb   2016-04-06 20:20:58.0 
+0200
+++ new/lib/sprockets/cache/file_store.rb   2016-06-17 17:43:43.0 
+0200
@@ -36,7 +36,6 @@
   #(default: 1000).
   def initialize(root, max_size = DEFAULT_MAX_SIZE, logger = 
self.class.default_logger)
 @root = root
-@size = find_caches.inject(0) { |n, (_, stat)| n + stat.size }
 @max_size = max_size
 @gc_size  = max_size * 0.75
 @logger   = logger
@@ -107,11 +106,11 @@
 # Write data
 PathUtils.atomic_write(path) do |f|
   f.write(raw)
-  @size += f.size unless exists
+  @size = size + f.size unless exists
 end
 
 # GC if necessary
-gc! if @size > @max_size
+gc! if size > @max_size
 
 value
   end
@@ -120,7 +119,7 @@
   #
   # Returns String.
   def inspect
-"#<#{self.class} size=#{@size}/#{@max_size}>"
+"#<#{self.class} size=#{size}/#{@max_size}>"
   end
 
   private
@@ -138,6 +137,10 @@
   }.sort_by { |_, stat| stat.mtime.to_i }
 end
 
+def size
+  @size ||= compute_size(find_caches)
+end
+
 def compute_size(caches)
   caches.inject(0) { |sum, (_, stat)| sum + stat.size }
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/path_utils.rb 
new/lib/sprockets/path_utils.rb
--- old/lib/sprockets/path_utils.rb 2016-04-06 20:20:58.0 +0200
+++ new/lib/sprockets/path_utils.rb 2016-06-17 17:43:43.0 +0200
@@ -55,7 +55,9 @@
   if File.directory?(path)
 entries = Dir.entries(path, :encoding => Encoding.default_internal)
 entries.reject! { |entry|
-  entry =~ /^\.|~$|^\#.*\#$/
+  entry.start_with?(".".freeze) ||
+(entry.start_with?("#".freeze) && entry.end_with?("#".freeze)) ||
+entry.end_with?("~".freeze)
 }
 entries.sort!
   else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/uri_tar.rb new/lib/sprockets/uri_tar.rb
--- old/lib/sprockets/uri_tar.rb2016-04-06 20:20:58.0 +0200
+++ new/lib/sprockets/uri_tar.rb2016-06-17 17:43:43.0 +0200
@@ -14,10 +14,8 @@
   @env  = env
   uri   = uri.to_s
   if uri.include?("://".freeze)
-uri_array = uri.split("://".freeze)
-@scheme   = uri_array.shift
-@scheme   << "://".freeze
-@path = uri_array.join("".freeze)
+@scheme, _, @path = uri.partition("://".freeze)
+@scheme << "://".freeze
   else
 @scheme = "".freeze
  

commit rubygem-sprockets for openSUSE:Factory

2016-04-28 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2016-04-28 16:53:48

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-12-01 09:18:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2016-04-28 16:56:49.0 +0200
@@ -1,0 +2,39 @@
+Thu Apr  7 04:40:02 UTC 2016 - co...@suse.com
+
+- updated to version 3.6.0
+ see installed CHANGELOG.md
+
+---
+Sat Dec 12 05:31:55 UTC 2015 - co...@suse.com
+
+- updated to version 3.5.2
+ see installed CHANGELOG.md
+
+  **3.5.2** (December 8, 2015)
+  
+  * Fix JRuby bug with concurrent-ruby.
+  * Fix disabling gzip generation in cached environments.
+
+---
+Tue Dec  8 05:33:34 UTC 2015 - co...@suse.com
+
+- updated to version 3.5.1
+ see installed CHANGELOG.md
+
+  **3.5.1** (December 5, 2015)
+  
+  * Fix gzip asset generation for assets already on disk.
+
+---
+Fri Dec  4 05:32:38 UTC 2015 - co...@suse.com
+
+- updated to version 3.5.0
+ see installed CHANGELOG.md
+
+  **Master**
+  
+  **3.5.0** (December 3, 2015)
+  
+  * Reintroduce Gzip file generation for non-binary assets.
+
+---

Old:

  sprockets-3.4.1.gem

New:

  sprockets-3.6.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.mcc8ap/_old  2016-04-28 16:56:49.0 +0200
+++ /var/tmp/diff_new_pack.mcc8ap/_new  2016-04-28 16:56:49.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sprockets
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.4.1
+Version:3.6.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.4.1.gem -> sprockets-3.6.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2015-11-25 18:53:36.0 +0100
+++ new/CHANGELOG.md2016-04-06 20:20:58.0 +0200
@@ -1,3 +1,22 @@
+**3.6.0** (April 6, 2016)
+
+* Add `Manifest#find_sources` to return the source of the compiled assets.
+* Fix the list of compressable mime types.
+* Improve performance of the `FileStore` cache.
+
+**3.5.2** (December 8, 2015)
+
+* Fix JRuby bug with concurrent-ruby.
+* Fix disabling gzip generation in cached environments.
+
+**3.5.1** (December 5, 2015)
+
+* Fix gzip asset generation for assets already on disk.
+
+**3.5.0** (December 3, 2015)
+
+* Reintroduce Gzip file generation for non-binary assets.
+
 **3.4.1** (November 25, 2015)
 
 * PathUtils::Entries will no longer error on an empty directory.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2015-11-25 18:53:36.0 +0100
+++ new/README.md   2016-04-06 20:20:58.0 +0200
@@ -20,6 +20,16 @@
 gem 'sprockets', '~> 3.0'
 ```
 
+## Using sprockets
+
+For most people interested in using sprockets you will want to see [End User 
Asset Generation](guides/end_user_asset_generation.md) guide. This contains 
information about sprocket's directive syntax, and default processing behavior.
+
+If you are a framework developer that is using sprockets, see [Building an 
Asset Processing Framework](guides/building_an_asset_processing_framework.md).
+
+If you are a library developer who is extending the functionality of 
sprockets, see [Extending Sprockets](guides/extending_sprockets.md).
+
+Below is a disjointed mix of documentation for all three of these roles. 
Eventually they will be moved to an appropriate guide, for now the recommended 
way to consume documentation is to view the appropriate guide first and then 
supplement with docs from the README.
+
 ## Behavior
 
 ### Index files are proxies for folders
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/cache.rb new/lib/sprockets/cache.rb
--- 

commit rubygem-sprockets for openSUSE:Factory

2015-12-01 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-12-01 09:18:48

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-10-08 08:25:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-12-01 09:18:49.0 +0100
@@ -1,0 +2,10 @@
+Thu Nov 26 05:36:14 UTC 2015 - co...@suse.com
+
+- updated to version 3.4.1
+ see installed CHANGELOG.md
+
+  **3.4.1** (November 25, 2015)
+  
+  * PathUtils::Entries will no longer error on an empty directory.
+
+---

Old:

  sprockets-3.4.0.gem

New:

  sprockets-3.4.1.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.qqsfrr/_old  2015-12-01 09:18:50.0 +0100
+++ /var/tmp/diff_new_pack.qqsfrr/_new  2015-12-01 09:18:50.0 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.4.0
+Version:3.4.1
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.4.0.gem -> sprockets-3.4.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2015-10-05 19:48:23.0 +0200
+++ new/CHANGELOG.md2015-11-25 18:53:36.0 +0100
@@ -1,3 +1,7 @@
+**3.4.1** (November 25, 2015)
+
+* PathUtils::Entries will no longer error on an empty directory.
+
 **3.4.0** (October 5, 2015)
 
 * Expose method to override the sass cache in the SassProcessor.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2015-10-05 19:48:23.0 +0200
+++ new/README.md   2015-11-25 18:53:36.0 +0100
@@ -20,6 +20,44 @@
 gem 'sprockets', '~> 3.0'
 ```
 
+## Behavior
+
+### Index files are proxies for folders
+
+In sprockets index files such as `index.js` or `index.css` files inside of a 
folder will generate a file with the folder's name. So if you have a 
`foo/index.js` file it will compile down to `foo.js`. This is similar to NPM's 
behavior of using [folders as 
modules](https://nodejs.org/api/modules.html#modules_folders_as_modules). It is 
also somewhat similar to the way that a file in `public/my_folder/index.html` 
can be reached by a request to `/my_folder`. This means that you cannot 
directly use an index file. For example this would not work:
+
+```
+<%= asset_path("foo/index.js") %>
+```
+
+Instead you would need to use:
+
+```
+<%= asset_path("foo.js") %>
+```
+
+Why would you want to use this behavior?  It is common behavior where you 
might want to include an entire directory of files in a top level javascript. 
You can do this in sprockets using `require_tree .`
+
+```
+//= require_tree .
+```
+
+This has the problem that files are required alphabetically. If your directory 
has `jquery-ui.js` and `jquery.min.js` then sprockets will require 
`jquery-ui.js` before `jquery` is required which won't work (because jquery-ui 
depends on jquery). Previously the only way to get the correct ordering would 
be to rename your files, something like `0-jquery-ui.js`. Instead of doing that 
you can use an index file.
+
+For example, if you have an `application.js` and want all the files in the 
`foo/` folder you could do this:
+
+```
+//= require foo.js
+```
+
+Then create a file `foo/index.js` that requires all the files in that folder 
in any order you want:
+
+```
+//= require foo.min.js
+//= require foo-ui.js
+```
+
+Now in your `application.js` will correctly load the `foo.min.js` before 
`foo-ui.js`. If you used `require_tree` it would not work correctly.
 
 ## Understanding the Sprockets Environment
 
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/path_utils.rb 
new/lib/sprockets/path_utils.rb
--- old/lib/sprockets/path_utils.rb 2015-10-05 19:48:23.0 +0200
+++ new/lib/sprockets/path_utils.rb 2015-11-25 18:53:36.0 +0100
@@ -55,9 +55,11 @@
 # Returns an empty `Array` if the directory does not exist.
 def entries(path)
   if File.directory?(path)
-Dir.entries(path, :encoding => Encoding.default_internal).reject! { 
|entry|
+entries = Dir.entries(path, :encoding => Encoding.default_internal)
+entries.reject! { |entry|
   entry =~ 

commit rubygem-sprockets for openSUSE:Factory

2015-10-08 Thread h_root
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.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-10-08 08:25:00.0 +0200
@@ -1,0 +2,10 @@
+Tue Oct  6 04:32:47 UTC 2015 - co...@suse.com
+
+- 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.0 +0200
+++ /var/tmp/diff_new_pack.0OJTmW/_new  2015-10-08 08:25:00.0 +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.md2015-09-25 20:47:21.0 +0200
+++ new/CHANGELOG.md2015-10-05 19:48:23.0 +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.0 +0200
+++ new/lib/sprockets/sass_processor.rb 2015-10-05 19:48:23.0 +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 = {}, )
   @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.rb2015-09-25 20:47:21.0 +0200
+++ new/lib/sprockets/version.rb2015-10-05 19:48:23.0 +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/metadata2015-09-25 20:47:21.0 +0200
+++ new/metadata2015-10-05 19:48:23.0 +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.0 Z
+date: 2015-10-05 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rack




commit rubygem-sprockets for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-09-30 05:52:23

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-03 18:12:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-09-30 05:52:27.0 +0200
@@ -1,0 +2,10 @@
+Sat Sep 26 04:30:21 UTC 2015 - co...@suse.com
+
+- updated to version 3.3.5
+ see installed CHANGELOG.md
+
+  **3.3.5** (September 25, 2015)
+  
+  * Fix bug related to absolute path being reintroduced into history cache 
#141.
+
+---

Old:

  sprockets-3.3.4.gem

New:

  sprockets-3.3.5.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.ScXxYe/_old  2015-09-30 05:52:27.0 +0200
+++ /var/tmp/diff_new_pack.ScXxYe/_new  2015-09-30 05:52:27.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.3.4
+Version:3.3.5
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.3.4.gem -> sprockets-3.3.5.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2015-09-01 21:23:13.0 +0200
+++ new/CHANGELOG.md2015-09-25 20:47:21.0 +0200
@@ -1,3 +1,7 @@
+**3.3.5** (September 25, 2015)
+
+* Fix bug related to absolute path being reintroduced into history cache #141.
+
 **3.3.4** (September 1, 2015)
 
 * Relative cache contents now work with windows.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/loader.rb new/lib/sprockets/loader.rb
--- old/lib/sprockets/loader.rb 2015-09-01 21:23:13.0 +0200
+++ new/lib/sprockets/loader.rb 2015-09-25 20:47:21.0 +0200
@@ -306,8 +306,10 @@
 
 history = cache.get(key) || []
 history.each_with_index do |deps, index|
-  deps.map! { |path| path.start_with?("file-digest://") ? 
expand_from_root(path) : path }
-  if asset = yield(deps)
+  expanded_deps = deps.map do |path|
+path.start_with?("file-digest://") ? expand_from_root(path) : path
+  end
+  if asset = yield(expanded_deps)
 cache.set(key, history.rotate!(index)) if index > 0
 return asset
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/version.rb new/lib/sprockets/version.rb
--- old/lib/sprockets/version.rb2015-09-01 21:23:13.0 +0200
+++ new/lib/sprockets/version.rb2015-09-25 20:47:21.0 +0200
@@ -1,3 +1,3 @@
 module Sprockets
-  VERSION = "3.3.4"
+  VERSION = "3.3.5"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2015-09-01 21:23:13.0 +0200
+++ new/metadata2015-09-25 20:47:21.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sprockets
 version: !ruby/object:Gem::Version
-  version: 3.3.4
+  version: 3.3.5
 platform: ruby
 authors:
 - Sam Stephenson
@@ -9,22 +9,28 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-09-01 00:00:00.0 Z
+date: 2015-09-25 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rack
   requirement: !ruby/object:Gem::Requirement
 requirements:
-- - "~>"
+- - ">"
   - !ruby/object:Gem::Version
-version: '1.0'
+version: '1'
+- - "<"
+  - !ruby/object:Gem::Version
+version: '3'
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
 requirements:
-- - "~>"
+- - ">"
+  - !ruby/object:Gem::Version
+version: '1'
+- - "<"
   - !ruby/object:Gem::Version
-version: '1.0'
+version: '3'
 - !ruby/object:Gem::Dependency
   name: closure-compiler
   requirement: !ruby/object:Gem::Requirement




commit rubygem-sprockets for openSUSE:Factory

2015-09-03 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-09-03 18:04:46

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-08-27 08:57:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-09-03 18:12:31.0 +0200
@@ -1,0 +2,10 @@
+Wed Sep  2 04:31:50 UTC 2015 - co...@suse.com
+
+- updated to version 3.3.4
+ see installed CHANGELOG.md
+
+  **3.3.4** (September 1, 2015)
+  
+  * Relative cache contents now work with windows.
+
+---

Old:

  sprockets-3.3.3.gem

New:

  sprockets-3.3.4.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.mBpvSU/_old  2015-09-03 18:12:32.0 +0200
+++ /var/tmp/diff_new_pack.mBpvSU/_new  2015-09-03 18:12:32.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.3.3
+Version:3.3.4
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.3.3.gem -> sprockets-3.3.4.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2015-08-21 23:07:31.0 +0200
+++ new/CHANGELOG.md2015-09-01 21:23:13.0 +0200
@@ -1,3 +1,7 @@
+**3.3.4** (September 1, 2015)
+
+* Relative cache contents now work with windows.
+
 **3.3.3** (August 21, 2015)
 
 * Remove more absolute paths from cache contents.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/unloaded_asset.rb 
new/lib/sprockets/unloaded_asset.rb
--- old/lib/sprockets/unloaded_asset.rb 2015-08-21 23:07:31.0 +0200
+++ new/lib/sprockets/unloaded_asset.rb 2015-09-01 21:23:13.0 +0200
@@ -19,7 +19,7 @@
 #
 # Returns UnloadedAsset.
 def initialize(uri, env)
-  @uri   = uri
+  @uri   = uri.to_s
   @env   = env
   @compressed_path   = URITar.new(uri, env).compressed_path
   @params= nil # lazy loaded
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/uri_tar.rb new/lib/sprockets/uri_tar.rb
--- old/lib/sprockets/uri_tar.rb2015-08-21 23:07:31.0 +0200
+++ new/lib/sprockets/uri_tar.rb2015-09-01 21:23:13.0 +0200
@@ -1,3 +1,5 @@
+require 'sprockets/path_utils'
+
 module Sprockets
  # Internal: used to "expand" and "compress" values for storage
   class URITar
@@ -10,6 +12,7 @@
 def initialize(uri, env)
   @root = env.root
   @env  = env
+  uri   = uri.to_s
   if uri.include?("://".freeze)
 uri_array = uri.split("://".freeze)
 @scheme   = uri_array.shift
@@ -34,6 +37,15 @@
   scheme + compressed_path
 end
 
+# Internal: Tells us if we are using an absolute path
+#
+# Nix* systems start with a `/` like /Users/schneems.
+# Windows systems start with a drive letter than colon and slash
+# like C:/Schneems.
+def absolute_path?
+  PathUtils.absolute_path?(path)
+end
+
 # Internal: Convert a "compressed" uri to an absolute path
 #
 # If a uri is inside of the environment's root it will not
@@ -47,12 +59,17 @@
 #
 # Returns String
 def expand
-  if path.start_with?("/".freeze)
+  if absolute_path?
 # Stored path was absolute, don't add root
 scheme + path
   else
-# Stored path was relative, add root
-scheme + File.join(root, path)
+if scheme.empty?
+  File.join(root, path)
+else
+  # We always want to return an absolute uri,
+  # make sure the path starts with a slash.
+  scheme + File.join("/".freeze, root, path)
+end
   end
 end
 
@@ -66,7 +83,14 @@
 #
 # Returns String
 def compressed_path
-  if compressed_path = @env.split_subpath(root, path)
+  # windows
+  if !@root.start_with?("/".freeze) && path.start_with?("/".freeze)
+consistent_root = "/".freeze + @root
+  else
+consistent_root = @root
+  end
+
+  if compressed_path = PathUtils.split_subpath(consistent_root, path)
 compressed_path
   else
 path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit rubygem-sprockets for openSUSE:Factory

2015-08-27 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-08-27 08:57:46

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-06-12 20:30:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-08-27 08:57:47.0 +0200
@@ -1,0 +2,24 @@
+Mon Aug 24 04:31:26 UTC 2015 - co...@suse.com
+
+- updated to version 3.3.3
+ see installed CHANGELOG.md
+
+  **3.3.3** (August 21, 2015)
+  
+  * Remove more absolute paths from cache contents.
+  
+  **3.3.2** (August 19, 2015)
+  
+  * Fix cache contents to use relative paths instead of absolute paths.
+  
+  **3.3.1** (August 15, 2015)
+  
+  * Fix legacy Tilt integration when locals is required argument.
+
+---
+Thu Aug 13 04:30:50 UTC 2015 - co...@suse.com
+
+- updated to version 3.3.0
+  no changelog found
+
+---

Old:

  sprockets-3.2.0.gem

New:

  sprockets-3.3.3.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.v2bgCN/_old  2015-08-27 08:57:47.0 +0200
+++ /var/tmp/diff_new_pack.v2bgCN/_new  2015-08-27 08:57:47.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.2.0
+Version:3.3.3
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
@@ -52,7 +52,7 @@
 %install
 %gem_install \
   --symlink-binaries \
-  --doc-files=LICENSE README.md \
+  --doc-files=CHANGELOG.md LICENSE README.md \
   -f
 
 %gem_packages

++ sprockets-3.2.0.gem - sprockets-3.3.3.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md1970-01-01 01:00:00.0 +0100
+++ new/CHANGELOG.md2015-08-21 23:07:31.0 +0200
@@ -0,0 +1,234 @@
+**3.3.3** (August 21, 2015)
+
+* Remove more absolute paths from cache contents.
+
+**3.3.2** (August 19, 2015)
+
+* Fix cache contents to use relative paths instead of absolute paths.
+
+**3.3.1** (August 15, 2015)
+
+* Fix legacy Tilt integration when locals is required argument.
+
+**3.3.0** (August 12, 2015)
+
+* Change internal cache key to use relative asset paths instead of absolute 
paths.
+
+**3.2.0** (June 2, 2015)
+
+* Updated SRI integrity to align with spec changes
+* Deprecated Manifest integrity attribute
+* Cleanup concatenating JS sources with newlines
+
+**3.1.0** (May 10, 2015)
+
+* Removed index logical path normalization. Asset#logical_path is always the
+  full logical path to the index file.
+* Fixed static asset mtimes
+* Fix manifest cleanup by age
+* Removed redundant minifier level cache
+* Updated SRI format according to spec changes
+
+**3.0.3** (April 27, 2015)
+
+* Fix static asset mtime fallback
+* Only warn when specified asset version can not be loaded.
+
+**3.0.2** (April 22, 2015)
+
+* Ensure legacy Tilt handlers return String class data. Fixes issues with Haml
+  Tilt handler.
+* Type check and improve error messages raised on bad processor returned 
results.
+* Improve error message for relative paths not under load path.
+* Changed HTML encoding fallback from ISO-8859-1 to default external.
+* Avoid falling back to 0 mtimes which may cause warnings with tar
+
+**3.0.1** (April 14, 2015)
+
+* Fixed `Context#depend_on` with paths outside the load path
+
+**3.0.0** (April 12, 2015)
+
+[Guide to upgrading from Sprockets 2.x to 
3.x](https://github.com/rails/sprockets/blob/master/UPGRADING.md)
+
+* New processor API. Tilt interface is deprecated.
+* Improved file store caching backend.
+* MIME Types now accept charset custom charset detecters. Improves support for 
UTF-16/32 files.
+* Environment#version no longer affects asset digests. Only used for busting 
the asset cache.
+* Removed builtin support for LESS.
+* Removed `//= include` directive support.
+* Deprecated `BundledAsset#to_a`. Use `BundledAsset#included` to access 
debugging subcomponents.
+* Support circular dependencies. For parity with ES6 modules.
+* Manifest compilation will no longer generate .gz files by default. [Mixing
+  Content-Encoding and ETags is just a bad
+  idea](https://issues.apache.org/bugzilla/show_bug.cgi?id=39727)
+* Added linked or referenced assets. When an asset is compiled, any of its 
links will be compiled as well.
+* Introduce some limitations around enumerating all logical paths. 4.x will 
deprecate it 

commit rubygem-sprockets for openSUSE:Factory

2015-06-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-06-12 20:30:49

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-05-11 19:49:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-06-12 20:30:54.0 +0200
@@ -1,0 +2,6 @@
+Wed Jun  3 04:39:24 UTC 2015 - co...@suse.com
+
+- updated to version 3.2.0
+  no changelog found
+
+---

Old:

  sprockets-3.1.0.gem

New:

  sprockets-3.2.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.CLxDVD/_old  2015-06-12 20:30:54.0 +0200
+++ /var/tmp/diff_new_pack.CLxDVD/_new  2015-06-12 20:30:54.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.1.0
+Version:3.2.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.1.0.gem - sprockets-3.2.0.gem ++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/asset.rb new/lib/sprockets/asset.rb
--- old/lib/sprockets/asset.rb  2015-05-10 21:29:32.0 +0200
+++ new/lib/sprockets/asset.rb  2015-06-02 22:21:36.0 +0200
@@ -19,7 +19,6 @@
   @content_type = attributes[:content_type]
   @filename = attributes[:filename]
   @id   = attributes[:id]
-  @integrity= attributes[:integrity]
   @load_path= attributes[:load_path]
   @logical_path = attributes[:logical_path]
   @metadata = attributes[:metadata]
@@ -140,7 +139,9 @@
 end
 
 # Public: A named information URL for subresource integrity.
-attr_reader :integrity
+def integrity
+  DigestUtils.integrity_uri(metadata[:digest])
+end
 
 # Public: Add enumerator to allow `Asset` instances to be used as Rack
 # compatible body objects.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/cache.rb new/lib/sprockets/cache.rb
--- old/lib/sprockets/cache.rb  2015-05-10 21:29:32.0 +0200
+++ new/lib/sprockets/cache.rb  2015-06-02 22:21:36.0 +0200
@@ -97,7 +97,7 @@
 # Public: Low level API to retrieve item directly from the backend cache
 # store.
 #
-# This API may be used publicaly, but may have undefined behavior
+# This API may be used publicly, but may have undefined behavior
 # depending on the backend store being used. Prefer the
 # Cache#fetch API over using this.
 #
@@ -120,7 +120,7 @@
 
 # Public: Low level API to set item directly to the backend cache store.
 #
-# This API may be used publicaly, but may have undefined behavior
+# This API may be used publicly, but may have undefined behavior
 # depending on the backend store being used. Prefer the
 # Cache#fetch API over using this.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/digest_utils.rb 
new/lib/sprockets/digest_utils.rb
--- old/lib/sprockets/digest_utils.rb   2015-05-10 21:29:32.0 +0200
+++ new/lib/sprockets/digest_utils.rb   2015-06-02 22:21:36.0 +0200
@@ -96,6 +96,15 @@
   bin.unpack('H*').first
 end
 
+# Internal: Unpack a hex encoded digest string into binary bytes.
+#
+# hex - String hex
+#
+# Returns binary String.
+def unpack_hexdigest(hex)
+  [hex].pack('H*')
+end
+
 # Internal: Pack a binary digest to a base64 encoded string.
 #
 # bin - String bytes
@@ -117,17 +126,15 @@
   str
 end
 
-# Internal: Maps digest class to the named information hash algorithm name.
-#
-# http://www.iana.org/assignments/named-information/named-information.xhtml
-NI_HASH_ALGORITHMS = {
-  Digest::SHA256 = 'sha-256'.freeze,
-  Digest::SHA384 = 'sha-384'.freeze,
-  Digest::SHA512 = 'sha-512'.freeze
+# Internal: Maps digest class to the CSP hash algorithm name.
+HASH_ALGORITHMS = {
+  Digest::SHA256 = 'sha256'.freeze,
+  Digest::SHA384 = 'sha384'.freeze,
+  Digest::SHA512 = 'sha512'.freeze
 }
 
-# Internal: Generate a named information URI for use in the `integrity`
-# attribute of an asset tag as per the subresource integrity specification.
+# Public: Generate hash for use in the `integrity` attribute of an asset 
tag

commit rubygem-sprockets for openSUSE:Factory

2015-05-11 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-05-11 19:39:30

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-05-02 21:34:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-05-11 19:49:24.0 +0200
@@ -1,0 +2,6 @@
+Mon May 11 04:29:31 UTC 2015 - co...@suse.com
+
+- updated to version 3.1.0
+  no changelog found
+
+---

Old:

  sprockets-3.0.3.gem

New:

  sprockets-3.1.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.8vkQOV/_old  2015-05-11 19:49:25.0 +0200
+++ /var/tmp/diff_new_pack.8vkQOV/_new  2015-05-11 19:49:25.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.0.3
+Version:3.1.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.0.3.gem - sprockets-3.1.0.gem ++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/cache.rb new/lib/sprockets/cache.rb
--- old/lib/sprockets/cache.rb  2015-04-28 04:24:58.0 +0200
+++ new/lib/sprockets/cache.rb  2015-05-10 21:29:32.0 +0200
@@ -60,7 +60,7 @@
 # cache - A compatible backend cache store instance.
 def initialize(cache = nil, logger = self.class.default_logger)
   @cache_wrapper = get_cache_wrapper(cache)
-  @fetch_cache   = Cache::MemoryStore.new(4096)
+  @fetch_cache   = Cache::MemoryStore.new(1024)
   @logger= logger
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/closure_compressor.rb 
new/lib/sprockets/closure_compressor.rb
--- old/lib/sprockets/closure_compressor.rb 2015-04-28 04:24:58.0 
+0200
+++ new/lib/sprockets/closure_compressor.rb 2015-05-10 21:29:32.0 
+0200
@@ -1,4 +1,5 @@
 require 'sprockets/autoload'
+require 'sprockets/digest_utils'
 
 module Sprockets
   # Public: Closure Compiler minifier.
@@ -35,19 +36,11 @@
 
 def initialize(options = {})
   @compiler = Autoload::Closure::Compiler.new(options)
-  @cache_key = [
-self.class.name,
-Autoload::Closure::VERSION,
-Autoload::Closure::COMPILER_VERSION,
-VERSION,
-options
-  ].freeze
+  @cache_key = 
#{self.class.name}:#{Autoload::Closure::VERSION}:#{Autoload::Closure::COMPILER_VERSION}:#{VERSION}:#{DigestUtils.digest(options)}.freeze
 end
 
 def call(input)
-  input[:cache].fetch(@cache_key + [input[:data]]) do
-@compiler.compile(input[:data])
-  end
+  @compiler.compile(input[:data])
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/coffee_script_processor.rb 
new/lib/sprockets/coffee_script_processor.rb
--- old/lib/sprockets/coffee_script_processor.rb2015-04-28 
04:24:58.0 +0200
+++ new/lib/sprockets/coffee_script_processor.rb2015-05-10 
21:29:32.0 +0200
@@ -12,12 +12,12 @@
 VERSION = '1'
 
 def self.cache_key
-  @cache_key ||= [name, Autoload::CoffeeScript::Source.version, 
VERSION].freeze
+  @cache_key ||= 
#{name}:#{Autoload::CoffeeScript::Source.version}:#{VERSION}.freeze
 end
 
 def self.call(input)
   data = input[:data]
-  input[:cache].fetch(self.cache_key + [data]) do
+  input[:cache].fetch([self.cache_key, data]) do
 Autoload::CoffeeScript.compile(data)
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/digest_utils.rb 
new/lib/sprockets/digest_utils.rb
--- old/lib/sprockets/digest_utils.rb   2015-04-28 04:24:58.0 +0200
+++ new/lib/sprockets/digest_utils.rb   2015-05-10 21:29:32.0 +0200
@@ -129,13 +129,10 @@
 # Internal: Generate a named information URI for use in the `integrity`
 # attribute of an asset tag as per the subresource integrity specification.
 #
-# digest   - The String byte digest of the asset content.
-# content_type - The content-type the asset will be served with. This 
*must*
-#be accurate if provided. Otherwise, subresource integrity
-#will block the loading of the asset.
+# digest - The String byte digest of 

commit rubygem-sprockets for openSUSE:Factory

2015-05-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-05-02 21:34:20

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-04-25 11:25:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-05-02 21:34:21.0 +0200
@@ -1,0 +2,6 @@
+Tue Apr 28 07:48:46 UTC 2015 - co...@suse.com
+
+- updated to version 3.0.3
+  no changelog found
+
+---

Old:

  sprockets-3.0.2.gem

New:

  sprockets-3.0.3.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.ZszobT/_old  2015-05-02 21:34:22.0 +0200
+++ /var/tmp/diff_new_pack.ZszobT/_new  2015-05-02 21:34:22.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.0.2
+Version:3.0.3
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.0.2.gem - sprockets-3.0.3.gem ++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/errors.rb new/lib/sprockets/errors.rb
--- old/lib/sprockets/errors.rb 2015-04-23 07:01:53.0 +0200
+++ new/lib/sprockets/errors.rb 2015-04-28 04:24:58.0 +0200
@@ -8,5 +8,4 @@
   class ConversionError  NotFound; end
   class FileNotFound NotFound; end
   class FileOutsidePaths NotFound; end
-  class VersionNotFound  NotFound; end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/loader.rb new/lib/sprockets/loader.rb
--- old/lib/sprockets/loader.rb 2015-04-23 07:01:53.0 +0200
+++ new/lib/sprockets/loader.rb 2015-04-28 04:24:58.0 +0200
@@ -26,8 +26,13 @@
 def load(uri)
   filename, params = parse_asset_uri(uri)
   if params.key?(:id)
-asset = cache.fetch(asset-uri:#{VERSION}#{uri}) do
-  load_asset_by_id_uri(uri, filename, params)
+unless asset = cache.get(asset-uri:#{VERSION}:#{uri}, true)
+  id = params.delete(:id)
+  uri_without_id = build_asset_uri(filename, params)
+  asset = load_asset_by_uri(uri_without_id, filename, params)
+  if asset[:id] != id
+@logger.warn Sprockets load error: Tried to find #{uri}, but 
latest was id #{asset[:id]}
+  end
 end
   else
 asset = fetch_asset_from_dependency_cache(uri, filename) do |paths|
@@ -45,28 +50,7 @@
 end
 
 private
-  def load_asset_by_id_uri(uri, filename, params)
-# Internal assertion, should be routed through load_asset_by_uri
-unless id = params.delete(:id)
-  raise ArgumentError, expected uri to have an id: #{uri}
-end
-
-uri = build_asset_uri(filename, params)
-asset = load_asset_by_uri(uri, filename, params)
-
-if id  asset[:id] != id
-  raise VersionNotFound, could not find specified id: #{uri}##{id}
-end
-
-asset
-  end
-
   def load_asset_by_uri(uri, filename, params)
-# Internal assertion, should be routed through load_asset_by_id_uri
-if params.key?(:id)
-  raise ArgumentError, expected uri to have no id: #{uri}
-end
-
 unless file?(filename)
   raise FileNotFound, could not find file: #{filename}
 end
@@ -118,6 +102,7 @@
 length: source.bytesize
   )
 else
+  dependencies  build_file_digest_uri(filename)
   metadata = {
 digest: file_digest(filename),
 length: self.stat(filename).size,
@@ -145,11 +130,12 @@
 asset[:mtime] = metadata[:dependencies].map { |u|
   if u.start_with?(file-digest:)
 s = self.stat(parse_file_digest_uri(u))
-s ? s.mtime.to_i : 1211698800
+s ? s.mtime.to_i : nil
   else
-1211698800
+nil
   end
-}.max
+}.compact.max
+asset[:mtime] ||= self.stat(filename).mtime.to_i
 
 cache.set(asset-uri:#{VERSION}:#{asset[:uri]}, asset, true)
 
cache.set(asset-uri-digest:#{VERSION}:#{uri}:#{asset[:dependencies_digest]}, 
asset[:uri], true)
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  

commit rubygem-sprockets for openSUSE:Factory

2015-04-25 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-04-25 09:53:02

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-04-15 16:27:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-04-25 11:25:43.0 +0200
@@ -1,0 +2,6 @@
+Thu Apr 23 08:09:18 UTC 2015 - co...@suse.com
+
+- updated to version 3.0.2
+  no changelog found
+
+---

Old:

  sprockets-3.0.1.gem

New:

  sprockets-3.0.2.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.bicjCu/_old  2015-04-25 11:25:44.0 +0200
+++ /var/tmp/diff_new_pack.bicjCu/_new  2015-04-25 11:25:44.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.0.1
+Version:3.0.2
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.0.1.gem - sprockets-3.0.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2015-04-14 23:56:26.0 +0200
+++ new/README.md   2015-04-23 07:01:53.0 +0200
@@ -449,193 +449,7 @@
 
 ### Version History
 
-**3.0.1** (April 14, 2015)
-
-* Fixed `Context#depend_on` with paths outside the load path
-
-**3.0.0** (April 12, 2015)
-
-* New processor API. Tilt interface is deprecated.
-* Improved file store caching backend.
-* MIME Types now accept charset custom charset detecters. Improves support for 
UTF-16/32 files.
-* Environment#version no longer affects asset digests. Only used for busting 
the asset cache.
-* Removed builtin support for LESS.
-* Removed `//= include` directive support.
-* Deprecated `BundledAsset#to_a`. Use `BundledAsset#included` to access 
debugging subcomponents.
-* Support circular dependencies. For parity with ES6 modules.
-* Manifest compilation will no longer generate .gz files by default. [Mixing
-  Content-Encoding and ETags is just a bad
-  idea](https://issues.apache.org/bugzilla/show_bug.cgi?id=39727)
-* Added linked or referenced assets. When an asset is compiled, any of its 
links will be compiled as well.
-* Introduce some limitations around enumerating all logical paths. 4.x will 
deprecate it and favor linked manifests for compliation.
-* Add Asset integrity attribute for Subresource Integrity
-* Default digest changed to SHA256. Configuring `digest_class` is deprecated.
-* Rename `Asset#digest` to `Asset#hexdigest`. `Asset#digest` is deprecated and 
will
-  return a raw byte String in 4.x.
-* Added transitional compatibility flag to `Environment#resolve(path, compat: 
true)`. 2.x mode operates with `compat: true` and 4.x with `compat: false`
-* `manifest-abc123.json` renamed to `.sprockets-abc123.json`
-
-**2.12.3** (October 28, 2014)
-
-* Security: Fix directory traversal bug in development mode server.
-
-**2.12.2** (September 5, 2014)
-
-* Ensure internal asset lookups calls are still restricted to load paths within
-  asset compiles. Though, you should not depend on internal asset resolves to 
be
-  completely restricted for security reasons. Assets themselves should be
-  considered full scripting environments with filesystem access.
-
-**2.12.1** (April 17, 2014)
-
-* Fix making manifest target directory when its different than the output 
directory.
-
-**2.12.0** (March 13, 2014)
-
-* Avoid context reference in SassImporter hack so its Marshallable. Fixes
- issues with Sass 3.3.x.
-
-**2.11.0** (February 19, 2014)
-
-* Cache store must now be an LRU implementation.
-* Default digest changed to SHA1. To continue using MD5.
-  `env.digest_class = Digest::MD5`.
-
-**2.10.0** (May 24, 2013)
-
-* Support for `bower.json`
-
-**2.9.3** (April 20, 2013)
-
-* Fixed sass caching bug
-
-**2.9.2** (April 8, 2013)
-
-* Improve file freshness check performance
-* Directive processor encoding fixes
-
-**2.9.1** (April 6, 2013)
-
-* Support for Uglifier 2.x
-
-**2.9.0** (February 25, 2013)
-
-* Write out gzipped variants of bundled assets.
-
-**2.8.2** (December 10, 2012)
-
-* Fixed top level Sass constant references
-* Fixed manifest logger when environment is disabled
-
-**2.8.1** (October 31, 2012)
-
-* Fixed Sass importer bug
-
-**2.8.0** (October 16, 2012)
-
-* Allow manifest location to be separated from output directory
-* Pass logical path and absolute path to each_logical_path iterator
-
-**2.7.0** (October 10, 2012)
-
-* 

commit rubygem-sprockets for openSUSE:Factory

2015-04-15 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-04-15 16:27:32

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-04-13 20:31:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-04-15 16:27:33.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr 15 04:30:24 UTC 2015 - co...@suse.com
+
+- updated to version 3.0.1
+
+---

Old:

  sprockets-3.0.0.gem

New:

  sprockets-3.0.1.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.7Z36iU/_old  2015-04-15 16:27:33.0 +0200
+++ /var/tmp/diff_new_pack.7Z36iU/_new  2015-04-15 16:27:33.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-sprockets
-Version:3.0.0
+Version:3.0.1
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

++ sprockets-3.0.0.gem - sprockets-3.0.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2015-04-12 18:02:09.0 +0200
+++ new/README.md   2015-04-14 23:56:26.0 +0200
@@ -449,7 +449,11 @@
 
 ### Version History
 
-**3.0.0**
+**3.0.1** (April 14, 2015)
+
+* Fixed `Context#depend_on` with paths outside the load path
+
+**3.0.0** (April 12, 2015)
 
 * New processor API. Tilt interface is deprecated.
 * Improved file store caching backend.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/context.rb new/lib/sprockets/context.rb
--- old/lib/sprockets/context.rb2015-04-12 18:02:09.0 +0200
+++ new/lib/sprockets/context.rb2015-04-14 23:56:26.0 +0200
@@ -108,7 +108,9 @@
 # the dependency file with invalidate the cache of the
 # source file.
 def depend_on(path)
-  if environment.absolute_path?(path)  environment.directory?(path)
+  path = path.to_s if path.is_a?(Pathname)
+
+  if environment.absolute_path?(path)  environment.stat(path)
 @dependencies  environment.build_file_digest_uri(path)
   else
 resolve(path, compat: false)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/version.rb new/lib/sprockets/version.rb
--- old/lib/sprockets/version.rb2015-04-12 18:02:09.0 +0200
+++ new/lib/sprockets/version.rb2015-04-14 23:56:26.0 +0200
@@ -1,3 +1,3 @@
 module Sprockets
-  VERSION = 3.0.0
+  VERSION = 3.0.1
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2015-04-12 18:02:09.0 +0200
+++ new/metadata2015-04-14 23:56:26.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sprockets
 version: !ruby/object:Gem::Version
-  version: 3.0.0
+  version: 3.0.1
 platform: ruby
 authors:
 - Sam Stephenson
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-04-12 00:00:00.0 Z
+date: 2015-04-14 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rack




commit rubygem-sprockets for openSUSE:Factory

2015-04-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-04-13 20:31:15

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-02-16 21:09:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-04-13 20:31:16.0 +0200
@@ -1,0 +2,24 @@
+Mon Apr 13 05:21:37 UTC 2015 - co...@suse.com
+
+- updated to version 3.0.0
+ * New processor API. Tilt interface is deprecated.
+ * Improved file store caching backend.
+ * MIME Types now accept charset custom charset detecters. Improves support 
for UTF-16/32 files.
+ * Environment#version no longer affects asset digests. Only used for busting 
the asset cache.
+ * Removed builtin support for LESS.
+ * Removed `//= include` directive support.
+ * Deprecated `BundledAsset#to_a`. Use `BundledAsset#included` to access 
debugging subcomponents.
+ * Support circular dependencies. For parity with ES6 modules.
+ * Manifest compilation will no longer generate .gz files by default. [Mixing
+   Content-Encoding and ETags is just a bad
+   idea](https://issues.apache.org/bugzilla/show_bug.cgi?id=39727)
+ * Added linked or referenced assets. When an asset is compiled, any of its 
links will be compiled as well.
+ * Introduce some limitations around enumerating all logical paths. 4.x will 
deprecate it and favor linked manifests for compliation.
+ * Add Asset integrity attribute for Subresource Integrity
+ * Default digest changed to SHA256. Configuring `digest_class` is deprecated.
+ * Rename `Asset#digest` to `Asset#hexdigest`. `Asset#digest` is deprecated 
and will
+   return a raw byte String in 4.x.
+ * Added transitional compatibility flag to `Environment#resolve(path, compat: 
true)`. 2.x mode operates with `compat: true` and 4.x with `compat: false`
+ * `manifest-abc123.json` renamed to `.sprockets-abc123.json`
+
+---

Old:

  sprockets-2.12.3.gem

New:

  sprockets-3.0.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.zFgplI/_old  2015-04-13 20:31:17.0 +0200
+++ /var/tmp/diff_new_pack.zFgplI/_new  2015-04-13 20:31:17.0 +0200
@@ -24,16 +24,16 @@
 #
 
 Name:   rubygem-sprockets
-Version:2.12.3
+Version:3.0.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{ruby = 1.9.3}
 BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros = 5
 BuildRequires:  update-alternatives
-Url:http://getsprockets.org/
+Url:https://github.com/rails/sprockets
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:Rack-based asset packaging system

++ sprockets-2.12.3.gem - sprockets-3.0.0.gem ++
 10157 lines of diff (skipped)




commit rubygem-sprockets for openSUSE:Factory

2015-02-16 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2015-02-16 21:09:34

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  
2014-11-24 11:12:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2015-02-16 21:09:36.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb 10 08:01:48 UTC 2015 - co...@suse.com
+
+- updated to version 2.12.3
+  * Security: Fix directory traversal bug in development mode server.
+
+---

Old:

  sprockets-2.12.2.gem

New:

  gem2rpm.yml
  sprockets-2.12.3.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.u1xUhb/_old  2015-02-16 21:09:37.0 +0100
+++ /var/tmp/diff_new_pack.u1xUhb/_new  2015-02-16 21:09:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sprockets
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -16,8 +16,15 @@
 #
 
 
+#
+# 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-sprockets
-Version:2.12.2
+Version:2.12.3
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
@@ -28,6 +35,7 @@
 BuildRequires:  update-alternatives
 Url:http://getsprockets.org/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
 Summary:Rack-based asset packaging system
 License:MIT
 Group:  Development/Languages/Ruby

++ gem2rpm.yml ++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
#   BuildRequires: foobar
#   Requires: foobar
# ## used by gem2rpm
# :patches:
#   foo.patch: -p1
#   bar.patch: 
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: ''
# ## used by gem2rpm
# :pre_install: |-
#   %if 0%{?use_system_libev}
#   export USE_VENDORED_LIBEV=no
#   %endif
# ## used by gem2rpm
# :post_install: |-
#   # delete custom files here or do other fancy stuff
#   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name}  rake test)
# ## used by gem2rpm
# :filelist: |-
#   /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
#   :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
#   :preamble: |-
# Requires: util-linux
# Recommends: pwgen
#   :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
#   apache:
# :preamble: |-
#   Requires: .
# :filelist: |-
#   /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
#   Custom description is optional
#
#   bar
# :post: |-
#   /bin/echo foo
#
++ sprockets-2.12.2.gem - sprockets-2.12.3.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2014-09-06 06:34:57.0 +0200
+++ new/README.md   2014-10-28 19:56:15.0 +0100
@@ -366,6 +366,10 @@
 
 ## Version History ##
 
+**2.12.3** (October 28, 2014)
+
+* Security: Fix directory traversal bug in development mode server.
+
 **2.12.2** (September 5, 2014)
 
 * Ensure internal asset lookups calls are still restricted to load paths within
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/server.rb new/lib/sprockets/server.rb
--- old/lib/sprockets/server.rb 2014-09-06 06:34:57.0 +0200
+++ new/lib/sprockets/server.rb 2014-10-28 19:56:15.0 +0100
@@ -33,16 +33,16 

commit rubygem-sprockets for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2014-11-24 11:12:48

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  
2014-05-21 16:30:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2014-11-24 11:12:49.0 +0100
@@ -1,0 +2,10 @@
+Sun Oct 12 16:49:48 UTC 2014 - co...@suse.com
+
+- updated to version 2.12.2
+ * Ensure internal asset lookups calls are still restricted to load paths 
within
+   asset compiles. Though, you should not depend on internal asset resolves to 
be
+   completely restricted for security reasons. Assets themselves should be
+   considered full scripting environments with filesystem access.
+- adapt to new rubygem packaging
+
+---

Old:

  sprockets-2.12.1.gem

New:

  sprockets-2.12.2.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.NEZxEX/_old  2014-11-24 11:12:49.0 +0100
+++ /var/tmp/diff_new_pack.NEZxEX/_new  2014-11-24 11:12:49.0 +0100
@@ -17,15 +17,14 @@
 
 
 Name:   rubygem-sprockets
-Version:2.12.1
+Version:2.12.2
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
-%define mod_branch -%{version}
-%define mod_weight 21201
-
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 3
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros = 5
 BuildRequires:  update-alternatives
 Url:http://getsprockets.org/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
@@ -38,54 +37,16 @@
 Sprockets is a Rack-based asset packaging system that concatenates and serves
 JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.
 
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/sprockets{,%{mod_branch}}
-touch %{buildroot}%{_sysconfdir}/alternatives/sprockets
-ln -s %{_sysconfdir}/alternatives/sprockets %{buildroot}%{_bindir}/sprockets
-
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
-
-%post
-/usr/sbin/update-alternatives --install \
-%{_bindir}/sprockets sprockets %{_bindir}/sprockets%{mod_branch} 
%{mod_weight}
-
-%preun
-if [ $1 = 0 ] ; then
-/usr/sbin/update-alternatives --remove sprockets 
%{_bindir}/sprockets%{mod_branch}
-fi
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{_bindir}/sprockets%{mod_branch}
-%{_bindir}/sprockets
-%ghost %{_sysconfdir}/alternatives/sprockets
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
+%gem_install \
+  --symlink-binaries \
+  --doc-files=LICENSE README.md \
+  -f
+
+%gem_packages
 
 %changelog

++ sprockets-2.12.1.gem - sprockets-2.12.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   1970-01-01 01:00:00.0 +0100
+++ new/README.md   2014-09-06 06:34:57.0 +0200
@@ -366,6 +366,13 @@
 
 ## Version History ##
 
+**2.12.2** (September 5, 2014)
+
+* Ensure internal asset lookups calls are still restricted to load paths within
+  asset compiles. Though, you should not depend on internal asset resolves to 
be
+  completely restricted for security reasons. Assets themselves should be
+  considered full scripting environments with filesystem access.
+
 **2.12.1** (April 17, 2014)
 
 * Fix making manifest target directory when its different than the output 
directory.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sprockets/base.rb new/lib/sprockets/base.rb
--- old/lib/sprockets/base.rb   1970-01-01 01:00:00.0 +0100
+++ 

commit rubygem-sprockets for openSUSE:Factory

2014-05-21 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2014-05-21 16:30:25

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  
2014-03-22 09:11:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2014-05-21 16:30:27.0 +0200
@@ -1,0 +2,6 @@
+Tue Apr 22 15:04:01 UTC 2014 - co...@suse.com
+
+- updated to version 2.12.1
+ * Fix making manifest target directory when its different than the output 
directory.
+
+---

Old:

  sprockets-2.12.0.gem

New:

  sprockets-2.12.1.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.onqzX1/_old  2014-05-21 16:30:30.0 +0200
+++ /var/tmp/diff_new_pack.onqzX1/_new  2014-05-21 16:30:30.0 +0200
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-sprockets
-Version:2.12.0
+Version:2.12.1
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 21200
+%define mod_weight 21201
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2014-03-22 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2014-03-22 09:11:36

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  
2014-02-25 07:42:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2014-03-22 09:11:38.0 +0100
@@ -1,0 +2,7 @@
+Fri Mar 21 12:54:12 UTC 2014 - co...@suse.com
+
+- updated to version 2.12.0
+ * Avoid context reference in SassImporter hack so its Marshallable. Fixes
+  issues with Sass 3.3.x.
+
+---

Old:

  sprockets-2.11.0.gem

New:

  sprockets-2.12.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.Wfig9d/_old  2014-03-22 09:11:39.0 +0100
+++ /var/tmp/diff_new_pack.Wfig9d/_new  2014-03-22 09:11:39.0 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-sprockets
-Version:2.11.0
+Version:2.12.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 21100
+%define mod_weight 21200
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2014-02-24 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2014-02-25 07:42:00

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  
2013-11-30 16:22:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2014-02-25 07:42:01.0 +0100
@@ -1,0 +2,6 @@
+Sat Feb 22 06:25:42 UTC 2014 - co...@suse.com
+
+- updated to version 2.11.0
+ * Support for `.bower.json`
+
+---

Old:

  sprockets-2.10.1.gem

New:

  sprockets-2.11.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.OkTLJ1/_old  2014-02-25 07:42:01.0 +0100
+++ /var/tmp/diff_new_pack.OkTLJ1/_new  2014-02-25 07:42:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sprockets
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,15 @@
 
 
 Name:   rubygem-sprockets
-Version:2.10.1
+Version:2.11.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 21001
+%define mod_weight 21100
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  ruby-macros = 3
 BuildRequires:  update-alternatives
 Url:http://getsprockets.org/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
@@ -62,8 +62,8 @@
 ln -s %{_sysconfdir}/alternatives/sprockets %{buildroot}%{_bindir}/sprockets
 
 mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -80,12 +80,12 @@
 %{_bindir}/sprockets%{mod_branch}
 %{_bindir}/sprockets
 %ghost %{_sysconfdir}/alternatives/sprockets
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%{gem_base}/specifications/%{mod_full_name}.gemspec
 
 %files doc
 %defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2013-11-30 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2013-11-30 14:24:21

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  
2013-06-05 19:34:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2013-11-30 16:22:28.0 +0100
@@ -1,0 +2,8 @@
+Sat Nov 23 09:32:22 UTC 2013 - co...@suse.com
+
+- updated to version 2.10.1
+ `depend_on_asset` *path* works like `depend_on`, but operates
+ recursively reading the file and following the directives found.
+- fix usage of update-alternatives
+
+---

Old:

  sprockets-2.10.0.gem

New:

  sprockets-2.10.1.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.swCJFO/_old  2013-11-30 16:22:28.0 +0100
+++ /var/tmp/diff_new_pack.swCJFO/_new  2013-11-30 16:22:28.0 +0100
@@ -17,20 +17,21 @@
 
 
 Name:   rubygem-sprockets
-Version:2.10.0
+Version:2.10.1
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
+%define mod_branch -%{version}
+%define mod_weight 21001
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
+BuildRequires:  update-alternatives
 Url:http://getsprockets.org/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Rack-based asset packaging system
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -%{version}
-%define mod_weight 2
 PreReq: update-alternatives
 
 %description
@@ -55,8 +56,11 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/sprockets{,%{mod_branch}}
-ln -s sprockets%{mod_branch} %{buildroot}%{_bindir}/sprockets
+touch %{buildroot}%{_sysconfdir}/alternatives/sprockets
+ln -s %{_sysconfdir}/alternatives/sprockets %{buildroot}%{_bindir}/sprockets
+
 mkdir -p %{buildroot}%{_docdir}/%{name}
 ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
 ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
@@ -74,7 +78,8 @@
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
 %{_bindir}/sprockets%{mod_branch}
-%ghost %{_bindir}/sprockets
+%{_bindir}/sprockets
+%ghost %{_sysconfdir}/alternatives/sprockets
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2013-06-05 19:34:16

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  
2013-05-02 12:00:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2013-06-05 19:34:18.0 +0200
@@ -1,0 +2,6 @@
+Sat May 25 10:29:20 UTC 2013 - co...@suse.com
+
+- updated to version 2.10.0
+ * Support for `bower.json`
+
+---

Old:

  sprockets-2.9.3.gem

New:

  sprockets-2.10.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.qJP2yi/_old  2013-06-05 19:34:19.0 +0200
+++ /var/tmp/diff_new_pack.qJP2yi/_new  2013-06-05 19:34:19.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.9.3
+Version:2.10.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
@@ -29,7 +29,7 @@
 Summary:Rack-based asset packaging system
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -2.9.3
+%define mod_branch -%{version}
 %define mod_weight 2
 PreReq: update-alternatives
 
@@ -57,6 +57,9 @@
 %gem_install -f
 mv %{buildroot}%{_bindir}/sprockets{,%{mod_branch}}
 ln -s sprockets%{mod_branch} %{buildroot}%{_bindir}/sprockets
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -69,6 +72,7 @@
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_bindir}/sprockets%{mod_branch}
 %ghost %{_bindir}/sprockets
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2013-05-02 12:00:50

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  
2013-04-20 18:01:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2013-05-02 12:00:53.0 +0200
@@ -1,0 +2,6 @@
+Wed Apr 24 05:49:57 UTC 2013 - co...@suse.com
+
+- updated to version 2.9.3
+ * Fixed sass caching bug
+
+---

Old:

  sprockets-2.9.2.gem

New:

  sprockets-2.9.3.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.4wRdie/_old  2013-05-02 12:00:55.0 +0200
+++ /var/tmp/diff_new_pack.4wRdie/_new  2013-05-02 12:00:55.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.9.2
+Version:2.9.3
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
@@ -29,7 +29,7 @@
 Summary:Rack-based asset packaging system
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -2.9.2
+%define mod_branch -2.9.3
 %define mod_weight 2
 PreReq: update-alternatives
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2013-04-20 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2013-04-20 18:01:48

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2013-03-11 07:44:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2013-04-20 18:01:49.0 +0200
@@ -1,0 +2,8 @@
+Fri Apr 12 11:50:13 UTC 2013 - co...@suse.com
+
+- updated to version 2.9.2
+ * Improve file freshness check performance
+ * Directive processor encoding fixes
+ * Support for Uglifier 2.x
+
+---

Old:

  sprockets-2.9.0.gem

New:

  sprockets-2.9.2.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.WaVexT/_old  2013-04-20 18:01:51.0 +0200
+++ /var/tmp/diff_new_pack.WaVexT/_new  2013-04-20 18:01:51.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.9.0
+Version:2.9.2
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
@@ -25,10 +25,13 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
 Url:http://getsprockets.org/
-Source: %{mod_full_name}.gem
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Rack-based asset packaging system
 License:MIT
 Group:  Development/Languages/Ruby
+%define mod_branch -2.9.2
+%define mod_weight 2
+PreReq: update-alternatives
 
 %description
 Sprockets is a Rack-based asset packaging system that concatenates and serves
@@ -52,10 +55,22 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/sprockets{,%{mod_branch}}
+ln -s sprockets%{mod_branch} %{buildroot}%{_bindir}/sprockets
+
+%post
+/usr/sbin/update-alternatives --install \
+%{_bindir}/sprockets sprockets %{_bindir}/sprockets%{mod_branch} 
%{mod_weight}
+
+%preun
+if [ $1 = 0 ] ; then
+/usr/sbin/update-alternatives --remove sprockets 
%{_bindir}/sprockets%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/sprockets
+%{_bindir}/sprockets%{mod_branch}
+%ghost %{_bindir}/sprockets
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2013-03-11 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2013-03-11 07:44:28

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2012-12-28 22:49:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2013-03-11 07:44:29.0 +0100
@@ -1,0 +2,6 @@
+Sun Mar  3 09:35:52 UTC 2013 - co...@suse.com
+
+- updated to version 2.9.0
+ * Write out gzipped variants of bundled assets.
+
+---

Old:

  sprockets-2.8.2.gem

New:

  sprockets-2.9.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.QhZ37P/_old  2013-03-11 07:44:30.0 +0100
+++ /var/tmp/diff_new_pack.QhZ37P/_new  2013-03-11 07:44:30.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sprockets
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.8.2
+Version:2.9.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2012-12-28 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2012-12-28 22:48:55

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2012-11-08 21:53:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2012-12-28 22:49:05.0 +0100
@@ -1,0 +2,7 @@
+Tue Dec 18 14:51:41 UTC 2012 - co...@suse.com
+
+- updated to version 2.8.2
+ * Fixed top level Sass constant references
+ * Fixed manifest logger when environment is disabled
+
+---

Old:

  sprockets-2.8.1.gem

New:

  sprockets-2.8.2.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.H18sMm/_old  2012-12-28 22:49:07.0 +0100
+++ /var/tmp/diff_new_pack.H18sMm/_new  2012-12-28 22:49:07.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.8.1
+Version:2.8.2
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2012-11-08 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2012-11-08 21:53:15

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2012-10-19 22:58:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2012-11-08 21:53:19.0 +0100
@@ -1,0 +2,13 @@
+Thu Nov  1 07:19:06 UTC 2012 - co...@suse.com
+
+- updated to version 2.8.1
+ * Fixed Sass importer bug
+
+---
+Sun Oct 28 05:56:16 UTC 2012 - co...@suse.com
+
+- updated to version 2.8.0
+  * Allow manifest location to be seperated from output directory
+  * Pass logical path and absolute path to each_logical_path iterator
+
+---

Old:

  sprockets-2.7.0.gem

New:

  sprockets-2.8.1.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.QssAoR/_old  2012-11-08 21:53:20.0 +0100
+++ /var/tmp/diff_new_pack.QssAoR/_new  2012-11-08 21:53:20.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.7.0
+Version:2.8.1
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2012-10-19 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2012-10-19 22:58:46

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2012-10-07 20:01:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2012-10-19 22:58:48.0 +0200
@@ -1,0 +2,10 @@
+Fri Oct 12 09:46:51 UTC 2012 - co...@suse.com
+
+- updated to version 2.7.0
+  * Added --css-compressor and --js-compressor command line flags
+  * Added css/js compressor shorthand
+  * Change default manifest.json filename to be a randomized 
manifest-16HEXBYTES.json
+  * Allow nil environment to be passed to manifest
+  * Allow manifest instance to be set on rake task
+
+---

Old:

  sprockets-2.6.0.gem

New:

  sprockets-2.7.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.zLyWB7/_old  2012-10-19 22:58:49.0 +0200
+++ /var/tmp/diff_new_pack.zLyWB7/_new  2012-10-19 22:58:49.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.6.0
+Version:2.7.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2012-10-07 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2012-10-07 20:01:21

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2012-09-05 10:01:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2012-10-07 20:01:22.0 +0200
@@ -1,0 +2,6 @@
+Sun Sep 23 09:15:14 UTC 2012 - co...@suse.com
+
+- updated to version 2.6.0
+  Added bower component.json require support
+
+---

Old:

  sprockets-2.5.0.gem

New:

  sprockets-2.6.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.jZERsi/_old  2012-10-07 20:01:24.0 +0200
+++ /var/tmp/diff_new_pack.jZERsi/_new  2012-10-07 20:01:24.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.5.0
+Version:2.6.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2012-09-05 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2012-09-05 10:01:09

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes  
2012-08-04 13:25:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2012-09-05 10:01:11.0 +0200
@@ -1,0 +2,8 @@
+Tue Sep  4 18:41:28 UTC 2012 - co...@suse.com
+
+- updated to version 2.5.0
+  * Fixed Ruby 2.0 RegExp warning
+  * Provide stubbed implementation of context *_path helpers
+  * Add SassCompressor
+
+---

Old:

  sprockets-2.4.5.gem

New:

  sprockets-2.5.0.gem



Other differences:
--
++ rubygem-sprockets.spec ++
--- /var/tmp/diff_new_pack.XQ0fhh/_old  2012-09-05 10:01:12.0 +0200
+++ /var/tmp/diff_new_pack.XQ0fhh/_new  2012-09-05 10:01:12.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-sprockets
-Version:2.4.5
+Version:2.5.0
 Release:0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-sprockets for openSUSE:Factory

2012-08-04 Thread h_root
Hello community,

here is the log from the commit of package rubygem-sprockets for 
openSUSE:Factory checked in at 2012-08-04 13:25:38

Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)


Package is rubygem-sprockets, Maintainer is mrueck...@suse.com

Changes:

New Changes file:

--- /dev/null   2012-08-03 19:43:57.387656292 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 
2012-08-04 13:25:39.0 +0200
@@ -0,0 +1,55 @@
+---
+Wed Aug  1 09:11:59 UTC 2012 - cfarr...@suse.com
+
+- license update: MIT
+  See data/LICENSE
+
+---
+Wed Aug  1 05:25:51 UTC 2012 - co...@suse.com
+
+- no need for the extra suffix, renamed back to rubygem-sprockets
+
+---
+Sun Jul 15 11:39:04 UTC 2012 - co...@suse.com
+
+- update to 2.4.5
+ * Tweaked some logger levels
+ * Canonicalize logical path extensions
+ * Check absolute paths passed to depend_on
+
+---
+Sun Jun 10 14:32:41 UTC 2012 - co...@suse.com
+
+- update to 2.4.3
+ * Exposed :sprockets in sass options
+ * Include dependency paths in asset mtime
+
+---
+Tue May  8 05:02:57 UTC 2012 - co...@suse.com
+
+- update to 2.4.2
+  * Fixed MultiJson feature detect
+
+---
+Sat Apr 28 11:46:04 UTC 2012 - co...@suse.com
+
+- update to 2.4.1
+  * Fixed MultiJson API change
+  * Fixed gzip mtime
+
+---
+Wed Apr  4 18:55:53 UTC 2012 - co...@suse.com
+
+- fork for 2.4 branch
+
+---
+Fri Mar 23 10:57:02 UTC 2012 - sasc...@suse.de
+
+- Spec file cleanup:
+  * Factory preparation
+
+---
+Thu Jan 26 15:55:00 UTC 2012 - mrueck...@suse.de
+
+- initial package for the 2.1 branch
+

New:

  rubygem-sprockets.changes
  rubygem-sprockets.spec
  sprockets-2.4.5.gem



Other differences:
--
++ rubygem-sprockets.spec ++
#
# spec file for package rubygem-sprockets
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   rubygem-sprockets
Version:2.4.5
Release:0
%define mod_name sprockets
%define mod_full_name %{mod_name}-%{version}

BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ruby-macros = 1
Url:http://getsprockets.org/
Source: %{mod_full_name}.gem
Summary:Rack-based asset packaging system
License:MIT
Group:  Development/Languages/Ruby

%description
Sprockets is a Rack-based asset packaging system that concatenates and serves
JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.

%package doc
Summary:RDoc documentation for %{mod_name}
Group:  Development/Languages/Ruby
Requires:   %{name} = %{version}

%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.

%prep
#gem_unpack
#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
#gem_build

%build

%install
%gem_install -f

%files
%defattr(-,root,root,-)
%{_bindir}/sprockets
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec

%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org