|
|
0f0d5ac |
# Generated from minitest-1.4.2.gem by gem2rpm -*- rpm-spec -*-
|
|
|
8b98dd7 |
%global gem_name minitest
|
|
|
0f0d5ac |
|
|
|
8b98dd7 |
Name: rubygem-%{gem_name}
|
|
|
4adc50a |
Version: 5.8.1
|
|
|
4adc50a |
Release: 1%{?dist}
|
|
|
8b98dd7 |
Summary: minitest provides a complete suite of testing facilities
|
|
|
0f0d5ac |
Group: Development/Languages
|
|
|
0f0d5ac |
License: MIT
|
|
|
8b98dd7 |
URL: https://github.com/seattlerb/minitest
|
|
|
8b98dd7 |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
6bcef3b |
BuildRequires: ruby(release)
|
|
|
8b98dd7 |
BuildRequires: rubygems-devel
|
|
|
0f0d5ac |
BuildArch: noarch
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%description
|
|
|
8b98dd7 |
minitest provides a complete suite of testing facilities supporting
|
|
|
8b98dd7 |
TDD, BDD, mocking, and benchmarking.
|
|
|
8b98dd7 |
|
|
|
8b98dd7 |
minitest/unit is a small and incredibly fast unit testing framework.
|
|
|
8b98dd7 |
It provides a rich set of assertions to make your tests clean and
|
|
|
8b98dd7 |
readable.
|
|
|
8b98dd7 |
|
|
|
8b98dd7 |
minitest/spec is a functionally complete spec engine. It hooks onto
|
|
|
8b98dd7 |
minitest/unit and seamlessly bridges test assertions over to spec
|
|
|
8b98dd7 |
expectations.
|
|
|
8b98dd7 |
|
|
|
8b98dd7 |
minitest/benchmark is an awesome way to assert the performance of your
|
|
|
8b98dd7 |
algorithms in a repeatable manner. Now you can assert that your newb
|
|
|
8b98dd7 |
co-worker doesn't replace your linear algorithm with an exponential
|
|
|
8b98dd7 |
one!
|
|
|
0f0d5ac |
|
|
|
8b98dd7 |
minitest/mock by Steven Baker, is a beautifully tiny mock (and stub)
|
|
|
8b98dd7 |
object framework.
|
|
|
8b98dd7 |
|
|
|
8b98dd7 |
minitest/pride shows pride in testing and adds coloring to your test
|
|
|
8b98dd7 |
output. I guess it is an example of how to write IO pipes too. :P
|
|
|
8b98dd7 |
minitest/unit is meant to have a clean implementation for language
|
|
|
8b98dd7 |
implementors that need a minimal set of methods to bootstrap a working
|
|
|
8b98dd7 |
test suite. For example, there is no magic involved for test-case
|
|
|
8b98dd7 |
discovery.
|
|
|
8b98dd7 |
|
|
|
8b98dd7 |
minitest doesn't reinvent anything that ruby already provides, like:
|
|
|
8b98dd7 |
classes, modules, inheritance, methods. This means you only have to
|
|
|
8b98dd7 |
learn ruby to use minitest and all of your regular OO practices like
|
|
|
8b98dd7 |
extract-method refactorings still apply.
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%package doc
|
|
|
0f0d5ac |
Summary: Documentation for %{name}
|
|
|
0f0d5ac |
Group: Documentation
|
|
|
0f0d5ac |
Requires: %{name} = %{version}-%{release}
|
|
|
8b98dd7 |
BuildArch: noarch
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%description doc
|
|
|
8b98dd7 |
Documentation for %{name}.
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%prep
|
|
|
0f0d5ac |
%setup -q -c -T
|
|
|
0f0d5ac |
|
|
|
6bcef3b |
%gem_install -n %{SOURCE0}
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%build
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%install
|
|
|
8b98dd7 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
8b98dd7 |
cp -a .%{gem_dir}/* \
|
|
|
8b98dd7 |
%{buildroot}%{gem_dir}/
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%check
|
|
|
8b98dd7 |
pushd .%{gem_instdir}
|
|
|
d2b81f6 |
|
|
|
4adc50a |
ruby -Ilib:test -e 'Dir.glob "./test/minitest/test_*.rb", &method(:require)'
|
|
|
d2b81f6 |
|
|
|
8b98dd7 |
popd
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%files
|
|
|
4adc50a |
%doc %{gem_instdir}/README.rdoc
|
|
|
8b98dd7 |
%dir %{gem_instdir}
|
|
|
8b98dd7 |
%exclude %{gem_instdir}/.*
|
|
|
8b98dd7 |
%{gem_libdir}
|
|
|
8b98dd7 |
%exclude %{gem_cache}
|
|
|
8b98dd7 |
%{gem_spec}
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%files doc
|
|
|
8b98dd7 |
%doc %{gem_docdir}
|
|
|
4adc50a |
%doc %{gem_instdir}/History.rdoc
|
|
|
4adc50a |
%doc %{gem_instdir}/Manifest.txt
|
|
|
8b98dd7 |
%{gem_instdir}/Rakefile
|
|
|
8b98dd7 |
%{gem_instdir}/test
|
|
|
8b98dd7 |
%{gem_instdir}/design_rationale.rb
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
%changelog
|
|
|
4adc50a |
* Wed Oct 21 2015 Vít Ondruch <vondruch@redhat.com> - 5.8.1-1
|
|
|
4adc50a |
- Update to minitest 5.8.1.
|
|
|
4adc50a |
|
|
|
1fdc78c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-3
|
|
|
1fdc78c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
1fdc78c |
|
|
|
3ecc2bf |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
|
|
3ecc2bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3ecc2bf |
|
|
|
8b98dd7 |
* Tue Apr 01 2014 Vít Ondruch <vondruch@redhat.com> - 5.3.1-1
|
|
|
8b98dd7 |
- Update to minitest 5.3.1.
|
|
|
8b98dd7 |
|
|
|
036c5f2 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.0-2
|
|
|
036c5f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
036c5f2 |
|
|
|
6bcef3b |
* Wed Mar 27 2013 Josef Stribny <jstribny@redhat.com> - 4.7.0-1
|
|
|
6bcef3b |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
6bcef3b |
- Update to minitest 4.7.0.
|
|
|
6bcef3b |
|
|
|
8a2e78f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-2
|
|
|
8a2e78f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8a2e78f |
|
|
|
bf8d0a0 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.1-2
|
|
|
bf8d0a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
bf8d0a0 |
|
|
|
8b98dd7 |
* Sun Jan 22 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.10.1-1
|
|
Mamoru Tasaka |
1a1c02f |
- 2.10.1
|
|
Mamoru Tasaka |
1a1c02f |
|
|
|
ffab279 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-4
|
|
|
ffab279 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ffab279 |
|
|
|
57ebfdb |
* Fri Jun 10 2011 Vít Ondruch <vondruch@redhat.com> - 1.6.0-3
|
|
|
57ebfdb |
- Removed Rake circular dependency.
|
|
|
57ebfdb |
|
|
|
fb42b63 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
fb42b63 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fb42b63 |
|
|
|
064557c |
* Tue May 4 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.6.0-1
|
|
|
064557c |
- Update to 1.6.0 (#586505)
|
|
|
064557c |
- Patch0 removed
|
|
|
064557c |
|
|
|
0f0d5ac |
* Sat Nov 21 2009 Matthew Kent <mkent@magoazul.com> - 1.4.2-3
|
|
|
0f0d5ac |
- Drop Requires on hoe, only used by Rakefile (#538303).
|
|
|
0f0d5ac |
- Move Rakefile to -doc (#538303).
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
* Sat Nov 21 2009 Matthew Kent <mkent@magoazul.com> - 1.4.2-2
|
|
|
0f0d5ac |
- Better Source (#538303).
|
|
|
0f0d5ac |
- More standard permissions on files.
|
|
|
0f0d5ac |
|
|
|
0f0d5ac |
* Tue Nov 17 2009 Matthew Kent <mkent@magoazul.com> - 1.4.2-1
|
|
|
0f0d5ac |
- Initial package
|