mathml2asciimath 0.0.5 → 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: e7f7afaa1590eb48d4655a7ce0d53f7288a0789f8bf4a58b4357de2a907a07ee
4
- data.tar.gz: e9814c4e2039db04ddf8b9fa3a5ee6bc410e8b3afb8c27a22d0660e183c39f39
3
+ metadata.gz: ed8645a43df0081966f9dfeb7adab874692f88744694c662b756b4422c49ce4d
4
+ data.tar.gz: 2313a305a66a017c5dde637f3d2577530933b0619182a9edbe80328e604d5cf8
5
5
  SHA512:
6
- metadata.gz: 60da48c54eb380efd40c0208c065195d750e87e56064bfb6e97edbfa16484ecb4066d00c3e83f153d2750182e61f1289e295229bd9637a3d3a4ba4519e5a3b90
7
- data.tar.gz: f89c1ececda1b3e8321a4e2a91a77f5d946b07489d0beb5625f06cd9bf91cc3152f510cbf3cbc991a933dc3780d3de375a3fac2db56b93d15e49374166e6f183
6
+ metadata.gz: df23f1866231c211cab0bd7fea974d792f15069b6286fcab8fca7a0121043807e21c41b52aa0fd23bbd6e906f7e67246533b7d66af47a5f4690ddfd93d3cb32d
7
+ data.tar.gz: 074b6b0c7582313f40725e87d7ecb0a6a0866bd4a198eb9ba963b8d4a3d79712dfa9a7537c03bccae53321fc1a0cf083b9573c424329ea5a3208f41425e3bec8
data/.hound.yml ADDED
@@ -0,0 +1,3 @@
1
+ ruby:
2
+ Enabled: true
3
+ config_file: .rubocop.yml
data/.rubocop.yml CHANGED
@@ -3,13 +3,8 @@
3
3
  # All project-specific additions and overrides should be specified in this file.
4
4
 
5
5
  inherit_from:
6
- # Thoughtbot's style guide from: https://github.com/thoughtbot/guides
7
- - ".rubocop.tb.yml"
8
- # Overrides from Ribose
9
- - ".rubocop.ribose.yml"
6
+ - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
10
7
  AllCops:
11
- DisplayCopNames: false
12
- StyleGuideCopsOnly: false
13
- TargetRubyVersion: 2.4
8
+ TargetRubyVersion: 2.3
14
9
  Rails:
15
10
  Enabled: true
data/.travis.yml CHANGED
@@ -1,16 +1,18 @@
1
- dist: trusty
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
2
3
  language: ruby
3
- sudo: false
4
-
5
- before_install:
6
- - gem install bundler -v 1.16.1
7
-
4
+ cache: bundler
5
+ os:
6
+ - linux
7
+ - osx
8
8
  rvm:
9
- - 2.5
10
- - 2.4
11
- - 2.3
12
- - ruby-head
13
-
9
+ - 2.6
10
+ - 2.5
11
+ - 2.4
12
+ - ruby-head
13
+ before_install:
14
+ - gem install bundler -v "~> 2"
15
+ - bundle update
14
16
  matrix:
15
17
  allow_failures:
16
18
  - rvm: ruby-head
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mathml2asciimath (0.0.5)
4
+ mathml2asciimath (0.0.6)
5
5
  htmlentities (~> 4.3.4)
6
- nokogiri
6
+ nokogiri (>= 1.10.4)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -12,10 +12,10 @@ GEM
12
12
  byebug (9.1.0)
13
13
  coderay (1.1.2)
14
14
  diff-lcs (1.3)
15
- docile (1.3.1)
16
- ffi (1.9.25)
15
+ docile (1.3.2)
16
+ ffi (1.11.1)
17
17
  formatador (0.2.5)
18
- guard (2.14.2)
18
+ guard (2.15.0)
19
19
  formatador (>= 0.2.4)
20
20
  listen (>= 2.7, < 4.0)
21
21
  lumberjack (>= 1.0.12, < 2.0)
@@ -30,73 +30,71 @@ GEM
30
30
  guard-compat (~> 1.1)
31
31
  rspec (>= 2.99.0, < 4.0)
32
32
  htmlentities (4.3.4)
33
- jaro_winkler (1.5.1)
34
- json (2.1.0)
33
+ json (2.2.0)
35
34
  listen (3.1.5)
36
35
  rb-fsevent (~> 0.9, >= 0.9.4)
37
36
  rb-inotify (~> 0.9, >= 0.9.7)
38
37
  ruby_dep (~> 1.2)
39
38
  lumberjack (1.0.13)
40
- method_source (0.9.1)
41
- mini_portile2 (2.3.0)
39
+ method_source (0.9.2)
40
+ mini_portile2 (2.4.0)
42
41
  nenv (0.3.0)
43
- nokogiri (1.8.5)
44
- mini_portile2 (~> 2.3.0)
45
- notiffany (0.1.1)
42
+ nokogiri (1.10.4)
43
+ mini_portile2 (~> 2.4.0)
44
+ notiffany (0.1.3)
46
45
  nenv (~> 0.1)
47
46
  shellany (~> 0.0)
48
- parallel (1.12.1)
49
- parser (2.5.3.0)
47
+ parallel (1.17.0)
48
+ parser (2.6.3.0)
50
49
  ast (~> 2.4.0)
51
50
  powerpack (0.1.2)
52
- pry (0.12.0)
51
+ pry (0.12.2)
53
52
  coderay (~> 1.1.0)
54
53
  method_source (~> 0.9.0)
55
54
  rainbow (3.0.0)
56
- rake (12.3.1)
55
+ rake (12.3.3)
57
56
  rb-fsevent (0.10.3)
58
- rb-inotify (0.9.10)
59
- ffi (>= 0.5.0, < 2)
57
+ rb-inotify (0.10.0)
58
+ ffi (~> 1.0)
60
59
  rspec (3.8.0)
61
60
  rspec-core (~> 3.8.0)
62
61
  rspec-expectations (~> 3.8.0)
63
62
  rspec-mocks (~> 3.8.0)
64
- rspec-core (3.8.0)
63
+ rspec-core (3.8.2)
65
64
  rspec-support (~> 3.8.0)
66
- rspec-expectations (3.8.2)
65
+ rspec-expectations (3.8.4)
67
66
  diff-lcs (>= 1.2.0, < 2.0)
68
67
  rspec-support (~> 3.8.0)
69
68
  rspec-match_fuzzy (0.1.3)
70
69
  rspec (>= 3.2)
71
- rspec-mocks (3.8.0)
70
+ rspec-mocks (3.8.1)
72
71
  diff-lcs (>= 1.2.0, < 2.0)
73
72
  rspec-support (~> 3.8.0)
74
- rspec-support (3.8.0)
75
- rubocop (0.60.0)
76
- jaro_winkler (~> 1.5.1)
73
+ rspec-support (3.8.2)
74
+ rubocop (0.54.0)
77
75
  parallel (~> 1.10)
78
- parser (>= 2.5, != 2.5.1.1)
76
+ parser (>= 2.5)
79
77
  powerpack (~> 0.1)
80
78
  rainbow (>= 2.2.2, < 4.0)
81
79
  ruby-progressbar (~> 1.7)
82
- unicode-display_width (~> 1.4.0)
83
- ruby-progressbar (1.10.0)
80
+ unicode-display_width (~> 1.0, >= 1.0.1)
81
+ ruby-progressbar (1.10.1)
84
82
  ruby_dep (1.5.0)
85
83
  shellany (0.0.1)
86
- simplecov (0.16.1)
84
+ simplecov (0.17.0)
87
85
  docile (~> 1.1)
88
86
  json (>= 1.8, < 3)
89
87
  simplecov-html (~> 0.10.0)
90
88
  simplecov-html (0.10.2)
91
89
  thor (0.20.3)
92
90
  timecop (0.9.1)
93
- unicode-display_width (1.4.0)
91
+ unicode-display_width (1.6.0)
94
92
 
95
93
  PLATFORMS
96
94
  ruby
97
95
 
98
96
  DEPENDENCIES
99
- bundler (~> 1.15)
97
+ bundler (~> 2.0.1)
100
98
  byebug (~> 9.1)
101
99
  guard (~> 2.14)
102
100
  guard-rspec (~> 4.7)
@@ -104,9 +102,9 @@ DEPENDENCIES
104
102
  rake (~> 12.0)
105
103
  rspec (~> 3.6)
106
104
  rspec-match_fuzzy (~> 0.1.3)
107
- rubocop (~> 0.50)
105
+ rubocop (= 0.54.0)
108
106
  simplecov (~> 0.15)
109
107
  timecop (~> 0.9)
110
108
 
111
109
  BUNDLED WITH
112
- 1.17.1
110
+ 2.0.2
data/README.adoc CHANGED
@@ -1,8 +1,10 @@
1
1
  = mathml2asciimath
2
2
 
3
3
  image:https://img.shields.io/gem/v/mathml2asciimath.svg["Gem Version", link="https://rubygems.org/gems/mathml2asciimath"]
4
- image:https://img.shields.io/travis/riboseinc/mathml2asciimath/master.svg["Build Status", link="https://travis-ci.org/riboseinc/mathml2asciimath"]
5
- image:https://codeclimate.com/github/riboseinc/mathml2asciimath/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/riboseinc/mathml2asciimath"]
4
+ image:https://img.shields.io/travis/metanorma/mathml2asciimath/master.svg["Travis Build Status", link="https://travis-ci.org/metanorma/mathml2asciimath"]
5
+ image:https://ci.appveyor.com/api/projects/status/qvd7fsh8m2aiua4c?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/mathml2asciimath"]
6
+ image:https://codeclimate.com/github/metanorma/mathml2asciimath/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/mathml2asciimath"]
7
+ image:https://ci.appveyor.com/api/projects/status/qvd7fsh8m2aiua4c?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/mathml2asciimath"]
6
8
 
7
9
  Ruby gem to convert MathML into AsciiMath
8
10
 
data/appveyor.yml ADDED
@@ -0,0 +1,37 @@
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
@@ -1,4 +1,4 @@
1
1
  module MathML2AsciiMath
2
- VERSION = "0.0.5".freeze
2
+ VERSION = "0.0.6".freeze
3
3
  end
4
4
 
@@ -17,26 +17,26 @@ Gem::Specification.new do |spec|
17
17
  This gem is in active development.
18
18
  DESCRIPTION
19
19
 
20
- spec.homepage = "https://github.com/riboseinc/mathml2asciimath"
20
+ spec.homepage = "https://github.com/metanorma/mathml2asciimath"
21
21
  spec.license = "BSD-2-Clause"
22
22
 
23
23
  spec.bindir = "bin"
24
24
  spec.require_paths = ["lib"]
25
25
  spec.files = `git ls-files`.split("\n")
26
26
  spec.test_files = `git ls-files -- {spec}/*`.split("\n")
27
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
27
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
28
28
 
29
29
  spec.add_dependency "htmlentities", "~> 4.3.4"
30
- spec.add_dependency "nokogiri"
30
+ spec.add_dependency "nokogiri", ">= 1.10.4"
31
31
 
32
- spec.add_development_dependency "bundler", "~> 1.15"
32
+ spec.add_development_dependency "bundler", "~> 2.0.1"
33
33
  spec.add_development_dependency "byebug", "~> 9.1"
34
34
  spec.add_development_dependency "rspec-match_fuzzy", "~> 0.1.3"
35
35
  spec.add_development_dependency "guard", "~> 2.14"
36
36
  spec.add_development_dependency "guard-rspec", "~> 4.7"
37
37
  spec.add_development_dependency "rake", "~> 12.0"
38
38
  spec.add_development_dependency "rspec", "~> 3.6"
39
- spec.add_development_dependency "rubocop", "~> 0.50"
39
+ spec.add_development_dependency "rubocop", "= 0.54.0"
40
40
  spec.add_development_dependency "simplecov", "~> 0.15"
41
41
  spec.add_development_dependency "timecop", "~> 0.9"
42
42
  end
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.5
4
+ version: 0.0.6
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-11-10 00:00:00.000000000 Z
11
+ date: 2019-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 1.10.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 1.10.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.15'
47
+ version: 2.0.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.15'
54
+ version: 2.0.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: byebug
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: '0.50'
145
+ version: 0.54.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: '0.50'
152
+ version: 0.54.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -188,6 +188,7 @@ executables: []
188
188
  extensions: []
189
189
  extra_rdoc_files: []
190
190
  files:
191
+ - ".hound.yml"
191
192
  - ".rubocop.ribose.yml"
192
193
  - ".rubocop.tb.yml"
193
194
  - ".rubocop.yml"
@@ -197,6 +198,7 @@ files:
197
198
  - LICENSE
198
199
  - README.adoc
199
200
  - Rakefile
201
+ - appveyor.yml
200
202
  - bin/m2a.rb
201
203
  - bin/rspec
202
204
  - lib/mathml2asciimath.rb
@@ -205,7 +207,7 @@ files:
205
207
  - mathml2asciimath.gemspec
206
208
  - spec/mathml_spec.rb
207
209
  - spec/spec_helper.rb
208
- homepage: https://github.com/riboseinc/mathml2asciimath
210
+ homepage: https://github.com/metanorma/mathml2asciimath
209
211
  licenses:
210
212
  - BSD-2-Clause
211
213
  metadata: {}
@@ -217,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
219
  requirements:
218
220
  - - ">="
219
221
  - !ruby/object:Gem::Version
220
- version: 2.3.0
222
+ version: 2.4.0
221
223
  required_rubygems_version: !ruby/object:Gem::Requirement
222
224
  requirements:
223
225
  - - ">="