From 528976a07e03f44c229d4c46177ff6ae00225f48 Mon Sep 17 00:00:00 2001 From: Dominic Cleal Date: Dec 05 2016 14:10:04 +0000 Subject: Update scoped_search to 4.0.0 --- diff --git a/.gitignore b/.gitignore index 342ccaa..c98111e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /scoped_search-3.2.1.gem /scoped_search-3.2.2.gem /scoped_search-3.3.0.gem +/scoped_search-4.0.0.gem diff --git a/rubygem-scoped_search.spec b/rubygem-scoped_search.spec index b569eda..d75aff3 100644 --- a/rubygem-scoped_search.spec +++ b/rubygem-scoped_search.spec @@ -3,30 +3,20 @@ Summary: Easily search your ActiveRecord models Name: rubygem-%{gem_name} -Version: 3.3.0 +Version: 4.0.0 Release: 1%{?dist} Group: Development/Languages License: MIT -URL: http://github.com/wvanbergen/scoped_search/wiki +URL: https://github.com/wvanbergen/scoped_search/wiki Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem -BuildRequires: ruby -BuildRequires: rubygems -%if 0%{?rhel} == 6 -Requires: ruby(abi) = %{rubyabi} -%else -Requires: ruby(release) -%endif BuildRequires: rubygems-devel BuildArch: noarch -Provides: rubygem(scoped_search) = %{version} # for check section -%if 0%{?fedora} > 17 BuildRequires: rubygem(rspec) >= 3.0 BuildRequires: rubygem(rspec) < 4.0 -BuildRequires: rubygem(activerecord) >= 3.2.0 +BuildRequires: rubygem(activerecord) >= 4.2.0 BuildRequires: rubygem(sqlite3) -%endif %description Scoped search makes it easy to search your ActiveRecord-based models. It will @@ -71,13 +61,7 @@ mv %{buildroot}%{gem_instdir}/{LICENSE,*.rdoc} ./ pushd .%{gem_instdir} # Get rid of Bundler, not needed on Fedora. sed -i "/require 'bundler\/setup'/ d" spec/spec_helper.rb -# sqlite3-ruby and sqlite3 are identical rubygems, where the former is -# older name for the gem. Would be nice if upstream support both -# reincarnations. -# do not test on postgresql and ruby -sed '5,15d' -i spec/database.ruby.yml -# works only on F18+ -rspec spec +EXCLUDE_DATABASE=mysql,postgresql rspec spec popd %files diff --git a/sources b/sources index 45095a0..9809c0c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ee505f02e2d8f5dcb7a1a11e43367965 scoped_search-3.3.0.gem +a33f4132aaa740b5537d7768b3bdc39e scoped_search-4.0.0.gem