Hello community,
here is the log from the commit of package rubygem-sprockets-rails for
openSUSE:Factory checked in at 2015-05-10 10:47:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets-rails (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sprockets-rails.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sprockets-rails"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-sprockets-rails/rubygem-sprockets-rails.changes
2015-02-10 20:23:11.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-sprockets-rails.new/rubygem-sprockets-rails.changes
2015-05-10 10:47:06.000000000 +0200
@@ -1,0 +2,6 @@
+Fri May 8 04:31:15 UTC 2015 - [email protected]
+
+- updated to version 2.3.0
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
sprockets-rails-2.2.4.gem
New:
----
gem2rpm.yml
sprockets-rails-2.3.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sprockets-rails.spec ++++++
--- /var/tmp/diff_new_pack.AdV4t2/_old 2015-05-10 10:47:06.000000000 +0200
+++ /var/tmp/diff_new_pack.AdV4t2/_new 2015-05-10 10:47:06.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-sprockets-rails
#
-# Copyright (c) 2015 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-rails
-Version: 2.2.4
+Version: 2.3.0
Release: 0
%define mod_name sprockets-rails
%define mod_full_name %{mod_name}-%{version}
@@ -27,6 +34,7 @@
BuildRequires: ruby-macros >= 5
Url: https://github.com/rails/sprockets-rails
Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
Summary: Sprockets Rails integration
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-rails-2.2.4.gem -> sprockets-rails-2.3.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/rails/helper.rb
new/lib/sprockets/rails/helper.rb
--- old/lib/sprockets/rails/helper.rb 2015-01-22 20:04:24.000000000 +0100
+++ new/lib/sprockets/rails/helper.rb 2015-05-07 20:18:21.000000000 +0200
@@ -38,6 +38,15 @@
end
end
+ class AssetAliasUsed < StandardError
+ def initialize(actual, expected)
+ msg = "Asset was linked to from an alias rather than its exact path.
" +
+ "Alias resolving may not be available in production.\n" +
+ "Use #{expected.inspect} instead of #{actual.inspect}"
+ super(msg)
+ end
+ end
+
if defined? ActionView::Helpers::AssetUrlHelper
include ActionView::Helpers::AssetUrlHelper
include ActionView::Helpers::AssetTagHelper
@@ -121,6 +130,10 @@
if environment = assets_environment
if asset = environment[path]
+ if self.raise_runtime_errors && path != asset.logical_path
+ raise AssetAliasUsed.new(path, asset.logical_path)
+ end
+
return asset.digest_path
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/sprockets/rails/version.rb
new/lib/sprockets/rails/version.rb
--- old/lib/sprockets/rails/version.rb 2015-01-22 20:04:24.000000000 +0100
+++ new/lib/sprockets/rails/version.rb 2015-05-07 20:18:21.000000000 +0200
@@ -1,5 +1,5 @@
module Sprockets
module Rails
- VERSION = "2.2.4"
+ VERSION = "2.3.0"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-01-22 20:04:24.000000000 +0100
+++ new/metadata 2015-05-07 20:18:21.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: sprockets-rails
version: !ruby/object:Gem::Version
- version: 2.2.4
+ version: 2.3.0
platform: ruby
authors:
- Joshua Peek
autorequire:
bindir: bin
cert_chain: []
-date: 2015-01-22 00:00:00.000000000 Z
+date: 2015-05-07 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: sprockets
@@ -149,7 +149,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.2.2
+rubygems_version: 2.4.5
signing_key:
specification_version: 4
summary: Sprockets Rails integration