apple_system_status 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0c39a9d2fa98813ff80849b8b7f5fb3043046f0d3bd42e90599f0fea4d08c4f
4
- data.tar.gz: 232875e169733db8fe91201850af2e0396303f751aea602d5d332f4b4c60bc8e
3
+ metadata.gz: 2c73bfd22233570587ab07a78e44165baa9ffd45463fb8b7c4b91ab8bde2878e
4
+ data.tar.gz: ef384a6a0b54726b2bbae701e18e26c083ffef8dcd769be93ce1babe9df2d752
5
5
  SHA512:
6
- metadata.gz: 6676c728fb5e9f6083642b534c33a41e89322a991d4f86dae6d0040602eb330526bce96207bf8cbd9620be540b563fb7b89337b1ef5ae0b1eda25245368d6e47
7
- data.tar.gz: 7aeaa606798953f7770cd659f758ef76f6032204f5efe560cbaf0c2433a329117e2952d11b142d215ed2c83f34064a06a558b68615db0ea7da431836af0c6437
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,17 @@
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
+
9
+ ## [v3.0.1](https://github.com/sue445/apple_system_status/tree/v3.0.1) (2021-11-19)
10
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v3.0.0...v3.0.1)
11
+
12
+ * Enable MFA requirement for gem releasing
13
+ * https://github.com/sue445/apple_system_status/pull/69
14
+
3
15
  ## [v3.0.0](https://github.com/sue445/apple_system_status/tree/v3.0.0) (2021-10-16)
4
16
  [Full Changelog](https://github.com/sue445/apple_system_status/compare/v2.0.0...v3.0.0)
5
17
 
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  [![Coverage Status](https://coveralls.io/repos/sue445/apple_system_status/badge.svg?branch=master&service=github)](https://coveralls.io/github/sue445/apple_system_status?branch=master)
10
10
 
11
11
  ## Requirements
12
- * Ruby 2.2+
12
+ * Ruby 2.6+
13
13
  * Headless Chrome
14
14
 
15
15
  ## Installation
@@ -14,7 +14,13 @@ 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.6"
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
20
+ spec.metadata["documentation_uri"] = "https://sue445.github.io/apple_system_status/"
21
+ spec.metadata["rubygems_mfa_required"] = "true"
22
+
23
+ spec.required_ruby_version = ">= 3.0"
18
24
 
19
25
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
20
26
  # delete this section to allow pushing this gem to any host.
@@ -30,7 +36,7 @@ Gem::Specification.new do |spec|
30
36
  spec.require_paths = ["lib"]
31
37
 
32
38
  spec.add_dependency "capybara"
33
- spec.add_dependency "selenium-webdriver", ">= 4.0.0"
39
+ spec.add_dependency "selenium-webdriver", ">= 4.11.0"
34
40
  spec.add_dependency "thor"
35
41
 
36
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.0"
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.0
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-10-16 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"
@@ -194,6 +196,11 @@ homepage: https://github.com/sue445/apple_system_status
194
196
  licenses:
195
197
  - MIT
196
198
  metadata:
199
+ homepage_uri: https://github.com/sue445/apple_system_status
200
+ source_code_uri: https://github.com/sue445/apple_system_status
201
+ changelog_uri: https://github.com/sue445/apple_system_status/blob/master/CHANGELOG.md
202
+ documentation_uri: https://sue445.github.io/apple_system_status/
203
+ rubygems_mfa_required: 'true'
197
204
  allowed_push_host: https://rubygems.org
198
205
  post_install_message:
199
206
  rdoc_options: []
@@ -203,14 +210,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
210
  requirements:
204
211
  - - ">="
205
212
  - !ruby/object:Gem::Version
206
- version: '2.6'
213
+ version: '3.0'
207
214
  required_rubygems_version: !ruby/object:Gem::Requirement
208
215
  requirements:
209
216
  - - ">="
210
217
  - !ruby/object:Gem::Version
211
218
  version: '0'
212
219
  requirements: []
213
- rubygems_version: 3.2.22
220
+ rubygems_version: 3.5.3
214
221
  signing_key:
215
222
  specification_version: 4
216
223
  summary: Apple System Status scraping library