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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b74cb3ba2d7121cbc943e48a69d492eda7d95a71d1a8340292d4d56e5ba24a52
4
- data.tar.gz: a78f9145a4f5f4bb4bf8295341ab5da55d621355f6161604afff6d21c455bb34
3
+ metadata.gz: 20979225ec73e7e49e3719cd454998b996e2f8182a4a8daabb7343b7090f84c1
4
+ data.tar.gz: 33511e788a0f3095144091024c9fd5d72a65fa872868b97420913f162873c070
5
5
  SHA512:
6
- metadata.gz: a14e2d42cdccb539cb1f12919ff1bea1080c7c327c528cf858a8c72b0d069b1bf3e31dc556b0fb87afe757bb10b12e8bca6ebae3b35a9ea8f99b5293ed0b169e
7
- data.tar.gz: 82bcb8c975ccd158f4e98761b5b349d09524a0ee0a5f8ab7a70628bf18727db510b4f5f977c4eae1ec0a842ba4c7941e57c8146a1900639cc1f643d952e57e96
6
+ metadata.gz: 6a7a864eb6cf15b660fbcf05e72e884b038c16d78250dfcdfbce7881f0a71f682a67cf5b475117a5b1c674c00237954f16293ae5cfd9f504236b075ec3eddeb6
7
+ data.tar.gz: 840ac0deeb98dcb4af342c938b1ba31e57b9a673e60257a454d8337dee027d93a2040cbf4878c2a13d6ed29ceb13ba2a92e7db81194d590d258e51723fe30dd4
@@ -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 * * 4" # JST 19:00 (Fri)
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: ${{ matrix.runner }}
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.0
21
- - 2.6.0
22
- - 2.7.0
23
- - 2.8.0-dev
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: 2.5.0
26
- runner: ubuntu-latest
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 }}-${{ hashFiles('uuid.txt') }}
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: ${{ endsWith(matrix.ruby, '-dev') }}
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
- env:
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
- continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
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
- env:
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: ${{ endsWith(matrix.ruby, '-dev') }}
78
+ if: matrix.ruby >= 'ruby:2.4' && always()
79
+ continue-on-error: true
112
80
 
113
81
  - name: Slack Notification (not success)
114
- uses: homoluctus/slatify@v2.0.0
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: homoluctus/slatify@v2.0.0
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.0...master)
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", "~> 10.0"
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"
@@ -1,3 +1,3 @@
1
1
  module CureLine
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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: 2020-01-01 00:00:00.000000000 Z
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: '10.0'
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: '10.0'
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
- post_install_message:
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.1.2
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: []