rubicure 3.3.4 → 4.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 +2 -12
- data/.rubocop.yml +4 -1
- data/CHANGELOG.md +20 -1
- data/README.md +12 -13
- data/config/girls/013_maho_girls.yml +31 -0
- data/gemfiles/activesupport_5_0.gemfile +4 -0
- data/gemfiles/activesupport_5_1.gemfile +4 -0
- data/gemfiles/activesupport_5_2.gemfile +4 -0
- data/gemfiles/activesupport_6_0.gemfile +4 -0
- data/gemfiles/activesupport_6_1.gemfile +4 -0
- data/gemfiles/common.gemfile +0 -5
- data/lib/rubicure/cure_cosmo.rb +1 -1
- data/lib/rubicure/girl.rb +1 -1
- data/lib/rubicure/version.rb +1 -1
- data/rubicure.gemspec +5 -6
- data/spec/config/girls_checker_spec.rb +3 -5
- data/spec/rubicure/core_spec.rb +4 -4
- data/spec/rubicure/girl_spec.rb +3 -3
- data/spec/rubicure/rubicure_spec.rb +1 -1
- data/spec/rubicure/series_spec.rb +1 -1
- data/spec/spec_helper.rb +4 -0
- metadata +13 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fec9c38763f8b79a57f81758f0b8280cdbd6e0511cef2b88d167a59edebc59c
|
4
|
+
data.tar.gz: ca58937006fd9259ca46aa7749b6efbd05ad5ba5e79176d28949a3632380e246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a42453d7005f79b555784464c08338d570fb03899f8214e1327585e9135b4708a9952e7fa964a77d9797a396adf671ca20ed0e3e8b4cfd1f9464110d4fbbde6f
|
7
|
+
data.tar.gz: 68bae40d7c24f9485827aacb034b652fc62e48511969a90fdff41725dbcde78bd7c0b78bdf39588b71e43ef2a85762485bfd309106baf4c6221a603b803dce27
|
data/.github/workflows/test.yml
CHANGED
@@ -24,12 +24,12 @@ jobs:
|
|
24
24
|
|
25
25
|
matrix:
|
26
26
|
ruby:
|
27
|
-
- "2.6"
|
28
27
|
- "2.7"
|
29
28
|
- "3.0"
|
30
29
|
- "3.1"
|
31
30
|
- "3.2"
|
32
31
|
- "3.3"
|
32
|
+
- "3.4"
|
33
33
|
gemfile:
|
34
34
|
- activesupport_5_0
|
35
35
|
- activesupport_5_1
|
@@ -41,23 +41,13 @@ jobs:
|
|
41
41
|
- activesupport_7_2
|
42
42
|
- activesupport_8_0
|
43
43
|
exclude:
|
44
|
-
# activesupport 7.0+ requires Ruby 2.7+
|
45
|
-
- ruby: "2.6"
|
46
|
-
gemfile: activesupport_7_0
|
47
|
-
- ruby: "2.6"
|
48
|
-
gemfile: activesupport_7_1
|
49
|
-
|
50
44
|
# activesupport 7.2+ requires Ruby 3.1+
|
51
|
-
- ruby: "2.6"
|
52
|
-
gemfile: activesupport_7_2
|
53
45
|
- ruby: "2.7"
|
54
46
|
gemfile: activesupport_7_2
|
55
47
|
- ruby: "3.0"
|
56
48
|
gemfile: activesupport_7_2
|
57
49
|
|
58
50
|
# activesupport 8.0+ requires Ruby 3.2+
|
59
|
-
- ruby: "2.6"
|
60
|
-
gemfile: activesupport_8_0
|
61
51
|
- ruby: "2.7"
|
62
52
|
gemfile: activesupport_8_0
|
63
53
|
- ruby: "3.0"
|
@@ -109,7 +99,7 @@ jobs:
|
|
109
99
|
|
110
100
|
- run: bundle exec rake rubydoctest
|
111
101
|
timeout-minutes: 1
|
112
|
-
if: matrix.ruby >= '3.
|
102
|
+
if: matrix.ruby >= '3.4' && matrix.gemfile >= 'activesupport_7_1'
|
113
103
|
|
114
104
|
- name: Slack Notification (not success)
|
115
105
|
uses: act10ns/slack@v2
|
data/.rubocop.yml
CHANGED
@@ -9,7 +9,7 @@ inherit_gem:
|
|
9
9
|
- "config/performance.yml"
|
10
10
|
|
11
11
|
AllCops:
|
12
|
-
TargetRubyVersion: 2.
|
12
|
+
TargetRubyVersion: "2.7"
|
13
13
|
NewCops: enable
|
14
14
|
|
15
15
|
Exclude:
|
@@ -21,6 +21,9 @@ AllCops:
|
|
21
21
|
- 'vendor/**/*'
|
22
22
|
- '.git/**/*'
|
23
23
|
|
24
|
+
Gemspec/DevelopmentDependencies:
|
25
|
+
EnforcedStyle: gemspec
|
26
|
+
|
24
27
|
Layout/HashAlignment:
|
25
28
|
EnforcedHashRocketStyle: table
|
26
29
|
EnforcedColonStyle: table
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,24 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v4.0.1...master)
|
3
|
+
|
4
|
+
## v4.0.1
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v4.0.0...v4.0.1)
|
6
|
+
|
7
|
+
* Add CureMiracle and CureMagical's Pink Diamond Style :diamonds:
|
8
|
+
* https://github.com/sue445/rubicure/pull/326
|
9
|
+
|
10
|
+
## v4.0.0
|
11
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.3.4...v4.0.0)
|
12
|
+
|
13
|
+
### Breaking changes :bomb:
|
14
|
+
* Requires Ruby 2.7+
|
15
|
+
* https://github.com/sue445/rubicure/pull/322
|
16
|
+
|
17
|
+
### Other changes
|
18
|
+
* Upgrade to latest rubocop gems
|
19
|
+
* https://github.com/sue445/rubicure/pull/321
|
20
|
+
* CI against for Ruby 3.4
|
21
|
+
* https://github.com/sue445/rubicure/pull/320
|
3
22
|
|
4
23
|
## v3.3.4
|
5
24
|
[full changelog](http://github.com/sue445/rubicure/compare/v3.3.3...v3.3.4)
|
data/README.md
CHANGED
@@ -101,7 +101,7 @@ Or install it yourself as:
|
|
101
101
|
=> "HUGっと!プリキュア"
|
102
102
|
|
103
103
|
>> Precure.dokidoki
|
104
|
-
=> {:
|
104
|
+
=> {series_name: "dokidoki", title: "ドキドキ!プリキュア", started_date: #<Date: 2013-02-03 ((2456327j,0s,0n),+0s,-Infj)>, ended_date: #<Date: 2014-01-26 ((2456684j,0s,0n),+0s,-Infj)>, girls: ["cure_heart", "cure_diamond", "cure_rosetta", "cure_sword", "cure_ace"]}
|
105
105
|
```
|
106
106
|
|
107
107
|
other pattern
|
@@ -118,7 +118,7 @@ and [more aliases!](config/series.yml)
|
|
118
118
|
|
119
119
|
```ruby
|
120
120
|
>> Precure.now
|
121
|
-
=> {:
|
121
|
+
=> {series_name: "wonderful", title: "わんだふるぷりきゅあ!", started_date: #<Date: 2024-02-04 ((2460345j,0s,0n),+0s,-Infj)>, girls: ["cure_wonderful", "cure_friendy", "cure_nyammy", "cure_lillian"]}
|
122
122
|
|
123
123
|
# -2013/1/27 : smile precure
|
124
124
|
# 2013/2/5 - : dokidoki precure
|
@@ -144,7 +144,7 @@ Precure.now
|
|
144
144
|
=> 5
|
145
145
|
|
146
146
|
>> Precure.smile.members.first
|
147
|
-
=> {:
|
147
|
+
=> {girl_name: "cure_happy", human_name: "星空みゆき", precure_name: "キュアハッピー", cast_name: "福圓美里", created_date: #<Date: 2012-02-05 ((2455963j,0s,0n),+0s,-Infj)>, color: "pink", transform_message: "(レディ?)\nプリキュア・スマイルチャージ!\n(ゴー!ゴー!レッツ・ゴー!ハッピー!!)\nキラキラ輝く未来の光! キュアハッピー!\n5つの光が導く未来!\n輝け!スマイルプリキュア!", extra_names: ["プリンセスハッピー", "ウルトラハッピー"], attack_messages: ["プリキュア!ハッピーシャワー!!", "開け、ロイヤルクロック!\n(みんなの力を1つにするクル!)\n届け、希望の光!\nはばたけ!光り輝く未来へ!\nプリキュア!ロイヤルレインボーバースト!", "(みんなの力を1つにするクル!)\nプリキュア!ミラクルレインボーバースト!\n輝けー!!\nスマイルプリキュア!!"], transform_calls: ["smile_charge"]}
|
148
148
|
|
149
149
|
>> Precure.smile.members.map(&:human_name)
|
150
150
|
=> ["星空みゆき", "日野あかね", "黄瀬やよい", "緑川なお", "青木れいか"]
|
@@ -162,31 +162,31 @@ Precure.now
|
|
162
162
|
### Select own precure girl
|
163
163
|
```ruby
|
164
164
|
>> Cure.lemonade
|
165
|
-
=> {:
|
165
|
+
=> {girl_name: "cure_lemonade", human_name: "春日野うらら", precure_name: "キュアレモネード", cast_name: "伊瀬茉莉也", created_date: #<Date: 2007-02-18 ((2454150j,0s,0n),+0s,-Infj)>, color: "yellow", transform_message: "プリキュア!メタモルフォーゼ!\nはじけるレモンの香り、キュアレモネード!\n希望の力と未来の光!\n華麗に羽ばたく5つの心!\nYes!プリキュア5!", extra_names: nil, attack_messages: ["輝く乙女のはじける力、受けてみなさい!\nプリキュア!プリズム・チェーン!"], transform_calls: ["metamorphose"]}
|
166
166
|
|
167
167
|
>> Cure.pine
|
168
|
-
=> {:
|
168
|
+
=> {girl_name: "cure_pine", human_name: "山吹祈里", precure_name: "キュアパイン", cast_name: "中川亜紀子", created_date: #<Date: 2009-02-15 ((2454878j,0s,0n),+0s,-Infj)>, color: "yellow", transform_message: "チェインジ!プリキュア・ビートアップ!\nイエローハートは祈りのしるし!\nとれたてフレッシュ、キュアパイン!\nレッツプリキュア!", extra_names: ["キュアエンジェルパイン"], attack_messages: ["悪いの悪いの飛んでいけ!\nプリキュア!ヒーリングプレアーフレッシュ!"], transform_calls: ["change_precure_beat_up", "change", "beat_up"]}
|
169
169
|
|
170
170
|
>> Cure.sunshine
|
171
|
-
=> {:
|
171
|
+
=> {girl_name: "cure_sunshine", human_name: "明堂院いつき", precure_name: "キュアサンシャイン", cast_name: "桑島法子", created_date: #<Date: 2010-07-18 ((2455396j,0s,0n),+0s,-Infj)>, color: "yellow", transform_message: "(プリキュアの種、いくですぅ!)\nプリキュア!オープンマイハート!\n陽の光浴びる一輪の花! キュアサンシャイン!\nハートキャッチ、プリキュア!", extra_names: ["スーパーキュアサンシャイン"], attack_messages: ["花よ、舞い踊れ!\nプリキュア!ゴールドフォルテバースト!!", "花よ、咲き誇れ!\nプリキュア・ハートキャッチ・オーケストラ!!"], transform_calls: ["open_my_heart"]}
|
172
172
|
|
173
173
|
>> Cure.muse
|
174
|
-
=> {:
|
174
|
+
=> {girl_name: "cure_muse", human_name: "調辺アコ", precure_name: "キュアミューズ", cast_name: "大久保瑠美", created_date: #<Date: 2011-10-16 ((2455851j,0s,0n),+0s,-Infj)>, color: "yellow", transform_message: "レッツプレイ!プリキュアモジュレーション!!\n爪弾くは女神の調べ! キュアミューズ!\n届け4人の組曲!スイートプリキュア!", extra_names: ["クレッシェンドミューズ"], attack_messages: ["おいで、シリー!\nシの音符の、シャイニングメロディ!\nプリキュア!スパークリングシャワー!!\n三拍子!1、2、3\nフィナーレ!", "届けましょう、希望のシンフォニー!\nプリキュア!スイートセッションアンサンブル!\nクレッシェンド!!\nフィナーレ!"], transform_calls: ["lets_play_precure_modulation", "lets_play", "modulation"]}
|
175
175
|
|
176
176
|
>> Cure.peace
|
177
|
-
=> {:
|
177
|
+
=> {girl_name: "cure_peace", human_name: "黄瀬やよい", precure_name: "キュアピース", cast_name: "金元寿子", created_date: #<Date: 2012-02-19 ((2455977j,0s,0n),+0s,-Infj)>, color: "yellow", transform_message: "(レディ?)\nプリキュア・スマイルチャージ!\n(ゴー!ゴー!レッツ・ゴー!ピース!!)\nピカピカピカリンジャンケンポン! キュアピース!\n5つの光が導く未来!\n輝け!スマイルプリキュア!", extra_names: ["プリンセスピース", "ウルトラピース"], attack_messages: ["プリキュア!ピースサンダー!!", "開け、ロイヤルクロック!\n(みんなの力を1つにするクル!)\n届け、希望の光!\nはばたけ!光り輝く未来へ!\nプリキュア!ロイヤルレインボーバースト!", "(みんなの力を1つにするクル!)\nプリキュア!ミラクルレインボーバースト!\n輝けー!!\nスマイルプリキュア!!"], transform_calls: ["smile_charge"]}
|
178
178
|
|
179
179
|
>> Cure.rosetta
|
180
|
-
=>
|
180
|
+
=> {girl_name: "cure_rosetta", human_name: "四葉ありす", precure_name: "キュアロゼッタ", cast_name: "渕上舞", created_date: #<Date: 2013-02-24 ((2456348j,0s,0n),+0s,-Infj)>, color: "yellow", birthday: "5/28", transform_message: "プリキュアラブリンク!\nL! O! V! E!\nひだまりポカポカ キュアロゼッタ!\n響け愛の鼓動!ドキドキプリキュア!\n世界を制するのは愛だけです、\nさぁ、あなたも私と愛を育んでくださいな", extra_names: nil, attack_messages: ["カッチカチの!ロゼッタウォール!"], transform_calls: ["love_link"]}
|
181
181
|
|
182
182
|
>> Cure.honey
|
183
|
-
=> {:
|
183
|
+
=> {girl_name: "cure_honey", human_name: "大森ゆうこ", precure_name: "キュアハニー", cast_name: "北川里奈", created_date: #<Date: 2014-03-15 ((2456732j,0s,0n),+0s,-Infj)>, birthday: "8/2", color: "yellow", transform_message: "(かわルンルン!)\nプリキュアくるりんミラーチェンジ!\n大地に実る命の光!キュアハニー!\nハピネス注入!幸せチャージ!\nハピネスチャージプリキュア!", extra_names: ["キュアハニー ポップコーンチア"], attack_messages: ["命の光を聖なる力へ!\nハニーバトン!\nプリキュア!スパークリングバトンアタック!!\nイエイ!\n命よ、天に帰れ!\n(ゴクラ〜ク…)", "(かわルンルン!)\nプリキュアくるりんミラーチェンジ!ポップコーンチア!!\nプリキュア!リボンハートエクスプロージョン!!\nビクトリー!!", "(かわルンルン!)\nプリキュアくるりんミラーチェンジ!ココナッツサンバ!!\nプリキュア!マラカスリズムスパーク!!\nマンボ!!"], transform_calls: ["kururin_mirror_change"]}
|
184
184
|
|
185
185
|
>> Shiny.luminous
|
186
|
-
=> {:
|
186
|
+
=> {girl_name: "shiny_luminous", human_name: "九条ひかり", precure_name: "シャイニールミナス", cast_name: "田中理恵", created_date: #<Date: 2005-03-06 ((2453436j,0s,0n),+0s,-Infj)>, color: "yellow", birthday: "9/9", transform_message: "ルミナス・シャイニングストリーム!\n輝く命、シャイニールミナス!\n光の心と光の意志、すべてを一つにするために!", extra_names: nil, attack_messages: ["光の意志よ!私に勇気を!希望と力を!!\nルミナス・ハーティエル・アンクション!"], transform_calls: ["shining_stream"]}
|
187
187
|
|
188
188
|
>> Milky.rose
|
189
|
-
=> {:
|
189
|
+
=> {girl_name: "milky_rose", human_name: "美々野くるみ", precure_name: "ミルキィローズ", cast_name: "仙台エリ", created_date: #<Date: 2008-04-06 ((2454563j,0s,0n),+0s,-Infj)>, color: "purple", transform_message: "スカイローズ・トランスレイト!\n青いバラは秘密のしるし! ミルキィローズ!", extra_names: nil, attack_messages: ["邪悪な力を包み込む\nバラの吹雪を咲かせましょう!\nミルキィローズ・ブリザード!"], transform_calls: ["sky_rose_translate", "translate"]}
|
190
190
|
```
|
191
191
|
|
192
192
|
and [more aliases!](config/girls/)
|
@@ -209,7 +209,6 @@ and [more aliases!](config/girls/)
|
|
209
209
|
>> # yayoi.attack!
|
210
210
|
=> # Rubicure::RequireTransformError: require transform
|
211
211
|
|
212
|
-
|
213
212
|
>> yayoi.transform!
|
214
213
|
|
215
214
|
(レディ?)
|
@@ -74,6 +74,21 @@ cure_miracle: &cure_miracle
|
|
74
74
|
トパーズ!金色の希望よ私達の手に!
|
75
75
|
フルフルリンクル!
|
76
76
|
プリキュア・トパーズ・エスペランサ!
|
77
|
+
pink_diamond:
|
78
|
+
girl_name: cure_miracle_pink_diamond
|
79
|
+
precure_name: キュアミラクル(ピンクダイヤスタイル)
|
80
|
+
color: pink
|
81
|
+
created_date: 2025-01-11 # episode 1
|
82
|
+
transform_message: |-
|
83
|
+
キュアップ・ラパパ! ピンクダイヤ!
|
84
|
+
ミラクル・マジカル・ジュエリーレ!
|
85
|
+
ふたりの奇跡!キュアミラクル!
|
86
|
+
魔法つかいプリキュア!!
|
87
|
+
attack_messages:
|
88
|
+
- |-
|
89
|
+
ピンクダイヤ!永遠の輝きを私達の手に!
|
90
|
+
フルフルリンクル!
|
91
|
+
プリキュア・ダイヤモンド・エターナル!
|
77
92
|
|
78
93
|
cure_magical: &cure_magical
|
79
94
|
girl_name: cure_magical
|
@@ -151,6 +166,22 @@ cure_magical: &cure_magical
|
|
151
166
|
トパーズ!金色の希望よ私達の手に!
|
152
167
|
フルフルリンクル!
|
153
168
|
プリキュア・トパーズ・エスペランサ!
|
169
|
+
pink_diamond:
|
170
|
+
girl_name: cure_magical_pinkdiamond
|
171
|
+
precure_name: キュアマジカル(ピンクダイヤスタイル)
|
172
|
+
color: purple
|
173
|
+
created_date: 2025-01-11 # episode 1
|
174
|
+
transform_message: |-
|
175
|
+
キュアップ・ラパパ! ピンクダイヤ!
|
176
|
+
ミラクル・マジカル・ジュエリーレ!
|
177
|
+
ふたりの魔法!キュアマジカル!
|
178
|
+
魔法つかいプリキュア!!
|
179
|
+
attack_messages:
|
180
|
+
- |-
|
181
|
+
ピンクダイヤ!永遠の輝きを私達の手に!
|
182
|
+
フルフルリンクル!
|
183
|
+
プリキュア・ダイヤモンド・エターナル!
|
184
|
+
|
154
185
|
cure_felice: &cure_felice
|
155
186
|
girl_name: cure_felice
|
156
187
|
human_name: 花海ことは
|
data/gemfiles/common.gemfile
CHANGED
@@ -1,8 +1,3 @@
|
|
1
1
|
# FIXME: rubydoctest doesn't work on ruby 3.2+
|
2
2
|
# c.f. https://github.com/tslocke/rubydoctest/pull/17
|
3
3
|
gem "rubydoctest", github: "sue445/rubydoctest", ref: "ruby3.2"
|
4
|
-
|
5
|
-
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.7.0")
|
6
|
-
# term-ansicolor 1.9.0+ doesn't work on Ruby < 2.7
|
7
|
-
gem "term-ansicolor", "< 1.9.0"
|
8
|
-
end
|
data/lib/rubicure/cure_cosmo.rb
CHANGED
data/lib/rubicure/girl.rb
CHANGED
data/lib/rubicure/version.rb
CHANGED
data/rubicure.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.homepage = "https://github.com/sue445/rubicure"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
|
-
spec.required_ruby_version = ">= 2.
|
15
|
+
spec.required_ruby_version = ">= 2.7"
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
spec.metadata["source_code_uri"] = spec.homepage
|
@@ -27,7 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
end
|
28
28
|
|
29
29
|
spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
|
30
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
31
30
|
spec.require_paths = ["lib"]
|
32
31
|
|
33
32
|
spec.add_dependency "activesupport", ">= 5.0.0"
|
@@ -43,11 +42,11 @@ Gem::Specification.new do |spec|
|
|
43
42
|
spec.add_development_dependency "rspec-collection_matchers"
|
44
43
|
spec.add_development_dependency "rspec-its"
|
45
44
|
spec.add_development_dependency "rspec-parameterized", ">= 0.3.2"
|
46
|
-
spec.add_development_dependency "rubocop", "1.
|
45
|
+
spec.add_development_dependency "rubocop", "1.69.2"
|
47
46
|
spec.add_development_dependency "rubocop_auto_corrector"
|
48
|
-
spec.add_development_dependency "rubocop-performance", "1.
|
49
|
-
spec.add_development_dependency "rubocop-rake", "0.
|
50
|
-
spec.add_development_dependency "rubocop-rspec", "
|
47
|
+
spec.add_development_dependency "rubocop-performance", "1.23.0"
|
48
|
+
spec.add_development_dependency "rubocop-rake", "0.6.0"
|
49
|
+
spec.add_development_dependency "rubocop-rspec", "3.3.0"
|
51
50
|
spec.add_development_dependency "simplecov"
|
52
51
|
spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
|
53
52
|
spec.add_development_dependency "unparser", ">= 0.4.5"
|
@@ -43,11 +43,9 @@ describe "girls_checker" do # rubocop:disable RSpec/DescribeClass
|
|
43
43
|
subject { transform_calls }
|
44
44
|
|
45
45
|
transform_calls.count.times do |n|
|
46
|
-
|
47
|
-
its([n]) { should_not
|
48
|
-
its([n]) { should_not
|
49
|
-
its([n]) { should_not be_end_with "!" }
|
50
|
-
# rubocop:enable RSpec/RepeatedDescription
|
46
|
+
its([n]) { should_not start_with "precure_" }
|
47
|
+
its([n]) { should_not end_with "_precure" }
|
48
|
+
its([n]) { should_not end_with "!" }
|
51
49
|
end
|
52
50
|
end
|
53
51
|
end
|
data/spec/rubicure/core_spec.rb
CHANGED
@@ -135,7 +135,7 @@ describe Rubicure::Core do
|
|
135
135
|
].map(&:girl_name)
|
136
136
|
end
|
137
137
|
|
138
|
-
it { should
|
138
|
+
it { should match_array(dream_stars_girl_names) }
|
139
139
|
end
|
140
140
|
|
141
141
|
describe "#super_stars" do
|
@@ -158,7 +158,7 @@ describe Rubicure::Core do
|
|
158
158
|
].map(&:girl_name)
|
159
159
|
end
|
160
160
|
|
161
|
-
it { should
|
161
|
+
it { should match_array(super_stars_girl_names) }
|
162
162
|
end
|
163
163
|
|
164
164
|
describe "#miracle_universe" do
|
@@ -184,7 +184,7 @@ describe Rubicure::Core do
|
|
184
184
|
].map(&:girl_name)
|
185
185
|
end
|
186
186
|
|
187
|
-
it { should
|
187
|
+
it { should match_array(miracle_universe_girl_names) }
|
188
188
|
end
|
189
189
|
|
190
190
|
describe "#miracle_leap" do
|
@@ -208,6 +208,6 @@ describe Rubicure::Core do
|
|
208
208
|
].map(&:girl_name)
|
209
209
|
end
|
210
210
|
|
211
|
-
it { should
|
211
|
+
it { should match_array(miracle_leap_girl_names) }
|
212
212
|
end
|
213
213
|
end
|
data/spec/rubicure/girl_spec.rb
CHANGED
@@ -313,7 +313,7 @@ describe Rubicure::Girl do
|
|
313
313
|
]
|
314
314
|
end
|
315
315
|
|
316
|
-
it { should
|
316
|
+
it { should match_array(expected) }
|
317
317
|
end
|
318
318
|
|
319
319
|
describe "dynamic color methods" do
|
@@ -367,13 +367,13 @@ describe Rubicure::Girl do
|
|
367
367
|
describe "#heisei?" do
|
368
368
|
subject { girl.heisei? }
|
369
369
|
|
370
|
-
it { should
|
370
|
+
it { should be true }
|
371
371
|
end
|
372
372
|
|
373
373
|
describe "#reiwa?" do
|
374
374
|
subject { girl.reiwa? }
|
375
375
|
|
376
376
|
# TODO: Add reiwa precure test after cure cosmo is added
|
377
|
-
it { should
|
377
|
+
it { should be false }
|
378
378
|
end
|
379
379
|
end
|
@@ -107,7 +107,7 @@ describe Rubicure do
|
|
107
107
|
|
108
108
|
with_them do
|
109
109
|
it { expect(Cure.send(name)).to be_an_instance_of Rubicure::Girl }
|
110
|
-
it { expect(Cure.send(name).precure_name).to
|
110
|
+
it { expect(Cure.send(name).precure_name).to start_with "キュア" }
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
@@ -155,7 +155,7 @@ describe Rubicure::Series do
|
|
155
155
|
|
156
156
|
let(:json) do
|
157
157
|
<<~JSON
|
158
|
-
{
|
158
|
+
{"series_name":"splash_star","title":"ふたりはプリキュア Splash☆Star","started_date":"2006-02-05","ended_date":"2007-01-28","girls":["cure_bloom","cure_egret"]}
|
159
159
|
JSON
|
160
160
|
end
|
161
161
|
|
data/spec/spec_helper.rb
CHANGED
@@ -28,6 +28,10 @@ if ENV["CI"]
|
|
28
28
|
end
|
29
29
|
|
30
30
|
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
|
31
|
+
|
32
|
+
# FIXME: NameError: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger when activesupport < 7.1
|
33
|
+
require "logger"
|
34
|
+
|
31
35
|
require "rubicure"
|
32
36
|
require "rspec"
|
33
37
|
require "rspec-parameterized"
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubicure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-16 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activesupport
|
@@ -184,14 +183,14 @@ dependencies:
|
|
184
183
|
requirements:
|
185
184
|
- - '='
|
186
185
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
186
|
+
version: 1.69.2
|
188
187
|
type: :development
|
189
188
|
prerelease: false
|
190
189
|
version_requirements: !ruby/object:Gem::Requirement
|
191
190
|
requirements:
|
192
191
|
- - '='
|
193
192
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.
|
193
|
+
version: 1.69.2
|
195
194
|
- !ruby/object:Gem::Dependency
|
196
195
|
name: rubocop_auto_corrector
|
197
196
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,42 +211,42 @@ dependencies:
|
|
212
211
|
requirements:
|
213
212
|
- - '='
|
214
213
|
- !ruby/object:Gem::Version
|
215
|
-
version: 1.
|
214
|
+
version: 1.23.0
|
216
215
|
type: :development
|
217
216
|
prerelease: false
|
218
217
|
version_requirements: !ruby/object:Gem::Requirement
|
219
218
|
requirements:
|
220
219
|
- - '='
|
221
220
|
- !ruby/object:Gem::Version
|
222
|
-
version: 1.
|
221
|
+
version: 1.23.0
|
223
222
|
- !ruby/object:Gem::Dependency
|
224
223
|
name: rubocop-rake
|
225
224
|
requirement: !ruby/object:Gem::Requirement
|
226
225
|
requirements:
|
227
226
|
- - '='
|
228
227
|
- !ruby/object:Gem::Version
|
229
|
-
version: 0.
|
228
|
+
version: 0.6.0
|
230
229
|
type: :development
|
231
230
|
prerelease: false
|
232
231
|
version_requirements: !ruby/object:Gem::Requirement
|
233
232
|
requirements:
|
234
233
|
- - '='
|
235
234
|
- !ruby/object:Gem::Version
|
236
|
-
version: 0.
|
235
|
+
version: 0.6.0
|
237
236
|
- !ruby/object:Gem::Dependency
|
238
237
|
name: rubocop-rspec
|
239
238
|
requirement: !ruby/object:Gem::Requirement
|
240
239
|
requirements:
|
241
240
|
- - '='
|
242
241
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
242
|
+
version: 3.3.0
|
244
243
|
type: :development
|
245
244
|
prerelease: false
|
246
245
|
version_requirements: !ruby/object:Gem::Requirement
|
247
246
|
requirements:
|
248
247
|
- - '='
|
249
248
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
249
|
+
version: 3.3.0
|
251
250
|
- !ruby/object:Gem::Dependency
|
252
251
|
name: simplecov
|
253
252
|
requirement: !ruby/object:Gem::Requirement
|
@@ -400,7 +399,6 @@ metadata:
|
|
400
399
|
changelog_uri: https://github.com/sue445/rubicure/blob/master/CHANGELOG.md
|
401
400
|
documentation_uri: https://sue445.github.io/rubicure/
|
402
401
|
rubygems_mfa_required: 'true'
|
403
|
-
post_install_message:
|
404
402
|
rdoc_options: []
|
405
403
|
require_paths:
|
406
404
|
- lib
|
@@ -408,30 +406,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
408
406
|
requirements:
|
409
407
|
- - ">="
|
410
408
|
- !ruby/object:Gem::Version
|
411
|
-
version: '2.
|
409
|
+
version: '2.7'
|
412
410
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
413
411
|
requirements:
|
414
412
|
- - ">="
|
415
413
|
- !ruby/object:Gem::Version
|
416
414
|
version: '0'
|
417
415
|
requirements: []
|
418
|
-
rubygems_version: 3.
|
419
|
-
signing_key:
|
416
|
+
rubygems_version: 3.6.2
|
420
417
|
specification_version: 4
|
421
418
|
summary: All about Japanese battle heroine "Pretty Cure (Precure)".
|
422
|
-
test_files:
|
423
|
-
- spec/config/girls_checker_spec.rb
|
424
|
-
- spec/config/series_checker_spec.rb
|
425
|
-
- spec/rubicure/concerns/gengou_spec.rb
|
426
|
-
- spec/rubicure/core_spec.rb
|
427
|
-
- spec/rubicure/cure_beat_spec.rb
|
428
|
-
- spec/rubicure/cure_cosmo_spec.rb
|
429
|
-
- spec/rubicure/cure_passion_spec.rb
|
430
|
-
- spec/rubicure/cure_peace_spec.rb
|
431
|
-
- spec/rubicure/cure_scarlet_spec.rb
|
432
|
-
- spec/rubicure/girl_spec.rb
|
433
|
-
- spec/rubicure/movie_spec.rb
|
434
|
-
- spec/rubicure/rubicure_spec.rb
|
435
|
-
- spec/rubicure/series_spec.rb
|
436
|
-
- spec/spec_helper.rb
|
437
|
-
- spec/support/util/test_util.rb
|
419
|
+
test_files: []
|