commit rubygem-sprockets-2_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sprockets-2_2 for openSUSE:Factory checked in at 2014-11-24 11:12:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets-2_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-sprockets-2_2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-sprockets-2_2" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-sprockets-2_2/rubygem-sprockets-2_2.changes 2013-11-30 16:22:28.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sprockets-2_2.new/rubygem-sprockets-2_2.changes 2014-11-24 11:12:55.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Nov 11 08:51:56 UTC 2014 - coolo@suse.com + +- updated to version 2.2.3, no changelog +- use new gem packaging + +------------------------------------------------------------------- Old: ---- sprockets-2.2.2.gem New: ---- gem2rpm.yml sprockets-2.2.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-sprockets-2_2.spec ++++++ --- /var/tmp/diff_new_pack.cip2Qq/_old 2014-11-24 11:12:56.000000000 +0100 +++ /var/tmp/diff_new_pack.cip2Qq/_new 2014-11-24 11:12:56.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sprockets-2_2 # -# 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 @@ -16,19 +16,27 @@ # +# +# 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-2_2 -Version: 2.2.2 +Version: 2.2.3 Release: 0 %define mod_name sprockets %define mod_full_name %{mod_name}-%{version} -%define mod_branch -%{version} -%define mod_weight 20202 - +%define mod_version_suffix -2_2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 1 +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 +Source1: gem2rpm.yml Summary: Rack-based asset packaging system License: MIT Group: Development/Languages/Ruby @@ -38,54 +46,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 %{_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 \ - %{_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 -%{_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}/ +%gem_install \ + --symlink-binaries \ + --doc-files="LICENSE README.md" \ + -f + +%gem_packages %changelog ++++++ 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: '-2_2' # ## 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.2.2.gem -> sprockets-2.2.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/server.rb new/lib/sprockets/server.rb --- old/lib/sprockets/server.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/sprockets/server.rb 2014-10-28 20:30:30.000000000 +0100 @@ -33,16 +33,16 @@ # Extract the path from everything after the leading slash path = unescape(env['PATH_INFO'].to_s.sub(/^\//, '')) - # URLs containing a `".."` are rejected for security reasons. - if forbidden_request?(path) - return forbidden_response - end - # Strip fingerprint if fingerprint = path_fingerprint(path) path = path.sub("-#{fingerprint}", '') end + # URLs containing a `".."` are rejected for security reasons. + if forbidden_request?(path) + return forbidden_response + end + # Look up the asset. asset = find_asset(path, :bundle => !body_only?(env)) @@ -90,7 +90,7 @@ # # http://example.org/assets/../../../etc/passwd # - path.include?("..") + path.include?("..") || Pathname.new(path).absolute? end # Returns a 403 Forbidden response tuple @@ -222,7 +222,7 @@ # # => "0aa2105d29558f3eb790d411d7d8fb66" # def path_fingerprint(path) - path[/-([0-9a-f]{7,40})\.[^.]+$/, 1] + path[/-([0-9a-f]{7,40})\.[^.]+\z/, 1] end # URI.unescape is deprecated on 1.9. We need to use URI::Parser 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 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/sprockets/version.rb 2014-10-28 20:30:30.000000000 +0100 @@ -1,3 +1,3 @@ module Sprockets - VERSION = "2.2.2" + VERSION = "2.2.3" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 1970-01-01 01:00:00.000000000 +0100 +++ new/metadata 2014-10-28 20:30:30.000000000 +0100 @@ -1,8 +1,7 @@ --- !ruby/object:Gem::Specification name: sprockets version: !ruby/object:Gem::Version - version: 2.2.2 - prerelease: + version: 2.2.3 platform: ruby authors: - Sam Stephenson @@ -10,204 +9,180 @@ autorequire: bindir: bin cert_chain: [] -date: 2012-11-27 00:00:00.000000000 Z +date: 2014-10-28 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: hike requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.2' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.2' - !ruby/object:Gem::Dependency name: multi_json requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' - !ruby/object:Gem::Dependency name: rack requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' - !ruby/object:Gem::Dependency name: tilt requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.1' - - - ! '!=' + - - "!=" - !ruby/object:Gem::Version version: 1.3.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.1' - - - ! '!=' + - - "!=" - !ruby/object:Gem::Version version: 1.3.0 - !ruby/object:Gem::Dependency name: coffee-script requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '2.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '2.0' - !ruby/object:Gem::Dependency name: coffee-script-source requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: 1.2.0 type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: 1.2.0 - !ruby/object:Gem::Dependency name: eco requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' - !ruby/object:Gem::Dependency name: ejs requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' - !ruby/object:Gem::Dependency name: execjs requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' - !ruby/object:Gem::Dependency name: json requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency name: rack-test requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' description: Sprockets is a Rack-based asset packaging system that concatenates and @@ -220,9 +195,11 @@ extensions: [] extra_rdoc_files: [] files: -- README.md - LICENSE +- README.md +- bin/sprockets - lib/rake/sprocketstask.rb +- lib/sprockets.rb - lib/sprockets/asset.rb - lib/sprockets/asset_attributes.rb - lib/sprockets/base.rb @@ -250,30 +227,27 @@ - lib/sprockets/trail.rb - lib/sprockets/utils.rb - lib/sprockets/version.rb -- lib/sprockets.rb -- bin/sprockets homepage: http://getsprockets.org/ licenses: [] +metadata: {} post_install_message: rdoc_options: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' required_rubygems_version: !ruby/object:Gem::Requirement - none: false requirements: - - - ! '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' requirements: [] rubyforge_project: sprockets -rubygems_version: 1.8.24 +rubygems_version: 2.2.2 signing_key: -specification_version: 3 +specification_version: 4 summary: Rack-based asset packaging system test_files: [] -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de