Update to Asciidoctor 0.1.5.preview.7
- Drop unused patch
This commit is contained in:
parent
cbd79bbfe7
commit
5dbaa5a481
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/asciidoctor-0.1.4.gem
|
||||
/asciidoctor-1.5.0.preview.6.gem
|
||||
/asciidoctor-1.5.0.preview.7.gem
|
||||
|
@ -1,22 +0,0 @@
|
||||
diff --git a/test/reader_test.rb b/test/reader_test.rb
|
||||
index abc708a..5750437 100644
|
||||
--- a/test/reader_test.rb
|
||||
+++ b/test/reader_test.rb
|
||||
@@ -499,17 +499,6 @@ include::fixtures/no-such-file.ad[]
|
||||
end
|
||||
end
|
||||
|
||||
- test 'include macro can retrieve data from uri' do
|
||||
- input = <<-EOS
|
||||
-....
|
||||
-include::https://raw.github.com/asciidoctor/asciidoctor/master/LICENSE[]
|
||||
-....
|
||||
- EOS
|
||||
-
|
||||
- output = render_embedded_string input, :safe => :safe, :attributes => {'allow-uri-read' => ''}
|
||||
- assert_match(/MIT/, output)
|
||||
- end
|
||||
-
|
||||
test 'inaccessible uri referenced by include macro does not crash processor' do
|
||||
input = <<-EOS
|
||||
....
|
@ -1,19 +1,16 @@
|
||||
%global gem_name asciidoctor
|
||||
%global mandir %{_mandir}/man1
|
||||
|
||||
%define pre .preview.6
|
||||
%define pre .preview.7
|
||||
|
||||
Summary: A fast, open source AsciiDoc implementation in Ruby
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.5.0
|
||||
Release: %{?pre:0.}1%{?pre}%{?dist}
|
||||
Release: %{?pre:0.}2%{?pre}%{?dist}
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: https://github.com/asciidoctor/asciidoctor
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}%{pre}.gem
|
||||
# Patch0: disable the test for including content from a URI
|
||||
# since it does not work when the network is unavailable
|
||||
Patch0: asciidoctor-remove-include-uri-test.patch
|
||||
%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
|
||||
Requires: ruby(release)
|
||||
BuildRequires: ruby(release)
|
||||
@ -72,7 +69,6 @@ sed -i -e 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' \
|
||||
# Clean up development-only file
|
||||
rm Rakefile
|
||||
sed -i "s|\"Rakefile\",||g" %{gem_name}.gemspec
|
||||
#patch0 -p1
|
||||
|
||||
%build
|
||||
gem build %{gem_name}.gemspec
|
||||
@ -120,6 +116,10 @@ cp -pa .%{gem_instdir}/compat/* \
|
||||
%doc %{gem_docdir}
|
||||
|
||||
%changelog
|
||||
* Tue May 20 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.0-0.2.preview.7
|
||||
- Update to Asciidoctor 0.1.5.preview.7
|
||||
- Drop unused patch
|
||||
|
||||
* Thu May 15 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.0-0.1.preview.6
|
||||
- Update to Asciidoctor 0.1.5.preview.6
|
||||
- Use HTTPS URLs
|
||||
|
Loading…
Reference in New Issue
Block a user