apple_system_status 4.0.0 → 4.0.2

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: 2c73bfd22233570587ab07a78e44165baa9ffd45463fb8b7c4b91ab8bde2878e
4
- data.tar.gz: ef384a6a0b54726b2bbae701e18e26c083ffef8dcd769be93ce1babe9df2d752
3
+ metadata.gz: bd083cba24512bdf308ebf5cc9976e9e42d473469fedddc0728ea343f2bc3269
4
+ data.tar.gz: 8c244c440075c38754d8523917c6d94b60b4b70d5427a0c40c4fc904f2348908
5
5
  SHA512:
6
- metadata.gz: 5cbd548980abfabec34e7982de2c19bf4bb8350a9bb988ff3ae1e8b884b4bb9dc0280926fcb8c5cfd1f15f798efd982dd2eead6c71c53a951b7dda246fbe26f3
7
- data.tar.gz: 4e9effe86fc497739ed0d30f45b3a7ea57d619d11ee49d8f4f62341130ec83833490bd47ed9bc522a32ce125889423e72279bb20cfd082285a34a831b2a480b8
6
+ metadata.gz: 5af29115fba72162af2d21d85ab9bda2f73c7ec3e712168c84dd2bc76a58b9ca98edc7a2147a5cd85360e6cf833c5cbc61d5deca293826ebb9c9d9c5eedc8313
7
+ data.tar.gz: 900f984aa855670b8acab1d61949de6dac7aff8cfb346bbd534c9daec430906181af9d3c668481a15f269328d0c7f1101bced68e7a6f0a5dbea228e44819b988
data/.circleci/config.yml CHANGED
@@ -2,7 +2,6 @@ version: 2.1
2
2
 
3
3
  orbs:
4
4
  browser-tools: circleci/browser-tools@volatile
5
- codeclimate: sue445/codeclimate@volatile
6
5
  slack: circleci/slack@3
7
6
 
8
7
  executors:
@@ -32,7 +31,8 @@ jobs:
32
31
  name: ruby
33
32
  version: << parameters.version >>
34
33
  steps:
35
- - browser-tools/install-browser-tools
34
+ - browser-tools/install_browser_tools:
35
+ install_firefox: false
36
36
  - checkout
37
37
  - run: bundle --version
38
38
  - run: gem --version
@@ -40,10 +40,9 @@ jobs:
40
40
  - run: chromedriver --version
41
41
  - run: bundle config --local path vendor/bundle
42
42
  - run: bundle install --jobs=4 --retry=3
43
- - codeclimate/with-cc-test-reporter:
44
- after_build_args: "--coverage-input-type simplecov"
45
- steps:
46
- - run: bundle exec rspec
43
+ - run: bundle exec rspec
44
+ - run: bundle exec yard
45
+ - run: ls -ld doc/
47
46
  - slack/notify-on-failure
48
47
 
49
48
  build_jobs: &build_jobs
@@ -54,6 +53,9 @@ build_jobs: &build_jobs
54
53
  - "3.0"
55
54
  - "3.1"
56
55
  - "3.2"
56
+ - "3.3"
57
+ - "3.4"
58
+ - "4.0"
57
59
 
58
60
  workflows:
59
61
  version: 2
@@ -2,9 +2,19 @@
2
2
  version: 2
3
3
 
4
4
  updates:
5
+ ###########################################################
6
+ # NOTE: following sections are auto generated. DO NOT EDIT!
7
+ ###########################################################
5
8
  - package-ecosystem: github-actions
6
9
  directory: /
7
10
  schedule:
8
- interval: weekly
11
+ interval: monthly
12
+ time: "05:00"
13
+ timezone: Asia/Tokyo
9
14
  assignees:
10
15
  - sue445
16
+ cooldown:
17
+ default-days: 7
18
+ exclude:
19
+ - ruby/setup-ruby
20
+ ###########################################################
@@ -0,0 +1,31 @@
1
+ # ref. https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
2
+
3
+ changelog:
4
+ exclude:
5
+ labels:
6
+ - chore
7
+
8
+ categories:
9
+ - title: ":bomb: Breaking Changes"
10
+ labels:
11
+ - breaking change
12
+
13
+ - title: ":lock: Security Fix"
14
+ labels:
15
+ - security
16
+
17
+ - title: ":rocket: Features"
18
+ labels:
19
+ - enhancement
20
+
21
+ - title: ":bug: Bug Fixes"
22
+ labels:
23
+ - bug
24
+
25
+ - title: ":dependabot: Dependency updates"
26
+ labels:
27
+ - dependencies
28
+
29
+ - title: ":pencil: Other Changes"
30
+ labels:
31
+ - "*"
@@ -0,0 +1,28 @@
1
+ name: dependabot-manager
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - synchronize # PR branch is rebased
8
+
9
+ jobs:
10
+ dependabot-auto-merge:
11
+ uses: sue445/workflows/.github/workflows/dependabot-auto-merge.yml@main
12
+ with:
13
+ repo-name: sue445/apple_system_status
14
+ secrets:
15
+ # TODO: Set secrets to Dependabot secrets
16
+ app-id: ${{ secrets.GH_APP_ID }}
17
+ private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
18
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
19
+
20
+ dependabot-security-alert:
21
+ uses: sue445/workflows/.github/workflows/dependabot-security-alert.yml@main
22
+ with:
23
+ repo-name: sue445/apple_system_status
24
+ secrets:
25
+ # TODO: Set secrets to Dependabot secrets
26
+ app-id: ${{ secrets.GH_APP_ID }}
27
+ private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
28
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
@@ -1,62 +1,18 @@
1
- # Simple workflow for deploying static content to GitHub Pages
2
- name: Deploy static content to Pages
1
+ name: Deploy yard to Pages
3
2
 
4
3
  on:
5
- # Runs on pushes targeting the default branch
6
4
  push:
7
5
  branches:
8
6
  - master
9
-
10
- # Allows you to run this workflow manually from the Actions tab
11
7
  workflow_dispatch:
12
8
 
13
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14
9
  permissions:
15
10
  contents: read
16
11
  pages: write
17
12
  id-token: write
18
13
 
19
- # Allow one concurrent deployment
20
- concurrency:
21
- group: "pages"
22
- cancel-in-progress: true
23
-
24
14
  jobs:
25
- # Single deploy job since we're just deploying
26
15
  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 }}
16
+ uses: sue445/workflows/.github/workflows/pages-yard.yml@main
17
+ secrets:
18
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
@@ -0,0 +1,14 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ uses: sue445/workflows/.github/workflows/release_gem.yml@main
9
+ with:
10
+ repo-name: sue445/apple_system_status
11
+ gem-name: apple_system_status
12
+ permissions:
13
+ contents: write
14
+ id-token: write
data/CHANGELOG.md CHANGED
@@ -1,4 +1,17 @@
1
1
  # Change Log
2
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.2...master)
3
+
4
+ ## [v4.0.1](https://github.com/sue445/apple_system_status/releases/tag/v4.0.2) (2026-08-23)
5
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.1...v4.0.2)
6
+
7
+ * Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
8
+ * https://github.com/sue445/apple_system_status/pull/129
9
+
10
+ ## [v4.0.1](https://github.com/sue445/apple_system_status/releases/tag/v4.0.1) (2025-11-28)
11
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.0...v4.0.1)
12
+
13
+ * Release gem from GitHub Actions
14
+ * https://github.com/sue445/apple_system_status/pull/93
2
15
 
3
16
  ## [v4.0.0](https://github.com/sue445/apple_system_status/tree/v4.0.0) (2023-12-28)
4
17
  [Full Changelog](https://github.com/sue445/apple_system_status/compare/v3.0.1...v4.0.0)
data/README.md CHANGED
@@ -4,12 +4,11 @@
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/apple_system_status.svg)](http://badge.fury.io/rb/apple_system_status)
6
6
  [![CircleCI](https://circleci.com/gh/sue445/apple_system_status/tree/master.svg?style=svg)](https://circleci.com/gh/sue445/apple_system_status/tree/master)
7
- [![Code Climate](https://codeclimate.com/github/sue445/apple_system_status/badges/gpa.svg)](https://codeclimate.com/github/sue445/apple_system_status)
8
- [![Test Coverage](https://codeclimate.com/github/sue445/apple_system_status/badges/coverage.svg)](https://codeclimate.com/github/sue445/apple_system_status/coverage)
7
+ [![Maintainability](https://qlty.sh/gh/sue445/projects/apple_system_status/maintainability.svg)](https://qlty.sh/gh/sue445/projects/apple_system_status)
9
8
  [![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
9
 
11
10
  ## Requirements
12
- * Ruby 2.6+
11
+ * Ruby 3.0+
13
12
  * Headless Chrome
14
13
 
15
14
  ## Installation
@@ -42,9 +42,11 @@ Gem::Specification.new do |spec|
42
42
  spec.add_development_dependency "bundler"
43
43
  spec.add_development_dependency "coveralls"
44
44
  spec.add_development_dependency "rake"
45
+ spec.add_development_dependency "rdoc"
45
46
  spec.add_development_dependency "rspec"
46
47
  spec.add_development_dependency "rspec-parameterized"
47
48
  spec.add_development_dependency "simplecov", "< 0.18.0"
49
+ spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
48
50
  spec.add_development_dependency "unparser", ">= 0.4.5"
49
51
  spec.add_development_dependency "yard"
50
52
  end
@@ -1,3 +1,3 @@
1
1
  module AppleSystemStatus
2
- VERSION = "4.0.0"
2
+ VERSION = "4.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apple_system_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-12-28 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: capybara
@@ -94,6 +93,20 @@ dependencies:
94
93
  - - ">="
95
94
  - !ruby/object:Gem::Version
96
95
  version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: rdoc
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: rspec
99
112
  requirement: !ruby/object:Gem::Requirement
@@ -136,6 +149,20 @@ dependencies:
136
149
  - - "<"
137
150
  - !ruby/object:Gem::Version
138
151
  version: 0.18.0
152
+ - !ruby/object:Gem::Dependency
153
+ name: term-ansicolor
154
+ requirement: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "!="
157
+ - !ruby/object:Gem::Version
158
+ version: 1.11.1
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "!="
164
+ - !ruby/object:Gem::Version
165
+ version: 1.11.1
139
166
  - !ruby/object:Gem::Dependency
140
167
  name: unparser
141
168
  requirement: !ruby/object:Gem::Requirement
@@ -175,7 +202,10 @@ files:
175
202
  - ".circleci/config.yml"
176
203
  - ".coveralls.yml"
177
204
  - ".github/dependabot.yml"
205
+ - ".github/release.yml"
206
+ - ".github/workflows/dependabot-manager.yml"
178
207
  - ".github/workflows/pages.yml"
208
+ - ".github/workflows/release_gem.yml"
179
209
  - ".gitignore"
180
210
  - ".rspec"
181
211
  - ".yardopts"
@@ -202,7 +232,6 @@ metadata:
202
232
  documentation_uri: https://sue445.github.io/apple_system_status/
203
233
  rubygems_mfa_required: 'true'
204
234
  allowed_push_host: https://rubygems.org
205
- post_install_message:
206
235
  rdoc_options: []
207
236
  require_paths:
208
237
  - lib
@@ -217,8 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
246
  - !ruby/object:Gem::Version
218
247
  version: '0'
219
248
  requirements: []
220
- rubygems_version: 3.5.3
221
- signing_key:
249
+ rubygems_version: 4.0.16
222
250
  specification_version: 4
223
251
  summary: Apple System Status scraping library
224
252
  test_files: []