[DRE-commits] [SCM] ruby-sprockets.git branch, master, updated. debian/2.4.0-2-7-g176fccd

Antonio Terceiro terceiro at debian.org
Mon Jun 25 16:50:30 UTC 2012


The following commit has been merged in the master branch:
commit a47eebd128ca10185efb1249d4a1f2e1f0a156b4
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Jun 25 09:05:47 2012 -0300

    Workaround the fact that Rails depends on an old version of sprockets

diff --git a/debian/changelog b/debian/changelog
index d1f8359..0b7f53c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ ruby-sprockets (2.4.3-1) unstable; urgency=low
 
   * New upstream release
   * Bump build dependency on gem2deb to >= 0.3.0~
+  * Install fake gemspecs so that this package also provides sprockets 2.1.3,
+    which is the one Rails depends on. That version is too old, and the new
+    one contain a lot of bugfixes. See, for example,
+    https://github.com/rails/rails/pull/5984
 
  -- Antonio Terceiro <terceiro at debian.org>  Sun, 24 Jun 2012 22:40:38 -0300
 
diff --git a/debian/ruby-sprockets.install b/debian/ruby-sprockets.install
new file mode 100644
index 0000000..0403e8a
--- /dev/null
+++ b/debian/ruby-sprockets.install
@@ -0,0 +1,2 @@
+debian/sprockets-2.1.3.gemspec usr/share/rubygems-integration/1.9.1/specifications/
+debian/sprockets-2.1.3.gemspec usr/share/rubygems-integration/1.8/specifications/
diff --git a/debian/sprockets-2.1.3.gemspec b/debian/sprockets-2.1.3.gemspec
new file mode 100644
index 0000000..edb0fc7
--- /dev/null
+++ b/debian/sprockets-2.1.3.gemspec
@@ -0,0 +1,67 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+  s.name = "sprockets"
+  s.version = "2.1.3"
+
+  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+  s.authors = ["Sam Stephenson", "Joshua Peek"]
+  s.date = "2012-05-16"
+  s.description = "Sprockets is a Rack-based asset packaging system that concatenates and serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS."
+  s.email = ["sstephenson at gmail.com", "josh at joshpeek.com"]
+  s.executables = ["sprockets"]
+  s.files = ["README.md", "LICENSE", "lib/rake/sprocketstask.rb", "lib/sprockets/asset.rb", "lib/sprockets/asset_attributes.rb", "lib/sprockets/base.rb", "lib/sprockets/bundled_asset.rb", "lib/sprockets/cache/file_store.rb", "lib/sprockets/caching.rb", "lib/sprockets/charset_normalizer.rb", "lib/sprockets/context.rb", "lib/sprockets/directive_processor.rb", "lib/sprockets/eco_template.rb", "lib/sprockets/ejs_template.rb", "lib/sprockets/engines.rb", "lib/sprockets/environment.rb", "lib/sprockets/errors.rb", "lib/sprockets/index.rb", "lib/sprockets/jst_processor.rb", "lib/sprockets/manifest.rb", "lib/sprockets/mime.rb", "lib/sprockets/paths.rb", "lib/sprockets/processed_asset.rb", "lib/sprockets/processing.rb", "lib/sprockets/processor.rb", "lib/sprockets/safety_colons.rb", "lib/sprockets/sass_cache_store.rb", "lib/sprockets/sass_importer.rb", "lib/sprockets/sass_template.rb", "lib/sprockets/scss_template.rb", "lib/sprockets/server.rb", "lib/sprockets/static_asset.rb", "lib/sprockets/utils.rb", "lib/sprockets/version.rb", "lib/sprockets.rb", "bin/sprockets"]
+  s.homepage = "http://getsprockets.org/"
+  s.require_paths = ["lib"]
+  s.rubyforge_project = "sprockets"
+  s.rubygems_version = "1.8.23"
+  s.summary = "Rack-based asset packaging system"
+
+  if s.respond_to? :specification_version then
+    s.specification_version = 3
+
+    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+      s.add_runtime_dependency(%q<hike>, ["~> 1.2"])
+      s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])
+      s.add_runtime_dependency(%q<rack>, ["~> 1.0"])
+      s.add_runtime_dependency(%q<tilt>, ["!= 1.3.0", "~> 1.1"])
+      s.add_development_dependency(%q<coffee-script>, ["~> 2.0"])
+      s.add_development_dependency(%q<coffee-script-source>, ["~> 1.2.0"])
+      s.add_development_dependency(%q<eco>, ["~> 1.0"])
+      s.add_development_dependency(%q<ejs>, ["~> 1.0"])
+      s.add_development_dependency(%q<execjs>, ["~> 1.0"])
+      s.add_development_dependency(%q<json>, [">= 0"])
+      s.add_development_dependency(%q<rack-test>, [">= 0"])
+      s.add_development_dependency(%q<rake>, [">= 0"])
+      s.add_development_dependency(%q<sass>, ["~> 3.1"])
+    else
+      s.add_dependency(%q<hike>, ["~> 1.2"])
+      s.add_dependency(%q<multi_json>, ["~> 1.0"])
+      s.add_dependency(%q<rack>, ["~> 1.0"])
+      s.add_dependency(%q<tilt>, ["!= 1.3.0", "~> 1.1"])
+      s.add_dependency(%q<coffee-script>, ["~> 2.0"])
+      s.add_dependency(%q<coffee-script-source>, ["~> 1.2.0"])
+      s.add_dependency(%q<eco>, ["~> 1.0"])
+      s.add_dependency(%q<ejs>, ["~> 1.0"])
+      s.add_dependency(%q<execjs>, ["~> 1.0"])
+      s.add_dependency(%q<json>, [">= 0"])
+      s.add_dependency(%q<rack-test>, [">= 0"])
+      s.add_dependency(%q<rake>, [">= 0"])
+      s.add_dependency(%q<sass>, ["~> 3.1"])
+    end
+  else
+    s.add_dependency(%q<hike>, ["~> 1.2"])
+    s.add_dependency(%q<multi_json>, ["~> 1.0"])
+    s.add_dependency(%q<rack>, ["~> 1.0"])
+    s.add_dependency(%q<tilt>, ["!= 1.3.0", "~> 1.1"])
+    s.add_dependency(%q<coffee-script>, ["~> 2.0"])
+    s.add_dependency(%q<coffee-script-source>, ["~> 1.2.0"])
+    s.add_dependency(%q<eco>, ["~> 1.0"])
+    s.add_dependency(%q<ejs>, ["~> 1.0"])
+    s.add_dependency(%q<execjs>, ["~> 1.0"])
+    s.add_dependency(%q<json>, [">= 0"])
+    s.add_dependency(%q<rack-test>, [">= 0"])
+    s.add_dependency(%q<rake>, [">= 0"])
+    s.add_dependency(%q<sass>, ["~> 3.1"])
+  end
+end

-- 
ruby-sprockets.git



More information about the Pkg-ruby-extras-commits mailing list