polytexnic 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fefdba29706e24a266960f6a454f31341a88d94
4
- data.tar.gz: 88c02fe48f01aa19d3ec84d18e3b4096a409fcc3
3
+ metadata.gz: 93e7a161df1d0fc8631624f51fef9be7a5f16339
4
+ data.tar.gz: 954a0a11d427e76354205d4110908fc238734b83
5
5
  SHA512:
6
- metadata.gz: d2f68541b94dda5f0a717bf6adeeb1df7d3ac2ff8a8908c1a0096eb126f5743e2e6e0f67b3654cbb685a3731089017e76f5221c4ccee15025b9354b904b073af
7
- data.tar.gz: 10d075f42e1f407d3f7dda9843d16db013b267bad1e892c89831ce0d81ee554f5680124fc722466cbae783d21e2bd768ed0464e903065a6a6f3c14c84bf80afa
6
+ metadata.gz: 2d801736323773b196ada2a40a686cbfa5293158b136e992e9aa74aab3b1c5304805097df24e2d892474c09b118664d86a0a84e46e42c856473ac5c7e116dae1
7
+ data.tar.gz: 7e23803974f5ec2d7cf71478ce8d21e1d418cf83d5944d6035dc1929f9af35c35863d4d11399fe3be1b3646b59ee67ca0e07ec63cd267ee3798a759e5b0b83e9
@@ -89,6 +89,8 @@ module Polytexnic
89
89
  |
90
90
  \\\w+ # normal command
91
91
  |
92
+ \\- # hyphenation
93
+ |
92
94
  \\[ %&$#@] # space or special character
93
95
  )
94
96
  /x
@@ -1,3 +1,3 @@
1
1
  module Polytexnic
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
@@ -34,6 +34,11 @@ Lorem ipsum
34
34
  it { should_not include '\hypertarget' }
35
35
  end
36
36
 
37
+ describe "hyphenation" do
38
+ let(:source) { 'profes\-sional' }
39
+ it { should include source }
40
+ end
41
+
37
42
  describe "with math" do
38
43
 
39
44
  context "inline math" do
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.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-04 00:00:00.000000000 Z
12
+ date: 2013-12-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri