syobocalite 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: 27047202eef018b20e894d68c9c77a429a3bed348228239889e0cf76925b8f3a
4
- data.tar.gz: 8c8c19bbd0c9c140f8c61802fd6d8a8f6f136c9fa5226344001026c5ff7345ad
3
+ metadata.gz: c66235b54db0a2f1bd0140ebba1f78a7a50ddf7f9f3ac80c8e0326fbd7335551
4
+ data.tar.gz: df1a38d0ce3ca6e543a5e7dc5c7bcbe4809f5e43fa04735bd78fd528bb71607f
5
5
  SHA512:
6
- metadata.gz: c1f677c0e2848b61a575b5d008b7b47f5a6e91d5a28ad1755a0d4cd5272ade7ba29802e57178047c2b0baf789a30f4289c940a7e80705ff1b09330e8cddeddd8
7
- data.tar.gz: df34dd8b948c3ffbc14b975a7475f4116ae846712c9fc95c81f752be50091986c8099fcb1d0c8ecf75b9aa7f41869f79239e232b893789ece21e78ced5f34a96
6
+ metadata.gz: 5473becc58c3ddd2d13f96032db08b6dc00460b3672eb84f83f3c17e9bf6e70184bba6028f5bc5a529f581861ee4f41ce92f1900e01cebcacd22a8dcb24efbaf
7
+ data.tar.gz: 676908cea8efdffdb64195561a791700f8be8a71b6dcad3869ae104ca0d97f872d5da38afdc83152e5b7ac583c9074d0b735fdd7c2d26426e67dc1e937864220
@@ -2,6 +2,13 @@ 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
13
  - cron: "0 10 * * 5" # JST 19:00 (Fri)
7
14
 
@@ -10,109 +17,71 @@ env:
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,10 +1,16 @@
1
1
  ## master
2
- [full changelog](https://github.com/sue445/syobocalite/compare/v1.0.0...master)
2
+ [full changelog](https://github.com/sue445/syobocalite/compare/v1.0.1...master)
3
+
4
+ ## 1.0.1
5
+ [full changelog](https://github.com/sue445/syobocalite/compare/v1.0.0...v1.0.1)
6
+
7
+ * Enable MFA requirement for gem releasing
8
+ * https://github.com/sue445/syobocalite/pull/24
3
9
 
4
10
  ## 1.0.0
5
11
  [full changelog](https://github.com/sue445/syobocalite/compare/v0.1.1...v1.0.0)
6
12
 
7
- ### BREAKING CHANGES :bomb
13
+ ### BREAKING CHANGES :bomb:
8
14
  * Drop support ruby 2.3 and 2.4
9
15
  * https://github.com/sue445/syobocalite/pull/14
10
16
 
@@ -1,3 +1,3 @@
1
1
  module Syobocalite
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/syobocalite.gemspec CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.metadata["homepage_uri"] = spec.homepage
21
21
  spec.metadata["source_code_uri"] = spec.homepage
22
22
  spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
23
+ spec.metadata["rubygems_mfa_required"] = "true"
23
24
  else
24
25
  raise "RubyGems 2.0 or newer is required to protect against " \
25
26
  "public gem pushes."
@@ -42,7 +43,7 @@ Gem::Specification.new do |spec|
42
43
  spec.add_development_dependency "bundler", ">= 1.16"
43
44
  spec.add_development_dependency "coveralls"
44
45
  spec.add_development_dependency "pry-byebug"
45
- spec.add_development_dependency "rake", "~> 10.0"
46
+ spec.add_development_dependency "rake", ">= 10.0"
46
47
  spec.add_development_dependency "rspec", "~> 3.0"
47
48
  spec.add_development_dependency "rspec-its"
48
49
  spec.add_development_dependency "webmock"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syobocalite
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-02 00:00:00.000000000 Z
11
+ date: 2021-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -84,14 +84,14 @@ dependencies:
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '10.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '10.0'
97
97
  - !ruby/object:Gem::Dependency
@@ -180,7 +180,8 @@ metadata:
180
180
  homepage_uri: https://github.com/sue445/syobocalite
181
181
  source_code_uri: https://github.com/sue445/syobocalite
182
182
  changelog_uri: https://github.com/sue445/syobocalite/blob/master/CHANGELOG.md
183
- post_install_message:
183
+ rubygems_mfa_required: 'true'
184
+ post_install_message:
184
185
  rdoc_options: []
185
186
  require_paths:
186
187
  - lib
@@ -195,8 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
196
  - !ruby/object:Gem::Version
196
197
  version: '0'
197
198
  requirements: []
198
- rubygems_version: 3.1.2
199
- signing_key:
199
+ rubygems_version: 3.2.22
200
+ signing_key:
200
201
  specification_version: 4
201
202
  summary: Lite client for Syoboi calendar
202
203
  test_files: []