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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 23005ea77de47f555ee9de5ea6ef2cf35b7bd120
4
- data.tar.gz: 99fc4caa788124db213e933822b4c0d0c09b5532
2
+ SHA256:
3
+ metadata.gz: 1e38649e31b6142b1b907ecdc15fc109d66293c3408b55dca5fa5596d77a38a0
4
+ data.tar.gz: 4a85f2e3a9a21c280469c53bfb1f54f70ca1c80b7d35eb2093d524f6ab64a0f3
5
5
  SHA512:
6
- metadata.gz: 710ed2968e970408454999afb239c730fbd6da5bfc74bfa125a3451126f07bf3aef6609ea634241aa9f9bc32574cf6a1938acd37f9bab5a8119b121e894ec7ff
7
- data.tar.gz: 2a427a34b2cf50f9b9da6a10d7aedd636fe8693bd474f0bc08b39d1563a2070e3317cb3d6db209ed0de4aa07b51b765ab3b9528a5e29dd30b5e41f3a92c50a12
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 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,
@@ -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.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
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.0.7: 2021-03-04
4
+
5
+ ### Improvements
6
+
7
+ * screenshoter: Stopped to depend on locale.
8
+
3
9
  ## 1.0.6: 2017-07-12
4
10
 
5
11
  ### Fixes
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.6
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: 2017-07-12 00:00:00.000000000 Z
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
- rubyforge_project:
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