chupa-text-decomposer-webkit 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/chupa-text-decomposer-webkit-screenshoter +2 -2
- data/chupa-text-decomposer-webkit.gemspec +1 -1
- data/doc/text/news.md +6 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1e38649e31b6142b1b907ecdc15fc109d66293c3408b55dca5fa5596d77a38a0
|
4
|
+
data.tar.gz: 4a85f2e3a9a21c280469c53bfb1f54f70ca1c80b7d35eb2093d524f6ab64a0f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20637409e930276464defaddf3a1d7018bc67b3c524509322c4b599dda0f217a7c0a8a2053d105520c47e9a1bd8e949870dbc381d598b12103dc1b05bdb46fdc
|
7
|
+
data.tar.gz: 9f03f9ed5efb9d242d4770a884afe7f85b1547e72f6ebb1703cae45bc4fc544c5b00f0126cc5558aaaf8023ede3e829b86773e2e6c0b73ae3149d633cf484f4d
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2017 Kouhei
|
3
|
+
# Copyright (C) 2017-2021 Sutou Kouhei <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -31,7 +31,7 @@ end
|
|
31
31
|
|
32
32
|
path, uri, output_path, width, height = ARGV
|
33
33
|
screenshoter = ChupaTextDecomposerWebKit::Screenshoter.new(logger)
|
34
|
-
File.open(path) do |input|
|
34
|
+
File.open(path, encoding: "UTF-8") do |input|
|
35
35
|
screenshoter.run(input.read,
|
36
36
|
uri,
|
37
37
|
output_path,
|
@@ -22,7 +22,7 @@ end
|
|
22
22
|
|
23
23
|
Gem::Specification.new do |spec|
|
24
24
|
spec.name = "chupa-text-decomposer-webkit"
|
25
|
-
spec.version = "1.0.
|
25
|
+
spec.version = "1.0.7"
|
26
26
|
spec.homepage = "https://github.com/ranguba/chupa-text-decomposer-webkit"
|
27
27
|
spec.authors = ["Kouhei Sutou"]
|
28
28
|
spec.email = ["kou@clear-code.com"]
|
data/doc/text/news.md
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chupa-text-decomposer-webkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chupa-text
|
@@ -151,8 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
|
-
|
155
|
-
rubygems_version: 2.5.2
|
154
|
+
rubygems_version: 3.3.0.dev
|
156
155
|
signing_key:
|
157
156
|
specification_version: 4
|
158
157
|
summary: This is a ChupaText decomposer plugin for to extract text and meta-data from
|