mathml2asciimath 0.0.4 → 0.0.5

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
  SHA256:
3
- metadata.gz: c8e025f89f1377ddee1208333287bb3946f26d6519c6425316997a80b32b5a2d
4
- data.tar.gz: a910706c12896faa62eedcb04863f3fa8ccf1984ac273a428e629389e3bf0111
3
+ metadata.gz: e7f7afaa1590eb48d4655a7ce0d53f7288a0789f8bf4a58b4357de2a907a07ee
4
+ data.tar.gz: e9814c4e2039db04ddf8b9fa3a5ee6bc410e8b3afb8c27a22d0660e183c39f39
5
5
  SHA512:
6
- metadata.gz: 9e4f8388a919a0b5c374785ace17771722b73c7b763a6a7febad8263302f1b1d28b4316938ace7c9b731fd494e29f7be67cdfa8c1be96a7c595d2093c9df14d5
7
- data.tar.gz: e2f13b12044db5589a096cdedb014304f49cc06f97c0aba87f127e3f003306e0089792b878041afaa0a63161c56bce855a1f0fd70ceb77969d633ade8b2c0912
6
+ metadata.gz: 60da48c54eb380efd40c0208c065195d750e87e56064bfb6e97edbfa16484ecb4066d00c3e83f153d2750182e61f1289e295229bd9637a3d3a4ba4519e5a3b90
7
+ data.tar.gz: f89c1ececda1b3e8321a4e2a91a77f5d946b07489d0beb5625f06cd9bf91cc3152f510cbf3cbc991a933dc3780d3de375a3fac2db56b93d15e49374166e6f183
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mathml2asciimath (0.0.3)
4
+ mathml2asciimath (0.0.5)
5
5
  htmlentities (~> 4.3.4)
6
6
  nokogiri
7
7
 
@@ -37,19 +37,19 @@ GEM
37
37
  rb-inotify (~> 0.9, >= 0.9.7)
38
38
  ruby_dep (~> 1.2)
39
39
  lumberjack (1.0.13)
40
- method_source (0.9.0)
40
+ method_source (0.9.1)
41
41
  mini_portile2 (2.3.0)
42
42
  nenv (0.3.0)
43
- nokogiri (1.8.4)
43
+ nokogiri (1.8.5)
44
44
  mini_portile2 (~> 2.3.0)
45
45
  notiffany (0.1.1)
46
46
  nenv (~> 0.1)
47
47
  shellany (~> 0.0)
48
48
  parallel (1.12.1)
49
- parser (2.5.1.0)
49
+ parser (2.5.3.0)
50
50
  ast (~> 2.4.0)
51
51
  powerpack (0.1.2)
52
- pry (0.11.3)
52
+ pry (0.12.0)
53
53
  coderay (~> 1.1.0)
54
54
  method_source (~> 0.9.0)
55
55
  rainbow (3.0.0)
@@ -57,30 +57,30 @@ GEM
57
57
  rb-fsevent (0.10.3)
58
58
  rb-inotify (0.9.10)
59
59
  ffi (>= 0.5.0, < 2)
60
- rspec (3.7.0)
61
- rspec-core (~> 3.7.0)
62
- rspec-expectations (~> 3.7.0)
63
- rspec-mocks (~> 3.7.0)
64
- rspec-core (3.7.1)
65
- rspec-support (~> 3.7.0)
66
- rspec-expectations (3.7.0)
60
+ rspec (3.8.0)
61
+ rspec-core (~> 3.8.0)
62
+ rspec-expectations (~> 3.8.0)
63
+ rspec-mocks (~> 3.8.0)
64
+ rspec-core (3.8.0)
65
+ rspec-support (~> 3.8.0)
66
+ rspec-expectations (3.8.2)
67
67
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.7.0)
68
+ rspec-support (~> 3.8.0)
69
69
  rspec-match_fuzzy (0.1.3)
70
70
  rspec (>= 3.2)
71
- rspec-mocks (3.7.0)
71
+ rspec-mocks (3.8.0)
72
72
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.7.0)
74
- rspec-support (3.7.1)
75
- rubocop (0.58.0)
73
+ rspec-support (~> 3.8.0)
74
+ rspec-support (3.8.0)
75
+ rubocop (0.60.0)
76
76
  jaro_winkler (~> 1.5.1)
77
77
  parallel (~> 1.10)
78
- parser (>= 2.5)
78
+ parser (>= 2.5, != 2.5.1.1)
79
79
  powerpack (~> 0.1)
80
80
  rainbow (>= 2.2.2, < 4.0)
81
81
  ruby-progressbar (~> 1.7)
82
- unicode-display_width (~> 1.0, >= 1.0.1)
83
- ruby-progressbar (1.9.0)
82
+ unicode-display_width (~> 1.4.0)
83
+ ruby-progressbar (1.10.0)
84
84
  ruby_dep (1.5.0)
85
85
  shellany (0.0.1)
86
86
  simplecov (0.16.1)
@@ -88,7 +88,7 @@ GEM
88
88
  json (>= 1.8, < 3)
89
89
  simplecov-html (~> 0.10.0)
90
90
  simplecov-html (0.10.2)
91
- thor (0.20.0)
91
+ thor (0.20.3)
92
92
  timecop (0.9.1)
93
93
  unicode-display_width (1.4.0)
94
94
 
@@ -109,4 +109,4 @@ DEPENDENCIES
109
109
  timecop (~> 0.9)
110
110
 
111
111
  BUNDLED WITH
112
- 1.16.2
112
+ 1.17.1
data/bin/m2a.rb CHANGED
@@ -5,7 +5,7 @@ while a = gets
5
5
  matches = a.split(%r{(<math.*?</math>)})
6
6
  out = ""
7
7
  matches.each do |x|
8
- if /<math/.match? x
8
+ if /<math/.match x
9
9
  out += MathML2AsciiMath.m2a(x)
10
10
  else
11
11
  out += x
@@ -1,4 +1,4 @@
1
1
  module MathML2AsciiMath
2
- VERSION = "0.0.4".freeze
2
+ VERSION = "0.0.5".freeze
3
3
  end
4
4
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  DESCRIPTION
19
19
 
20
20
  spec.homepage = "https://github.com/riboseinc/mathml2asciimath"
21
- spec.license = "MIT"
21
+ spec.license = "BSD-2-Clause"
22
22
 
23
23
  spec.bindir = "bin"
24
24
  spec.require_paths = ["lib"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mathml2asciimath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-13 00:00:00.000000000 Z
11
+ date: 2018-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -207,7 +207,7 @@ files:
207
207
  - spec/spec_helper.rb
208
208
  homepage: https://github.com/riboseinc/mathml2asciimath
209
209
  licenses:
210
- - MIT
210
+ - BSD-2-Clause
211
211
  metadata: {}
212
212
  post_install_message:
213
213
  rdoc_options: []