[rubygem-hikidoc] 0.1.0

Mamoru TASAKA mtasaka at fedoraproject.org
Thu Apr 10 05:01:47 UTC 2014


commit 4ec4bbc7bb17d3a02699d138ded01db81e97cc7b
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Thu Apr 10 14:01:30 2014 +0900

    0.1.0

 .gitignore           |    1 +
 rubygem-hikidoc.spec |   22 ++++++++++++++++++++--
 sources              |    2 +-
 3 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b5fac02..f3b9747 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /hikidoc-0.0.6.gem
+/hikidoc-0.1.0.gem
diff --git a/rubygem-hikidoc.spec b/rubygem-hikidoc.spec
index f25ea9a..745a802 100644
--- a/rubygem-hikidoc.spec
+++ b/rubygem-hikidoc.spec
@@ -2,7 +2,7 @@
 %global	gem_name	hikidoc
 
 Name:		rubygem-%{gem_name}
-Version:	0.0.6
+Version:	0.1.0
 Release:	1%{?dist}
 
 Summary:	Text-to-HTML conversion tool for web writers
@@ -70,12 +70,27 @@ rm -rf \
 	.gitignore Gemfile Rakefile \
 	%{gem_name}.gemspec \
 	setup.rb \
+	.travis.yml \
 	test/
 popd
 
 %check
 pushd .%{gem_instdir}
-testrb -Ilib:test test/*_test.rb
+
+%if 0%{?fedora} >= 21
+sed -i.minitest \
+	-e 's|Test::Unit::TestCase|Minitest::Test|' \
+	test/*.rb
+cat > test/unit.rb << EOF
+gem "minitest"
+require "minitest/unit"
+EOF
+%endif
+
+for f in test/*_test.rb
+do
+	ruby -Ilib:test:. $f
+done
 popd
 
 %files
@@ -93,5 +108,8 @@ popd
 %doc	%{gem_docdir}/
 
 %changelog
+* Thu Apr 10 2014 Mamoru TASAKA <mtasaka at fedoraproject.org> - 0.1.0-1
+- 0.1.0
+
 * Thu Nov 14 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 0.0.6-1
 - Initial package
diff --git a/sources b/sources
index 9801ce1..9bd75a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8b0b12debd7bc282639f2bcde2bd454e  hikidoc-0.0.6.gem
+64276b86b45f59937f0bb93eb3eff523  hikidoc-0.1.0.gem


More information about the scm-commits mailing list