rubicure 4.1.5 → 4.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd7220ed5a34402b372617f55bff059f51f3edfa34fb3aa36a8007d7e8f28c80
4
- data.tar.gz: 4781ad535e2a6284fe5dab0cbb1067054fc0649d058d0df639c4163240971424
3
+ metadata.gz: 6d71f33fce8d9b07978de34de9ad48b15ab013bb7c08e8863c28bc7a7e922fab
4
+ data.tar.gz: 6bff46b14c8faf0b83f30f96b022dc3ebd6c617be934749f521491f1fb5610d8
5
5
  SHA512:
6
- metadata.gz: 3fba50f28297dbe5e547db575dacf5920486fd28fd4cc69aa4a15e7892f98c98e8439bd269aec17db24474c5aa7bbe9082d36a1747ee1f3a224e8f620c61ff3c
7
- data.tar.gz: ea0270098cda49ae58beea4a90739652495a34ebfebee280877907e05b500a641ba5e7fbaf6651137d5b31a4c38741bf23bfb0ccf13ea4412a173a1ac282b352
6
+ metadata.gz: 3d3f59a05a556a066b1660e1aeed44e74a40e8092482df36bae399d91bb8dde89bba32eec11adbe22917ab4e4052fe3e743712d99873751f55932b402d8d7774
7
+ data.tar.gz: f4888fdcb3df2bd06c4127a491c9893a2adc4b5408b2bb5c306ccd7ed9484c90434de86f49bf68f025cfe565749639fc9caadcdfd56546612f944c0a403014ef
@@ -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: weekly
9
- cooldown:
10
- default-days: 7
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
+ ###########################################################
@@ -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,24 @@
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
+ secrets:
13
+ # TODO: Set secrets to Dependabot secrets
14
+ app-id: ${{ secrets.GH_APP_ID }}
15
+ private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
16
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
17
+
18
+ dependabot-security-alert:
19
+ uses: sue445/workflows/.github/workflows/dependabot-security-alert.yml@main
20
+ secrets:
21
+ # TODO: Set secrets to Dependabot secrets
22
+ app-id: ${{ secrets.GH_APP_ID }}
23
+ private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
24
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
@@ -1,59 +1,18 @@
1
- # Simple workflow for deploying static content to GitHub Pages
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
- environment:
28
- name: github-pages
29
- url: ${{ steps.deployment.outputs.page_url }}
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 }}
@@ -18,20 +18,20 @@ jobs:
18
18
 
19
19
  steps:
20
20
  - name: Harden Runner
21
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
21
+ uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
22
22
  with:
23
23
  egress-policy: audit
24
24
 
25
- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25
+ - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26
26
 
27
27
  - name: Set up Ruby
28
- uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
28
+ uses: ruby/setup-ruby@8a836efbcebe5de0fe86b48a775b7a31b5c70c93 # v1.277.0
29
29
  with:
30
30
  bundler-cache: true
31
31
  ruby-version: ruby
32
32
 
33
33
  - name: Publish to RubyGems
34
- uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
34
+ uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b # v1.1.2
35
35
 
36
36
  - name: Create GitHub release
37
37
  run: |
@@ -30,6 +30,7 @@ jobs:
30
30
  - "3.2"
31
31
  - "3.3"
32
32
  - "3.4"
33
+ - "4.0"
33
34
  gemfile:
34
35
  - activesupport_5_0
35
36
  - activesupport_5_1
@@ -66,9 +67,9 @@ jobs:
66
67
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
67
68
 
68
69
  steps:
69
- - uses: actions/checkout@v5
70
+ - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
70
71
 
71
- - uses: ruby/setup-ruby@v1
72
+ - uses: ruby/setup-ruby@8a836efbcebe5de0fe86b48a775b7a31b5c70c93 # v1.277.0
72
73
  with:
73
74
  ruby-version: ${{ matrix.ruby }}
74
75
  bundler-cache: true
@@ -78,14 +79,7 @@ jobs:
78
79
  run: |
79
80
  set -xe
80
81
  bundle config path vendor/bundle
81
- bundle update --jobs $(nproc) --retry 3
82
-
83
- - name: Setup Code Climate Test Reporter
84
- uses: aktions/codeclimate-test-reporter@v1
85
- with:
86
- codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
87
- command: before-build
88
- continue-on-error: true
82
+ bundle update --all --jobs $(nproc) --retry 3
89
83
 
90
84
  - run: bundle exec rspec
91
85
  timeout-minutes: 1
@@ -93,23 +87,12 @@ jobs:
93
87
  - run: bundle exec ruby examples/all.rb
94
88
  timeout-minutes: 1
95
89
 
96
- - name: Teardown Code Climate Test Reporter
97
- uses: aktions/codeclimate-test-reporter@v1
98
- with:
99
- codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
100
- command: after-build
101
- if: always()
102
- continue-on-error: true
103
-
104
- - run: bundle exec rubocop
105
- timeout-minutes: 1
106
-
107
90
  - run: bundle exec rake rubydoctest
108
91
  timeout-minutes: 1
109
92
  if: matrix.ruby >= '3.4' && matrix.gemfile >= 'activesupport_7_1'
110
93
 
111
94
  - name: Slack Notification (not success)
112
- uses: act10ns/slack@v2
95
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
113
96
  if: "! success()"
114
97
  continue-on-error: true
115
98
  with:
@@ -117,17 +100,77 @@ jobs:
117
100
  webhook-url: ${{ secrets.SLACK_WEBHOOK }}
118
101
  matrix: ${{ toJson(matrix) }}
119
102
 
120
- notify:
121
- needs:
122
- - test
103
+ rubocop:
104
+ runs-on: ubuntu-latest
105
+
106
+ steps:
107
+ - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
108
+
109
+ - uses: ruby/setup-ruby@8a836efbcebe5de0fe86b48a775b7a31b5c70c93 # v1.277.0
110
+ with:
111
+ ruby-version: ruby
112
+ bundler-cache: true
113
+
114
+ - name: bundle update
115
+ run: |
116
+ set -xe
117
+ bundle config path vendor/bundle
118
+ bundle update --all --jobs $(nproc) --retry 3
119
+
120
+ - run: bundle exec rubocop
121
+ timeout-minutes: 1
122
+
123
+ - name: Slack Notification (not success)
124
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
125
+ if: "! success()"
126
+ continue-on-error: true
127
+ with:
128
+ status: ${{ job.status }}
129
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
123
130
 
131
+ yard:
124
132
  runs-on: ubuntu-latest
125
133
 
126
134
  steps:
127
- - name: Slack Notification (success)
128
- uses: act10ns/slack@v2
129
- if: always()
135
+ - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
136
+
137
+ - uses: ruby/setup-ruby@8a836efbcebe5de0fe86b48a775b7a31b5c70c93 # v1.277.0
138
+ with:
139
+ ruby-version: ruby
140
+ bundler-cache: true
141
+
142
+ - name: bundle update
143
+ run: |
144
+ set -xe
145
+ bundle config path vendor/bundle
146
+ bundle update --all --jobs $(nproc) --retry 3
147
+
148
+ - name: yard generating test
149
+ run: |
150
+ set -xe
151
+ bundle exec yard
152
+ ls -ld doc/
153
+
154
+ - name: Slack Notification (not success)
155
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
156
+ if: "! success()"
130
157
  continue-on-error: true
131
158
  with:
132
159
  status: ${{ job.status }}
133
160
  webhook-url: ${{ secrets.SLACK_WEBHOOK }}
161
+
162
+ all-pass:
163
+ if: always()
164
+
165
+ needs:
166
+ - test
167
+ - rubocop
168
+ - yard
169
+
170
+ runs-on: ubuntu-slim
171
+
172
+ steps:
173
+ - name: check dependent jobs
174
+ uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
175
+ with:
176
+ jobs: ${{ toJSON(needs) }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubicure/compare/v4.1.5...master)
2
+ [full changelog](http://github.com/sue445/rubicure/compare/v4.1.6...master)
3
+
4
+ ## [v4.1.6](https://github.com/sue445/rubicure/releases/tag/v4.1.6)
5
+ [full changelog](http://github.com/sue445/rubicure/compare/v4.1.5...v4.1.6)
6
+
7
+ * Add You and Idol Precure's ended_date
8
+ * https://github.com/sue445/rubicure/pull/355
3
9
 
4
10
  ## [v4.1.5](https://github.com/sue445/rubicure/releases/tag/v4.1.5)
5
11
  [full changelog](http://github.com/sue445/rubicure/compare/v4.1.4...v4.1.5)
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rubicure.svg)](http://badge.fury.io/rb/rubicure)
4
4
  [![test](https://github.com/sue445/rubicure/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/rubicure/actions/workflows/test.yml)
5
- [![Code Climate](https://codeclimate.com/github/sue445/rubicure.png)](https://codeclimate.com/github/sue445/rubicure)
5
+ [![Maintainability](https://qlty.sh/gh/sue445/projects/rubicure/maintainability.svg)](https://qlty.sh/gh/sue445/projects/rubicure)
6
6
  [![Coverage Status](https://coveralls.io/repos/sue445/rubicure/badge.png)](https://coveralls.io/r/sue445/rubicure)
7
7
 
8
8
  All about Japanese battle heroine "Pretty Cure (Precure)".
@@ -118,7 +118,7 @@ and [more aliases!](config/series.yml)
118
118
 
119
119
  ```ruby
120
120
  >> Precure.now
121
- => {series_name: "you_and_idol", title: "キミとアイドルプリキュア♪", started_date: #<Date: 2025-02-02 ((2460709j,0s,0n),+0s,-Infj)>, girls: ["cure_idol", "cure_wink", "cure_kyunkyun", "cure_zukyoon", "cure_kiss"]}
121
+ => {series_name: "you_and_idol", title: "キミとアイドルプリキュア♪", started_date: #<Date: 2025-02-02 ((2460709j,0s,0n),+0s,-Infj)>, ended_date: #<Date: 2026-01-25 ((2461066j,0s,0n),+0s,-Infj)>, girls: ["cure_idol", "cure_wink", "cure_kyunkyun", "cure_zukyoon", "cure_kiss"]}
122
122
 
123
123
  # -2013/1/27 : smile precure
124
124
  # 2013/2/5 - : dokidoki precure
data/config/series.yml CHANGED
@@ -289,7 +289,7 @@ you_and_idol: &you_and_idol
289
289
  series_name: you_and_idol
290
290
  title: キミとアイドルプリキュア♪
291
291
  started_date: 2025-02-02
292
- # ended_date: 2026-01-xx
292
+ ended_date: 2026-01-25
293
293
  girls:
294
294
  - cure_idol
295
295
  - cure_wink
@@ -1,3 +1,4 @@
1
- # FIXME: rubydoctest doesn't work on ruby 3.2+
2
- # c.f. https://github.com/tslocke/rubydoctest/pull/17
3
- gem "rubydoctest", github: "sue445/rubydoctest", ref: "ruby3.2"
1
+ # FIXME: develop branch contains followings patches
2
+ # * https://github.com/tslocke/rubydoctest/pull/17 : Workaround for ruby 3.2
3
+ # * https://github.com/tslocke/rubydoctest/pull/18 : Workaround for bundler 4.0.0
4
+ gem "rubydoctest", github: "sue445/rubydoctest", ref: "develop"
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "4.1.5".freeze
2
+ VERSION = "4.1.6".freeze
3
3
  end
data/rubicure.gemspec CHANGED
@@ -36,8 +36,10 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency "bundler", ">= 1.3.5"
37
37
  spec.add_development_dependency "coveralls_reborn"
38
38
  spec.add_development_dependency "delorean"
39
+ spec.add_development_dependency "irb"
39
40
  spec.add_development_dependency "onkcop", "1.0.0.0"
40
41
  spec.add_development_dependency "rake"
42
+ spec.add_development_dependency "rdoc"
41
43
  spec.add_development_dependency "rspec", ">= 3.8.0"
42
44
  spec.add_development_dependency "rspec-collection_matchers"
43
45
  spec.add_development_dependency "rspec-its"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubicure
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.5
4
+ version: 4.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
@@ -93,6 +93,20 @@ dependencies:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: irb
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'
96
110
  - !ruby/object:Gem::Dependency
97
111
  name: onkcop
98
112
  requirement: !ruby/object:Gem::Requirement
@@ -121,6 +135,20 @@ dependencies:
121
135
  - - ">="
122
136
  - !ruby/object:Gem::Version
123
137
  version: '0'
138
+ - !ruby/object:Gem::Dependency
139
+ name: rdoc
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
124
152
  - !ruby/object:Gem::Dependency
125
153
  name: rspec
126
154
  requirement: !ruby/object:Gem::Requirement
@@ -312,6 +340,8 @@ extra_rdoc_files: []
312
340
  files:
313
341
  - ".coveralls.yml"
314
342
  - ".github/dependabot.yml"
343
+ - ".github/release.yml"
344
+ - ".github/workflows/dependabot-manager.yml"
315
345
  - ".github/workflows/pages.yml"
316
346
  - ".github/workflows/release_gem.yml"
317
347
  - ".github/workflows/test.yml"
@@ -416,7 +446,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
416
446
  - !ruby/object:Gem::Version
417
447
  version: '0'
418
448
  requirements: []
419
- rubygems_version: 3.6.7
449
+ rubygems_version: 4.0.3
420
450
  specification_version: 4
421
451
  summary: All about Japanese battle heroine "Pretty Cure (Precure)".
422
452
  test_files: []