cure_line 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +30 -60
- data/CHANGELOG.md +7 -1
- data/cure_line.gemspec +6 -1
- data/lib/cure_line/version.rb +1 -1
- metadata +15 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20979225ec73e7e49e3719cd454998b996e2f8182a4a8daabb7343b7090f84c1
|
4
|
+
data.tar.gz: 33511e788a0f3095144091024c9fd5d72a65fa872868b97420913f162873c070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a7a864eb6cf15b660fbcf05e72e884b038c16d78250dfcdfbce7881f0a71f682a67cf5b475117a5b1c674c00237954f16293ae5cfd9f504236b075ec3eddeb6
|
7
|
+
data.tar.gz: 840ac0deeb98dcb4af342c938b1ba31e57b9a673e60257a454d8337dee027d93a2040cbf4878c2a13d6ed29ceb13ba2a92e7db81194d590d258e51723fe30dd4
|
data/.github/workflows/test.yml
CHANGED
@@ -2,117 +2,86 @@ name: test
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
types:
|
9
|
+
- opened
|
10
|
+
- synchronize
|
11
|
+
- reopened
|
5
12
|
schedule:
|
6
|
-
- cron: "0 10 * *
|
13
|
+
- cron: "0 10 * * 5" # JST 19:00 (Fri)
|
7
14
|
|
8
15
|
env:
|
9
16
|
CI: "true"
|
10
17
|
|
11
18
|
jobs:
|
12
19
|
test:
|
13
|
-
runs-on:
|
20
|
+
runs-on: ubuntu-latest
|
21
|
+
|
22
|
+
container: ${{ matrix.ruby }}
|
14
23
|
|
15
24
|
strategy:
|
16
25
|
fail-fast: false
|
17
26
|
|
18
27
|
matrix:
|
19
28
|
ruby:
|
20
|
-
- 2.5
|
21
|
-
- 2.6
|
22
|
-
- 2.7
|
23
|
-
-
|
29
|
+
- ruby:2.5
|
30
|
+
- ruby:2.6
|
31
|
+
- ruby:2.7
|
32
|
+
- ruby:3.0
|
33
|
+
- rubylang/ruby:master-nightly-bionic
|
24
34
|
include:
|
25
|
-
- ruby:
|
26
|
-
|
27
|
-
- ruby: 2.6.0
|
28
|
-
runner: ubuntu-latest
|
29
|
-
- ruby: 2.7.0
|
30
|
-
runner: ubuntu-latest
|
31
|
-
- ruby: 2.8.0-dev
|
32
|
-
runner: ubuntu-latest
|
35
|
+
- ruby: rubylang/ruby:master-nightly-bionic
|
36
|
+
allow_failures: "true"
|
33
37
|
|
34
38
|
steps:
|
35
39
|
- uses: actions/checkout@v2
|
36
40
|
|
37
|
-
- name: Set up rbenv
|
38
|
-
uses: masa-iwasaki/setup-rbenv@1.1.0
|
39
|
-
|
40
|
-
- name: Cache RBENV_ROOT
|
41
|
-
uses: actions/cache@v1
|
42
|
-
id: cache_rbenv
|
43
|
-
with:
|
44
|
-
path: ~/.rbenv/versions
|
45
|
-
key: v1-rbenv-${{ runner.os }}-${{ matrix.ruby }}
|
46
|
-
if: "!endsWith(matrix.ruby, '-dev')"
|
47
|
-
|
48
|
-
- name: Reinstall libssl-dev
|
49
|
-
run: |
|
50
|
-
set -xe
|
51
|
-
sudo apt-get remove -y libssl-dev
|
52
|
-
sudo apt-get install -y libssl-dev=1.0.2g-1ubuntu4.15
|
53
|
-
if: matrix.runner == 'ubuntu-16.04'
|
54
|
-
|
55
|
-
- name: Install Ruby
|
56
|
-
run: |
|
57
|
-
set -xe
|
58
|
-
eval "$(rbenv init -)"
|
59
|
-
rbenv install -s $RBENV_VERSION
|
60
|
-
|
61
|
-
gem install bundler --no-document -v 1.17.3 || true
|
62
|
-
env:
|
63
|
-
RBENV_VERSION: ${{ matrix.ruby }}
|
64
|
-
continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
|
65
|
-
|
66
|
-
- name: Generate unique cache key
|
67
|
-
run: uuidgen > uuid.txt
|
68
41
|
|
69
42
|
- name: Cache vendor/bundle
|
70
43
|
uses: actions/cache@v1
|
71
44
|
id: cache_gem
|
72
45
|
with:
|
73
46
|
path: vendor/bundle
|
74
|
-
key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{
|
47
|
+
key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
|
75
48
|
restore-keys: |
|
76
49
|
v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
|
77
|
-
continue-on-error: ${{
|
50
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
78
51
|
|
79
52
|
- name: bundle update
|
80
53
|
run: |
|
81
54
|
set -xe
|
82
|
-
eval "$(rbenv init -)"
|
83
55
|
bundle config path vendor/bundle
|
84
56
|
bundle update --jobs $(nproc) --retry 3
|
85
|
-
|
86
|
-
RBENV_VERSION: ${{ matrix.ruby }}
|
87
|
-
continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
|
57
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
88
58
|
|
89
59
|
- name: Setup Code Climate Test Reporter
|
90
60
|
uses: aktions/codeclimate-test-reporter@v1
|
91
61
|
with:
|
92
62
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
93
63
|
command: before-build
|
94
|
-
|
64
|
+
if: matrix.ruby >= 'ruby:2.4'
|
65
|
+
continue-on-error: true
|
95
66
|
|
96
67
|
- name: Run test
|
97
68
|
run: |
|
98
69
|
set -xe
|
99
|
-
eval "$(rbenv init -)"
|
100
70
|
bundle exec rspec
|
101
|
-
|
102
|
-
RBENV_VERSION: ${{ matrix.ruby }}
|
103
|
-
continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
|
71
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
104
72
|
|
105
73
|
- name: Teardown Code Climate Test Reporter
|
106
74
|
uses: aktions/codeclimate-test-reporter@v1
|
107
75
|
with:
|
108
76
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
109
77
|
command: after-build
|
110
|
-
if: always()
|
111
|
-
continue-on-error:
|
78
|
+
if: matrix.ruby >= 'ruby:2.4' && always()
|
79
|
+
continue-on-error: true
|
112
80
|
|
113
81
|
- name: Slack Notification (not success)
|
114
|
-
uses:
|
82
|
+
uses: lazy-actions/slatify@master
|
115
83
|
if: "! success()"
|
84
|
+
continue-on-error: true
|
116
85
|
with:
|
117
86
|
job_name: ${{ format('*build* ({0})', matrix.ruby) }}
|
118
87
|
type: ${{ job.status }}
|
@@ -128,8 +97,9 @@ jobs:
|
|
128
97
|
|
129
98
|
steps:
|
130
99
|
- name: Slack Notification (success)
|
131
|
-
uses:
|
100
|
+
uses: lazy-actions/slatify@master
|
132
101
|
if: always()
|
102
|
+
continue-on-error: true
|
133
103
|
with:
|
134
104
|
job_name: '*build*'
|
135
105
|
type: ${{ job.status }}
|
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.1...master)
|
3
|
+
|
4
|
+
## v1.0.1
|
5
|
+
[full changelog](http://github.com/sue445/cure_line/compare/v1.0.0...v1.0.1)
|
6
|
+
|
7
|
+
* Enable MFA requirement for gem releasing
|
8
|
+
* https://github.com/sue445/cure_line/pull/30
|
3
9
|
|
4
10
|
## v1.0.0
|
5
11
|
[full changelog](http://github.com/sue445/cure_line/compare/v0.1.3...v1.0.0)
|
data/cure_line.gemspec
CHANGED
@@ -14,6 +14,11 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/sue445/cure_line"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
20
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
21
|
+
|
17
22
|
spec.required_ruby_version = ">= 2.5.0"
|
18
23
|
|
19
24
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -28,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
28
33
|
spec.add_development_dependency "bundler", ">= 1.16"
|
29
34
|
spec.add_development_dependency "coveralls"
|
30
35
|
spec.add_development_dependency "pry-byebug"
|
31
|
-
spec.add_development_dependency "rake"
|
36
|
+
spec.add_development_dependency "rake"
|
32
37
|
spec.add_development_dependency "rspec", "~> 3.0"
|
33
38
|
spec.add_development_dependency "rspec-its"
|
34
39
|
spec.add_development_dependency "simplecov"
|
data/lib/cure_line/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,8 +166,12 @@ files:
|
|
166
166
|
homepage: https://github.com/sue445/cure_line
|
167
167
|
licenses:
|
168
168
|
- MIT
|
169
|
-
metadata:
|
170
|
-
|
169
|
+
metadata:
|
170
|
+
homepage_uri: https://github.com/sue445/cure_line
|
171
|
+
source_code_uri: https://github.com/sue445/cure_line
|
172
|
+
changelog_uri: https://github.com/sue445/cure_line/blob/master/CHANGELOG.md
|
173
|
+
rubygems_mfa_required: 'true'
|
174
|
+
post_install_message:
|
171
175
|
rdoc_options: []
|
172
176
|
require_paths:
|
173
177
|
- lib
|
@@ -182,8 +186,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
186
|
- !ruby/object:Gem::Version
|
183
187
|
version: '0'
|
184
188
|
requirements: []
|
185
|
-
rubygems_version: 3.
|
186
|
-
signing_key:
|
189
|
+
rubygems_version: 3.2.22
|
190
|
+
signing_key:
|
187
191
|
specification_version: 4
|
188
192
|
summary: LINE TIMELINE scraping tool
|
189
193
|
test_files: []
|