mathml2asciimath 0.0.6 → 0.0.11
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 +4 -4
- data/.github/workflows/rake.yml +32 -0
- data/.gitignore +1 -0
- data/.hound.yml +3 -1
- data/.rubocop.yml +7 -7
- data/Gemfile +1 -2
- data/README.adoc +6 -4
- data/Rakefile +1 -1
- data/bin/m2a.rb +5 -7
- data/bin/rspec +1 -1
- data/lib/mathml2asciimath/m2a.rb +284 -250
- data/lib/mathml2asciimath/version.rb +1 -2
- data/mathml2asciimath.gemspec +6 -6
- data/spec/mathml_spec.rb +341 -249
- data/spec/spec_helper.rb +6 -7
- metadata +35 -39
- data/.rubocop.ribose.yml +0 -65
- data/.rubocop.tb.yml +0 -650
- data/.travis.yml +0 -18
- data/Gemfile.lock +0 -110
- data/appveyor.yml +0 -37
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# Auto-generated !!! Do not edit it manually
|
2
|
-
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
3
|
-
language: ruby
|
4
|
-
cache: bundler
|
5
|
-
os:
|
6
|
-
- linux
|
7
|
-
- osx
|
8
|
-
rvm:
|
9
|
-
- 2.6
|
10
|
-
- 2.5
|
11
|
-
- 2.4
|
12
|
-
- ruby-head
|
13
|
-
before_install:
|
14
|
-
- gem install bundler -v "~> 2"
|
15
|
-
- bundle update
|
16
|
-
matrix:
|
17
|
-
allow_failures:
|
18
|
-
- rvm: ruby-head
|
data/Gemfile.lock
DELETED
@@ -1,110 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
mathml2asciimath (0.0.6)
|
5
|
-
htmlentities (~> 4.3.4)
|
6
|
-
nokogiri (>= 1.10.4)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
ast (2.4.0)
|
12
|
-
byebug (9.1.0)
|
13
|
-
coderay (1.1.2)
|
14
|
-
diff-lcs (1.3)
|
15
|
-
docile (1.3.2)
|
16
|
-
ffi (1.11.1)
|
17
|
-
formatador (0.2.5)
|
18
|
-
guard (2.15.0)
|
19
|
-
formatador (>= 0.2.4)
|
20
|
-
listen (>= 2.7, < 4.0)
|
21
|
-
lumberjack (>= 1.0.12, < 2.0)
|
22
|
-
nenv (~> 0.1)
|
23
|
-
notiffany (~> 0.0)
|
24
|
-
pry (>= 0.9.12)
|
25
|
-
shellany (~> 0.0)
|
26
|
-
thor (>= 0.18.1)
|
27
|
-
guard-compat (1.2.1)
|
28
|
-
guard-rspec (4.7.3)
|
29
|
-
guard (~> 2.1)
|
30
|
-
guard-compat (~> 1.1)
|
31
|
-
rspec (>= 2.99.0, < 4.0)
|
32
|
-
htmlentities (4.3.4)
|
33
|
-
json (2.2.0)
|
34
|
-
listen (3.1.5)
|
35
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
36
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
37
|
-
ruby_dep (~> 1.2)
|
38
|
-
lumberjack (1.0.13)
|
39
|
-
method_source (0.9.2)
|
40
|
-
mini_portile2 (2.4.0)
|
41
|
-
nenv (0.3.0)
|
42
|
-
nokogiri (1.10.4)
|
43
|
-
mini_portile2 (~> 2.4.0)
|
44
|
-
notiffany (0.1.3)
|
45
|
-
nenv (~> 0.1)
|
46
|
-
shellany (~> 0.0)
|
47
|
-
parallel (1.17.0)
|
48
|
-
parser (2.6.3.0)
|
49
|
-
ast (~> 2.4.0)
|
50
|
-
powerpack (0.1.2)
|
51
|
-
pry (0.12.2)
|
52
|
-
coderay (~> 1.1.0)
|
53
|
-
method_source (~> 0.9.0)
|
54
|
-
rainbow (3.0.0)
|
55
|
-
rake (12.3.3)
|
56
|
-
rb-fsevent (0.10.3)
|
57
|
-
rb-inotify (0.10.0)
|
58
|
-
ffi (~> 1.0)
|
59
|
-
rspec (3.8.0)
|
60
|
-
rspec-core (~> 3.8.0)
|
61
|
-
rspec-expectations (~> 3.8.0)
|
62
|
-
rspec-mocks (~> 3.8.0)
|
63
|
-
rspec-core (3.8.2)
|
64
|
-
rspec-support (~> 3.8.0)
|
65
|
-
rspec-expectations (3.8.4)
|
66
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
67
|
-
rspec-support (~> 3.8.0)
|
68
|
-
rspec-match_fuzzy (0.1.3)
|
69
|
-
rspec (>= 3.2)
|
70
|
-
rspec-mocks (3.8.1)
|
71
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
-
rspec-support (~> 3.8.0)
|
73
|
-
rspec-support (3.8.2)
|
74
|
-
rubocop (0.54.0)
|
75
|
-
parallel (~> 1.10)
|
76
|
-
parser (>= 2.5)
|
77
|
-
powerpack (~> 0.1)
|
78
|
-
rainbow (>= 2.2.2, < 4.0)
|
79
|
-
ruby-progressbar (~> 1.7)
|
80
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
81
|
-
ruby-progressbar (1.10.1)
|
82
|
-
ruby_dep (1.5.0)
|
83
|
-
shellany (0.0.1)
|
84
|
-
simplecov (0.17.0)
|
85
|
-
docile (~> 1.1)
|
86
|
-
json (>= 1.8, < 3)
|
87
|
-
simplecov-html (~> 0.10.0)
|
88
|
-
simplecov-html (0.10.2)
|
89
|
-
thor (0.20.3)
|
90
|
-
timecop (0.9.1)
|
91
|
-
unicode-display_width (1.6.0)
|
92
|
-
|
93
|
-
PLATFORMS
|
94
|
-
ruby
|
95
|
-
|
96
|
-
DEPENDENCIES
|
97
|
-
bundler (~> 2.0.1)
|
98
|
-
byebug (~> 9.1)
|
99
|
-
guard (~> 2.14)
|
100
|
-
guard-rspec (~> 4.7)
|
101
|
-
mathml2asciimath!
|
102
|
-
rake (~> 12.0)
|
103
|
-
rspec (~> 3.6)
|
104
|
-
rspec-match_fuzzy (~> 0.1.3)
|
105
|
-
rubocop (= 0.54.0)
|
106
|
-
simplecov (~> 0.15)
|
107
|
-
timecop (~> 0.9)
|
108
|
-
|
109
|
-
BUNDLED WITH
|
110
|
-
2.0.2
|
data/appveyor.yml
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
# Auto-generated !!! Do not edit it manually
|
2
|
-
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
3
|
-
version: '{build}'
|
4
|
-
|
5
|
-
cache:
|
6
|
-
- vendor/bundle
|
7
|
-
|
8
|
-
environment:
|
9
|
-
matrix:
|
10
|
-
- RUBY_VERSION: 26
|
11
|
-
- RUBY_VERSION: 25
|
12
|
-
- RUBY_VERSION: 24
|
13
|
-
- RUBY_VERSION: _trunk
|
14
|
-
|
15
|
-
matrix:
|
16
|
-
allow_failures:
|
17
|
-
- RUBY_VERSION: _trunk
|
18
|
-
|
19
|
-
install:
|
20
|
-
- ps: . { iwr -useb https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/appveyor.ps1 } | iex
|
21
|
-
- refreshenv
|
22
|
-
|
23
|
-
build_script:
|
24
|
-
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
25
|
-
- set GIT_TERMINAL_PROMPT=0
|
26
|
-
- gem install bundler -v "~> 2"
|
27
|
-
- bundle config --local path vendor/bundle
|
28
|
-
- bundle update
|
29
|
-
- bundle install
|
30
|
-
|
31
|
-
before_test:
|
32
|
-
- ruby -v
|
33
|
-
- gem -v
|
34
|
-
- bundle -v
|
35
|
-
|
36
|
-
test_script:
|
37
|
-
- bundle exec rake
|