| |
@@ -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 @@
|
| |
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 @@
|
| |
%{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
|
| |
|
| |
Resolves: rhbz#1888377
The DateTime requirement seems to be issue, still:
https://github.com/travisjeffery/timecop/issues/244
To have latest timecop gem in Fedora.
Up-to-date Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=54497473
Up-to-date Copr build:
https://copr.fedorainfracloud.org/coprs/build/1727771
Checks:
Test log: https://git.io/JTDDG
gem2rpm diff: https://git.io/JTDDZ