[DRE-commits] [ruby-handlebars-assets] 01/02: relax tilt version
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Jan 14 12:04:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-handlebars-assets.
commit 5be48a8e04adce90a5f3b043caa0484304d13f38
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Jan 14 12:10:16 2016 +0530
relax tilt version
---
debian/changelog | 7 ++++++
debian/patches/relax-tilt-version.patch | 42 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 13 ++--------
4 files changed, 52 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e078a53..fc4a5fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-handlebars-assets (2:0.21.0-4) unstable; urgency=medium
+
+ * Realx tilt dependency in gemspec
+ * Check gemspec dependencies on build
+
+ -- Pirate Praveen <praveen at debian.org> Thu, 14 Jan 2016 12:09:51 +0530
+
ruby-handlebars-assets (2:0.21.0-3) unstable; urgency=medium
* Fix test failures with 0004-require-slim-haml.patch
diff --git a/debian/patches/relax-tilt-version.patch b/debian/patches/relax-tilt-version.patch
new file mode 100644
index 0000000..c53335d
--- /dev/null
+++ b/debian/patches/relax-tilt-version.patch
@@ -0,0 +1,42 @@
+Index: ruby-handlebars-assets/handlebars_assets.gemspec
+===================================================================
+--- ruby-handlebars-assets.orig/handlebars_assets.gemspec
++++ ruby-handlebars-assets/handlebars_assets.gemspec
+@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
+ s.require_paths = ["lib"]
+
+ s.add_runtime_dependency "execjs", "~> 2.0"
+- s.add_runtime_dependency "tilt", "~> 1.2"
++ s.add_runtime_dependency "tilt", ">= 1.2", "< 3.0"
+ s.add_runtime_dependency "multi_json", "~> 1.0"
+ s.add_runtime_dependency "sprockets", ">= 2.0.0", "< 4.0"
+
+Index: ruby-handlebars-assets/metadata.yml
+===================================================================
+--- ruby-handlebars-assets.orig/metadata.yml
++++ ruby-handlebars-assets/metadata.yml
+@@ -28,16 +28,22 @@ dependencies:
+ name: tilt
+ requirement: !ruby/object:Gem::Requirement
+ requirements:
+- - - "~>"
++ - - ">="
+ - !ruby/object:Gem::Version
+ version: '1.2'
++ - - "<"
++ - !ruby/object:Gem::Version
++ version: '3.0'
+ type: :runtime
+ prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ requirements:
+- - - "~>"
++ - - ">="
+ - !ruby/object:Gem::Version
+ version: '1.2'
++ - - "<"
++ - !ruby/object:Gem::Version
++ version: '3.0'
+ - !ruby/object:Gem::Dependency
+ name: multi_json
+ requirement: !ruby/object:Gem::Requirement
diff --git a/debian/patches/series b/debian/patches/series
index b1d538e..b7709b1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ engine-root.patch
0002-Fix-slimbars-test.patch
0003-Reset-path-before-each-test-to-fix-the-first-one.patch
0004-require-slim-haml.patch
+relax-tilt-version.patch
diff --git a/debian/rules b/debian/rules
index 06981cd..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.0 ruby2.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
%:
dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-handlebars-assets.git
More information about the Pkg-ruby-extras-commits
mailing list