Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created January 18, 2022 12:01
Show Gist options
  • Save pvalena/5ecfb5ec10beb2885212458a31b47575 to your computer and use it in GitHub Desktop.
Save pvalena/5ecfb5ec10beb2885212458a31b47575 to your computer and use it in GitHub Desktop.
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112.
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112.
Compared versions: ["2.1.0", "2.1.1"]
DIFFERENT development dependencies:
2.1.0->2.1.1:
* Added:
simplecov [">= 0.17.0"] (development)
* Updated:
rspec from: [">= 2.0.0"] to: [">= 3.0.0"]
rubocop from: ["= 0.57.2"] to: ["= 0.74.0"]
commit 37bb9f33dff2bc1e35c56666efd322db4d22020f
Author: Pavel Valena <pvalena@redhat.com>
Date: Fri Dec 3 03:30:04 2021 +0100
Update to pundit 2.1.1.
Resolves: rhbz#1993458
diff --git a/rubygem-pundit.spec b/rubygem-pundit.spec
index e4393da..ee9142a 100644
--- a/rubygem-pundit.spec
+++ b/rubygem-pundit.spec
@@ -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 @@ cp -a .%{gem_dir}/* \
%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 @@ rspec spec
%{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
diff --git a/sources b/sources
index 7ea71f8..29bd0a8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pundit-2.1.0.gem) = 3201cb3acca8301a0e07fa9bd58617ee32074842e873a85a31d9b56fac5bd93c4a78d94d8b57556a011f1713712eb484ef3281d68ae3acf1c8bf1bce13f47e0c
+SHA512 (pundit-2.1.1.gem) = d5463e21801ef04e82500c671ccbee0e8fb1576a8b7b86283ecc80d1c6e81cd375abf3c81ee5fad8323eb3ba0c296df43c9a78fafc2cd6e7797f1447d02ede0d
On branch rebase
Your branch is up to date with 'pvalena/rebase'.
nothing to commit (use -u to show untracked files)
Everything up-to-date
Branch 'rebase' set up to track remote branch 'rebase' from 'pvalena'.
> Run copr build.
+ scripts/pkgs/cr-build.sh -c -t 30m rubygems
Created builds: 3193140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment