[DRE-commits] [ruby-crass] 01/01: Fix DebCI issue
Balasankar C
balasankarc-guest at moszumanska.debian.org
Sat Jan 17 13:11:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-crass.
commit f81387118c48d0bc3cdb594d407b7ea860e63059
Author: Balasankar C <balasankarc at autistici.org>
Date: Sat Jan 17 18:40:43 2015 +0530
Fix DebCI issue
---
debian/changelog | 8 ++++++++
debian/patches/library-path | 17 +++++++++++++++++
debian/patches/series | 1 +
debian/ruby-test-files.yaml | 9 ---------
debian/ruby-tests.rake | 5 +++++
5 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7676326..d9b11da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-crass (0.2.1-2) experimental; urgency=medium
+
+ * Debian update
+ * Fix relative path to absolute to solve DebCI issue
+ * Removed yaml file and added rake file for tests
+
+ -- Balasankar C <balasankarc at autistici.org> Sat, 17 Jan 2015 18:39:38 +0530
+
ruby-crass (0.2.1-1) unstable; urgency=medium
* Initial release (Closes: #766709)
diff --git a/debian/patches/library-path b/debian/patches/library-path
new file mode 100644
index 0000000..1476747
--- /dev/null
+++ b/debian/patches/library-path
@@ -0,0 +1,17 @@
+Description: Fix library path
+ Change relative library path to absolute for DebCI to work
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2015-01-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/support/common.rb
++++ b/test/support/common.rb
+@@ -2,7 +2,7 @@
+ gem 'minitest'
+ require 'minitest/autorun'
+
+-require_relative '../../lib/crass'
++require 'crass'
+
+ CP = Crass::Parser
+ CT = Crass::Tokenizer
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..836c10b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+library-path
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index df8c6b1..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- test/test_crass.rb
-- test/test_parse_properties.rb
-- test/test_parse_rules.rb
-- test/test_parse_stylesheet.rb
-- test/test_serialization.rb
-- test/test_tokenizer.rb
-- test/shared/parse_rules.rb
-- test/support/common.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..95ecd87
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+ t.test_files = FileList['test/test_*.rb']
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-crass.git
More information about the Pkg-ruby-extras-commits
mailing list