syobocalite 1.2.0 → 1.2.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 +4 -4
- data/.github/dependabot.yml +11 -3
- data/.github/release.yml +31 -0
- data/.github/workflows/dependabot-manager.yml +28 -0
- data/.github/workflows/pages.yml +4 -45
- data/.github/workflows/release_gem.yml +14 -0
- data/.github/workflows/test.yml +57 -26
- data/CHANGELOG.md +13 -1
- data/Gemfile +5 -0
- data/README.md +1 -1
- data/lib/syobocalite/version.rb +1 -1
- data/syobocalite.gemspec +2 -0
- metadata +34 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a8dd138f4aa953affdca0fef05983c62c06a9fff6eba0f4aad55540ec534450
|
|
4
|
+
data.tar.gz: 15ac915190f3dfd57cec27af770375986126e006fef2b0d149ad24cf888cebd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed55dd1f192bb5ca64838dd3c105c5f64eed7ccfbc99bfdc04d29faff094076ad6c5970377fdd454f41858d17b690458ae76b70d515be00e7cd7c1775f3f7bef
|
|
7
|
+
data.tar.gz: 5c5a8819db9c7be6d1f8a2c4ee82b0d2f9410a6dfe19c28b4fe51bad62f0c043e870d2b0024c761578bdf292d55176f1290b62d1d6469a8a51db42a5b000f3bd
|
data/.github/dependabot.yml
CHANGED
|
@@ -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:
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
###########################################################
|
data/.github/release.yml
ADDED
|
@@ -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/syobocalite
|
|
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/syobocalite
|
|
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 }}
|
data/.github/workflows/pages.yml
CHANGED
|
@@ -1,59 +1,18 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
runs-on: ubuntu-latest
|
|
31
|
-
steps:
|
|
32
|
-
- name: Checkout
|
|
33
|
-
uses: actions/checkout@v5
|
|
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@v5
|
|
44
|
-
- name: Upload artifact
|
|
45
|
-
uses: actions/upload-pages-artifact@v4
|
|
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: act10ns/slack@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 }}
|
|
@@ -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/syobocalite
|
|
11
|
+
gem-name: syobocalite
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
id-token: write
|
data/.github/workflows/test.yml
CHANGED
|
@@ -29,55 +29,86 @@ jobs:
|
|
|
29
29
|
- "3.2"
|
|
30
30
|
- "3.3"
|
|
31
31
|
- "3.4"
|
|
32
|
+
- "4.0"
|
|
33
|
+
|
|
34
|
+
include:
|
|
35
|
+
# FIXME: Workaround for "ArgumentError: wrong number of arguments (given 4, expected 1)"
|
|
36
|
+
# c.f. https://github.com/ruby/setup-ruby#rubygems
|
|
37
|
+
- ruby: "2.5"
|
|
38
|
+
rubygems: "3.0.0"
|
|
32
39
|
|
|
33
40
|
steps:
|
|
34
|
-
- uses: actions/checkout@
|
|
41
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
42
|
+
|
|
43
|
+
# FIXME: Workaround for error in `bundle clean`
|
|
44
|
+
# /opt/hostedtoolcache/Ruby/2.5.9/x64/bin/bundle clean
|
|
45
|
+
# Cleaning all the gems on your system is dangerous! If you're sure you want to
|
|
46
|
+
# remove every system gem not in this bundle, run `bundle clean --force`.
|
|
47
|
+
- name: export BUNDLE_PATH
|
|
48
|
+
run: echo "BUNDLE_PATH=vendor/bundle" >> $GITHUB_ENV
|
|
49
|
+
if: matrix.ruby == '2.5'
|
|
35
50
|
|
|
36
|
-
- uses: ruby/setup-ruby@v1
|
|
51
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
37
52
|
with:
|
|
38
53
|
ruby-version: ${{ matrix.ruby }}
|
|
39
54
|
bundler-cache: true
|
|
40
|
-
|
|
55
|
+
rubygems: ${{ matrix.rubygems || 'default' }}
|
|
41
56
|
|
|
42
|
-
- run: bundle update --jobs $(nproc) --retry 3
|
|
57
|
+
- run: bundle update --all --jobs $(nproc) --retry 3
|
|
43
58
|
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
59
|
+
- run: bundle exec rspec
|
|
60
|
+
|
|
61
|
+
- name: Slack Notification (not success)
|
|
62
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
63
|
+
if: "! success()"
|
|
49
64
|
continue-on-error: true
|
|
65
|
+
with:
|
|
66
|
+
status: ${{ job.status }}
|
|
67
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
68
|
+
matrix: ${{ toJson(matrix) }}
|
|
50
69
|
|
|
51
|
-
|
|
70
|
+
yard:
|
|
71
|
+
runs-on: ubuntu-latest
|
|
52
72
|
|
|
53
|
-
|
|
54
|
-
|
|
73
|
+
steps:
|
|
74
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
75
|
+
|
|
76
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
55
77
|
with:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
78
|
+
ruby-version: ruby
|
|
79
|
+
bundler-cache: true
|
|
80
|
+
|
|
81
|
+
- name: bundle update
|
|
82
|
+
run: |
|
|
83
|
+
set -xe
|
|
84
|
+
bundle config path vendor/bundle
|
|
85
|
+
bundle update --all --jobs $(nproc) --retry 3
|
|
86
|
+
|
|
87
|
+
- name: yard generating test
|
|
88
|
+
run: |
|
|
89
|
+
set -xe
|
|
90
|
+
bundle exec yard
|
|
91
|
+
ls -ld doc/
|
|
60
92
|
|
|
61
93
|
- name: Slack Notification (not success)
|
|
62
|
-
uses: act10ns/slack@v2
|
|
94
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
63
95
|
if: "! success()"
|
|
64
96
|
continue-on-error: true
|
|
65
97
|
with:
|
|
66
98
|
status: ${{ job.status }}
|
|
67
99
|
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
68
|
-
matrix: ${{ toJson(matrix) }}
|
|
69
100
|
|
|
70
|
-
|
|
101
|
+
all-pass:
|
|
102
|
+
if: always()
|
|
103
|
+
|
|
71
104
|
needs:
|
|
72
105
|
- test
|
|
106
|
+
- yard
|
|
73
107
|
|
|
74
|
-
runs-on: ubuntu-
|
|
108
|
+
runs-on: ubuntu-slim
|
|
75
109
|
|
|
76
110
|
steps:
|
|
77
|
-
- name:
|
|
78
|
-
uses:
|
|
79
|
-
if: always()
|
|
80
|
-
continue-on-error: true
|
|
111
|
+
- name: check dependent jobs
|
|
112
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
81
113
|
with:
|
|
82
|
-
|
|
83
|
-
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
114
|
+
jobs: ${{ toJSON(needs) }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](https://github.com/sue445/syobocalite/compare/v1.2.
|
|
2
|
+
[full changelog](https://github.com/sue445/syobocalite/compare/v1.2.2...master)
|
|
3
|
+
|
|
4
|
+
## [1.2.2](https://github.com/sue445/syobocalite/releases/tag/v1.2.2)
|
|
5
|
+
[full changelog](https://github.com/sue445/syobocalite/compare/v1.2.1...v1.2.2)
|
|
6
|
+
|
|
7
|
+
* Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
|
|
8
|
+
* https://github.com/sue445/syobocalite/pull/97
|
|
9
|
+
|
|
10
|
+
## [1.2.1](https://github.com/sue445/syobocalite/releases/tag/v1.2.1)
|
|
11
|
+
[full changelog](https://github.com/sue445/syobocalite/compare/v1.2.0...v1.2.1)
|
|
12
|
+
|
|
13
|
+
* Release gem from GitHub Actions
|
|
14
|
+
* https://github.com/sue445/syobocalite/pull/55
|
|
3
15
|
|
|
4
16
|
## [1.2.0](https://github.com/sue445/syobocalite/releases/tag/v1.2.0)
|
|
5
17
|
[full changelog](https://github.com/sue445/syobocalite/compare/v1.1.1...v1.2.0)
|
data/Gemfile
CHANGED
|
@@ -4,3 +4,8 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
|
|
4
4
|
|
|
5
5
|
# Specify your gem's dependencies in syobocalite.gemspec
|
|
6
6
|
gemspec
|
|
7
|
+
|
|
8
|
+
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2.0")
|
|
9
|
+
# NOTE: i18n 1.15.0+ requires Ruby 3.2+
|
|
10
|
+
gem "i18n", "< 1.15.0"
|
|
11
|
+
end
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Lite client for [Syoboi calendar](http://cal.syoboi.jp/) API.
|
|
|
5
5
|
[](https://badge.fury.io/rb/syobocalite)
|
|
6
6
|
[](https://github.com/sue445/syobocalite/actions/workflows/test.yml)
|
|
7
7
|
[](https://coveralls.io/github/sue445/syobocalite?branch=master)
|
|
8
|
-
[](https://qlty.sh/gh/sue445/projects/syobocalite)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
data/lib/syobocalite/version.rb
CHANGED
data/syobocalite.gemspec
CHANGED
|
@@ -36,7 +36,9 @@ Gem::Specification.new do |spec|
|
|
|
36
36
|
|
|
37
37
|
spec.add_development_dependency "bundler", ">= 1.16"
|
|
38
38
|
spec.add_development_dependency "coveralls_reborn"
|
|
39
|
+
spec.add_development_dependency "irb"
|
|
39
40
|
spec.add_development_dependency "rake", ">= 10.0"
|
|
41
|
+
spec.add_development_dependency "rdoc"
|
|
40
42
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
41
43
|
spec.add_development_dependency "rspec-its"
|
|
42
44
|
spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: syobocalite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activesupport
|
|
@@ -66,6 +65,20 @@ dependencies:
|
|
|
66
65
|
- - ">="
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
67
|
version: '0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: irb
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - ">="
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '0'
|
|
75
|
+
type: :development
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - ">="
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '0'
|
|
69
82
|
- !ruby/object:Gem::Dependency
|
|
70
83
|
name: rake
|
|
71
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -80,6 +93,20 @@ dependencies:
|
|
|
80
93
|
- - ">="
|
|
81
94
|
- !ruby/object:Gem::Version
|
|
82
95
|
version: '10.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'
|
|
83
110
|
- !ruby/object:Gem::Dependency
|
|
84
111
|
name: rspec
|
|
85
112
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -159,7 +186,10 @@ extra_rdoc_files: []
|
|
|
159
186
|
files:
|
|
160
187
|
- ".coveralls.yml"
|
|
161
188
|
- ".github/dependabot.yml"
|
|
189
|
+
- ".github/release.yml"
|
|
190
|
+
- ".github/workflows/dependabot-manager.yml"
|
|
162
191
|
- ".github/workflows/pages.yml"
|
|
192
|
+
- ".github/workflows/release_gem.yml"
|
|
163
193
|
- ".github/workflows/test.yml"
|
|
164
194
|
- ".gitignore"
|
|
165
195
|
- ".rspec"
|
|
@@ -185,7 +215,6 @@ metadata:
|
|
|
185
215
|
changelog_uri: https://github.com/sue445/syobocalite/blob/master/CHANGELOG.md
|
|
186
216
|
documentation_uri: https://sue445.github.io/syobocalite/
|
|
187
217
|
rubygems_mfa_required: 'true'
|
|
188
|
-
post_install_message:
|
|
189
218
|
rdoc_options: []
|
|
190
219
|
require_paths:
|
|
191
220
|
- lib
|
|
@@ -200,8 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
200
229
|
- !ruby/object:Gem::Version
|
|
201
230
|
version: '0'
|
|
202
231
|
requirements: []
|
|
203
|
-
rubygems_version:
|
|
204
|
-
signing_key:
|
|
232
|
+
rubygems_version: 4.0.16
|
|
205
233
|
specification_version: 4
|
|
206
234
|
summary: Lite client for Syoboi calendar
|
|
207
235
|
test_files: []
|