From de724eff5b88bdfb3dc3025cc03ecc9e0f34638f Mon Sep 17 00:00:00 2001 From: Josef Stribny Date: Aug 24 2015 12:35:33 +0000 Subject: Update to 1.0.1 --- diff --git a/.gitignore b/.gitignore index 5fe29a6..ce75bb9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pundit-0.2.3.gem +/pundit-1.0.1.gem diff --git a/rubygem-pundit.spec b/rubygem-pundit.spec index 5060dbf..40bcbac 100644 --- a/rubygem-pundit.spec +++ b/rubygem-pundit.spec @@ -2,8 +2,8 @@ %global gem_name pundit Name: rubygem-%{gem_name} -Version: 0.2.3 -Release: 3%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Object oriented authorization for Rails Group: Development/Languages License: MIT @@ -12,19 +12,12 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby -# RSpec 3.0 is not yet in Fedora -# BuildRequires: rubygem(activerecord) >= 3.0.0 -# BuildRequires: rubygem(rspec) => 3.0.0.beta1 -# BuildRequires: rubygem(rspec) < 3.1 +BuildRequires: rubygem(activemodel) >= 3.0.0 +BuildRequires: rubygem(actionpack) >= 3.0.0 +BuildRequires: rubygem(rspec) => 2.0 +BuildRequires: rubygem(rspec) < 3.1 BuildArch: noarch -%if 0%{?fedora} <= 20 -Requires: ruby(release) -Requires: ruby(rubygems) -Requires: rubygem(activesupport) >= 3.0.0 -Provides: rubygem(%{gem_name}) = %{version} -%endif - %description Object oriented authorization for Rails applications. @@ -57,8 +50,11 @@ cp -a .%{gem_dir}/* \ # Fix permissions chmod a-x %{buildroot}%{gem_instdir}/lib/generators/pundit/policy/templates/policy.rb -# RSpec 3 is not yet in Fedora -#%%check +%check + +# We don't need pry +sed -i '6d' spec/spec_helper.rb +rspec2 spec %files %dir %{gem_instdir} @@ -72,6 +68,8 @@ chmod a-x %{buildroot}%{gem_instdir}/lib/generators/pundit/policy/templates/poli %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md +%doc %{gem_instdir}/CODE_OF_CONDUCT.md +%doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/README.md %{gem_instdir}/Gemfile %{gem_instdir}/Rakefile @@ -79,6 +77,9 @@ chmod a-x %{buildroot}%{gem_instdir}/lib/generators/pundit/policy/templates/poli %{gem_instdir}/spec %changelog +* Mon Aug 24 2015 Josef Stribny - 1.0.1-1 +- Update to 1.0.1 + * Thu Jun 18 2015 Fedora Release Engineering - 0.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index acbe3e8..89aec30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8d0e62d71f35e735f4ac074e78d9530a pundit-0.2.3.gem +5f4d9a0fb090211f1d8a5d155aca0e75 pundit-1.0.1.gem