AoBane 0.1.17 → 0.1.18

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.
@@ -52,9 +52,9 @@ require 'math_ml/string'
52
52
 
53
53
 
54
54
  module AoBane
55
- VERSION = '0.1.17'
56
- VERSION_NUMBER = 0.0117
57
- RELEASE_DATE = '2013-05-07'
55
+ VERSION = '0.1.18'
56
+ VERSION_NUMBER = 0.0118
57
+ RELEASE_DATE = '2013-05-09'
58
58
  VERSION_LABEL = "#{VERSION} (#{RELEASE_DATE})"
59
59
 
60
60
  UTF8_BOM = "\xef\xbb\xbf"
@@ -525,6 +525,7 @@ module AoBane
525
525
 
526
526
  #text = Utilities::prePaling(text) #Insert by set.minami 2013-04-27
527
527
  #Insert by set.minami 2013-04-03
528
+ text = transform_block_quotes(text, rs)
528
529
  nrange = []
529
530
  departure = 1
530
531
  preproc = Marshal.load(Marshal.dump(text))
@@ -666,7 +667,7 @@ module AoBane
666
667
  #Insert by set.minami 2013-03-30
667
668
  text = Utilities::insertTimeStamp(text)
668
669
  text = Utilities::postProcFence(text) #Insert by set.minami 2013-04-27
669
-
670
+
670
671
  text = Utilities::transformSpecialChar(text) #Insert by set.minami 2013-04-27
671
672
 
672
673
  return text
@@ -30,11 +30,8 @@ def transformSpecialChar(text)
30
30
  "\|\|\/" => "⇓",
31
31
  "\|\/" => "↓",
32
32
  "\|\^" => "↑",
33
- ">>" => "»",
34
- "\<\<" => "&laquo;",
35
33
  "+_" => "&plusmn;",
36
34
  "!=" => "&ne;",
37
- "~~" => "&asymp;",
38
35
  "~=" => "&cong;",
39
36
  "<_" => "&le;",
40
37
  ">_" => "&ge",
@@ -50,8 +47,8 @@ def transformSpecialChar(text)
50
47
  "\(TM\)" => "&trade;",
51
48
  "!in" => "&notin;"}
52
49
 
53
- entry = '(?!\-+\|)\-\-|<=>|<\->|\->|<\-|=>|<=|\|\^|\|\|\/|\|\/|\^|\>\>|\<\<|' +
54
- '\+_|!=|~~|~=|>_|<_|\|FA|\|EX|\|=|\(\+\)|\(\-\)|\(X\)|\(c\)|\(R\)|\(SS\)|\(TM\)|!in'
50
+ entry = '(?!\-+\|)\-\-|<=>|<\->|\->|<\-|=>|<=|\|\^|\|\|\/|\|\/|\^|' +
51
+ '\+_|!=|~=|>_|<_|\|FA|\|EX|\|=|\(\+\)|\(\-\)|\(X\)|\(c\)|\(R\)|\(SS\)|\(TM\)|!in'
55
52
 
56
53
 
57
54
 
@@ -1,3 +1,3 @@
1
1
  module AoBane
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: AoBane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-07 00:00:00.000000000 Z
12
+ date: 2013-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: math_ml