rubicure 3.3.4 → 4.0.0

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: 14d9f7235bbe142b7fa7bd445f21ef1e1d216e10c1f032e29fbb0ad6a0cd2b9f
4
- data.tar.gz: d6cdaf327ded55f30c648baaef4e820d67f1470136ae410ce5a3b074d38e56e2
3
+ metadata.gz: 3c73f70ab00edd9d1f1bdd1990c1f135627176779747d7086f3901d06d3689f9
4
+ data.tar.gz: 0c0cb5ff8a67a410f77c931a6ace4096331104d18d09e54b496b40cdebfdaf57
5
5
  SHA512:
6
- metadata.gz: 52a8336d2842b6cbda6fdcc595cef1ec0e80dc629e8415757c4f6188f57607ebe01ba846b8e958b61c8d1b78fc0256a22b0bdec6ddd3d1a1d1da4dd3efcbaa75
7
- data.tar.gz: 15844e3ae0c4d7b3c39f883989a26b22af4d7c4cde9954858d71f4928b444d4313d17513ac186da5b619f0c16ca0ca6f9fab45dd5480f6c213c63a06f0efe5cc
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
@@ -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.2'
102
+ if: matrix.ruby >= '3.4'
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.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,18 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubicure/compare/v3.3.4...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
3
16
 
4
17
  ## v3.3.4
5
18
  [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
- => {: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)>, :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"]}
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/)
@@ -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.4".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,13 +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"
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"
54
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"
55
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.4
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-12-12 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
@@ -304,6 +303,34 @@ dependencies:
304
303
  - - ">="
305
304
  - !ruby/object:Gem::Version
306
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'
307
334
  description: All about Japanese battle heroine "Pretty Cure (Precure)".
308
335
  email:
309
336
  - sue445@sue445.net
@@ -400,7 +427,6 @@ metadata:
400
427
  changelog_uri: https://github.com/sue445/rubicure/blob/master/CHANGELOG.md
401
428
  documentation_uri: https://sue445.github.io/rubicure/
402
429
  rubygems_mfa_required: 'true'
403
- post_install_message:
404
430
  rdoc_options: []
405
431
  require_paths:
406
432
  - lib
@@ -408,30 +434,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
408
434
  requirements:
409
435
  - - ">="
410
436
  - !ruby/object:Gem::Version
411
- version: '2.6'
437
+ version: '2.7'
412
438
  required_rubygems_version: !ruby/object:Gem::Requirement
413
439
  requirements:
414
440
  - - ">="
415
441
  - !ruby/object:Gem::Version
416
442
  version: '0'
417
443
  requirements: []
418
- rubygems_version: 3.5.22
419
- signing_key:
444
+ rubygems_version: 3.6.2
420
445
  specification_version: 4
421
446
  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
447
+ test_files: []