Skip to content

Commit

Permalink
Showing 5 changed files with 16,452 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/truffle/gems/asciidoctor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

set -e

GEM_HOME=${GEM_HOME:-lib/ruby/gems/shared}

ruby -X+T $GEM_HOME/gems/asciidoctor-1.5.4/bin/asciidoctor test/truffle/gems/asciidoctor/userguide.adoc

if ! cmp --silent test/truffle/gems/asciidoctor/userguide.html test/truffle/gems/asciidoctor/userguide-expected.html
then
echo Asciidoctor output was not as expected
rm -f test/truffle/gems/asciidoctor/userguide.html
exit 1
else
rm -f test/truffle/gems/asciidoctor/userguide.html
fi
18 changes: 18 additions & 0 deletions test/truffle/gems/asciidoctor/customers.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"AROUT","Around the Horn","Thomas Hardy","120 Hanover Sq.
London","(171) 555-7788"
"BERGS","Berglunds snabbkop","Christina Berglund","Berguvsvagen 8
Lulea","0921-12 34 65"
"BLAUS","Blauer See Delikatessen","Hanna Moos","Forsterstr. 57
Mannheim","0621-08460"
"BLONP","Blondel pere et fils","Frederique Citeaux","24, place Kleber
Strasbourg","88.60.15.31"
"BOLID","Bolido Comidas preparadas","Martin Sommer","C/ Araquil, 67
Madrid","(91) 555 22 82"
"BONAP","Bon app'","Laurence Lebihan","12, rue des Bouchers
Marseille","91.24.45.40"
"BOTTM","Bottom-Dollar Markets","Elizabeth Lincoln","23 Tsawassen Blvd.
Tsawassen","(604) 555-4729"
"BSBEV","B's Beverages","Victoria Ashworth","Fauntleroy Circus
London","(171) 555-1212"
"CACTU","Cactus Comidas para llevar","Patricio Simpson","Cerrito 333
Buenos Aires","(1) 135-5555"
10,371 changes: 10,371 additions & 0 deletions test/truffle/gems/asciidoctor/userguide-expected.html

Large diffs are not rendered by default.

6,046 changes: 6,046 additions & 0 deletions test/truffle/gems/asciidoctor/userguide.adoc

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/truffle/gems/install-gems.sh
Original file line number Diff line number Diff line change
@@ -7,3 +7,4 @@ bin/jruby bin/gem install rack -v 1.6.1
bin/jruby bin/gem install tilt -v 2.0.1
bin/jruby bin/gem install rack-protection -v 1.5.3
bin/jruby bin/gem install sinatra -v 1.4.6
bin/jruby bin/gem install asciidoctor -v 1.5.4

0 comments on commit ba9c631

Please sign in to comment.