rubicure 4.1.4 → 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: 2f26b37b0f0e763f0b36112214a300eab9a76b40349901982b0b37d6b1a0ee75
4
- data.tar.gz: cdcc3c4ecbf02f9b2f18db4b254eafe26638f65bb0abfa7afb8e97216117cd4f
3
+ metadata.gz: 6d71f33fce8d9b07978de34de9ad48b15ab013bb7c08e8863c28bc7a7e922fab
4
+ data.tar.gz: 6bff46b14c8faf0b83f30f96b022dc3ebd6c617be934749f521491f1fb5610d8
5
5
  SHA512:
6
- metadata.gz: 2ff5a2675cbfad5ec70e7fd565ba64057b16858c9dcbacc14ae6a5463b059a39f18da6a487455789f0df445702b88921e7d92e234f65d73d87f227003ccef0bb
7
- data.tar.gz: 07ee20c3f7106530338396712a8ee0396c8361752b1bd038ee0debba87cc86c4b8c2a7bcabf5a5661f646318239d7f20a36d8299754ffbdc84ffbcbc6cd1a159
6
+ metadata.gz: 3d3f59a05a556a066b1660e1aeed44e74a40e8092482df36bae399d91bb8dde89bba32eec11adbe22917ab4e4052fe3e743712d99873751f55932b402d8d7774
7
+ data.tar.gz: f4888fdcb3df2bd06c4127a491c9893a2adc4b5408b2bb5c306ccd7ed9484c90434de86f49bf68f025cfe565749639fc9caadcdfd56546612f944c0a403014ef
@@ -2,9 +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
11
+ interval: monthly
12
+ time: "05:00"
13
+ timezone: Asia/Tokyo
9
14
  assignees:
10
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@v4
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@v3
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 }}
@@ -0,0 +1,41 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ if: github.repository == 'sue445/rubicure'
9
+ runs-on: ubuntu-latest
10
+
11
+ environment:
12
+ name: rubygems.org
13
+ url: https://rubygems.org/gems/rubicure
14
+
15
+ permissions:
16
+ contents: write
17
+ id-token: write
18
+
19
+ steps:
20
+ - name: Harden Runner
21
+ uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
22
+ with:
23
+ egress-policy: audit
24
+
25
+ - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26
+
27
+ - name: Set up Ruby
28
+ uses: ruby/setup-ruby@8a836efbcebe5de0fe86b48a775b7a31b5c70c93 # v1.277.0
29
+ with:
30
+ bundler-cache: true
31
+ ruby-version: ruby
32
+
33
+ - name: Publish to RubyGems
34
+ uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b # v1.1.2
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 }}
@@ -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
@@ -40,6 +41,7 @@ jobs:
40
41
  - activesupport_7_1
41
42
  - activesupport_7_2
42
43
  - activesupport_8_0
44
+ - activesupport_8_1
43
45
  exclude:
44
46
  # activesupport 7.2+ requires Ruby 3.1+
45
47
  - ruby: "2.7"
@@ -54,14 +56,20 @@ jobs:
54
56
  gemfile: activesupport_8_0
55
57
  - ruby: "3.1"
56
58
  gemfile: activesupport_8_0
59
+ - ruby: "2.7"
60
+ gemfile: activesupport_8_1
61
+ - ruby: "3.0"
62
+ gemfile: activesupport_8_1
63
+ - ruby: "3.1"
64
+ gemfile: activesupport_8_1
57
65
 
58
66
  env:
59
67
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
60
68
 
61
69
  steps:
62
- - uses: actions/checkout@v4
70
+ - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
63
71
 
64
- - uses: ruby/setup-ruby@v1
72
+ - uses: ruby/setup-ruby@8a836efbcebe5de0fe86b48a775b7a31b5c70c93 # v1.277.0
65
73
  with:
66
74
  ruby-version: ${{ matrix.ruby }}
67
75
  bundler-cache: true
@@ -71,14 +79,7 @@ jobs:
71
79
  run: |
72
80
  set -xe
73
81
  bundle config path vendor/bundle
74
- bundle update --jobs $(nproc) --retry 3
75
-
76
- - name: Setup Code Climate Test Reporter
77
- uses: aktions/codeclimate-test-reporter@v1
78
- with:
79
- codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
80
- command: before-build
81
- continue-on-error: true
82
+ bundle update --all --jobs $(nproc) --retry 3
82
83
 
83
84
  - run: bundle exec rspec
84
85
  timeout-minutes: 1
@@ -86,23 +87,12 @@ jobs:
86
87
  - run: bundle exec ruby examples/all.rb
87
88
  timeout-minutes: 1
88
89
 
89
- - name: Teardown Code Climate Test Reporter
90
- uses: aktions/codeclimate-test-reporter@v1
91
- with:
92
- codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
93
- command: after-build
94
- if: always()
95
- continue-on-error: true
96
-
97
- - run: bundle exec rubocop
98
- timeout-minutes: 1
99
-
100
90
  - run: bundle exec rake rubydoctest
101
91
  timeout-minutes: 1
102
92
  if: matrix.ruby >= '3.4' && matrix.gemfile >= 'activesupport_7_1'
103
93
 
104
94
  - name: Slack Notification (not success)
105
- uses: act10ns/slack@v2
95
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
106
96
  if: "! success()"
107
97
  continue-on-error: true
108
98
  with:
@@ -110,17 +100,77 @@ jobs:
110
100
  webhook-url: ${{ secrets.SLACK_WEBHOOK }}
111
101
  matrix: ${{ toJson(matrix) }}
112
102
 
113
- notify:
114
- needs:
115
- - test
103
+ rubocop:
104
+ runs-on: ubuntu-latest
116
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 }}
130
+
131
+ yard:
117
132
  runs-on: ubuntu-latest
118
133
 
119
134
  steps:
120
- - name: Slack Notification (success)
121
- uses: act10ns/slack@v2
122
- 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()"
123
157
  continue-on-error: true
124
158
  with:
125
159
  status: ${{ job.status }}
126
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,17 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubicure/compare/v4.1.4...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
9
+
10
+ ## [v4.1.5](https://github.com/sue445/rubicure/releases/tag/v4.1.5)
11
+ [full changelog](http://github.com/sue445/rubicure/compare/v4.1.4...v4.1.5)
12
+
13
+ * Release gem from GitHub Actions
14
+ * https://github.com/sue445/rubicure/pull/337
3
15
 
4
16
  ## [v4.1.4](https://github.com/sue445/rubicure/releases/tag/v4.1.4)
5
17
  [full changelog](http://github.com/sue445/rubicure/compare/v4.1.3...v4.1.4)
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
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "~> 8.1.0.rc1"
4
+
5
+ eval_gemfile "#{__dir__}/common.gemfile"
6
+
7
+ gemspec path: "../"
@@ -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.4".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.4
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,7 +340,10 @@ 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"
346
+ - ".github/workflows/release_gem.yml"
316
347
  - ".github/workflows/test.yml"
317
348
  - ".gitignore"
318
349
  - ".rspec"
@@ -357,6 +388,7 @@ files:
357
388
  - gemfiles/activesupport_7_1.gemfile
358
389
  - gemfiles/activesupport_7_2.gemfile
359
390
  - gemfiles/activesupport_8_0.gemfile
391
+ - gemfiles/activesupport_8_1.gemfile
360
392
  - gemfiles/common.gemfile
361
393
  - lib/rubicure.rb
362
394
  - lib/rubicure/concerns/gengou.rb
@@ -414,7 +446,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
414
446
  - !ruby/object:Gem::Version
415
447
  version: '0'
416
448
  requirements: []
417
- rubygems_version: 3.6.9
449
+ rubygems_version: 4.0.3
418
450
  specification_version: 4
419
451
  summary: All about Japanese battle heroine "Pretty Cure (Precure)".
420
452
  test_files: []