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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b17a312fbab70eeb4a90c28d6740a2bdb7757e554d19b8791bdfa48be16c156b
4
- data.tar.gz: 433c1014b1d8b830fb23f19379e58d4c7dcdac12734d103b59f7393775846f97
3
+ metadata.gz: a0c39a9d2fa98813ff80849b8b7f5fb3043046f0d3bd42e90599f0fea4d08c4f
4
+ data.tar.gz: 232875e169733db8fe91201850af2e0396303f751aea602d5d332f4b4c60bc8e
5
5
  SHA512:
6
- metadata.gz: ab0f6d3d9efbe45f72809a2df1967a7f348c51d1303faae5c62615a9c235b277d28a6de7691becc0985610d16c67c3d219e9d1b9d7578bf4e333cc0bd93c72e4
7
- data.tar.gz: 74952960423ecbfb2b681134fe34a3284be27b6baa414a8026a867f39db24fdc37667f2e7a9af01b854cabc4ddbe267ce98bcc02601541e0ffb3ce14aac3aff0
6
+ metadata.gz: 6676c728fb5e9f6083642b534c33a41e89322a991d4f86dae6d0040602eb330526bce96207bf8cbd9620be540b563fb7b89337b1ef5ae0b1eda25245368d6e47
7
+ data.tar.gz: 7aeaa606798953f7770cd659f758ef76f6032204f5efe560cbaf0c2433a329117e2952d11b142d215ed2c83f34064a06a558b68615db0ea7da431836af0c6437
data/.circleci/config.yml CHANGED
@@ -51,7 +51,6 @@ build_jobs: &build_jobs
51
51
  matrix:
52
52
  parameters:
53
53
  version:
54
- - "2.5"
55
54
  - "2.6"
56
55
  - "2.7"
57
56
  - "3.0"
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
 
@@ -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.5"
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", "< 4.0.0"
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
- capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(chromeOptions: chrome_options)
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
- desired_capabilities: capabilities,
34
+ capabilities: [capabilities, opts],
35
35
  http_client: client,
36
36
  )
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module AppleSystemStatus
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  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: 2.0.0
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.5'
206
+ version: '2.6'
207
207
  required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - ">="