cure_line 1.0.2 → 1.0.3
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 +4 -31
- data/.github/workflows/test.yml +53 -25
- data/CHANGELOG.md +7 -1
- data/Gemfile +4 -0
- data/README.md +1 -1
- data/cure_line.gemspec +1 -0
- data/lib/cure_line/version.rb +1 -1
- metadata +18 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c4c1452d001e709140ea0a1a4a079c2c1fe54222eb75d8dff53805cfadc129d
|
|
4
|
+
data.tar.gz: 93d624e9fdb9586e9d4e0f0ed1a4a3d01fa4d47d3072c512dc925f9bd34922c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 133d836793ebdaedcb3a2a9d2b762b8f1c31478baf62f800fa788f1a4c7c6b4eaa2fa13ed9d04fe70a54cc64a0a33730314e885805c2fa201f4ec81d1f29c44b
|
|
7
|
+
data.tar.gz: 708a336169415f25dc8024a7b32a5042522c495f500e4984b0b84607d1a4004bd0ee223ddeb1f3786375df63991c83c6bdb7b872d482baf8a5b311625525e8f2
|
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/cure_line
|
|
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/cure_line
|
|
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@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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
name: rubygems.org
|
|
13
|
-
url: https://rubygems.org/gems/cure_line
|
|
14
|
-
|
|
8
|
+
uses: sue445/workflows/.github/workflows/release_gem.yml@main
|
|
9
|
+
with:
|
|
10
|
+
repo-name: sue445/cure_line
|
|
11
|
+
gem-name: cure_line
|
|
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/.github/workflows/test.yml
CHANGED
|
@@ -29,54 +29,82 @@ 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@
|
|
51
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
37
52
|
with:
|
|
38
53
|
ruby-version: ${{ matrix.ruby }}
|
|
39
54
|
bundler-cache: true
|
|
55
|
+
rubygems: ${{ matrix.rubygems || 'default' }}
|
|
40
56
|
|
|
41
|
-
- run: bundle update --jobs $(nproc) --retry 3
|
|
57
|
+
- run: bundle update --all --jobs $(nproc) --retry 3
|
|
42
58
|
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
59
|
+
- run: bundle exec rspec
|
|
60
|
+
|
|
61
|
+
- name: Slack Notification (not success)
|
|
62
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
63
|
+
if: "! success()"
|
|
48
64
|
continue-on-error: true
|
|
65
|
+
with:
|
|
66
|
+
status: ${{ job.status }}
|
|
67
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
68
|
+
matrix: ${{ toJson(matrix) }}
|
|
49
69
|
|
|
50
|
-
|
|
70
|
+
yard:
|
|
71
|
+
runs-on: ubuntu-latest
|
|
51
72
|
|
|
52
|
-
|
|
53
|
-
|
|
73
|
+
steps:
|
|
74
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
75
|
+
|
|
76
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
54
77
|
with:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
78
|
+
ruby-version: ruby
|
|
79
|
+
bundler-cache: true
|
|
80
|
+
|
|
81
|
+
- run: bundle update --all --jobs $(nproc) --retry 3
|
|
82
|
+
|
|
83
|
+
- name: yard generating test
|
|
84
|
+
run: |
|
|
85
|
+
set -xe
|
|
86
|
+
bundle exec yard
|
|
87
|
+
ls -ld doc/
|
|
59
88
|
|
|
60
89
|
- name: Slack Notification (not success)
|
|
61
|
-
uses: act10ns/slack@
|
|
90
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
62
91
|
if: "! success()"
|
|
63
92
|
continue-on-error: true
|
|
64
93
|
with:
|
|
65
94
|
status: ${{ job.status }}
|
|
66
95
|
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
67
|
-
matrix: ${{ toJson(matrix) }}
|
|
68
96
|
|
|
69
|
-
|
|
97
|
+
all-pass:
|
|
98
|
+
if: always()
|
|
99
|
+
|
|
70
100
|
needs:
|
|
71
101
|
- test
|
|
102
|
+
- yard
|
|
72
103
|
|
|
73
|
-
runs-on: ubuntu-
|
|
104
|
+
runs-on: ubuntu-slim
|
|
74
105
|
|
|
75
106
|
steps:
|
|
76
|
-
- name:
|
|
77
|
-
uses:
|
|
78
|
-
if: always()
|
|
79
|
-
continue-on-error: true
|
|
107
|
+
- name: check dependent jobs
|
|
108
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
80
109
|
with:
|
|
81
|
-
|
|
82
|
-
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
110
|
+
jobs: ${{ toJSON(needs) }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## Unreleased
|
|
2
|
-
[full changelog](http://github.com/sue445/cure_line/compare/v1.0.
|
|
2
|
+
[full changelog](http://github.com/sue445/cure_line/compare/v1.0.3...master)
|
|
3
|
+
|
|
4
|
+
## [v1.0.3](https://github.com/sue445/cure_line/releases/tag/v1.0.3)
|
|
5
|
+
[full changelog](http://github.com/sue445/cure_line/compare/v1.0.2...v1.0.3)
|
|
6
|
+
|
|
7
|
+
* Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
|
|
8
|
+
* https://github.com/sue445/cure_line/pull/94
|
|
3
9
|
|
|
4
10
|
## [v1.0.2](https://github.com/sue445/cure_line/releases/tag/v1.0.2)
|
|
5
11
|
[full changelog](http://github.com/sue445/cure_line/compare/v1.0.1...v1.0.2)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
[](https://badge.fury.io/rb/cure_line)
|
|
5
5
|
[](https://github.com/sue445/cure_line/actions/workflows/test.yml)
|
|
6
|
-
[](https://qlty.sh/gh/sue445/projects/cure_line)
|
|
7
7
|
[](https://coveralls.io/github/sue445/cure_line?branch=master)
|
|
8
8
|
|
|
9
9
|
## Installation
|
data/cure_line.gemspec
CHANGED
|
@@ -35,6 +35,7 @@ Gem::Specification.new do |spec|
|
|
|
35
35
|
spec.add_development_dependency "coveralls_reborn"
|
|
36
36
|
spec.add_development_dependency "pry-byebug"
|
|
37
37
|
spec.add_development_dependency "rake"
|
|
38
|
+
spec.add_development_dependency "rdoc"
|
|
38
39
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
39
40
|
spec.add_development_dependency "rspec-its"
|
|
40
41
|
spec.add_development_dependency "simplecov"
|
data/lib/cure_line/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cure_line
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
@@ -79,6 +79,20 @@ dependencies:
|
|
|
79
79
|
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '0'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: rdoc
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '0'
|
|
89
|
+
type: :development
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - ">="
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '0'
|
|
82
96
|
- !ruby/object:Gem::Dependency
|
|
83
97
|
name: rspec
|
|
84
98
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -172,6 +186,8 @@ extra_rdoc_files: []
|
|
|
172
186
|
files:
|
|
173
187
|
- ".coveralls.yml"
|
|
174
188
|
- ".github/dependabot.yml"
|
|
189
|
+
- ".github/release.yml"
|
|
190
|
+
- ".github/workflows/dependabot-manager.yml"
|
|
175
191
|
- ".github/workflows/pages.yml"
|
|
176
192
|
- ".github/workflows/release_gem.yml"
|
|
177
193
|
- ".github/workflows/test.yml"
|
|
@@ -217,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
233
|
- !ruby/object:Gem::Version
|
|
218
234
|
version: '0'
|
|
219
235
|
requirements: []
|
|
220
|
-
rubygems_version:
|
|
236
|
+
rubygems_version: 4.0.16
|
|
221
237
|
specification_version: 4
|
|
222
238
|
summary: LINE TIMELINE scraping tool
|
|
223
239
|
test_files: []
|