#1 Update to omniauth 1.9.0
Opened 5 months ago by pvalena. Modified 5 months ago
rpms/ pvalena/rubygem-omniauth rebase  into  master

file modified
+2 -6

@@ -1,6 +1,2 @@ 

- /omniauth-1.1.4.gem

- /omniauth-1.2.1.gem

- *rpm

- *log

- noarch/

- omniauth*

+ /omniauth-*.gem

+ /omniauth-*-tests.tgz

file modified
+14 -16

@@ -2,22 +2,21 @@ 

  %global gem_name omniauth

  

  Name: rubygem-%{gem_name}

- Version: 1.3.1

- Release: 6%{?dist}

+ Version: 1.9.0

+ Release: 1%{?dist}

  Summary: A generalized Rack framework for multiple-provider authentication

  License: MIT

  URL: http://github.com/intridea/omniauth

  Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

  # git clone https://github.com/intridea/omniauth.git && cd omniauth

- # git checkout v1.3.1 && tar czvf omniauth-1.3.1-tests.tgz spec/

- Source1: omniauth-1.3.1-tests.tgz

+ # git checkout v1.9.0 && tar czvf omniauth-1.9.0-tests.tgz spec/

+ Source1: omniauth-1.9.0-tests.tgz

  BuildRequires: ruby(release)

  BuildRequires: rubygems-devel >= 1.3.6

  BuildRequires: ruby

  BuildRequires: rubygem(hashie)

  BuildRequires: rubygem(rack-test)

  BuildRequires: rubygem(rspec)

- BuildRequires: rubygem(simplecov)

  BuildArch: noarch

  

  %description

@@ -32,15 +31,11 @@ 

  Documentation for %{name}

  

  %prep

- gem unpack %{SOURCE0}

- 

- %setup -q -D -T -n  %{gem_name}-%{version}

- 

- gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec

+ %setup -q -n %{gem_name}-%{version}

  

  %build

  # Create the gem as gem install only works on a gem file

- gem build %{gem_name}.gemspec

+ gem build ../%{gem_name}-%{version}.gemspec

  

  %gem_install

  

@@ -52,8 +47,10 @@ 

  %check

  pushd .%{gem_instdir}

  tar xzvf %{SOURCE1}

- # Remove unneeded coveralls gem from test suite

- sed -i '/[Cc]overalls/d' spec/helper.rb

+ # Remove unneeded simplecov and coveralls gem from test suite

+ sed -i -e "/^if RUBY_VERSION >= '1.9'$/,/^end$/ s/^/#/g" \

+   spec/helper.rb

+ 

  rspec spec/

  popd

  

@@ -67,14 +64,15 @@ 

  

  %files doc

  %doc %{gem_docdir}

- %{gem_instdir}/Gemfile

- %{gem_instdir}/Gemfile.rack-1.3.x

- %{gem_instdir}/Gemfile.rack-master

+ %{gem_instdir}/Gemfile*

  %doc %{gem_instdir}/README.md

  %{gem_instdir}/Rakefile

  %{gem_instdir}/omniauth.gemspec

  

  %changelog

+ * Tue May 07 2019 Pavel Valena <pvalena@redhat.com> - 1.9.0-1

+ - Update to omniauth 1.9.0.

+ 

  * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

file modified
+2 -2

@@ -1,2 +1,2 @@ 

- 351b06ae5d5eda3f950fc9f0ee82916c  omniauth-1.3.1-tests.tgz

- 8758b2c79b5e53208a7ba9461a8cb0ef  omniauth-1.3.1.gem

+ SHA512 (omniauth-1.9.0.gem) = 9b1fe54f7742ffdc8b21cf8cc66a85fb049648c9524fa2ca8c91b459021414a2a60d27ef0172b423a4ef3b3bd7624071245ff85147d1e16c6e2dd809fbd0be8a

+ SHA512 (omniauth-1.9.0-tests.tgz) = 4cea013dcb51f215b36d926659f38aecbc6424d30da0b5ffd5cd3d9d561a6411ac08020574d6c03b8db92c12ba7d08ac44c14c58223da5e748f4e47b84b72118