chromedriver_update 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +80 -0
- data/Rakefile +11 -0
- data/bin/chromedriver_update +22 -0
- data/bin/chromedriver_update.bat +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/chromedriver_update.gemspec +39 -0
- data/lib/chromedriver_update/version.rb +3 -0
- data/lib/chromedriver_update.rb +126 -0
- data/lib/custom_errors/chrome_not_found_error.rb +2 -0
- data/lib/custom_errors/chromedriver_not_found_error.rb +2 -0
- metadata +147 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8e2e0ec3f35a8a73dedd156304e33e590f2c702793f29577722ae78668a95de5
|
4
|
+
data.tar.gz: 2d68c3ee0e614d3f3ffc5f986942753713dcf299d743000c34ee74ed9ba8a5fc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f9fcfe6da61c09122a7b721a9492ef27a1d1062489c7dda6c6756f952208e1cead6e76f8c5af56494cb6b03ce6d23d530c196d5f4b19d42c73baf74b5f0962b6
|
7
|
+
data.tar.gz: 90ff77b0f9adb67e2fc74fe5e25142a7fbc75a39b2dd8a66574a9f63c801b5ec2532fd9a66e8a8eb179fc427aedb3a4b14be74940ee8d379cfa60c3d2868c64c
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at chromedriver_update.gemspec@mail.magynhard.de. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017-2021 Matthäus J. N. Beyrle
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# chromedriver_update
|
2
|
+
[![Gem](https://img.shields.io/gem/v/chromedriver_update?color=default&style=plastic&logo=ruby&logoColor=red)](https://rubygems.org/gems/chromedriver_update)
|
3
|
+
![downloads](https://img.shields.io/gem/dt/chromedriver_update?color=blue&style=plastic)
|
4
|
+
[![License: MIT](https://img.shields.io/badge/License-MIT-gold.svg?style=plastic&logo=mit)](LICENSE)
|
5
|
+
|
6
|
+
> Update an existing installation of chromedriver fitting to the current installed version of chrome. Available for Ruby and as CLI command as well.
|
7
|
+
|
8
|
+
Very basic tool, to ensure, that the current chromedriver is updat to date to the current installed Chrome. Automatically fetches the same driver version or the latest version below, to ensure it will work with the current installed chrome version.
|
9
|
+
|
10
|
+
The installed chromedriver is replaced with the new version. So it must have been setup initially and added to the PATH environment variable to use this script from then.
|
11
|
+
|
12
|
+
Implemented for Linux, Windows and Mac.
|
13
|
+
|
14
|
+
### Contents
|
15
|
+
* [Installation](#installation)
|
16
|
+
* [Usage](#usage)
|
17
|
+
* [Command line](#command-line-usage)
|
18
|
+
* [Documentation](#documentation)
|
19
|
+
* [Contributing](#contributing)
|
20
|
+
|
21
|
+
|
22
|
+
<a name="installation"></a>
|
23
|
+
## Installation
|
24
|
+
### Ruby
|
25
|
+
Add this line to your application's Gemfile:
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
gem 'chromedriver_update'
|
29
|
+
```
|
30
|
+
|
31
|
+
And then execute:
|
32
|
+
|
33
|
+
bundle install
|
34
|
+
|
35
|
+
### Command line
|
36
|
+
If you just want to use the command line then run
|
37
|
+
|
38
|
+
gem install chromedriver_update
|
39
|
+
|
40
|
+
Of course you need to have installed Ruby on your system and set the PATH variable, to have access to Ruby commands like `ruby` or `gem`.
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
<a name="usage"></a>
|
45
|
+
## Usage
|
46
|
+
|
47
|
+
### Example
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
require 'chromedriver_update'
|
51
|
+
|
52
|
+
ChromedriverUpdate.auto_update_chromedriver
|
53
|
+
```
|
54
|
+
|
55
|
+
|
56
|
+
<a name="command-line-usage"></a>
|
57
|
+
## Command line
|
58
|
+
|
59
|
+
`chromedriver_update` is also available on the command line after installation.
|
60
|
+
|
61
|
+
### Example
|
62
|
+
|
63
|
+
Run on the command line
|
64
|
+
|
65
|
+
```ruby
|
66
|
+
chromedriver_update
|
67
|
+
# => Updated Chromedriver from '123.0.0' to '124.0.0'! Chrome is '124.0.1'.
|
68
|
+
```
|
69
|
+
|
70
|
+
<a name="documentation"></a>
|
71
|
+
## Documentation
|
72
|
+
|
73
|
+
For more details have a look at the rubydoc at [https://www.rubydoc.info/gems/chromedriver_update](https://www.rubydoc.info/gems/chromedriver_update)
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<a name="documentation"></a>
|
78
|
+
## Contributing
|
79
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/magynhard/chromedriver_update. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
80
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require_relative '../lib/chromedriver_update'
|
4
|
+
|
5
|
+
arg = ARGV[0]
|
6
|
+
|
7
|
+
if %w[version -v --version].include?(arg)
|
8
|
+
puts "#{ChromedriverUpdate::VERSION}"
|
9
|
+
elsif arg.nil? || arg == ''
|
10
|
+
ChromedriverUpdate.auto_update_chromedriver
|
11
|
+
else
|
12
|
+
puts <<-TEXT
|
13
|
+
|
14
|
+
chromedriver_update #{ChromedriverUpdate::VERSION}
|
15
|
+
https://github.com/magynhard/chromedriver_update
|
16
|
+
|
17
|
+
chromedriver_update -h --help # show this info
|
18
|
+
chromedriver_update -v --version # show the libraries current version
|
19
|
+
chromedriver_update # automatically update the current chromedriver version fitting to the currently installed chrome
|
20
|
+
|
21
|
+
TEXT
|
22
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "chromedriver_update"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'chromedriver_update/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "chromedriver_update"
|
8
|
+
spec.version = ChromedriverUpdate::VERSION
|
9
|
+
spec.executables = %w[chromedriver_update]
|
10
|
+
spec.authors = ["Matthäus Beyrle"]
|
11
|
+
spec.email = ["chromedriver_update.gemspec@mail.magynhard.de"]
|
12
|
+
|
13
|
+
spec.summary = %q{Update an existing installation of chromedriver fitting to the current installed version of chrome}
|
14
|
+
spec.homepage = "https://github.com/magynhard/chromedriver_update"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
"public gem pushes."
|
24
|
+
end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
|
30
|
+
spec.require_paths = ['lib']
|
31
|
+
|
32
|
+
spec.add_dependency 'os', '~> 1.1.4'
|
33
|
+
spec.add_dependency 'rubyzip', '~> 2.3.2'
|
34
|
+
spec.add_dependency 'httparty', '~> 0.22.0'
|
35
|
+
|
36
|
+
spec.add_development_dependency 'bundler', '>= 1.14'
|
37
|
+
spec.add_development_dependency 'rake', '>= 10.0'
|
38
|
+
spec.add_development_dependency 'rspec', '>= 3.0'
|
39
|
+
end
|
@@ -0,0 +1,126 @@
|
|
1
|
+
require 'chromedriver_update/version'
|
2
|
+
|
3
|
+
require 'os'
|
4
|
+
require 'open-uri'
|
5
|
+
require 'zip'
|
6
|
+
require 'httparty'
|
7
|
+
require 'fileutils'
|
8
|
+
require 'json'
|
9
|
+
|
10
|
+
require_relative 'custom_errors/chromedriver_not_found_error'
|
11
|
+
require_relative 'custom_errors/chrome_not_found_error'
|
12
|
+
|
13
|
+
class ChromedriverUpdate
|
14
|
+
|
15
|
+
CHROME_DOWNLOADS_LIST_URL = 'https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json'
|
16
|
+
|
17
|
+
#
|
18
|
+
# Update the installed version of chromedriver automatically fitting to the currently installed version of chrome
|
19
|
+
#
|
20
|
+
def self.auto_update_chromedriver
|
21
|
+
if installed_chrome_version.split(".").first != installed_chromedriver_version.split(".").first
|
22
|
+
original_chromedriver_version = installed_chromedriver_version
|
23
|
+
chromedriver_zip = HTTParty.get(chromedriver_link_for_version(installed_chrome_version))
|
24
|
+
if chromedriver_zip.code == 404 # fallback to latest lower version
|
25
|
+
chromedriver_zip = HTTParty.get(chromedriver_closest_link_for_version(installed_chrome_version))
|
26
|
+
end
|
27
|
+
destination_dir = File.expand_path(File.dirname(__FILE__) + "/../tmp")
|
28
|
+
Zip::File.open_buffer(chromedriver_zip.body) do |zip_files|
|
29
|
+
zip_files.each do |entry|
|
30
|
+
if (entry.name.end_with?("/chromedriver") || entry.name.end_with?("/chromedriver.exe"))
|
31
|
+
download_path = File.join(destination_dir, File.basename(entry.name))
|
32
|
+
FileUtils.rm_f(download_path)
|
33
|
+
entry.extract(download_path)
|
34
|
+
FileUtils.mv(download_path, chromedriver_path, force: true)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
puts "Updated Chromedriver from '#{original_chromedriver_version}' to '#{installed_chromedriver_version}'! Chrome is '#{installed_chrome_version}'."
|
39
|
+
else
|
40
|
+
puts "Chromedriver is already up to date at major version! Chromedriver: '#{installed_chromedriver_version}' Chrome: '#{installed_chrome_version}'"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
#
|
45
|
+
# Get the currently installed version of chrome
|
46
|
+
#
|
47
|
+
# @return [String] current installed chrome version
|
48
|
+
#
|
49
|
+
def self.installed_chrome_version
|
50
|
+
begin
|
51
|
+
if OS.windows?
|
52
|
+
version = `reg query "HKEY_CURRENT_USER\\Software\\Google\\Chrome\\BLBeacon" /v version`
|
53
|
+
version.scan(/version[^0-9]*([0-9\.]+)/).flatten.first
|
54
|
+
elsif OS.mac?
|
55
|
+
version = `/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version`
|
56
|
+
version.scan(/([0-9\.]+)/).flatten.first
|
57
|
+
else
|
58
|
+
version = ""
|
59
|
+
begin
|
60
|
+
version = `google-chrome --version`
|
61
|
+
rescue Errno::ENOENT => e
|
62
|
+
version = `google-chrome-stable --version`
|
63
|
+
end
|
64
|
+
version.scan(/([0-9\.]+)/).flatten.first
|
65
|
+
end
|
66
|
+
rescue => e
|
67
|
+
raise ChromeNotFoundError.new "Could not detect a installed chrome version!"
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
#
|
72
|
+
# Get the currently installed version of chromedriver
|
73
|
+
#
|
74
|
+
# @return [String] current installed chromedriver version
|
75
|
+
#
|
76
|
+
def self.installed_chromedriver_version
|
77
|
+
`#{chromedriver_path} --version`.scan(/([0-9\.]+)/).flatten.first
|
78
|
+
end
|
79
|
+
|
80
|
+
def self.chromedriver_link_for_version(version)
|
81
|
+
if OS.windows?
|
82
|
+
"https://storage.googleapis.com/chrome-for-testing-public/#{version}/win64/chromedriver-win64.zip"
|
83
|
+
elsif OS.mac?
|
84
|
+
"https://storage.googleapis.com/chrome-for-testing-public/#{version}/mac-arm64/chromedriver-mac-arm64.zip"
|
85
|
+
else
|
86
|
+
"https://storage.googleapis.com/chrome-for-testing-public/#{version}/linux64/chromedriver-linux64.zip"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
#
|
91
|
+
# Get the download URL of the closest chromedriver version fitting the given chrome version
|
92
|
+
#
|
93
|
+
# @param [String] version of chrome to find the best chromedriver version for
|
94
|
+
# @return [String] link to the matching chromedriver download for the local platform
|
95
|
+
#
|
96
|
+
def self.chromedriver_closest_link_for_version(version)
|
97
|
+
platform = if OS.windows?
|
98
|
+
"win64"
|
99
|
+
elsif OS.mac?
|
100
|
+
"mac-arm64"
|
101
|
+
else
|
102
|
+
"linux64"
|
103
|
+
end
|
104
|
+
list = JSON.parse(HTTParty.get(CHROME_DOWNLOADS_LIST_URL).body)
|
105
|
+
latest_match = list['versions'].filter { |el| el['version'].start_with?(version.split(".")[0...1].join(".")) && el['version'].split(".")[2].to_i < version.split(".")[2].to_i && el['downloads']['chromedriver'] }.last
|
106
|
+
latest_match['downloads']['chromedriver'].filter { |el| el['platform'] == platform }.first['url']
|
107
|
+
end
|
108
|
+
|
109
|
+
#
|
110
|
+
# Get the path of the installed chromedriver
|
111
|
+
#
|
112
|
+
# @return [String] path to the installed chromedriver
|
113
|
+
# @raise [ChromedriverNotFoundError] if no chromedriver could be found
|
114
|
+
def self.chromedriver_path
|
115
|
+
version = if OS.windows?
|
116
|
+
`where chromedriver`.strip
|
117
|
+
else
|
118
|
+
`which chromedriver`.strip
|
119
|
+
end
|
120
|
+
if version == ""
|
121
|
+
raise ChromedriverNotFoundError.new "Could not detect installed chromedriver!"
|
122
|
+
else
|
123
|
+
version
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chromedriver_update
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Matthäus Beyrle
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-07-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: os
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.1.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.1.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubyzip
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.3.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.3.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: httparty
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.22.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.22.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.14'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.0'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- chromedriver_update.gemspec@mail.magynhard.de
|
100
|
+
executables:
|
101
|
+
- chromedriver_update
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".rspec"
|
107
|
+
- ".travis.yml"
|
108
|
+
- CODE_OF_CONDUCT.md
|
109
|
+
- Gemfile
|
110
|
+
- LICENSE
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- bin/chromedriver_update
|
114
|
+
- bin/chromedriver_update.bat
|
115
|
+
- bin/console
|
116
|
+
- bin/setup
|
117
|
+
- chromedriver_update.gemspec
|
118
|
+
- lib/chromedriver_update.rb
|
119
|
+
- lib/chromedriver_update/version.rb
|
120
|
+
- lib/custom_errors/chrome_not_found_error.rb
|
121
|
+
- lib/custom_errors/chromedriver_not_found_error.rb
|
122
|
+
homepage: https://github.com/magynhard/chromedriver_update
|
123
|
+
licenses:
|
124
|
+
- MIT
|
125
|
+
metadata:
|
126
|
+
allowed_push_host: https://rubygems.org
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubygems_version: 3.1.4
|
143
|
+
signing_key:
|
144
|
+
specification_version: 4
|
145
|
+
summary: Update an existing installation of chromedriver fitting to the current installed
|
146
|
+
version of chrome
|
147
|
+
test_files: []
|