unicode2latex 0.0.2 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e2d087ed71da8bf7957b5c472f3334ab2b898054c48887fb6226e4d7b80c9dd
4
- data.tar.gz: cd0004a576b7a4ca2c194c258582cd8af569072b8569ca4ed4b5781a3d5198fa
3
+ metadata.gz: cfc9893c0b1e020909f5ee93d1ae6224b5d5895edf18699dfd73f859f1d4f227
4
+ data.tar.gz: 462ea2438007eeeb8f0d1a5f25f8d81b3f5729110d20ab96083095c13984ff24
5
5
  SHA512:
6
- metadata.gz: 35fa3121f1746a939d8150e788f3320ab62a8a3594cbe6e61b890bb08a94444e0a1f14063f3982cdeba66a35061391d610eefda2444c7bc25f7776203c384182
7
- data.tar.gz: 95328b5f8391204a185607c0018e4c8cdaa9d231093d3aefdb26d2494bf8fbceadd2fe5912881b5e52b22284f3c025691a6c08db4b910984d115c2587e39ed4c
6
+ metadata.gz: d75d0f8855946df657137b9e8d2eaeb8dd3d9b8304f4b165f161608ff099dddfd9efec789c7ad2567771c3469b3c113821b5bfc7058a56ff68e8d86641d5f212
7
+ data.tar.gz: 641ab78234c21e31505569309d114d87743f7712369eab870b735df7ef576cf444ee277d9278298417dded5b1912c9f3665a3b6d36ac205c4803b02bee18597a
@@ -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
@@ -1,3 +1,5 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
1
3
  ruby:
2
- Enabled: true
4
+ enabled: true
3
5
  config_file: .rubocop.yml
data/.rubocop.yml CHANGED
@@ -1,10 +1,10 @@
1
- # This project follows the Ribose OSS style guide.
2
- # https://github.com/riboseinc/oss-guides
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.3
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://img.shields.io/travis/metanorma/unicode2latex/master.svg["Build Status", link="https://travis-ci.com/metanorma/unicode2latex"]
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
 
@@ -1,4 +1,4 @@
1
1
  module Unicode2LaTeX
2
- VERSION = "0.0.2".freeze
2
+ VERSION = "0.0.6".freeze
3
3
  end
4
4
 
@@ -1,6 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
3
+ lib = File.expand_path("lib", __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require "unicode2latex/version"
6
6
 
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = "Converts UTF-8 Unicode characters to LaTeX escapes"
14
14
  spec.description = <<~DESCRIPTION
15
- Converts UTF-8 Unicode characters to LaTeX escapes
15
+ Converts UTF-8 Unicode characters to LaTeX escapes
16
16
  DESCRIPTION
17
17
 
18
18
  spec.homepage = "https://github.com/metanorma/unicode2latex"
@@ -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.3.0")
25
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
26
26
 
27
- spec.add_development_dependency "bundler", "~> 2.0.1"
28
- spec.add_development_dependency "byebug"
27
+ spec.add_development_dependency "bundler"
28
+ spec.add_development_dependency "debug"
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", "= 0.54.0"
34
+ spec.add_development_dependency "rubocop", "~> 1.5.2"
35
35
  spec.add_development_dependency "simplecov", "~> 0.15"
36
36
  end
metadata CHANGED
@@ -1,31 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode2latex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.6
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: 2019-03-17 00:00:00.000000000 Z
11
+ date: 2021-11-29 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: 2.0.1
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: 2.0.1
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: byebug
28
+ name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -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: 0.54.0
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: 0.54.0
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.3.0
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
- rubyforge_project:
183
- rubygems_version: 2.7.6
184
- signing_key:
182
+ rubygems_version: 3.2.22
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,22 +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
22
-
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