apple_system_status 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +0 -1
- data/CHANGELOG.md +6 -0
- data/apple_system_status.gemspec +2 -2
- data/lib/apple_system_status/crawler.rb +3 -3
- data/lib/apple_system_status/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0c39a9d2fa98813ff80849b8b7f5fb3043046f0d3bd42e90599f0fea4d08c4f
|
4
|
+
data.tar.gz: 232875e169733db8fe91201850af2e0396303f751aea602d5d332f4b4c60bc8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6676c728fb5e9f6083642b534c33a41e89322a991d4f86dae6d0040602eb330526bce96207bf8cbd9620be540b563fb7b89337b1ef5ae0b1eda25245368d6e47
|
7
|
+
data.tar.gz: 7aeaa606798953f7770cd659f758ef76f6032204f5efe560cbaf0c2433a329117e2952d11b142d215ed2c83f34064a06a558b68615db0ea7da431836af0c6437
|
data/.circleci/config.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v3.0.0](https://github.com/sue445/apple_system_status/tree/v3.0.0) (2021-10-16)
|
4
|
+
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v2.0.0...v3.0.0)
|
5
|
+
|
6
|
+
* :bomb: **[BREAKING CHANGE]** Requires selenium-webdriver v4+ and Ruby 2.6+
|
7
|
+
* https://github.com/sue445/apple_system_status/pull/66
|
8
|
+
|
3
9
|
## [v2.0.0](https://github.com/sue445/apple_system_status/tree/v2.0.0) (2021-10-16)
|
4
10
|
[Full Changelog](https://github.com/sue445/apple_system_status/compare/v1.0.4...v2.0.0)
|
5
11
|
|
data/apple_system_status.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/sue445/apple_system_status"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
spec.required_ruby_version = ">= 2.
|
17
|
+
spec.required_ruby_version = ">= 2.6"
|
18
18
|
|
19
19
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
20
20
|
# delete this section to allow pushing this gem to any host.
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
32
|
spec.add_dependency "capybara"
|
33
|
-
spec.add_dependency "selenium-webdriver", "
|
33
|
+
spec.add_dependency "selenium-webdriver", ">= 4.0.0"
|
34
34
|
spec.add_dependency "thor"
|
35
35
|
|
36
36
|
spec.add_development_dependency "bundler"
|
@@ -24,14 +24,14 @@ module AppleSystemStatus
|
|
24
24
|
|
25
25
|
chrome_options = { args: chrome_options_args }
|
26
26
|
chrome_options[:binary] = chrome_options_binary if chrome_options_binary
|
27
|
-
chrome_options[:w3c] = false # for chrome 75+
|
28
27
|
|
29
|
-
|
28
|
+
opts = Selenium::WebDriver::Chrome::Options.new(profile: nil, **chrome_options)
|
29
|
+
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome
|
30
30
|
|
31
31
|
Capybara::Selenium::Driver.new(
|
32
32
|
app,
|
33
33
|
browser: :chrome,
|
34
|
-
|
34
|
+
capabilities: [capabilities, opts],
|
35
35
|
http_client: client,
|
36
36
|
)
|
37
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apple_system_status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: selenium-webdriver
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 4.0.0
|
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
40
|
version: 4.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -203,7 +203,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
203
|
requirements:
|
204
204
|
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version: '2.
|
206
|
+
version: '2.6'
|
207
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
208
|
requirements:
|
209
209
|
- - ">="
|