| |
@@ -2,8 +2,8 @@
|
| |
%global gem_name pundit
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 2.1.0
|
| |
- Release: 3%{?dist}
|
| |
+ Version: 2.1.1
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Object oriented authorization for Rails
|
| |
License: MIT
|
| |
URL: https://github.com/varvet/pundit
|
| |
@@ -43,7 +43,11 @@
|
| |
%check
|
| |
|
| |
# We don't need pry
|
| |
- sed -i '/require "pry"/ s/^/#/' spec/spec_helper.rb
|
| |
+ sed -i -e '/require "pry"/ s/^/#/' \
|
| |
+ -e '/require "simplecov"/ s/^/#/' \
|
| |
+ -e '/^SimpleCov\./,/^end/ s/^/#/' \
|
| |
+ spec/spec_helper.rb
|
| |
+
|
| |
rspec spec
|
| |
|
| |
%files
|
| |
@@ -66,6 +70,10 @@
|
| |
%{gem_instdir}/spec
|
| |
|
| |
%changelog
|
| |
+ * Fri Dec 03 2021 Pavel Valena <pvalena@redhat.com> - 2.1.1-1
|
| |
+ - Update to pundit 2.1.1.
|
| |
+ Resolves: rhbz#1993458
|
| |
+
|
| |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
| |
|
| |
To have latest pundit gem in Fedora.
Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=81402588
Copr build:
https://copr.fedorainfracloud.org/coprs/build/3193140
Checks:
Update log: https://gist.github.com/5ecfb5ec10beb2885212458a31b47575
Test log: https://gist.github.com/7b550a84b93320b313da11fae039e9ef
gem2rpm diff: https://gist.github.com/c4c88fcb11793c96565fe421a91a7ac5