apple_system_status 4.0.0 → 4.0.1

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: 630cd003433276ba34cc3a622e762e4d7f056210126315b6737e344e075b1c7b
4
+ data.tar.gz: 3bc26cfee90edf059cfd082d54ba377d3f9cd3f911645e48ca83b08b65e72d2d
5
5
  SHA512:
6
- metadata.gz: 5cbd548980abfabec34e7982de2c19bf4bb8350a9bb988ff3ae1e8b884b4bb9dc0280926fcb8c5cfd1f15f798efd982dd2eead6c71c53a951b7dda246fbe26f3
7
- data.tar.gz: 4e9effe86fc497739ed0d30f45b3a7ea57d619d11ee49d8f4f62341130ec83833490bd47ed9bc522a32ce125889423e72279bb20cfd082285a34a831b2a480b8
6
+ metadata.gz: 47f34a88ec2f95f9501c6ca4295aef95670e4eb9c12fc7b3efba3eb8e10ed4f72380e4c17e94abf37ff50aa6df47a792951192726cf96ca79146fec610bf2502
7
+ data.tar.gz: d7afdc7883e9e4fc9f7817559bdf913034fab9f1a66693becfd82be89686978fb53834c1a4f36fcfc87bb33c995ea171d1a2a54ae514e7ed3ee152434e3736a3
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,7 @@ 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
36
35
  - checkout
37
36
  - run: bundle --version
38
37
  - run: gem --version
@@ -40,10 +39,7 @@ jobs:
40
39
  - run: chromedriver --version
41
40
  - run: bundle config --local path vendor/bundle
42
41
  - 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
42
+ - run: bundle exec rspec
47
43
  - slack/notify-on-failure
48
44
 
49
45
  build_jobs: &build_jobs
@@ -54,6 +50,8 @@ build_jobs: &build_jobs
54
50
  - "3.0"
55
51
  - "3.1"
56
52
  - "3.2"
53
+ - "3.3"
54
+ - "3.4"
57
55
 
58
56
  workflows:
59
57
  version: 2
@@ -6,5 +6,7 @@ updates:
6
6
  directory: /
7
7
  schedule:
8
8
  interval: weekly
9
+ cooldown:
10
+ default-days: 7
9
11
  assignees:
10
12
  - sue445
@@ -30,9 +30,9 @@ jobs:
30
30
  runs-on: ubuntu-latest
31
31
  steps:
32
32
  - name: Checkout
33
- uses: actions/checkout@v4
33
+ uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
34
34
 
35
- - uses: ruby/setup-ruby@v1
35
+ - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
36
36
  with:
37
37
  ruby-version: ruby
38
38
  bundler-cache: true
@@ -40,23 +40,20 @@ jobs:
40
40
  - run: bundle exec yard
41
41
 
42
42
  - name: Setup Pages
43
- uses: actions/configure-pages@v4
43
+ uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
44
44
  - name: Upload artifact
45
- uses: actions/upload-pages-artifact@v3
45
+ uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
46
46
  with:
47
47
  # Upload entire repository
48
48
  path: './doc'
49
49
  - name: Deploy to GitHub Pages
50
50
  id: deployment
51
- uses: actions/deploy-pages@main
51
+ uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
52
52
 
53
53
  - name: Slack Notification (not success)
54
- uses: lazy-actions/slatify@master
54
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
55
55
  if: "! success()"
56
56
  continue-on-error: true
57
57
  with:
58
- job_name: "*pages*"
59
- type: ${{ job.status }}
60
- icon_emoji: ":octocat:"
61
- url: ${{ secrets.SLACK_WEBHOOK }}
62
- token: ${{ secrets.GITHUB_TOKEN }}
58
+ status: ${{ job.status }}
59
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
@@ -0,0 +1,41 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
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
+
15
+ permissions:
16
+ contents: write
17
+ 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,4 +1,11 @@
1
1
  # Change Log
2
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.1...master)
3
+
4
+ ## [v4.0.1](https://github.com/sue445/apple_system_status/tree/v4.0.1) (2025-11-28)
5
+ [Full Changelog](https://github.com/sue445/apple_system_status/compare/v4.0.0...v4.0.1)
6
+
7
+ * Release gem from GitHub Actions
8
+ * https://github.com/sue445/apple_system_status/pull/93
2
9
 
3
10
  ## [v4.0.0](https://github.com/sue445/apple_system_status/tree/v4.0.0) (2023-12-28)
4
11
  [Full Changelog](https://github.com/sue445/apple_system_status/compare/v3.0.1...v4.0.0)
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.6+
12
+ * Ruby 3.0+
13
13
  * Headless Chrome
14
14
 
15
15
  ## Installation
@@ -45,6 +45,7 @@ Gem::Specification.new do |spec|
45
45
  spec.add_development_dependency "rspec"
46
46
  spec.add_development_dependency "rspec-parameterized"
47
47
  spec.add_development_dependency "simplecov", "< 0.18.0"
48
+ spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
48
49
  spec.add_development_dependency "unparser", ">= 0.4.5"
49
50
  spec.add_development_dependency "yard"
50
51
  end
@@ -1,3 +1,3 @@
1
1
  module AppleSystemStatus
2
- VERSION = "4.0.0"
2
+ VERSION = "4.0.1"
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.1
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
@@ -136,6 +135,20 @@ dependencies:
136
135
  - - "<"
137
136
  - !ruby/object:Gem::Version
138
137
  version: 0.18.0
138
+ - !ruby/object:Gem::Dependency
139
+ name: term-ansicolor
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "!="
143
+ - !ruby/object:Gem::Version
144
+ version: 1.11.1
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "!="
150
+ - !ruby/object:Gem::Version
151
+ version: 1.11.1
139
152
  - !ruby/object:Gem::Dependency
140
153
  name: unparser
141
154
  requirement: !ruby/object:Gem::Requirement
@@ -176,6 +189,7 @@ files:
176
189
  - ".coveralls.yml"
177
190
  - ".github/dependabot.yml"
178
191
  - ".github/workflows/pages.yml"
192
+ - ".github/workflows/release_gem.yml"
179
193
  - ".gitignore"
180
194
  - ".rspec"
181
195
  - ".yardopts"
@@ -202,7 +216,6 @@ metadata:
202
216
  documentation_uri: https://sue445.github.io/apple_system_status/
203
217
  rubygems_mfa_required: 'true'
204
218
  allowed_push_host: https://rubygems.org
205
- post_install_message:
206
219
  rdoc_options: []
207
220
  require_paths:
208
221
  - lib
@@ -217,8 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
230
  - !ruby/object:Gem::Version
218
231
  version: '0'
219
232
  requirements: []
220
- rubygems_version: 3.5.3
221
- signing_key:
233
+ rubygems_version: 3.6.7
222
234
  specification_version: 4
223
235
  summary: Apple System Status scraping library
224
236
  test_files: []