polytexnic 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ba6efd240014302b4f6f6f9afbf261d4b79f313
|
|
4
|
+
data.tar.gz: e55cd520a1d7efc0cdfd3fdaf121004f1678f0e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e4dd24c85820df23be2dc3b974a06686e069cfb7294df1d5b4a11ac93126dd06a727a04160b1c7a5ebe3a9fe7ab63d9273a9c6eb185c66d3e771331360ad4f8
|
|
7
|
+
data.tar.gz: 2cbe3f2f7d571e8f0cb494b07ff7de5f2c36a2626a45790130085144f274587d6529647bcbb0367834e6740ed0adcf7730116ef29284e80e56e1752cbe91ccf2
|
|
File without changes
|
data/lib/polytexnic/version.rb
CHANGED
|
@@ -18,6 +18,12 @@ describe Polytexnic::Pipeline do
|
|
|
18
18
|
it { should_not include '\begin{document}' }
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
+
context "with a manual break" do
|
|
22
|
+
let(:source) { '[Michael Hartl](http://www.michaelhartl.com/) \\\\ Author, [*The Ruby on Rails Tutorial*](http://railstutorial.org/)' }
|
|
23
|
+
it { should include '\\\\' }
|
|
24
|
+
it { should_not include '\textbackslash' }
|
|
25
|
+
end
|
|
26
|
+
|
|
21
27
|
context "for multiline Markdown" do
|
|
22
28
|
let(:source) do <<-EOS
|
|
23
29
|
# A chapter
|
data/spec/to_html/core_spec.rb
CHANGED
|
@@ -18,6 +18,11 @@ describe 'Polytexnic::Pipeline#to_html' do
|
|
|
18
18
|
it { should eq '' }
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
+
context "with a manual break" do
|
|
22
|
+
let(:polytex) { 'foo \\\\ bar' }
|
|
23
|
+
it { should include '<span class="break">' }
|
|
24
|
+
end
|
|
25
|
+
|
|
21
26
|
context "with a code listing" do
|
|
22
27
|
let(:polytex) do <<-'EOS'
|
|
23
28
|
% \begin{codelisting}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: polytexnic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Hartl
|
|
@@ -193,6 +193,7 @@ files:
|
|
|
193
193
|
- .pull_requests/1386718874
|
|
194
194
|
- .pull_requests/1386936855
|
|
195
195
|
- .pull_requests/1387316123
|
|
196
|
+
- .pull_requests/1387337421
|
|
196
197
|
- .rspec
|
|
197
198
|
- Gemfile
|
|
198
199
|
- Guardfile
|