glimmer-cw-browser-chromium 4.17.0.1 → 4.17.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +8 -8
- data/VERSION +1 -1
- data/glimmer-cw-browser-chromium.gemspec +5 -5
- data/lib/glimmer-cw-browser-chromium/ext/glimmer/swt/browser_proxy.rb +6 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0790c08000f1bf2d8c251c7e4e7310b3498aa8435c61a3b8153aa27bc832bfe4'
|
4
|
+
data.tar.gz: ed221658500250447ceac912514bae0efb5c12189a2068c9b309f1423ec98974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1595af2cf06ce49581695862a061a0e9786cc8312f91c7ce2e4482d65bd552a6e31e7d362e2ffc5a6faeab608a46a76e37178acc8967139909e173f75bdcef2f
|
7
|
+
data.tar.gz: ffbe96b69bafb8b8e1c9fe506ef013b275377d5abb361177e4506a2c2d33c5a23ff165121b6a92f10dde55545ad7a92f8de8e7891d14fef7a347d32d3ef24118
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 4.17.0.2
|
4
|
+
|
5
|
+
- Fixed issue with requiring restart of app after auto-downloading binaries on :chrome style (restart no longer required)
|
6
|
+
- Upgrade to bundler-download v1.3.0
|
7
|
+
|
3
8
|
## 4.17.0.1
|
4
9
|
|
5
10
|
- Fixed issue with not detecting :chromium style when passed as an integer mixing other SWT styles
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Chromium Browser 4.17.0.
|
1
|
+
# Chromium Browser 4.17.0.2
|
2
2
|
## [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 /> Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#custom-widget-gem)
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/glimmer-cw-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/glimmer-cw-browser-chromium.svg)](http://badge.fury.io/rb/glimmer-cw-browser-chromium)
|
4
4
|
[![Join the chat at https://gitter.im/AndyObtiva/glimmer](https://badges.gitter.im/AndyObtiva/glimmer.svg)](https://gitter.im/AndyObtiva/glimmer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
5
5
|
|
6
6
|
Chromium Browser is a [Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#custom-widget-gem) that brings Chromium support into the [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt)
|
@@ -43,7 +43,7 @@ Add the following to a Glimmer application `Gemfile`:
|
|
43
43
|
```ruby
|
44
44
|
plugin 'bundler-download'
|
45
45
|
|
46
|
-
gem 'glimmer-cw-browser-chromium', '~> 4.17.0.
|
46
|
+
gem 'glimmer-cw-browser-chromium', '~> 4.17.0.2'
|
47
47
|
```
|
48
48
|
|
49
49
|
Run this twice (the first time to install the `bundler-download` plugin and the second time to activate it and download extra files at the end):
|
@@ -61,7 +61,7 @@ This option is useful if you want to include the Chromium Browser as a passive a
|
|
61
61
|
Add the following to a Glimmer application `Gemfile`:
|
62
62
|
|
63
63
|
```ruby
|
64
|
-
gem 'glimmer-cw-browser-chromium', '~> 4.17.0.
|
64
|
+
gem 'glimmer-cw-browser-chromium', '~> 4.17.0.2'
|
65
65
|
```
|
66
66
|
|
67
67
|
Run this:
|
@@ -87,7 +87,7 @@ bundle plugin install bundler-download
|
|
87
87
|
Afterwards, for both custom shells and custom widgets, add the following line to `Gemfile` (especially if you're using [Jeweler](https://github.com/technicalpickles/jeweler)/[Juwelier](https://github.com/flajann2/juwelier)):
|
88
88
|
|
89
89
|
```ruby
|
90
|
-
gem 'glimmer-cw-browser-chromium', '~> 4.17.0.
|
90
|
+
gem 'glimmer-cw-browser-chromium', '~> 4.17.0.2'
|
91
91
|
```
|
92
92
|
|
93
93
|
Run this to install gem and download extra files at the end via [bundler-download](https://github.com/AndyObtiva/bundler-download):
|
@@ -101,7 +101,7 @@ jruby -S bundle
|
|
101
101
|
If not using [Jeweler](https://github.com/technicalpickles/jeweler)/[Juwelier](https://github.com/flajann2/juwelier), add the following line to the gemspec:
|
102
102
|
|
103
103
|
```ruby
|
104
|
-
s.add_runtime_dependency(%q<glimmer-cw-browser-chromium>.freeze, [">= 4.17.0.
|
104
|
+
s.add_runtime_dependency(%q<glimmer-cw-browser-chromium>.freeze, [">= 4.17.0.2", "< 5.0.0.0"])
|
105
105
|
```
|
106
106
|
|
107
107
|
Finally, just require the library in your code.
|
@@ -158,8 +158,8 @@ bundle download show
|
|
158
158
|
This should print something like:
|
159
159
|
|
160
160
|
```
|
161
|
-
Showing downloaded files for /Users/User/.rvm/gems/jruby-9.2.13.0@glimmer-cw-video/gems/glimmer-cw-browser-chromium-4.17.0.
|
162
|
-
54070695 /Users/User/.rvm/gems/jruby-9.2.13.0@glimmer-cw-video/gems/glimmer-cw-browser-chromium-4.17.0.
|
161
|
+
Showing downloaded files for /Users/User/.rvm/gems/jruby-9.2.13.0@glimmer-cw-video/gems/glimmer-cw-browser-chromium-4.17.0.2/Downloadfile
|
162
|
+
54070695 /Users/User/.rvm/gems/jruby-9.2.13.0@glimmer-cw-video/gems/glimmer-cw-browser-chromium-4.17.0.2/vendor/jars/mac/com.make.chromium.cef.cocoa.macosx.x86_64_0.4.0.202005172227.jar
|
163
163
|
```
|
164
164
|
|
165
165
|
To clear downloads, run:
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.17.0.
|
1
|
+
4.17.0.2
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: glimmer-cw-browser-chromium 4.17.0.
|
5
|
+
# stub: glimmer-cw-browser-chromium 4.17.0.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "glimmer-cw-browser-chromium".freeze
|
9
|
-
s.version = "4.17.0.
|
9
|
+
s.version = "4.17.0.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Andy Maleh".freeze]
|
14
|
-
s.date = "2020-09-
|
14
|
+
s.date = "2020-09-27"
|
15
15
|
s.description = "Chromium Browser - Glimmer Custom Widget".freeze
|
16
16
|
s.email = "andy.am@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -43,14 +43,14 @@ Gem::Specification.new do |s|
|
|
43
43
|
|
44
44
|
if s.respond_to? :add_runtime_dependency then
|
45
45
|
s.add_runtime_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.17.2.0", "< 5.0.0.0"])
|
46
|
-
s.add_runtime_dependency(%q<bundler-download>.freeze, ["
|
46
|
+
s.add_runtime_dependency(%q<bundler-download>.freeze, ["~> 1.3"])
|
47
47
|
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
48
48
|
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
49
49
|
s.add_development_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
|
50
50
|
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
51
51
|
else
|
52
52
|
s.add_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.17.2.0", "< 5.0.0.0"])
|
53
|
-
s.add_dependency(%q<bundler-download>.freeze, ["
|
53
|
+
s.add_dependency(%q<bundler-download>.freeze, ["~> 1.3"])
|
54
54
|
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
55
55
|
s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
56
56
|
s.add_dependency(%q<git-glimmer>.freeze, ["= 1.7.0"])
|
@@ -26,8 +26,10 @@ module Glimmer
|
|
26
26
|
module SWT
|
27
27
|
class BrowserProxy < Glimmer::SWT::WidgetProxy
|
28
28
|
def initialize(*init_args, swt_widget: nil)
|
29
|
+
underscored_widget_name, parent, args = init_args
|
30
|
+
styles, extra_options = extract_args(underscored_widget_name, args)
|
31
|
+
require_jars if SWTProxy.include?(SWTProxy[*styles], SWTProxy[:chromium])
|
29
32
|
super
|
30
|
-
require_jars if has_style?(:chromium)
|
31
33
|
end
|
32
34
|
|
33
35
|
def require_jars
|
@@ -36,9 +38,10 @@ module Glimmer
|
|
36
38
|
if jars.size < 2
|
37
39
|
puts 'Please be patient while downloading files for Chromium Browser support.'
|
38
40
|
require 'bundler-download'
|
39
|
-
Bundler::Download.new.exec('download', [])
|
41
|
+
Bundler::Download.new.exec('download', ['--keep-existing'])
|
40
42
|
end
|
41
|
-
jars.
|
43
|
+
jars = Dir.glob(File.expand_path("../../../../../../vendor/jars/#{Glimmer::Launcher.platform_os}/**/*.jar", __FILE__)).to_a
|
44
|
+
jars.each {|f| require f}
|
42
45
|
end
|
43
46
|
end
|
44
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-cw-browser-chromium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.17.0.
|
4
|
+
version: 4.17.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -33,17 +33,17 @@ dependencies:
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- - "
|
36
|
+
- - "~>"
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: '
|
38
|
+
version: '1.3'
|
39
39
|
name: bundler-download
|
40
40
|
prerelease: false
|
41
41
|
type: :runtime
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '1.3'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|