|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
Summary: Support and utility classes used by the Rails framework
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 4.1.5
|
|
|
|
|
Version: 4.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
@ -15,8 +15,8 @@ Source0: http://rubygems.org/downloads/activesupport-%{version}.gem
|
|
|
|
|
# Rails rpms, you may check it out like so
|
|
|
|
|
# git clone http://github.com/rails/rails.git
|
|
|
|
|
# cd rails/activesupport/
|
|
|
|
|
# git checkout v4.1.5
|
|
|
|
|
# tar czvf activesupport-4.1.5-tests.tgz test/
|
|
|
|
|
# git checkout v4.2.0
|
|
|
|
|
# tar czvf activesupport-4.2.0-tests.tgz test/
|
|
|
|
|
Source2: activesupport-%{version}-tests.tgz
|
|
|
|
|
|
|
|
|
|
# Removes code which breaks the test suite due to a
|
|
|
|
@ -78,8 +78,8 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd %{buildroot}%{gem_instdir}
|
|
|
|
|
|
|
|
|
|
ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}"
|
|
|
|
|
# TODO: Run test in order! Otherwise we have get a lot of errors.
|
|
|
|
|
ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}" | grep '6 failures, 95 errors'
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -95,6 +95,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 09 2015 Josef Stribny <jstribny@redhat.com> - 1:4.2.0-1
|
|
|
|
|
- Update to activesupport 4.2.0
|
|
|
|
|
|
|
|
|
|
* Tue Aug 19 2014 Josef Stribny <jstribny@redhat.com> - 4.1.5-1
|
|
|
|
|
- Update to activesupport 4.1.5
|
|
|
|
|
|
|
|
|
|