chromedriver_update 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/chromedriver_update.gemspec +0 -1
- data/lib/chromedriver_update/version.rb +1 -1
- data/lib/chromedriver_update.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04a4622ec34d79f073ced2fe22dd338254dbafe2b45298fbb6b8fdfca7f21a9d
|
4
|
+
data.tar.gz: c6204961bdb9f72f32004f4bb297e726bc29918a08cb009180792ead9ff70bbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f6283ebe5be5e92293eb9e63ddcc081d8e9eb666f42d8590ae9af4d045bad321ceaf271e41c07c47476d0b79df86a70df69976d3d68ade6e3ad4d902391bdf9
|
7
|
+
data.tar.gz: ad585cdbeb39dc74e3ab4ed710957804bf62a7d73692ff4f187e9cad788b95d819d1c9ca12be71c47183ef606dba8e607f155806e8253e9abb27fe26cb493063
|
data/chromedriver_update.gemspec
CHANGED
@@ -13,7 +13,6 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.summary = %q{Update an existing installation of chromedriver fitting to the current installed version of chrome}
|
14
14
|
spec.homepage = "https://github.com/magynhard/chromedriver_update"
|
15
15
|
spec.license = "MIT"
|
16
|
-
spec.metadata = { "source_code_uri" => "https://github.com/magynhard/chromedriver_update" }
|
17
16
|
|
18
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
18
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
data/lib/chromedriver_update.rb
CHANGED
@@ -51,7 +51,7 @@ class ChromedriverUpdate
|
|
51
51
|
version = `reg query "HKEY_CURRENT_USER\\Software\\Google\\Chrome\\BLBeacon" /v version`
|
52
52
|
version.scan(/version[^0-9]*([0-9\.]+)/).flatten.first
|
53
53
|
elsif OS.mac?
|
54
|
-
version =
|
54
|
+
version = `"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --version`
|
55
55
|
version.scan(/([0-9\.]+)/).flatten.first
|
56
56
|
else
|
57
57
|
version = ""
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chromedriver_update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthäus Beyrle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: os
|
@@ -123,7 +123,6 @@ homepage: https://github.com/magynhard/chromedriver_update
|
|
123
123
|
licenses:
|
124
124
|
- MIT
|
125
125
|
metadata:
|
126
|
-
source_code_uri: https://github.com/magynhard/chromedriver_update
|
127
126
|
allowed_push_host: https://rubygems.org
|
128
127
|
post_install_message:
|
129
128
|
rdoc_options: []
|