unicode2latex 0.0.1 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +43 -0
- data/.gitignore +1 -0
- data/.hound.yml +3 -1
- data/.rubocop.yml +7 -7
- data/README.adoc +5 -1
- data/lib/unicode2latex/unicode2latex.rb +1 -2
- data/lib/unicode2latex/version.rb +1 -1
- data/unicode2latex.gemspec +3 -3
- metadata +18 -19
- data/.travis.yml +0 -21
- data/Gemfile.lock +0 -105
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e88866e40be989deb79e676183e6e6ca802b5429a26ef010515662620a2df24a
|
4
|
+
data.tar.gz: 8e050f20552b753d3dbb61818b2fc3089875c11991fc90bf72ba7f7065b7221e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8adf0a32ed55c270549c23604d9c267708fe2ab885dc9152ee73450b6c0b11647bde9d67c2a88df00148b7aec44650f603395fbd80c07c3aa47f39b1e0be1a7e
|
7
|
+
data.tar.gz: 49423c80043411278198bb981646e7f969c8121767779b5c6e4963b80b36c2bbe5c99371d621a92f0e5c8d38e111c96603b80f0f0a00089bb786a1b21a5d9f48
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
|
+
name: rake
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches: [ master, main ]
|
8
|
+
tags: [ v* ]
|
9
|
+
pull_request:
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
rake:
|
13
|
+
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
14
|
+
runs-on: ${{ matrix.os }}
|
15
|
+
continue-on-error: ${{ matrix.experimental }}
|
16
|
+
strategy:
|
17
|
+
fail-fast: false
|
18
|
+
matrix:
|
19
|
+
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
|
20
|
+
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
|
+
experimental: [ false ]
|
22
|
+
steps:
|
23
|
+
- uses: actions/checkout@master
|
24
|
+
|
25
|
+
- uses: ruby/setup-ruby@v1
|
26
|
+
with:
|
27
|
+
ruby-version: ${{ matrix.ruby }}
|
28
|
+
bundler-cache: true
|
29
|
+
|
30
|
+
- uses: metanorma/metanorma-build-scripts/plantuml-setup-action@master
|
31
|
+
|
32
|
+
- run: bundle exec rake
|
33
|
+
|
34
|
+
tests-passed:
|
35
|
+
needs: rake
|
36
|
+
runs-on: ubuntu-latest
|
37
|
+
steps:
|
38
|
+
- uses: peter-evans/repository-dispatch@v1
|
39
|
+
with:
|
40
|
+
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
41
|
+
repository: ${{ github.repository }}
|
42
|
+
event-type: tests-passed
|
43
|
+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.rubocop-https--*
|
data/.hound.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
#
|
2
|
-
# https://github.com/
|
3
|
-
# All project-specific additions and overrides should be specified in this file.
|
4
|
-
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
5
3
|
inherit_from:
|
6
4
|
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
|
5
|
+
|
6
|
+
# local repo-specific modifications
|
7
|
+
# ...
|
8
|
+
|
7
9
|
AllCops:
|
8
|
-
TargetRubyVersion: 2.
|
9
|
-
Rails:
|
10
|
-
Enabled: true
|
10
|
+
TargetRubyVersion: 2.5
|
data/README.adoc
CHANGED
@@ -1,8 +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://
|
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"]
|
5
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"]
|
6
10
|
|
7
11
|
Gem for translating UTF8 Unicode characters to LaTeX escapes
|
8
12
|
|
data/unicode2latex.gemspec
CHANGED
@@ -22,15 +22,15 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
spec.files = `git ls-files`.split("\n")
|
24
24
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
25
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
25
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.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"
|
31
31
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
32
32
|
spec.add_development_dependency "rake", "~> 12.0"
|
33
33
|
spec.add_development_dependency "rspec", "~> 3.6"
|
34
|
-
spec.add_development_dependency "rubocop", "
|
34
|
+
spec.add_development_dependency "rubocop", "~> 1.5.2"
|
35
35
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
36
36
|
end
|
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.5
|
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: 2021-08-02 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
|
@@ -112,16 +112,16 @@ dependencies:
|
|
112
112
|
name: rubocop
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 1.5.2
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 1.5.2
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: simplecov
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,19 +138,19 @@ dependencies:
|
|
138
138
|
version: '0.15'
|
139
139
|
description: 'Converts UTF-8 Unicode characters to LaTeX escapes
|
140
140
|
|
141
|
-
'
|
141
|
+
'
|
142
142
|
email:
|
143
143
|
- open.source@ribose.com
|
144
144
|
executables: []
|
145
145
|
extensions: []
|
146
146
|
extra_rdoc_files: []
|
147
147
|
files:
|
148
|
+
- ".github/workflows/rake.yml"
|
149
|
+
- ".gitignore"
|
148
150
|
- ".hound.yml"
|
149
151
|
- ".rubocop.yml"
|
150
|
-
- ".travis.yml"
|
151
152
|
- CODE_OF_CONDUCT.md
|
152
153
|
- Gemfile
|
153
|
-
- Gemfile.lock
|
154
154
|
- LICENSE
|
155
155
|
- README.adoc
|
156
156
|
- Rakefile
|
@@ -164,7 +164,7 @@ homepage: https://github.com/metanorma/unicode2latex
|
|
164
164
|
licenses:
|
165
165
|
- BSD-2-Clause
|
166
166
|
metadata: {}
|
167
|
-
post_install_message:
|
167
|
+
post_install_message:
|
168
168
|
rdoc_options: []
|
169
169
|
require_paths:
|
170
170
|
- lib
|
@@ -172,16 +172,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
172
|
requirements:
|
173
173
|
- - ">="
|
174
174
|
- !ruby/object:Gem::Version
|
175
|
-
version: 2.
|
175
|
+
version: 2.5.0
|
176
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
|
183
|
-
|
184
|
-
signing_key:
|
182
|
+
rubygems_version: 3.1.4
|
183
|
+
signing_key:
|
185
184
|
specification_version: 4
|
186
185
|
summary: Converts UTF-8 Unicode characters to LaTeX escapes
|
187
186
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
dist: trusty
|
2
|
-
sudo: false
|
3
|
-
language: ruby
|
4
|
-
rvm:
|
5
|
-
- 2.5
|
6
|
-
- 2.4
|
7
|
-
- 2.3
|
8
|
-
- ruby-head
|
9
|
-
before_install:
|
10
|
-
- gem install bundler -v 1.16.1
|
11
|
-
- unset _JAVA_OPTIONS
|
12
|
-
- wget "http://downloads.sourceforge.net/project/plantuml/plantuml.jar?r=&ts=1424308684&use_mirror=jaist" -O plantuml.jar
|
13
|
-
- sudo mkdir -p /opt/plantuml
|
14
|
-
- sudo cp plantuml.jar /opt/plantuml
|
15
|
-
- echo "#! /bin/sh" > plantuml.sh
|
16
|
-
- echo 'exec java -jar /opt/plantuml/plantuml.jar "$@"' >> plantuml.sh
|
17
|
-
- sudo install -m 755 -D plantuml.sh /usr/bin/plantuml
|
18
|
-
- plantuml -version
|
19
|
-
matrix:
|
20
|
-
allow_failures:
|
21
|
-
- rvm: ruby-head
|
data/Gemfile.lock
DELETED
@@ -1,105 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
unicode2latex (0.0.1)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
ast (2.4.0)
|
10
|
-
byebug (11.0.0)
|
11
|
-
coderay (1.1.2)
|
12
|
-
diff-lcs (1.3)
|
13
|
-
docile (1.3.1)
|
14
|
-
equivalent-xml (0.6.0)
|
15
|
-
nokogiri (>= 1.4.3)
|
16
|
-
ffi (1.10.0)
|
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
|
-
json (2.2.0)
|
33
|
-
listen (3.1.5)
|
34
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
35
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
36
|
-
ruby_dep (~> 1.2)
|
37
|
-
lumberjack (1.0.13)
|
38
|
-
method_source (0.9.2)
|
39
|
-
mini_portile2 (2.4.0)
|
40
|
-
nenv (0.3.0)
|
41
|
-
nokogiri (1.10.1)
|
42
|
-
mini_portile2 (~> 2.4.0)
|
43
|
-
notiffany (0.1.1)
|
44
|
-
nenv (~> 0.1)
|
45
|
-
shellany (~> 0.0)
|
46
|
-
parallel (1.14.0)
|
47
|
-
parser (2.6.0.0)
|
48
|
-
ast (~> 2.4.0)
|
49
|
-
powerpack (0.1.2)
|
50
|
-
pry (0.12.2)
|
51
|
-
coderay (~> 1.1.0)
|
52
|
-
method_source (~> 0.9.0)
|
53
|
-
rainbow (3.0.0)
|
54
|
-
rake (12.3.2)
|
55
|
-
rb-fsevent (0.10.3)
|
56
|
-
rb-inotify (0.10.0)
|
57
|
-
ffi (~> 1.0)
|
58
|
-
rspec (3.8.0)
|
59
|
-
rspec-core (~> 3.8.0)
|
60
|
-
rspec-expectations (~> 3.8.0)
|
61
|
-
rspec-mocks (~> 3.8.0)
|
62
|
-
rspec-core (3.8.0)
|
63
|
-
rspec-support (~> 3.8.0)
|
64
|
-
rspec-expectations (3.8.2)
|
65
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
-
rspec-support (~> 3.8.0)
|
67
|
-
rspec-mocks (3.8.0)
|
68
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
-
rspec-support (~> 3.8.0)
|
70
|
-
rspec-support (3.8.0)
|
71
|
-
rubocop (0.54.0)
|
72
|
-
parallel (~> 1.10)
|
73
|
-
parser (>= 2.5)
|
74
|
-
powerpack (~> 0.1)
|
75
|
-
rainbow (>= 2.2.2, < 4.0)
|
76
|
-
ruby-progressbar (~> 1.7)
|
77
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
78
|
-
ruby-progressbar (1.10.0)
|
79
|
-
ruby_dep (1.5.0)
|
80
|
-
shellany (0.0.1)
|
81
|
-
simplecov (0.16.1)
|
82
|
-
docile (~> 1.1)
|
83
|
-
json (>= 1.8, < 3)
|
84
|
-
simplecov-html (~> 0.10.0)
|
85
|
-
simplecov-html (0.10.2)
|
86
|
-
thor (0.20.3)
|
87
|
-
unicode-display_width (1.4.1)
|
88
|
-
|
89
|
-
PLATFORMS
|
90
|
-
ruby
|
91
|
-
|
92
|
-
DEPENDENCIES
|
93
|
-
bundler (~> 2.0.1)
|
94
|
-
byebug
|
95
|
-
equivalent-xml (~> 0.6)
|
96
|
-
guard (~> 2.14)
|
97
|
-
guard-rspec (~> 4.7)
|
98
|
-
rake (~> 12.0)
|
99
|
-
rspec (~> 3.6)
|
100
|
-
rubocop (= 0.54.0)
|
101
|
-
simplecov (~> 0.15)
|
102
|
-
unicode2latex!
|
103
|
-
|
104
|
-
BUNDLED WITH
|
105
|
-
2.0.1
|