apple_system_status 3.0.1 → 4.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: 96cbb0351af38f04a739b10031957f6960400327c72a02ae32aa6c32768d22f3
4
- data.tar.gz: 93a5f05c0f381ae436d510b8c46560b765aebc7ef97b4bb57248d4f9059fa9e4
3
+ metadata.gz: 2c73bfd22233570587ab07a78e44165baa9ffd45463fb8b7c4b91ab8bde2878e
4
+ data.tar.gz: ef384a6a0b54726b2bbae701e18e26c083ffef8dcd769be93ce1babe9df2d752
5
5
  SHA512:
6
- metadata.gz: ee138e7d0e1fc9706146541cf7c31d499dae1d6c70486e1c6dcce219d166cd9689cc02ccd3b5e1e6b5ae48cdc9e0e8121112598bf2b111ae20dd04e7447cb63b
7
- data.tar.gz: 1f8641a74f66eee7bb8aba3ba19ad6ea2f771335c8d5c15abca1cc2512fd3ead9ba778f01f27f06bbb1d872315bb915d27fd0daa7b3d1b4c79ab3dd9cfcaae9d
6
+ metadata.gz: 5cbd548980abfabec34e7982de2c19bf4bb8350a9bb988ff3ae1e8b884b4bb9dc0280926fcb8c5cfd1f15f798efd982dd2eead6c71c53a951b7dda246fbe26f3
7
+ data.tar.gz: 4e9effe86fc497739ed0d30f45b3a7ea57d619d11ee49d8f4f62341130ec83833490bd47ed9bc522a32ce125889423e72279bb20cfd082285a34a831b2a480b8
data/.circleci/config.yml CHANGED
@@ -51,9 +51,9 @@ build_jobs: &build_jobs
51
51
  matrix:
52
52
  parameters:
53
53
  version:
54
- - "2.6"
55
- - "2.7"
56
54
  - "3.0"
55
+ - "3.1"
56
+ - "3.2"
57
57
 
58
58
  workflows:
59
59
  version: 2
@@ -0,0 +1,10 @@
1
+ # c.f. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2
+ version: 2
3
+
4
+ updates:
5
+ - package-ecosystem: github-actions
6
+ directory: /
7
+ schedule:
8
+ interval: weekly
9
+ assignees:
10
+ - sue445
@@ -0,0 +1,62 @@
1
+ # Simple workflow for deploying static content to GitHub Pages
2
+ name: Deploy static content to Pages
3
+
4
+ on:
5
+ # Runs on pushes targeting the default branch
6
+ push:
7
+ branches:
8
+ - master
9
+
10
+ # Allows you to run this workflow manually from the Actions tab
11
+ workflow_dispatch:
12
+
13
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14
+ permissions:
15
+ contents: read
16
+ pages: write
17
+ id-token: write
18
+
19
+ # Allow one concurrent deployment
20
+ concurrency:
21
+ group: "pages"
22
+ cancel-in-progress: true
23
+
24
+ jobs:
25
+ # Single deploy job since we're just deploying
26
+ deploy:
27
+ environment:
28
+ name: github-pages
29
+ url: ${{ steps.deployment.outputs.page_url }}
30
+ runs-on: ubuntu-latest
31
+ steps:
32
+ - name: Checkout
33
+ uses: actions/checkout@v4
34
+
35
+ - uses: ruby/setup-ruby@v1
36
+ with:
37
+ ruby-version: ruby
38
+ bundler-cache: true
39
+
40
+ - run: bundle exec yard
41
+
42
+ - name: Setup Pages
43
+ uses: actions/configure-pages@v4
44
+ - name: Upload artifact
45
+ uses: actions/upload-pages-artifact@v3
46
+ with:
47
+ # Upload entire repository
48
+ path: './doc'
49
+ - name: Deploy to GitHub Pages
50
+ id: deployment
51
+ uses: actions/deploy-pages@main
52
+
53
+ - name: Slack Notification (not success)
54
+ uses: lazy-actions/slatify@master
55
+ if: "! success()"
56
+ continue-on-error: true
57
+ with:
58
+ job_name: "*pages*"
59
+ type: ${{ job.status }}
60
+ icon_emoji: ":octocat:"
61
+ url: ${{ secrets.SLACK_WEBHOOK }}
62
+ token: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## [v4.0.0](https://github.com/sue445/apple_system_status/tree/v4.0.0) (2023-12-28)
4
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v3.0.1...v4.0.0)
5
+
6
+ * :bomb: **[BREAKING CHANGE]** Requires selenium-webdriver 4.11.0+ and Ruby 3.0+
7
+ * https://github.com/sue445/apple_system_status/pull/81
8
+
3
9
  ## [v3.0.1](https://github.com/sue445/apple_system_status/tree/v3.0.1) (2021-11-19)
4
10
  [Full Changelog](https://github.com/sue445/apple_system_status/compare/v3.0.0...v3.0.1)
5
11
 
@@ -17,9 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = spec.homepage
19
19
  spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
20
+ spec.metadata["documentation_uri"] = "https://sue445.github.io/apple_system_status/"
20
21
  spec.metadata["rubygems_mfa_required"] = "true"
21
22
 
22
- spec.required_ruby_version = ">= 2.6"
23
+ spec.required_ruby_version = ">= 3.0"
23
24
 
24
25
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
25
26
  # delete this section to allow pushing this gem to any host.
@@ -35,7 +36,7 @@ Gem::Specification.new do |spec|
35
36
  spec.require_paths = ["lib"]
36
37
 
37
38
  spec.add_dependency "capybara"
38
- spec.add_dependency "selenium-webdriver", ">= 4.0.0"
39
+ spec.add_dependency "selenium-webdriver", ">= 4.11.0"
39
40
  spec.add_dependency "thor"
40
41
 
41
42
  spec.add_development_dependency "bundler"
@@ -26,12 +26,11 @@ module AppleSystemStatus
26
26
  chrome_options[:binary] = chrome_options_binary if chrome_options_binary
27
27
 
28
28
  opts = Selenium::WebDriver::Chrome::Options.new(profile: nil, **chrome_options)
29
- capabilities = Selenium::WebDriver::Remote::Capabilities.chrome
30
29
 
31
30
  Capybara::Selenium::Driver.new(
32
31
  app,
33
32
  browser: :chrome,
34
- capabilities: [capabilities, opts],
33
+ options: opts,
35
34
  http_client: client,
36
35
  )
37
36
  end
@@ -1,3 +1,3 @@
1
1
  module AppleSystemStatus
2
- VERSION = "3.0.1"
2
+ VERSION = "4.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apple_system_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.0
33
+ version: 4.11.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
- version: 4.0.0
40
+ version: 4.11.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -174,6 +174,8 @@ extra_rdoc_files: []
174
174
  files:
175
175
  - ".circleci/config.yml"
176
176
  - ".coveralls.yml"
177
+ - ".github/dependabot.yml"
178
+ - ".github/workflows/pages.yml"
177
179
  - ".gitignore"
178
180
  - ".rspec"
179
181
  - ".yardopts"
@@ -197,6 +199,7 @@ metadata:
197
199
  homepage_uri: https://github.com/sue445/apple_system_status
198
200
  source_code_uri: https://github.com/sue445/apple_system_status
199
201
  changelog_uri: https://github.com/sue445/apple_system_status/blob/master/CHANGELOG.md
202
+ documentation_uri: https://sue445.github.io/apple_system_status/
200
203
  rubygems_mfa_required: 'true'
201
204
  allowed_push_host: https://rubygems.org
202
205
  post_install_message:
@@ -207,14 +210,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
210
  requirements:
208
211
  - - ">="
209
212
  - !ruby/object:Gem::Version
210
- version: '2.6'
213
+ version: '3.0'
211
214
  required_rubygems_version: !ruby/object:Gem::Requirement
212
215
  requirements:
213
216
  - - ">="
214
217
  - !ruby/object:Gem::Version
215
218
  version: '0'
216
219
  requirements: []
217
- rubygems_version: 3.2.22
220
+ rubygems_version: 3.5.3
218
221
  signing_key:
219
222
  specification_version: 4
220
223
  summary: Apple System Status scraping library