rubicure 3.3.3 → 4.0.0

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: f0e0ff28812a87b83ff33e174cde8ed53cb68328675fd7abaa4d1de549fadbb9
4
- data.tar.gz: e828e530cb89322c65aece2e0e76c4792c12ef012cd8ad91a9c764cd93f475ec
3
+ metadata.gz: 3c73f70ab00edd9d1f1bdd1990c1f135627176779747d7086f3901d06d3689f9
4
+ data.tar.gz: 0c0cb5ff8a67a410f77c931a6ace4096331104d18d09e54b496b40cdebfdaf57
5
5
  SHA512:
6
- metadata.gz: a1421c0ec737c85ff9327885c4ec7a288708420b6ab6f2b312638f99d44d5799750012666b50c06083a552e180a173de58b8314b3503953241062cb6c8bac182
7
- data.tar.gz: 171e4dbd64782349022798708c6f3fded6ed61e166814f674fba6e5f673ef2855b14c177de296ab02c6bc8d6a988a37804ac4d7ede20f67e7a6b8a84d2da5aba
6
+ metadata.gz: be742c0bc38332044b9a4b7992f0adb26429a6e79abedd22bed99878d1ad999f2e0b9225223169380d1b1721f0b349ebfc6fbae907208fae7906813b0fb7da9d
7
+ data.tar.gz: 47c5d9ef6949d9ce7e6a93065e18661b941870ee6c1ba2de7dc486b29efd7b9aa476de7eab3d37130595e72fe26c3b5f9548622fb97e65f8a8a16b49f1d2bc55
@@ -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
@@ -39,21 +39,22 @@ jobs:
39
39
  - activesupport_7_0
40
40
  - activesupport_7_1
41
41
  - activesupport_7_2
42
+ - activesupport_8_0
42
43
  exclude:
43
- # activesupport 7.0+ requires Ruby 2.7+
44
- - ruby: "2.6"
45
- gemfile: activesupport_7_0
46
- - ruby: "2.6"
47
- gemfile: activesupport_7_1
48
-
49
44
  # activesupport 7.2+ requires Ruby 3.1+
50
- - ruby: "2.6"
51
- gemfile: activesupport_7_2
52
45
  - ruby: "2.7"
53
46
  gemfile: activesupport_7_2
54
47
  - ruby: "3.0"
55
48
  gemfile: activesupport_7_2
56
49
 
50
+ # activesupport 8.0+ requires Ruby 3.2+
51
+ - ruby: "2.7"
52
+ gemfile: activesupport_8_0
53
+ - ruby: "3.0"
54
+ gemfile: activesupport_8_0
55
+ - ruby: "3.1"
56
+ gemfile: activesupport_8_0
57
+
57
58
  env:
58
59
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
59
60
 
@@ -98,7 +99,7 @@ jobs:
98
99
 
99
100
  - run: bundle exec rake rubydoctest
100
101
  timeout-minutes: 1
101
- if: matrix.ruby >= '3.2'
102
+ if: matrix.ruby >= '3.4'
102
103
 
103
104
  - name: Slack Notification (not success)
104
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.6
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/v3.3.3...master)
2
+ [full changelog](http://github.com/sue445/rubicure/compare/v4.0.0...master)
3
+
4
+ ## v4.0.0
5
+ [full changelog](http://github.com/sue445/rubicure/compare/v3.3.4...v4.0.0)
6
+
7
+ ### Breaking changes :bomb:
8
+ * Requires Ruby 2.7+
9
+ * https://github.com/sue445/rubicure/pull/322
10
+
11
+ ### Other changes
12
+ * Upgrade to latest rubocop gems
13
+ * https://github.com/sue445/rubicure/pull/321
14
+ * CI against for Ruby 3.4
15
+ * https://github.com/sue445/rubicure/pull/320
16
+
17
+ ## v3.3.4
18
+ [full changelog](http://github.com/sue445/rubicure/compare/v3.3.3...v3.3.4)
19
+
20
+ * Add Happiess Charge Precure's birthday
21
+ * https://github.com/sue445/rubicure/pull/319
3
22
 
4
23
  ## v3.3.3
5
24
  [full changelog](http://github.com/sue445/rubicure/compare/v3.3.2...v3.3.3)
data/README.md CHANGED
@@ -101,7 +101,7 @@ Or install it yourself as:
101
101
  => "HUGっと!プリキュア"
102
102
 
103
103
  >> Precure.dokidoki
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"]}
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,8 +118,8 @@ and [more aliases!](config/series.yml)
118
118
 
119
119
  ```ruby
120
120
  >> Precure.now
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
-
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
+
123
123
  # -2013/1/27 : smile precure
124
124
  # 2013/2/5 - : dokidoki precure
125
125
  require "delorean"
@@ -144,7 +144,7 @@ Precure.now
144
144
  => 5
145
145
 
146
146
  >> Precure.smile.members.first
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"]}
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
- => {: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"]}
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
- => {: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"]}
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
- => {: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"]}
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
- => {: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
-
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
+
176
176
  >> Cure.peace
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
-
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
+
179
179
  >> Cure.rosetta
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"]}
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
- => {:girl_name=>"cure_honey", :human_name=>"大森ゆうこ", :precure_name=>"キュアハニー", :cast_name=>"北川里奈", :created_date=>#<Date: 2014-03-15 ((2456732j,0s,0n),+0s,-Infj)>, :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"]}
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
- => {: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
-
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
+
188
188
  >> Milky.rose
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"]}
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/)
@@ -757,12 +757,12 @@ Cure.cosmo.name
757
757
  => true
758
758
 
759
759
  >> Precure.all_girls.select(&:have_birthday?).map(&:human_name)
760
- => ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ", "花寺のどか", "沢泉ちゆ", "平光ひなた", "風鈴アスミ", "夏海まなつ", "涼村さんご", "一ノ瀬みのり", "滝沢あすか", "ローラ・ラメール", "和実ゆい", "芙羽ここね", "華満らん", "菓彩あまね", "ソラ・ハレワタール", "虹ヶ丘ましろ", "夕凪ツバサ", "聖あげは", "プリンセス・エル", "犬飼こむぎ", "犬飼いろは", "猫屋敷ユキ", "猫屋敷まゆ"]
760
+ => ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "愛乃めぐみ", "白雪ひめ", "大森ゆうこ", "氷川いおな", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ", "花寺のどか", "沢泉ちゆ", "平光ひなた", "風鈴アスミ", "夏海まなつ", "涼村さんご", "一ノ瀬みのり", "滝沢あすか", "ローラ・ラメール", "和実ゆい", "芙羽ここね", "華満らん", "菓彩あまね", "ソラ・ハレワタール", "虹ヶ丘ましろ", "夕凪ツバサ", "聖あげは", "プリンセス・エル", "犬飼こむぎ", "犬飼いろは", "猫屋敷ユキ", "猫屋敷まゆ"]
761
761
  >> Precure.all_girls.select(&:have_birthday?).sort_by { |girl| [Date.parse(girl.birthday), girl.human_name] }.map{ |girl| [girl.birthday, girl.human_name] }
762
- => [["1/7", "宇佐美いちか"], ["1/20", "野乃はな"], ["3/9", "花寺のどか"], ["3/12", "プリンセス・エル"], ["3/13", "芙羽ここね"], ["4/4", "雪城ほのか"], ["4/8", "輝木ほまれ"], ["4/10", "春野はるか"], ["4/12", "星奈ひかる"], ["4/16", "有栖川ひまり"], ["5/9", "涼村さんご"], ["5/13", "犬飼こむぎ"], ["5/21", "夕凪ツバサ"], ["5/28", "四葉ありす"], ["6/10", "薬師寺さあや"], ["6/11", "琴爪ゆかり"], ["6/12", "朝日奈みらい"], ["6/30", "ローラ・ラメール"], ["7/7", "羽衣ララ"], ["7/11", "華満らん"], ["7/15", "愛崎えみる"], ["7/16", "虹ヶ丘ましろ"], ["7/20", "海藤みなみ"], ["7/30", "キラ星シエル"], ["8/1", "夏海まなつ"], ["8/4", "相田マナ"], ["8/7", "日向咲"], ["8/7", "犬飼いろは"], ["8/8", "聖あげは"], ["8/16", "風鈴アスミ"], ["8/21", "沢泉ちゆ"], ["8/27", "立神あおい"], ["8/31", "和実ゆい"], ["9/8", "天宮えれな"], ["9/9", "九条ひかり"], ["9/12", "天ノ川きらら"], ["9/17", "菱川六花"], ["9/20", "ソラ・ハレワタール"], ["9/23", "ルールー・アムール"], ["9/24", "剣城あきら"], ["10/4", "平光ひなた"], ["10/10", "美墨なぎさ"], ["10/11", "ユニ"], ["10/15", "滝沢あすか"], ["11/4", "剣崎真琴"], ["11/5", "猫屋敷まゆ"], ["11/12", "十六夜リコ"], ["11/20", "美翔舞"], ["11/21", "一ノ瀬みのり"], ["11/23", "香久矢まどか"], ["11/24", "菓彩あまね"], ["12/15", "紅城トワ"], ["12/21", "猫屋敷ユキ"]]
762
+ => [["1/7", "宇佐美いちか"], ["1/20", "野乃はな"], ["3/9", "花寺のどか"], ["3/12", "プリンセス・エル"], ["3/13", "芙羽ここね"], ["4/1", "白雪ひめ"], ["4/4", "雪城ほのか"], ["4/8", "輝木ほまれ"], ["4/10", "春野はるか"], ["4/12", "星奈ひかる"], ["4/16", "有栖川ひまり"], ["5/9", "涼村さんご"], ["5/13", "犬飼こむぎ"], ["5/21", "夕凪ツバサ"], ["5/28", "四葉ありす"], ["6/10", "薬師寺さあや"], ["6/11", "琴爪ゆかり"], ["6/12", "朝日奈みらい"], ["6/30", "ローラ・ラメール"], ["7/7", "羽衣ララ"], ["7/11", "華満らん"], ["7/15", "愛崎えみる"], ["7/16", "虹ヶ丘ましろ"], ["7/20", "海藤みなみ"], ["7/30", "キラ星シエル"], ["8/1", "夏海まなつ"], ["8/2", "大森ゆうこ"], ["8/4", "相田マナ"], ["8/7", "日向咲"], ["8/7", "犬飼いろは"], ["8/8", "聖あげは"], ["8/16", "風鈴アスミ"], ["8/21", "沢泉ちゆ"], ["8/27", "立神あおい"], ["8/31", "和実ゆい"], ["9/8", "天宮えれな"], ["9/9", "九条ひかり"], ["9/12", "天ノ川きらら"], ["9/17", "菱川六花"], ["9/20", "ソラ・ハレワタール"], ["9/23", "ルールー・アムール"], ["9/24", "剣城あきら"], ["10/4", "平光ひなた"], ["10/7", "氷川いおな"], ["10/10", "美墨なぎさ"], ["10/11", "ユニ"], ["10/12", "愛乃めぐみ"], ["10/15", "滝沢あすか"], ["11/4", "剣崎真琴"], ["11/5", "猫屋敷まゆ"], ["11/12", "十六夜リコ"], ["11/20", "美翔舞"], ["11/21", "一ノ瀬みのり"], ["11/23", "香久矢まどか"], ["11/24", "菓彩あまね"], ["12/15", "紅城トワ"], ["12/21", "猫屋敷ユキ"]]
763
763
 
764
764
  >> Precure.all_girls.select(&:have_birthday?).map(&:human_name).count
765
- => 53
765
+ => 57
766
766
  ```
767
767
 
768
768
  * `has_birthday?` is alias to `have_birthday?`
@@ -4,6 +4,7 @@ cure_lovely: &cure_lovely
4
4
  precure_name: キュアラブリー
5
5
  cast_name: 中島愛
6
6
  created_date: 2014-02-02 # episode 1
7
+ birthday: 10/12
7
8
  color: pink
8
9
  transform_message: |-
9
10
  (かわルンルン!)
@@ -42,6 +43,7 @@ cure_princess: &cure_princess
42
43
  precure_name: キュアプリンセス
43
44
  cast_name: 潘めぐみ
44
45
  created_date: 2014-02-02 # episode 1
46
+ birthday: 4/1
45
47
  color: blue
46
48
  transform_message: |-
47
49
  (かわルンルン!)
@@ -75,6 +77,7 @@ cure_honey: &cure_honey
75
77
  precure_name: キュアハニー
76
78
  cast_name: 北川里奈
77
79
  created_date: 2014-03-15 # NS3
80
+ birthday: 8/2
78
81
  color: yellow
79
82
  transform_message: |-
80
83
  (かわルンルン!)
@@ -110,6 +113,7 @@ cure_fortune: &cure_fortune
110
113
  precure_name: キュアフォーチュン
111
114
  cast_name: 戸松遥
112
115
  created_date: 2014-06-29
116
+ birthday: 10/7
113
117
  color: purple
114
118
  transform_message: |-
115
119
  (かわルンルン!)
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "~> 8.0.0"
4
+
5
+ eval_gemfile "#{__dir__}/common.gemfile"
6
+
7
+ gemspec path: "../"
@@ -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
@@ -1,7 +1,7 @@
1
1
  module Cure
2
2
  module CosmoExt
3
3
  def transform!(style = nil)
4
- return super(style) unless style == :rainbow_perfume
4
+ return super unless style == :rainbow_perfume
5
5
 
6
6
  humanize!
7
7
 
data/lib/rubicure/girl.rb CHANGED
@@ -255,7 +255,7 @@ module Rubicure
255
255
  end
256
256
 
257
257
  colors.each do |color|
258
- define_method "#{color}?" do
258
+ define_method :"#{color}?" do
259
259
  self.color.to_sym == color
260
260
  end
261
261
  end
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "3.3.3".freeze
2
+ VERSION = "4.0.0".freeze
3
3
  end
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.6"
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,12 +42,17 @@ 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.24.0"
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.9.2"
49
- spec.add_development_dependency "rubocop-rake", "0.5.1"
50
- spec.add_development_dependency "rubocop-rspec", "2.1.0"
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"
51
+ spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
52
52
  spec.add_development_dependency "unparser", ">= 0.4.5"
53
53
  spec.add_development_dependency "yard"
54
+
55
+ # TODO: Remove followings after making activesupport v7.0+ required
56
+ spec.add_development_dependency "base64"
57
+ spec.add_development_dependency "mutex_m"
54
58
  end
@@ -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
- # rubocop:disable RSpec/RepeatedDescription `expect().not_to all( matcher )` is not supported.
47
- its([n]) { should_not be_start_with "precure_" }
48
- its([n]) { should_not be_end_with "_precure" }
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
@@ -135,7 +135,7 @@ describe Rubicure::Core do
135
135
  ].map(&:girl_name)
136
136
  end
137
137
 
138
- it { should contain_exactly(*dream_stars_girl_names) }
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 contain_exactly(*super_stars_girl_names) }
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 contain_exactly(*miracle_universe_girl_names) }
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 contain_exactly(*miracle_leap_girl_names) }
211
+ it { should match_array(miracle_leap_girl_names) }
212
212
  end
213
213
  end
@@ -313,7 +313,7 @@ describe Rubicure::Girl do
313
313
  ]
314
314
  end
315
315
 
316
- it { should contain_exactly(*expected) }
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 eq true }
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 eq false }
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 be_start_with "キュア" }
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
- {\"series_name\":\"splash_star\",\"title\":\"ふたりはプリキュア Splash☆Star\",\"started_date\":\"2006-02-05\",\"ended_date\":\"2007-01-28\",\"girls\":[\"cure_bloom\",\"cure_egret\"]}
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
 
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: 3.3.3
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
10
+ date: 2024-12-25 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.24.0
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.24.0
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.9.2
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.9.2
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.5.1
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.5.1
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: 2.1.0
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: 2.1.0
249
+ version: 3.3.0
251
250
  - !ruby/object:Gem::Dependency
252
251
  name: simplecov
253
252
  requirement: !ruby/object:Gem::Requirement
@@ -262,6 +261,20 @@ dependencies:
262
261
  - - ">="
263
262
  - !ruby/object:Gem::Version
264
263
  version: '0'
264
+ - !ruby/object:Gem::Dependency
265
+ name: term-ansicolor
266
+ requirement: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - "!="
269
+ - !ruby/object:Gem::Version
270
+ version: 1.11.1
271
+ type: :development
272
+ prerelease: false
273
+ version_requirements: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - "!="
276
+ - !ruby/object:Gem::Version
277
+ version: 1.11.1
265
278
  - !ruby/object:Gem::Dependency
266
279
  name: unparser
267
280
  requirement: !ruby/object:Gem::Requirement
@@ -290,6 +303,34 @@ dependencies:
290
303
  - - ">="
291
304
  - !ruby/object:Gem::Version
292
305
  version: '0'
306
+ - !ruby/object:Gem::Dependency
307
+ name: base64
308
+ requirement: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - ">="
311
+ - !ruby/object:Gem::Version
312
+ version: '0'
313
+ type: :development
314
+ prerelease: false
315
+ version_requirements: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - ">="
318
+ - !ruby/object:Gem::Version
319
+ version: '0'
320
+ - !ruby/object:Gem::Dependency
321
+ name: mutex_m
322
+ requirement: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - ">="
325
+ - !ruby/object:Gem::Version
326
+ version: '0'
327
+ type: :development
328
+ prerelease: false
329
+ version_requirements: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - ">="
332
+ - !ruby/object:Gem::Version
333
+ version: '0'
293
334
  description: All about Japanese battle heroine "Pretty Cure (Precure)".
294
335
  email:
295
336
  - sue445@sue445.net
@@ -342,6 +383,7 @@ files:
342
383
  - gemfiles/activesupport_7_0.gemfile
343
384
  - gemfiles/activesupport_7_1.gemfile
344
385
  - gemfiles/activesupport_7_2.gemfile
386
+ - gemfiles/activesupport_8_0.gemfile
345
387
  - gemfiles/common.gemfile
346
388
  - lib/rubicure.rb
347
389
  - lib/rubicure/concerns/gengou.rb
@@ -385,7 +427,6 @@ metadata:
385
427
  changelog_uri: https://github.com/sue445/rubicure/blob/master/CHANGELOG.md
386
428
  documentation_uri: https://sue445.github.io/rubicure/
387
429
  rubygems_mfa_required: 'true'
388
- post_install_message:
389
430
  rdoc_options: []
390
431
  require_paths:
391
432
  - lib
@@ -393,30 +434,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
393
434
  requirements:
394
435
  - - ">="
395
436
  - !ruby/object:Gem::Version
396
- version: '2.6'
437
+ version: '2.7'
397
438
  required_rubygems_version: !ruby/object:Gem::Requirement
398
439
  requirements:
399
440
  - - ">="
400
441
  - !ruby/object:Gem::Version
401
442
  version: '0'
402
443
  requirements: []
403
- rubygems_version: 3.5.11
404
- signing_key:
444
+ rubygems_version: 3.6.2
405
445
  specification_version: 4
406
446
  summary: All about Japanese battle heroine "Pretty Cure (Precure)".
407
- test_files:
408
- - spec/config/girls_checker_spec.rb
409
- - spec/config/series_checker_spec.rb
410
- - spec/rubicure/concerns/gengou_spec.rb
411
- - spec/rubicure/core_spec.rb
412
- - spec/rubicure/cure_beat_spec.rb
413
- - spec/rubicure/cure_cosmo_spec.rb
414
- - spec/rubicure/cure_passion_spec.rb
415
- - spec/rubicure/cure_peace_spec.rb
416
- - spec/rubicure/cure_scarlet_spec.rb
417
- - spec/rubicure/girl_spec.rb
418
- - spec/rubicure/movie_spec.rb
419
- - spec/rubicure/rubicure_spec.rb
420
- - spec/rubicure/series_spec.rb
421
- - spec/spec_helper.rb
422
- - spec/support/util/test_util.rb
447
+ test_files: []