unicode2latex 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +41 -0
- data/.github/workflows/ubuntu.yml +45 -0
- data/.github/workflows/windows.yml +43 -0
- data/Gemfile.lock +39 -43
- data/README.adoc +5 -2
- data/lib/unicode2latex/version.rb +1 -1
- data/unicode2latex.gemspec +1 -1
- metadata +13 -13
- data/.travis.yml +0 -19
- data/appveyor.yml +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad249ad3dfd1050d48242902ab69bb53c6700585d84999490cc4cf8d1d61ac15
|
4
|
+
data.tar.gz: 7c9533b6d8527ce3f27e3bc2aed4599c2e45590efde50867b0cc45cb949a059c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5239da565d283d3b28f6853a2de3ce7cd80ba9243dc4133575a59c759f276b8a16ef8069926b4e22279e80ebf58afe634b77bec17d3daac03363723941c3924
|
7
|
+
data.tar.gz: 48b6ba061759316a28482316cffc24520595acbcd030c46943e849272675cf846bcf786ec86b74e9a923634f48886fbfd0ec1d55e265408cd0acd2c31ef433e0
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
|
+
name: macos
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches: [ master ]
|
8
|
+
pull_request:
|
9
|
+
paths-ignore:
|
10
|
+
- .github/workflows/ubuntu.yml
|
11
|
+
- .github/workflows/windows.yml
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
test-macos:
|
15
|
+
name: Test on Ruby ${{ matrix.ruby }} macOS
|
16
|
+
runs-on: macos-latest
|
17
|
+
continue-on-error: ${{ matrix.experimental }}
|
18
|
+
strategy:
|
19
|
+
fail-fast: false
|
20
|
+
matrix:
|
21
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
22
|
+
experimental: [false]
|
23
|
+
include:
|
24
|
+
- ruby: '2.7'
|
25
|
+
experimental: true
|
26
|
+
steps:
|
27
|
+
- uses: actions/checkout@master
|
28
|
+
- name: Use Ruby
|
29
|
+
uses: actions/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
- name: Update gems
|
33
|
+
run: |
|
34
|
+
sudo gem install bundler --force
|
35
|
+
bundle install --jobs 4 --retry 3
|
36
|
+
- name: Install PlantUML
|
37
|
+
run: |
|
38
|
+
brew install plantuml
|
39
|
+
- name: Run specs
|
40
|
+
run: |
|
41
|
+
bundle exec rake
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
|
+
name: ubuntu
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches: [ master ]
|
8
|
+
pull_request:
|
9
|
+
paths-ignore:
|
10
|
+
- .github/workflows/macos.yml
|
11
|
+
- .github/workflows/windows.yml
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
test-linux:
|
15
|
+
name: Test on Ruby ${{ matrix.ruby }} Ubuntu
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
continue-on-error: ${{ matrix.experimental }}
|
18
|
+
strategy:
|
19
|
+
fail-fast: false
|
20
|
+
matrix:
|
21
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
22
|
+
experimental: [false]
|
23
|
+
include:
|
24
|
+
- ruby: '2.7'
|
25
|
+
experimental: true
|
26
|
+
steps:
|
27
|
+
- uses: actions/checkout@master
|
28
|
+
- name: Use Ruby
|
29
|
+
uses: actions/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
- name: Update gems
|
33
|
+
run: |
|
34
|
+
gem install bundler
|
35
|
+
bundle install --jobs 4 --retry 3
|
36
|
+
- name: Install PlantUML
|
37
|
+
uses: nick-invision/retry@v1
|
38
|
+
with:
|
39
|
+
polling_interval_seconds: 5
|
40
|
+
timeout_minutes: 5
|
41
|
+
max_attempts: 3
|
42
|
+
command: sudo bash -c "curl -L https://github.com/metanorma/plantuml-install/raw/master/ubuntu.sh | bash"
|
43
|
+
- name: Run specs
|
44
|
+
run: |
|
45
|
+
bundle exec rake
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
|
+
name: windows
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches: [ master ]
|
8
|
+
pull_request:
|
9
|
+
paths-ignore:
|
10
|
+
- .github/workflows/macos.yml
|
11
|
+
- .github/workflows/ubuntu.yml
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
test-windows:
|
15
|
+
name: Test on Ruby ${{ matrix.ruby }} Windows
|
16
|
+
runs-on: windows-latest
|
17
|
+
continue-on-error: ${{ matrix.experimental }}
|
18
|
+
strategy:
|
19
|
+
fail-fast: false
|
20
|
+
matrix:
|
21
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
22
|
+
experimental: [false]
|
23
|
+
include:
|
24
|
+
- ruby: '2.7'
|
25
|
+
experimental: true
|
26
|
+
steps:
|
27
|
+
- uses: actions/checkout@master
|
28
|
+
- name: Use Ruby
|
29
|
+
uses: actions/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
- name: Update gems
|
33
|
+
shell: pwsh
|
34
|
+
run: |
|
35
|
+
gem install bundler
|
36
|
+
bundle config --local path vendor/bundle
|
37
|
+
bundle install --jobs 4 --retry 3
|
38
|
+
- name: Install PlantUML
|
39
|
+
run: |
|
40
|
+
cinst -y plantuml
|
41
|
+
- name: Run specs
|
42
|
+
run: |
|
43
|
+
bundle exec rake
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unicode2latex (0.0.
|
4
|
+
unicode2latex (0.0.3)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
ast (2.4.
|
10
|
-
byebug (11.
|
11
|
-
coderay (1.1.
|
12
|
-
diff-lcs (1.
|
9
|
+
ast (2.4.1)
|
10
|
+
byebug (11.1.3)
|
11
|
+
coderay (1.1.3)
|
12
|
+
diff-lcs (1.4.4)
|
13
13
|
docile (1.3.2)
|
14
14
|
equivalent-xml (0.6.0)
|
15
15
|
nokogiri (>= 1.4.3)
|
16
|
-
ffi (1.
|
16
|
+
ffi (1.13.1)
|
17
17
|
formatador (0.2.5)
|
18
|
-
guard (2.
|
18
|
+
guard (2.16.2)
|
19
19
|
formatador (>= 0.2.4)
|
20
20
|
listen (>= 2.7, < 4.0)
|
21
21
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -29,45 +29,43 @@ GEM
|
|
29
29
|
guard (~> 2.1)
|
30
30
|
guard-compat (~> 1.1)
|
31
31
|
rspec (>= 2.99.0, < 4.0)
|
32
|
-
|
33
|
-
|
34
|
-
rb-
|
35
|
-
|
36
|
-
|
37
|
-
lumberjack (1.0.13)
|
38
|
-
method_source (0.9.2)
|
32
|
+
listen (3.2.1)
|
33
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
34
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
35
|
+
lumberjack (1.2.6)
|
36
|
+
method_source (1.0.0)
|
39
37
|
mini_portile2 (2.4.0)
|
40
38
|
nenv (0.3.0)
|
41
|
-
nokogiri (1.10.
|
39
|
+
nokogiri (1.10.10)
|
42
40
|
mini_portile2 (~> 2.4.0)
|
43
41
|
notiffany (0.1.3)
|
44
42
|
nenv (~> 0.1)
|
45
43
|
shellany (~> 0.0)
|
46
|
-
parallel (1.
|
47
|
-
parser (2.
|
48
|
-
ast (~> 2.4.
|
44
|
+
parallel (1.19.2)
|
45
|
+
parser (2.7.1.4)
|
46
|
+
ast (~> 2.4.1)
|
49
47
|
powerpack (0.1.2)
|
50
|
-
pry (0.
|
51
|
-
coderay (~> 1.1
|
52
|
-
method_source (~>
|
48
|
+
pry (0.13.1)
|
49
|
+
coderay (~> 1.1)
|
50
|
+
method_source (~> 1.0)
|
53
51
|
rainbow (3.0.0)
|
54
52
|
rake (12.3.3)
|
55
|
-
rb-fsevent (0.10.
|
56
|
-
rb-inotify (0.10.
|
53
|
+
rb-fsevent (0.10.4)
|
54
|
+
rb-inotify (0.10.1)
|
57
55
|
ffi (~> 1.0)
|
58
|
-
rspec (3.
|
59
|
-
rspec-core (~> 3.
|
60
|
-
rspec-expectations (~> 3.
|
61
|
-
rspec-mocks (~> 3.
|
62
|
-
rspec-core (3.
|
63
|
-
rspec-support (~> 3.
|
64
|
-
rspec-expectations (3.
|
56
|
+
rspec (3.9.0)
|
57
|
+
rspec-core (~> 3.9.0)
|
58
|
+
rspec-expectations (~> 3.9.0)
|
59
|
+
rspec-mocks (~> 3.9.0)
|
60
|
+
rspec-core (3.9.2)
|
61
|
+
rspec-support (~> 3.9.3)
|
62
|
+
rspec-expectations (3.9.2)
|
65
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
-
rspec-support (~> 3.
|
67
|
-
rspec-mocks (3.
|
64
|
+
rspec-support (~> 3.9.0)
|
65
|
+
rspec-mocks (3.9.1)
|
68
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
-
rspec-support (~> 3.
|
70
|
-
rspec-support (3.
|
67
|
+
rspec-support (~> 3.9.0)
|
68
|
+
rspec-support (3.9.3)
|
71
69
|
rubocop (0.54.0)
|
72
70
|
parallel (~> 1.10)
|
73
71
|
parser (>= 2.5)
|
@@ -76,21 +74,19 @@ GEM
|
|
76
74
|
ruby-progressbar (~> 1.7)
|
77
75
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
78
76
|
ruby-progressbar (1.10.1)
|
79
|
-
ruby_dep (1.5.0)
|
80
77
|
shellany (0.0.1)
|
81
|
-
simplecov (0.
|
78
|
+
simplecov (0.18.5)
|
82
79
|
docile (~> 1.1)
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
unicode-display_width (1.6.0)
|
80
|
+
simplecov-html (~> 0.11)
|
81
|
+
simplecov-html (0.12.2)
|
82
|
+
thor (1.0.1)
|
83
|
+
unicode-display_width (1.7.0)
|
88
84
|
|
89
85
|
PLATFORMS
|
90
86
|
ruby
|
91
87
|
|
92
88
|
DEPENDENCIES
|
93
|
-
bundler
|
89
|
+
bundler
|
94
90
|
byebug
|
95
91
|
equivalent-xml (~> 0.6)
|
96
92
|
guard (~> 2.14)
|
@@ -102,4 +98,4 @@ DEPENDENCIES
|
|
102
98
|
unicode2latex!
|
103
99
|
|
104
100
|
BUNDLED WITH
|
105
|
-
2.
|
101
|
+
2.1.4
|
data/README.adoc
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
= unicode2latex
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/unicode2latex.svg["Gem Version", link="https://rubygems.org/gems/unicode2latex"]
|
4
|
-
image:https://
|
5
|
-
image:https://
|
4
|
+
image:https://github.com/metanorma/unicode2latex/workflows/ubuntu/badge.svg["Ubuntu Build Status", link="https://github.com/metanorma/unicode2latex/actions?query=workflow%3Aubuntu"]
|
5
|
+
image:https://github.com/metanorma/unicode2latex/workflows/macos/badge.svg["OSX Build Status", link="https://github.com/metanorma/unicode2latex/actions?query=workflow%3Amacos"]
|
6
|
+
image:https://github.com/metanorma/unicode2latex/workflows/windows/badge.svg["Windows Build Status", link="https://github.com/metanorma/unicode2latex/actions?query=workflow%3Awindows"]
|
6
7
|
image:https://codeclimate.com/github/metanorma/unicode2latex/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/unicode2latex"]
|
8
|
+
image:https://img.shields.io/github/issues-pr-raw/metanorma/unicode2latex.svg["Pull Requests", link="https://github.com/metanorma/unicode2latex/pulls"]
|
9
|
+
image:https://img.shields.io/github/commits-since/metanorma/unicode2latex/latest.svg["Commits since latest",link="https://github.com/metanorma/unicode2latex/releases"]
|
7
10
|
|
8
11
|
Gem for translating UTF8 Unicode characters to LaTeX escapes
|
9
12
|
|
data/unicode2latex.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
25
25
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
26
26
|
|
27
|
-
spec.add_development_dependency "bundler"
|
27
|
+
spec.add_development_dependency "bundler"
|
28
28
|
spec.add_development_dependency "byebug"
|
29
29
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
30
30
|
spec.add_development_dependency "guard", "~> 2.14"
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode2latex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,16 +145,17 @@ executables: []
|
|
145
145
|
extensions: []
|
146
146
|
extra_rdoc_files: []
|
147
147
|
files:
|
148
|
+
- ".github/workflows/macos.yml"
|
149
|
+
- ".github/workflows/ubuntu.yml"
|
150
|
+
- ".github/workflows/windows.yml"
|
148
151
|
- ".hound.yml"
|
149
152
|
- ".rubocop.yml"
|
150
|
-
- ".travis.yml"
|
151
153
|
- CODE_OF_CONDUCT.md
|
152
154
|
- Gemfile
|
153
155
|
- Gemfile.lock
|
154
156
|
- LICENSE
|
155
157
|
- README.adoc
|
156
158
|
- Rakefile
|
157
|
-
- appveyor.yml
|
158
159
|
- bin/rspec
|
159
160
|
- lib/unicode2latex.rb
|
160
161
|
- lib/unicode2latex/unicode2latex.rb
|
@@ -165,7 +166,7 @@ homepage: https://github.com/metanorma/unicode2latex
|
|
165
166
|
licenses:
|
166
167
|
- BSD-2-Clause
|
167
168
|
metadata: {}
|
168
|
-
post_install_message:
|
169
|
+
post_install_message:
|
169
170
|
rdoc_options: []
|
170
171
|
require_paths:
|
171
172
|
- lib
|
@@ -180,9 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
181
|
- !ruby/object:Gem::Version
|
181
182
|
version: '0'
|
182
183
|
requirements: []
|
183
|
-
|
184
|
-
|
185
|
-
signing_key:
|
184
|
+
rubygems_version: 3.0.3
|
185
|
+
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: Converts UTF-8 Unicode characters to LaTeX escapes
|
188
188
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,19 +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
|
-
- curl -L https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/travis.sh | bash
|
17
|
-
matrix:
|
18
|
-
allow_failures:
|
19
|
-
- rvm: ruby-head
|
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
|