html-pipeline-bungo 0.5.2 → 0.6.0

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: ccbb9156ea59c2a8d5d776326eeb21ab82258a1a
4
- data.tar.gz: b9336261b2d68bbe580a5561f0e642744e95a80e
3
+ metadata.gz: 40d20a5f7ff2e86fe840f1c65fb26fa6d2bd41ba
4
+ data.tar.gz: 0858fb75f4efd13953b1bc2e0fc1a78c14cb0ee3
5
5
  SHA512:
6
- metadata.gz: 24eca4079bc6f63f1ae10a03af9078574c0f93cd6452cffe38651d13cda4834023a80e8eccd2e89f6572ad898af68c79615c1d210414d4f3cfcdc88d444787fa
7
- data.tar.gz: 0d7ec2fbd9456c6e0f91f73a0c623225dda7c980b4e44cb1c3349a70c21e73c4dcaf0e5b32dd0f6cd622cb944bf85a90ec3d8bcd8e2684a4d426169d8afd4a0b
6
+ metadata.gz: 497c8cb8436a9af4b2165aedc2316b1cbd2a6f2d4369d2b9c89bc8417059c5ccbb92451df2ef8cf812739292af7556dd0344a388814921d855cad824537e63a3
7
+ data.tar.gz: 5c1071599944268533a91138fa41478acd78f9b1fcff6c8310d176c068328fb8a2606d24bfbe2f95e4cfce59f15a902791a4c7d7db820fa8b175ce4f2ac74d66
@@ -9,7 +9,7 @@ module HTML
9
9
  private
10
10
 
11
11
  def bold_filter(text)
12
- text.gsub(/:([^:]+?)\!/) do |match|
12
+ text.gsub(/:([^:\(\)\!]+?)\!/) do |match|
13
13
  "<b>#{$1}</b>"
14
14
  end
15
15
  end
@@ -9,7 +9,7 @@ module HTML
9
9
  private
10
10
 
11
11
  def emph_dot_filter(text)
12
- text.gsub(/:([^:]+?)\.\./) do |match|
12
+ text.gsub(/:([^:\(\)\!]+?)\.\./) do |match|
13
13
  literals = $1.split(//).map{|lt| "<span class='boten'>#{lt}</span>"}
14
14
  "<span class='botenparent'>#{literals.join}</span>"
15
15
  end
@@ -9,7 +9,7 @@ module HTML
9
9
  private
10
10
 
11
11
  def ruby_filter(text)
12
- text.gsub(/:([^:]+?)\(([^:]+?)\)/) do |match|
12
+ text.gsub(/:([^:\!\.]+?)\(([^:]+?)\)/) do |match|
13
13
  "<ruby><rb>#{$1}</rb><rp>(</rp><rt>#{$2}</rt><rp>)</rp></ruby>"
14
14
  end
15
15
  end
@@ -1,7 +1,7 @@
1
1
  module Html
2
2
  module Pipeline
3
3
  module Bungo
4
- VERSION = "0.5.2"
4
+ VERSION = "0.6.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline-bungo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tetuyoko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-05 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline