html2doc 0.8.13 → 0.8.14
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/macos.yml +27 -0
- data/.github/workflows/ubuntu.yml +27 -0
- data/.github/workflows/windows.yml +30 -0
- data/README.adoc +9 -2
- data/lib/html2doc/version.rb +1 -1
- metadata +5 -5
- data/.travis.yml +0 -18
- data/Gemfile.lock +0 -125
- 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: c9f44fdf3b27550ae4e9216dd7c6a4a0a6a0949b522357c6165fcb31518d15d4
|
|
4
|
+
data.tar.gz: b011cfdd0c80b0de7e1154a122c92bada686604fa73a656c3bdcd0e354979e8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac386659167fac76db54541b9e32b82bdd210ea60e2ecd3a035becf7b5a8b57d5ef25a4d314071af921ce8d1416e19c549625ff2d33dc7681f6e5806df4c00c3
|
|
7
|
+
data.tar.gz: 8d67c6e825681cf249f5b43f7a0641d27b8ec433e3deb058207931568b0aeb565ae446e1fc36523b2c325d80967e7b2dfec5406b18ba2d6f5ceeeab37f9071fa
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Auto-generated !!! Do not edit it manually
|
|
2
|
+
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
|
3
|
+
name: macos
|
|
4
|
+
|
|
5
|
+
on: [push]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
test-macos:
|
|
9
|
+
name: Test on Ruby ${{ matrix.ruby }} macOS
|
|
10
|
+
runs-on: macos-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@master
|
|
16
|
+
- name: Use Ruby
|
|
17
|
+
uses: actions/setup-ruby@v1
|
|
18
|
+
with:
|
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
|
20
|
+
architecture: 'x64'
|
|
21
|
+
- name: Update gems
|
|
22
|
+
run: |
|
|
23
|
+
sudo gem install bundler -v "~> 2" --force
|
|
24
|
+
bundle install --jobs 4 --retry 3
|
|
25
|
+
- name: Run specs
|
|
26
|
+
run: |
|
|
27
|
+
bundle exec rake
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Auto-generated !!! Do not edit it manually
|
|
2
|
+
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
|
3
|
+
name: ubuntu
|
|
4
|
+
|
|
5
|
+
on: [push]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
test-linux:
|
|
9
|
+
name: Test on Ruby ${{ matrix.ruby }} Ubuntu
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@master
|
|
16
|
+
- name: Use Ruby
|
|
17
|
+
uses: actions/setup-ruby@v1
|
|
18
|
+
with:
|
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
|
20
|
+
architecture: 'x64'
|
|
21
|
+
- name: Update gems
|
|
22
|
+
run: |
|
|
23
|
+
gem install bundler -v "~> 2"
|
|
24
|
+
bundle install --jobs 4 --retry 3
|
|
25
|
+
- name: Run specs
|
|
26
|
+
run: |
|
|
27
|
+
bundle exec rake
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Auto-generated !!! Do not edit it manually
|
|
2
|
+
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
|
3
|
+
name: windows
|
|
4
|
+
|
|
5
|
+
on: [push]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
test-windows:
|
|
9
|
+
name: Test on Ruby ${{ matrix.ruby }} Windows
|
|
10
|
+
runs-on: windows-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@master
|
|
16
|
+
- name: Use Ruby
|
|
17
|
+
uses: actions/setup-ruby@v1
|
|
18
|
+
with:
|
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
|
20
|
+
architecture: 'x64'
|
|
21
|
+
- name: Update gems
|
|
22
|
+
shell: pwsh
|
|
23
|
+
run: |
|
|
24
|
+
gem install bundler -v "~> 2"
|
|
25
|
+
bundle config --local path vendor/bundle
|
|
26
|
+
bundle update
|
|
27
|
+
bundle install --jobs 4 --retry 3
|
|
28
|
+
- name: Run specs
|
|
29
|
+
run: |
|
|
30
|
+
bundle exec rake
|
data/README.adoc
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
= Html2Doc
|
|
2
2
|
|
|
3
|
+
https://github.com/metanorma/html2doc/workflows/main/badge.svg
|
|
4
|
+
|
|
3
5
|
image:https://img.shields.io/gem/v/html2doc.svg["Gem Version", link="https://rubygems.org/gems/html2doc"]
|
|
4
|
-
image:https://
|
|
5
|
-
image:https://
|
|
6
|
+
image:https://github.com/metanorma/html2doc/workflows/ubuntu/badge.svg["Build Status", link="https://github.com/metanorma/html2doc/actions?workflow=ubuntu"]
|
|
7
|
+
image:https://github.com/metanorma/html2doc/workflows/macos/badge.svg["Build Status", link="https://github.com/metanorma/html2doc/actions?workflow=macos"]
|
|
8
|
+
image:https://github.com/metanorma/html2doc/workflows/windows/badge.svg["Build Status", link="https://github.com/metanorma/html2doc/actions?workflow=windows"]
|
|
6
9
|
image:https://codeclimate.com/github/metanorma/html2doc/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/html2doc"]
|
|
7
10
|
|
|
11
|
+
////
|
|
12
|
+
image:https://ci.appveyor.com/api/projects/status/reqae7y99cfd0yod?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/html2doc"]
|
|
13
|
+
////
|
|
14
|
+
|
|
8
15
|
== Purpose
|
|
9
16
|
|
|
10
17
|
Gem to convert an HTML document into a Word document (.doc) format. This is intended for automated generation of Microsoft Word documents, given HTML documents, which are much more readily crafted.
|
data/lib/html2doc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html2doc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: htmlentities
|
|
@@ -273,6 +273,9 @@ extensions: []
|
|
|
273
273
|
extra_rdoc_files: []
|
|
274
274
|
files:
|
|
275
275
|
- ".gitattributes"
|
|
276
|
+
- ".github/workflows/macos.yml"
|
|
277
|
+
- ".github/workflows/ubuntu.yml"
|
|
278
|
+
- ".github/workflows/windows.yml"
|
|
276
279
|
- ".gitignore"
|
|
277
280
|
- ".hound.yml"
|
|
278
281
|
- ".oss-guides.rubocop.yml"
|
|
@@ -280,14 +283,11 @@ files:
|
|
|
280
283
|
- ".rubocop.ribose.yml"
|
|
281
284
|
- ".rubocop.tb.yml"
|
|
282
285
|
- ".rubocop.yml"
|
|
283
|
-
- ".travis.yml"
|
|
284
286
|
- CODE_OF_CONDUCT.md
|
|
285
287
|
- Gemfile
|
|
286
|
-
- Gemfile.lock
|
|
287
288
|
- LICENSE
|
|
288
289
|
- README.adoc
|
|
289
290
|
- Rakefile
|
|
290
|
-
- appveyor.yml
|
|
291
291
|
- bin/console
|
|
292
292
|
- bin/html2doc
|
|
293
293
|
- bin/rspec
|
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,125 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
html2doc (0.8.13)
|
|
5
|
-
asciimath (~> 1.0.7)
|
|
6
|
-
htmlentities (~> 4.3.4)
|
|
7
|
-
image_size
|
|
8
|
-
mime-types
|
|
9
|
-
nokogiri (>= 1.10.4)
|
|
10
|
-
thread_safe
|
|
11
|
-
uuidtools
|
|
12
|
-
|
|
13
|
-
GEM
|
|
14
|
-
remote: https://rubygems.org/
|
|
15
|
-
specs:
|
|
16
|
-
asciimath (1.0.8)
|
|
17
|
-
ast (2.4.0)
|
|
18
|
-
byebug (9.1.0)
|
|
19
|
-
coderay (1.1.2)
|
|
20
|
-
diff-lcs (1.3)
|
|
21
|
-
docile (1.3.2)
|
|
22
|
-
equivalent-xml (0.6.0)
|
|
23
|
-
nokogiri (>= 1.4.3)
|
|
24
|
-
ffi (1.11.1)
|
|
25
|
-
formatador (0.2.5)
|
|
26
|
-
guard (2.15.1)
|
|
27
|
-
formatador (>= 0.2.4)
|
|
28
|
-
listen (>= 2.7, < 4.0)
|
|
29
|
-
lumberjack (>= 1.0.12, < 2.0)
|
|
30
|
-
nenv (~> 0.1)
|
|
31
|
-
notiffany (~> 0.0)
|
|
32
|
-
pry (>= 0.9.12)
|
|
33
|
-
shellany (~> 0.0)
|
|
34
|
-
thor (>= 0.18.1)
|
|
35
|
-
guard-compat (1.2.1)
|
|
36
|
-
guard-rspec (4.7.3)
|
|
37
|
-
guard (~> 2.1)
|
|
38
|
-
guard-compat (~> 1.1)
|
|
39
|
-
rspec (>= 2.99.0, < 4.0)
|
|
40
|
-
htmlentities (4.3.4)
|
|
41
|
-
image_size (2.0.2)
|
|
42
|
-
json (2.2.0)
|
|
43
|
-
listen (3.1.5)
|
|
44
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
45
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
|
46
|
-
ruby_dep (~> 1.2)
|
|
47
|
-
lumberjack (1.0.13)
|
|
48
|
-
method_source (0.9.2)
|
|
49
|
-
mime-types (3.3)
|
|
50
|
-
mime-types-data (~> 3.2015)
|
|
51
|
-
mime-types-data (3.2019.0904)
|
|
52
|
-
mini_portile2 (2.4.0)
|
|
53
|
-
nenv (0.3.0)
|
|
54
|
-
nokogiri (1.10.4)
|
|
55
|
-
mini_portile2 (~> 2.4.0)
|
|
56
|
-
notiffany (0.1.3)
|
|
57
|
-
nenv (~> 0.1)
|
|
58
|
-
shellany (~> 0.0)
|
|
59
|
-
parallel (1.17.0)
|
|
60
|
-
parser (2.6.4.1)
|
|
61
|
-
ast (~> 2.4.0)
|
|
62
|
-
powerpack (0.1.2)
|
|
63
|
-
pry (0.12.2)
|
|
64
|
-
coderay (~> 1.1.0)
|
|
65
|
-
method_source (~> 0.9.0)
|
|
66
|
-
rainbow (3.0.0)
|
|
67
|
-
rake (12.3.3)
|
|
68
|
-
rb-fsevent (0.10.3)
|
|
69
|
-
rb-inotify (0.10.0)
|
|
70
|
-
ffi (~> 1.0)
|
|
71
|
-
rspec (3.8.0)
|
|
72
|
-
rspec-core (~> 3.8.0)
|
|
73
|
-
rspec-expectations (~> 3.8.0)
|
|
74
|
-
rspec-mocks (~> 3.8.0)
|
|
75
|
-
rspec-core (3.8.2)
|
|
76
|
-
rspec-support (~> 3.8.0)
|
|
77
|
-
rspec-expectations (3.8.4)
|
|
78
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
79
|
-
rspec-support (~> 3.8.0)
|
|
80
|
-
rspec-match_fuzzy (0.1.3)
|
|
81
|
-
rspec (>= 3.2)
|
|
82
|
-
rspec-mocks (3.8.1)
|
|
83
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
84
|
-
rspec-support (~> 3.8.0)
|
|
85
|
-
rspec-support (3.8.2)
|
|
86
|
-
rubocop (0.54.0)
|
|
87
|
-
parallel (~> 1.10)
|
|
88
|
-
parser (>= 2.5)
|
|
89
|
-
powerpack (~> 0.1)
|
|
90
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
91
|
-
ruby-progressbar (~> 1.7)
|
|
92
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
|
93
|
-
ruby-progressbar (1.10.1)
|
|
94
|
-
ruby_dep (1.5.0)
|
|
95
|
-
shellany (0.0.1)
|
|
96
|
-
simplecov (0.17.1)
|
|
97
|
-
docile (~> 1.1)
|
|
98
|
-
json (>= 1.8, < 3)
|
|
99
|
-
simplecov-html (~> 0.10.0)
|
|
100
|
-
simplecov-html (0.10.2)
|
|
101
|
-
thor (0.20.3)
|
|
102
|
-
thread_safe (0.3.6)
|
|
103
|
-
timecop (0.9.1)
|
|
104
|
-
unicode-display_width (1.6.0)
|
|
105
|
-
uuidtools (2.1.5)
|
|
106
|
-
|
|
107
|
-
PLATFORMS
|
|
108
|
-
ruby
|
|
109
|
-
|
|
110
|
-
DEPENDENCIES
|
|
111
|
-
bundler (~> 2.0.1)
|
|
112
|
-
byebug (~> 9.1)
|
|
113
|
-
equivalent-xml (~> 0.6)
|
|
114
|
-
guard (~> 2.14)
|
|
115
|
-
guard-rspec (~> 4.7)
|
|
116
|
-
html2doc!
|
|
117
|
-
rake (~> 12.0)
|
|
118
|
-
rspec
|
|
119
|
-
rspec-match_fuzzy (~> 0.1.3)
|
|
120
|
-
rubocop (= 0.54.0)
|
|
121
|
-
simplecov (~> 0.15)
|
|
122
|
-
timecop (~> 0.9)
|
|
123
|
-
|
|
124
|
-
BUNDLED WITH
|
|
125
|
-
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
|