#2 Update to timecop 0.9.2.
Merged 3 years ago by pvalena. Opened 3 years ago by pvalena.
rpms/ pvalena/rubygem-timecop rebase  into  master

file modified
+8 -3
@@ -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

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (timecop-0.9.1.gem) = 2c8429ad4d9c706865810caa80dfb12c16acaaa97ea289fc300e172a359817fea7d31789f4bea75cfae8ce1f84e7d8effd32b39a0482f3d68fb4e225b487e13e

+ SHA512 (timecop-0.9.2.gem) = d54b87c0a9a711e8c287ebd55083a6f87e31d587fbeebbc892a3e76c7d57fe0926e411dfedd0b5edcd357d995b4a6e7b57eef778a8e380a6675497988f97b29d

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:

  • Tests: ok
  • Syntax check: ok
  • Dependent packages: ok
  • Smoke test: ok
  • rpmlint: ok

Test log: https://git.io/JTDDG
gem2rpm diff: https://git.io/JTDDZ

It looks good to me. Thanks!

Pull-Request has been merged by pvalena

3 years ago