chupa-text-decomposer-webkit 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/chupa-text-decomposer-webkit.gemspec +2 -2
- data/doc/text/news.md +6 -0
- data/lib/chupa-text/decomposers/webkit.rb +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b71fcbc4b1108eda9fb8a990592c9831f2b71c5
|
4
|
+
data.tar.gz: a5365e0341f8979a063988dc0fef092e13292ce8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c59249d7dc608751b0e53e4b1750eedab519a239976666f886621367e9f7b2f3b9336f42aff32c42ad353c6ea8e8d5989e6ec002dd8e2eeb524a6c2e2c6f7ae8
|
7
|
+
data.tar.gz: e535871f2fb6794f4510dfeda1542069fdbd6b01b6a29d3d8ca50bbf2ebdb12064ed2e97d3aac575daabf16f6f20c893dfef820f244a293d123a7068f3e79720
|
@@ -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.1"
|
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"]
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.files += Dir.glob("test/**/*")
|
41
41
|
|
42
42
|
spec.add_runtime_dependency("chupa-text", ">= 1.0.7")
|
43
|
-
spec.add_runtime_dependency("webkit2-gtk")
|
43
|
+
spec.add_runtime_dependency("webkit2-gtk", ">= 3.1.7")
|
44
44
|
|
45
45
|
spec.add_development_dependency("bundler")
|
46
46
|
spec.add_development_dependency("rake")
|
data/doc/text/news.md
CHANGED
@@ -59,7 +59,8 @@ module ChupaText
|
|
59
59
|
def create_screenshot(data)
|
60
60
|
screenshot = nil
|
61
61
|
|
62
|
-
|
62
|
+
view_context = WebKit2Gtk::WebContext.new(ephemeral: true)
|
63
|
+
view = WebKit2Gtk::WebView.new(context: view_context)
|
63
64
|
window = Gtk::OffscreenWindow.new
|
64
65
|
window.set_default_size(800, 600)
|
65
66
|
window.add(view)
|
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.1
|
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-
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chupa-text
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 3.1.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 3.1.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|