Update to yard 0.8.7.4.

This commit is contained in:
Vít Ondruch 2014-07-04 15:02:51 +02:00
commit 2d77152e35
3 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ yard-0.5.3.gem
/yard-0.8.2.1.gem
/yard-0.8.5.2.gem
/yard-0.8.7.gem
/yard-0.8.7.4.gem

View file

@ -2,21 +2,19 @@
Name: rubygem-%{gem_name}
Summary: Documentation tool for consistent and usable documentation in Ruby
Version: 0.8.7
Release: 2%{?dist}
Version: 0.8.7.4
Release: 1%{?dist}
Group: Development/Languages
License: MIT and (GPLv2 or Ruby)
URL: http://yardoc.org
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
Requires: ruby(rubygems)
Requires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: rubygem(RedCloth)
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(redcarpet)
BuildRequires: rubygem(rack)
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
%description
YARD is a documentation generation tool for the Ruby programming language.
@ -54,6 +52,10 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
%check
pushd .%{gem_instdir}
# Not sure if this is needed, since bundler is not user or because Fedora
# provides more recent RSpec :/
sed -i '/File\.stub(:exist?).with(\/\\\.yardopts$\/)/ i\ File.stub(:exist?).and_return(true)' spec/cli/server_spec.rb
rspec spec
popd
@ -85,6 +87,9 @@ popd
%changelog
* Thu Jul 03 2014 Vít Ondruch <vondruch@redhat.com> - 0.8.7.4-1
- Update to yard 0.8.7.4.
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View file

@ -1 +1 @@
18bc92ad17a8ebebe156fabc47e28bad yard-0.8.7.gem
9545788d4d9eac86e7b870e84e9e987a yard-0.8.7.4.gem