Update to timecop 0.9.2.

Resolves: rhbz#1888377
epel9
Pavel Valena 4 years ago
parent 88ca2616e0
commit ad470bc474

@ -2,8 +2,8 @@
Summary: Provides a unified method to mock Time.now, Date.today in a single call
Name: rubygem-%{gem_name}
Version: 0.9.1
Release: 3%{?dist}
Version: 0.9.2
Release: 1%{?dist}
License: MIT
URL: https://github.com/travisjeffery/timecop
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
@ -42,13 +42,14 @@ pushd .%{gem_instdir}/
sed -i \
-e '/require..bundler\/setup./ s/^/#/' \
-e '/require..minitest\/rg./ s/^/#/' \
-e '/require .pry./ s/^/#/g' \
test/test_helper.rb
# DateTime is required on several times
# https://github.com/travisjeffery/timecop/issues/244
mv test/timecop_without_date_test.rb{,.disabled}
ruby -I.:lib -rdate -e 'Dir.glob "test/**/*_test.rb", &method(:require)'
ruby -I.:lib -e 'Dir.glob "test/**/*_test.rb", &method(:require)'
popd
%files
@ -65,6 +66,10 @@ popd
%{gem_docdir}
%changelog
* Thu Oct 29 16:32:28 CET 2020 Pavel Valena <pvalena@redhat.com> - 0.9.2-1
- Update to timecop 0.9.2.
Resolves: rhbz#1888377
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

@ -1 +1 @@
SHA512 (timecop-0.9.1.gem) = 2c8429ad4d9c706865810caa80dfb12c16acaaa97ea289fc300e172a359817fea7d31789f4bea75cfae8ce1f84e7d8effd32b39a0482f3d68fb4e225b487e13e
SHA512 (timecop-0.9.2.gem) = d54b87c0a9a711e8c287ebd55083a6f87e31d587fbeebbc892a3e76c7d57fe0926e411dfedd0b5edcd357d995b4a6e7b57eef778a8e380a6675497988f97b29d

Loading…
Cancel
Save