hwp_script_to_latex 1.0.4 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hwp_script_to_latex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bluesh55
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-13 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,7 +73,6 @@ files:
73
73
  - hwp_script_to_latex.gemspec
74
74
  - lib/hwp_script_to_latex.rb
75
75
  - lib/hwp_script_to_latex/converter.rb
76
- - lib/hwp_script_to_latex/replacement_rule.rb
77
76
  - lib/hwp_script_to_latex/version.rb
78
77
  - rules.json
79
78
  homepage: https://github.com/PrivateCoach/hwp_script_to_latex
@@ -1,21 +0,0 @@
1
- module HwpScriptToLatex
2
- class ReplacementRule
3
- attr_reader :regex_str, :latex
4
-
5
- def initialize(regex_str, latex, ignorecase = false)
6
- @regex_str = regex_str
7
- @latex = latex
8
- @ignorecase = ignorecase
9
- end
10
-
11
- def regex
12
- return @reg if @reg
13
-
14
- if @ignorecase
15
- @reg = Regexp.new(@regex_str, 'i')
16
- else
17
- @reg = Regexp.new(@regex_str)
18
- end
19
- end
20
- end
21
- end