html2doc 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +66 -0
- data/lib/html2doc/base.rb +0 -3
- data/lib/html2doc/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecec67dface960721c0b292b79b8785270de805c
|
4
|
+
data.tar.gz: 590957f6fe53730432df6164a939060e4670431b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 799b97564089aea3b91b4507a175148e33ad5b35112ab24c4c7f92cfc1c8d72e736696df9f8342824f2ef0a0dc06676fa15970fb2222d41e87168b0d4e46184d
|
7
|
+
data.tar.gz: bb8118524ab8026ac8750b508cf6eed3f2a5bb53a1858b31d84619103417a704b8f5aa79679117f4a281fdbca75ecb0e3cc954dffb67b6b3987dba1da20d10d8
|
data/LICENSE
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
This software is dual-licensed:
|
2
|
+
|
3
|
+
1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
|
4
|
+
Unported License http://creativecommons.org/licenses/by-sa/3.0/
|
5
|
+
|
6
|
+
2. http://www.opensource.org/licenses/BSD-2-Clause
|
7
|
+
|
8
|
+
All rights reserved.
|
9
|
+
|
10
|
+
Redistribution and use in source and binary forms, with or without
|
11
|
+
modification, are permitted provided that the following conditions are met:
|
12
|
+
|
13
|
+
* Redistributions of source code must retain the above copyright notice, this
|
14
|
+
list of conditions and the following disclaimer.
|
15
|
+
|
16
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
17
|
+
this list of conditions and the following disclaimer in the documentation
|
18
|
+
and/or other materials provided with the distribution.
|
19
|
+
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
LICENSE FOR STYLESHEETS DERIVED FROM https://github.com/TEIC/Stylesheets
|
35
|
+
|
36
|
+
This software is dual-licensed:
|
37
|
+
|
38
|
+
1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
|
39
|
+
Unported License http://creativecommons.org/licenses/by-sa/3.0/
|
40
|
+
|
41
|
+
2. http://www.opensource.org/licenses/BSD-2-Clause
|
42
|
+
|
43
|
+
All rights reserved.
|
44
|
+
|
45
|
+
Redistribution and use in source and binary forms, with or without
|
46
|
+
modification, are permitted provided that the following conditions are
|
47
|
+
met:
|
48
|
+
|
49
|
+
* Redistributions of source code must retain the above copyright
|
50
|
+
notice, this list of conditions and the following disclaimer.
|
51
|
+
|
52
|
+
* Redistributions in binary form must reproduce the above copyright
|
53
|
+
notice, this list of conditions and the following disclaimer in the
|
54
|
+
documentation and/or other materials provided with the distribution.
|
55
|
+
|
56
|
+
This software is provided by the copyright holders and contributors
|
57
|
+
"as is" and any express or implied warranties, including, but not
|
58
|
+
limited to, the implied warranties of merchantability and fitness for
|
59
|
+
a particular purpose are disclaimed. In no event shall the copyright
|
60
|
+
holder or contributors be liable for any direct, indirect, incidental,
|
61
|
+
special, exemplary, or consequential damages (including, but not
|
62
|
+
limited to, procurement of substitute goods or services; loss of use,
|
63
|
+
data, or profits; or business interruption) however caused and on any
|
64
|
+
theory of liability, whether in contract, strict liability, or tort
|
65
|
+
(including negligence or otherwise) arising in any way out of the use
|
66
|
+
of this software, even if advised of the possibility of such damage.
|
data/lib/html2doc/base.rb
CHANGED
@@ -6,9 +6,6 @@ require "xml/xslt"
|
|
6
6
|
require "pp"
|
7
7
|
|
8
8
|
module Html2Doc
|
9
|
-
@xslt = XML::XSLT.new
|
10
|
-
@xslt.xsl = File.read(File.join(File.dirname(__FILE__), "mathml2omml.xsl"))
|
11
|
-
|
12
9
|
def self.process(result, hash)
|
13
10
|
hash[:dir1] = create_dir(hash[:filename], hash[:dir])
|
14
11
|
result = process_html(result, hash)
|
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.6.
|
4
|
+
version: 0.6.9
|
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-03-
|
11
|
+
date: 2018-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -297,6 +297,7 @@ files:
|
|
297
297
|
- ".travis.yml"
|
298
298
|
- CODE_OF_CONDUCT.md
|
299
299
|
- Gemfile
|
300
|
+
- LICENSE
|
300
301
|
- README.adoc
|
301
302
|
- Rakefile
|
302
303
|
- bin/console
|