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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 23005ea77de47f555ee9de5ea6ef2cf35b7bd120
4
- data.tar.gz: 99fc4caa788124db213e933822b4c0d0c09b5532
2
+ SHA256:
3
+ metadata.gz: 9a80a75d06a5d31dd8796d86342dbb98d5f777e03a34399518557a88d1263fb1
4
+ data.tar.gz: 4306d9f7f735350776ad8514b97f28b0abe399219fbded43437595e7e9461676
5
5
  SHA512:
6
- metadata.gz: 710ed2968e970408454999afb239c730fbd6da5bfc74bfa125a3451126f07bf3aef6609ea634241aa9f9bc32574cf6a1938acd37f9bab5a8119b121e894ec7ff
7
- data.tar.gz: 2a427a34b2cf50f9b9da6a10d7aedd636fe8693bd474f0bc08b39d1563a2070e3317cb3d6db209ed0de4aa07b51b765ab3b9528a5e29dd30b5e41f3a92c50a12
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 Sutou <kou@clear-code.com>
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 Sutou <kou@clear-code.com>
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.6"
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,5 +1,17 @@
1
1
  # News
2
2
 
3
+ ## 1.0.8: 2024-09-22
4
+
5
+ ### Fixes
6
+
7
+ * Added missing `Pathname` -> `String` conversion.
8
+
9
+ ## 1.0.7: 2021-03-04
10
+
11
+ ### Improvements
12
+
13
+ * screenshoter: Stopped to depend on locale.
14
+
3
15
  ## 1.0.6: 2017-07-12
4
16
 
5
17
  ### Fixes
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017 Kouhei Sutou <kou@clear-code.com>
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 Sutou <kou@clear-code.com>
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.6
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: 2017-07-12 00:00:00.000000000 Z
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
- rubyforge_project:
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+.