apple_system_status 4.0.1 → 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: 630cd003433276ba34cc3a622e762e4d7f056210126315b6737e344e075b1c7b
4
- data.tar.gz: 3bc26cfee90edf059cfd082d54ba377d3f9cd3f911645e48ca83b08b65e72d2d
3
+ metadata.gz: bd083cba24512bdf308ebf5cc9976e9e42d473469fedddc0728ea343f2bc3269
4
+ data.tar.gz: 8c244c440075c38754d8523917c6d94b60b4b70d5427a0c40c4fc904f2348908
5
5
  SHA512:
6
- metadata.gz: 47f34a88ec2f95f9501c6ca4295aef95670e4eb9c12fc7b3efba3eb8e10ed4f72380e4c17e94abf37ff50aa6df47a792951192726cf96ca79146fec610bf2502
7
- data.tar.gz: d7afdc7883e9e4fc9f7817559bdf913034fab9f1a66693becfd82be89686978fb53834c1a4f36fcfc87bb33c995ea171d1a2a54ae514e7ed3ee152434e3736a3
6
+ metadata.gz: 5af29115fba72162af2d21d85ab9bda2f73c7ec3e712168c84dd2bc76a58b9ca98edc7a2147a5cd85360e6cf833c5cbc61d5deca293826ebb9c9d9c5eedc8313
7
+ data.tar.gz: 900f984aa855670b8acab1d61949de6dac7aff8cfb346bbd534c9daec430906181af9d3c668481a15f269328d0c7f1101bced68e7a6f0a5dbea228e44819b988
data/.circleci/config.yml CHANGED
@@ -31,7 +31,8 @@ jobs:
31
31
  name: ruby
32
32
  version: << parameters.version >>
33
33
  steps:
34
- - browser-tools/install_browser_tools
34
+ - browser-tools/install_browser_tools:
35
+ install_firefox: false
35
36
  - checkout
36
37
  - run: bundle --version
37
38
  - run: gem --version
@@ -40,6 +41,8 @@ jobs:
40
41
  - run: bundle config --local path vendor/bundle
41
42
  - run: bundle install --jobs=4 --retry=3
42
43
  - run: bundle exec rspec
44
+ - run: bundle exec yard
45
+ - run: ls -ld doc/
43
46
  - slack/notify-on-failure
44
47
 
45
48
  build_jobs: &build_jobs
@@ -52,6 +55,7 @@ build_jobs: &build_jobs
52
55
  - "3.2"
53
56
  - "3.3"
54
57
  - "3.4"
58
+ - "4.0"
55
59
 
56
60
  workflows:
57
61
  version: 2
@@ -2,11 +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
9
- cooldown:
10
- default-days: 7
11
+ interval: monthly
12
+ time: "05:00"
13
+ timezone: Asia/Tokyo
11
14
  assignees:
12
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,59 +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@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
34
-
35
- - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
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@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
44
- - name: Upload artifact
45
- uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
46
- with:
47
- # Upload entire repository
48
- path: './doc'
49
- - name: Deploy to GitHub Pages
50
- id: deployment
51
- uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
52
-
53
- - name: Slack Notification (not success)
54
- uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
55
- if: "! success()"
56
- continue-on-error: true
57
- with:
58
- status: ${{ job.status }}
59
- webhook-url: ${{ secrets.SLACK_WEBHOOK }}
16
+ uses: sue445/workflows/.github/workflows/pages-yard.yml@main
17
+ secrets:
18
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
@@ -5,37 +5,10 @@ on:
5
5
 
6
6
  jobs:
7
7
  release:
8
- if: github.repository == 'sue445/apple_system_status'
9
- runs-on: ubuntu-latest
10
-
11
- environment:
12
- name: rubygems.org
13
- url: https://rubygems.org/gems/apple_system_status
14
-
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
15
12
  permissions:
16
13
  contents: write
17
14
  id-token: write
18
-
19
- steps:
20
- - name: Harden Runner
21
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
22
- with:
23
- egress-policy: audit
24
-
25
- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26
-
27
- - name: Set up Ruby
28
- uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
29
- with:
30
- bundler-cache: true
31
- ruby-version: ruby
32
-
33
- - name: Publish to RubyGems
34
- uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
35
-
36
- - name: Create GitHub release
37
- run: |
38
- tag_name="$(git describe --tags --abbrev=0)"
39
- gh release create "${tag_name}" --verify-tag --generate-notes
40
- env:
41
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,7 +1,13 @@
1
1
  # Change Log
2
- [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.1...master)
2
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.2...master)
3
3
 
4
- ## [v4.0.1](https://github.com/sue445/apple_system_status/tree/v4.0.1) (2025-11-28)
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)
5
11
  [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.0...v4.0.1)
6
12
 
7
13
  * Release gem from GitHub Actions
data/README.md CHANGED
@@ -4,8 +4,7 @@
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
@@ -42,6 +42,7 @@ 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"
@@ -1,3 +1,3 @@
1
1
  module AppleSystemStatus
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
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: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
@@ -93,6 +93,20 @@ dependencies:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
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'
96
110
  - !ruby/object:Gem::Dependency
97
111
  name: rspec
98
112
  requirement: !ruby/object:Gem::Requirement
@@ -188,6 +202,8 @@ files:
188
202
  - ".circleci/config.yml"
189
203
  - ".coveralls.yml"
190
204
  - ".github/dependabot.yml"
205
+ - ".github/release.yml"
206
+ - ".github/workflows/dependabot-manager.yml"
191
207
  - ".github/workflows/pages.yml"
192
208
  - ".github/workflows/release_gem.yml"
193
209
  - ".gitignore"
@@ -230,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
246
  - !ruby/object:Gem::Version
231
247
  version: '0'
232
248
  requirements: []
233
- rubygems_version: 3.6.7
249
+ rubygems_version: 4.0.16
234
250
  specification_version: 4
235
251
  summary: Apple System Status scraping library
236
252
  test_files: []