chupa-text-decomposer-webkit 1.0.6 → 1.0.8
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 +2 -2
- data/doc/text/news.md +12 -0
- data/lib/chupa-text/decomposers/webkit.rb +2 -2
- data/test/run-test.rb +2 -4
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9a80a75d06a5d31dd8796d86342dbb98d5f777e03a34399518557a88d1263fb1
|
4
|
+
data.tar.gz: 4306d9f7f735350776ad8514b97f28b0abe399219fbded43437595e7e9461676
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f4b876719078f94d845c142050bfcedf15a3ec64da7dd4369db118721ba46ed24ad11210f80f28de1ecdb805ca5863f94c2ee30fb5ce60157c9f84174a5251d
|
7
|
+
data.tar.gz: 5547f4caadafbe7334993fcc63e046f325261f191cdd2d08a9e70cf3f59b94bf016cbbc8ed5390f5f4ea44a5126de502c537a869bbfb0477d2bc705fee2fad08
|
@@ -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,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- 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
|
@@ -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.8"
|
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
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2017 Kouhei
|
1
|
+
# Copyright (C) 2017-2024 Sutou Kouhei <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -117,7 +117,7 @@ module ChupaText
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
successed = @command.run(@screenshoter,
|
120
|
-
html_path,
|
120
|
+
html_path.to_s,
|
121
121
|
uri,
|
122
122
|
output_path,
|
123
123
|
width.to_s,
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2017 Kouhei
|
3
|
+
# Copyright (C) 2017-2024 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
|
@@ -18,12 +18,10 @@
|
|
18
18
|
|
19
19
|
$VERBOSE = true
|
20
20
|
|
21
|
-
require "bundler/setup"
|
22
|
-
|
23
21
|
require "test-unit"
|
24
22
|
|
25
23
|
require "chupa-text"
|
26
24
|
|
27
25
|
ChupaText::Decomposers.load
|
28
26
|
|
29
|
-
exit(Test::Unit::AutoRunner.run(true))
|
27
|
+
exit(Test::Unit::AutoRunner.run(true, __dir__))
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2024-09-22 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: chupa-text
|
@@ -136,7 +135,6 @@ homepage: https://github.com/ranguba/chupa-text-decomposer-webkit
|
|
136
135
|
licenses:
|
137
136
|
- LGPL-2.1+
|
138
137
|
metadata: {}
|
139
|
-
post_install_message:
|
140
138
|
rdoc_options: []
|
141
139
|
require_paths:
|
142
140
|
- lib
|
@@ -151,9 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
149
|
- !ruby/object:Gem::Version
|
152
150
|
version: '0'
|
153
151
|
requirements: []
|
154
|
-
|
155
|
-
rubygems_version: 2.5.2
|
156
|
-
signing_key:
|
152
|
+
rubygems_version: 3.6.0.dev
|
157
153
|
specification_version: 4
|
158
154
|
summary: This is a ChupaText decomposer plugin for to extract text and meta-data from
|
159
155
|
WebKitGTK+.
|