[rubygem-haml-rails] Update to haml-rails 0.5.3
Vít Ondruch
vondruch at fedoraproject.org
Fri May 2 14:59:25 UTC 2014
commit c4af61ba634cd2be0ac81f4882b91ee2e59037cd
Author: Vít Ondruch <vondruch at redhat.com>
Date: Fri May 2 16:59:31 2014 +0200
Update to haml-rails 0.5.3
.gitignore | 1 +
rubygem-haml-rails.spec | 29 +++++++++++++++++++----------
sources | 2 +-
3 files changed, 21 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 951655b..560ef14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/haml-rails-0.3.4.gem
/haml-rails-0.4.gem
+/haml-rails-0.5.3.gem
diff --git a/rubygem-haml-rails.spec b/rubygem-haml-rails.spec
index 54587fd..074956a 100644
--- a/rubygem-haml-rails.spec
+++ b/rubygem-haml-rails.spec
@@ -4,19 +4,12 @@
Summary: Haml-rails provides Haml generators for Rails 3
Name: rubygem-%{gem_name}
-Version: 0.4
+Version: 0.5.3
Release: 1%{?dist}
Group: Development/Languages
License: MIT or Ruby
URL: http://github.com/indirect/haml-rails
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: ruby(release)
-Requires: ruby(rubygems)
-Requires: ruby
-Requires: rubygem(haml) => 3.1
-Requires: rubygem(haml) < 4.1
-Requires: rubygem(railties) => 3.1
-Requires: rubygem(railties) < 4.1
BuildRequires: rubygems-devel
BuildRequires: rubygem(railties) => 3.0
BuildRequires: rubygem(activerecord) => 3.0
@@ -56,7 +49,19 @@ cp -a .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
-testrb -Itest test/lib/generators/haml/*_test.rb
+# To run with Minitest 5
+ruby -rminitest/autorun -rrubygems -rshellwords -Itest - << \EOF
+ module Kernel
+ alias orig_require require
+ remove_method :require
+
+ def require path
+ orig_require path unless path == 'test/unit'
+ end
+ end
+ Test = Minitest
+ Dir.glob "./test/lib/generators/haml/*_test.rb", &method(:require)
+EOF
popd
@@ -75,10 +80,14 @@ popd
%doc %{gem_docdir}
%{gem_instdir}/haml-rails.gemspec
%{gem_instdir}/test
+%{gem_instdir}/gemfiles
%{gem_instdir}/Gemfile
-
+%{gem_instdir}/Appraisals
%changelog
+* Fri May 02 2014 Josef Stribny <jstribny at redhat.com> - 0.5.3-1
+- Update to haml-rails 0.5.3
+
* Mon Aug 12 2013 Josef Stribny <jstribny at redhat.com> - 0.4-1
- Update to haml-rails 4.0
diff --git a/sources b/sources
index 9248cbf..bc85151 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7c0643e9efc5eaf3813ecbc355ad170e haml-rails-0.4.gem
+f51a18e7e7fa99fed32e6a503b2cdd74 haml-rails-0.5.3.gem
More information about the scm-commits
mailing list