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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1956f8143385196079f8076cf611661282413a07
4
- data.tar.gz: 719684f537580dec46c3fb5db9803a4c5a4d5dc3
3
+ metadata.gz: 8b71fcbc4b1108eda9fb8a990592c9831f2b71c5
4
+ data.tar.gz: a5365e0341f8979a063988dc0fef092e13292ce8
5
5
  SHA512:
6
- metadata.gz: 7d6b873747d12df9e279673828a1bdf0e607590e32942b2c69d4deb398941ab1e85ce1c8a7365f001bab944e028f43b80706ced80d3421b76831418e5dd09f81
7
- data.tar.gz: f4ed15adc1c23c644b71b7d6202a8ae52d3c8d8c1101c16bb27ec124764fc9fe8c0d56575e80954bf30b2b8e3587ab29c6d7ad3693e19320d0e579b58cbd4289
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.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
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.0.1: 2017-07-11
4
+
5
+ ### Improvements
6
+
7
+ * Improved security.
8
+
3
9
  ## 1.0.0: 2017-07-10
4
10
 
5
11
  The first release!!!
@@ -59,7 +59,8 @@ module ChupaText
59
59
  def create_screenshot(data)
60
60
  screenshot = nil
61
61
 
62
- view = WebKit2Gtk::WebView.new
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.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-10 00:00:00.000000000 Z
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: '0'
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: '0'
40
+ version: 3.1.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement