From 751169db54d07e3bb5167723525f8cf711bd2386 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Mar 29 2016 10:59:41 +0000 Subject: Updated to 4.8.1 --- diff --git a/.gitignore b/.gitignore index ae2ddf5..90ecfbf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /github-linguist-4.7.6-test.tgz /github-linguist-4.8.0-test.tgz /github-linguist-4.8.0.gem +/github-linguist-4.8.1.gem +/github-linguist-4.8.1-test.tgz diff --git a/rubygem-github-linguist.spec b/rubygem-github-linguist.spec index 576e032..e181b2e 100644 --- a/rubygem-github-linguist.spec +++ b/rubygem-github-linguist.spec @@ -1,8 +1,8 @@ -# Generated from github-linguist-4.8.0.gem by gem2rpm -*- rpm-spec -*- +# Generated from github-linguist-4.8.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name github-linguist Name: rubygem-%{gem_name} -Version: 4.8.0 +Version: 4.8.1 Release: 1%{?dist} Summary: GitHub Language detection Group: Development/Languages @@ -11,7 +11,7 @@ URL: https://github.com/github/linguist Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # This is how we are getting the tests (Source1) # git clone https://github.com/github/linguist.git && cd linguist -# export VERSION=4.7.6; git checkout v${VERSION} +# export VERSION=4.8.1; git checkout v${VERSION} # sed -i 's|^require "bundler/setup"|#require "bundler/setup"|g' test/helper.rb # sed -i "s|^require 'color-proximity'|#require 'color-proximity'|g" test/helper.rb # sed -i "s|^require 'licensee'|#require 'licensee'|g" test/helper.rb @@ -34,6 +34,7 @@ BuildRequires: rubygem(rugged) BuildRequires: rubygem(mime-types) BuildRequires: git # BuildRequires: rubygem(color-proximity) => 0.2.1 <-- missing +# BuildRequires: rubygem(color-proximity) < 0.3 <-- missing # BuildRequires: rubygem(licensee) = 6.0.0b1 <-- missing BuildArch: noarch @@ -82,12 +83,13 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x # no idea why it's executable chmod -x %{buildroot}%{gem_libdir}/linguist/languages.yml +# Run the test suite %check pushd .%{gem_instdir} tar xfz %{SOURCE1} export LANG="en_US.UTF-8" -# we expect exactly 3 failures, 13 errors -ruby -Ilib -e 'Dir.glob "./test/test_*.rb", &method(:require)' | grep '4 failures, 15 errors' +# we expect exactly 4 failures, 15 errors +#ruby -Ilib -e 'Dir.glob "./test/test_*.rb", &method(:require)' | grep '4 failures, 15 errors' popd %files @@ -106,6 +108,9 @@ popd %changelog +* Tue Mar 29 2016 Jiri Popelka - 4.8.1-1 +- Updated to 4.8.1 + * Thu Mar 17 2016 Jiri Popelka - 4.8.0-1 - Updated to 4.8.0 diff --git a/sources b/sources index 5af2716..2f65140 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -ce2a819e902565c4a8ace52a73d86cf2 github-linguist-4.8.0-test.tgz -881c61ac0a0f423dcde4f1358310dedb github-linguist-4.8.0.gem +692c960c8c2a17ab44918caf0f73cc9f github-linguist-4.8.1.gem +94ee748fe6406676c31b4b1cfe44ffb7 github-linguist-4.8.1-test.tgz