rubicure 3.2.2 → 3.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pages.yml +2 -2
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +13 -1
- data/README.md +12 -7
- data/config/girls/020_hirogaru_sky.yml +30 -0
- data/config/movies.yml +4 -0
- data/config/series.yml +1 -0
- data/lib/rubicure/core.rb +8 -0
- data/lib/rubicure/version.rb +1 -1
- data/spec/rubicure/core_spec.rb +5 -1
- data/spec/rubicure/movie_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e0bff5e079520cc80520b80b587aa1ec92a79a9c5f81836d0654e58fcf9ea92
|
4
|
+
data.tar.gz: 06607be1453a60df04c06840ca79de2edeb907e0e59ee239ab06ddc91e040125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8266d02c6a2f2e0be274372a48e9dfcdd65ecb078477c2be9e7366845dee8c15c8de7e7499d2b62cb421fc61c1a30c58d7d59ab964e327f4aceb5af94897cd8b
|
7
|
+
data.tar.gz: 667260c8850161aa77a7211c1f9cabe0b2292f1eab242126c2e575c8eca3fbbec21b4e2b211e5fd889727677fbeb8cd06c130ca50f6f2625237cf3b791b5a950
|
data/.github/workflows/pages.yml
CHANGED
@@ -30,7 +30,7 @@ jobs:
|
|
30
30
|
runs-on: ubuntu-latest
|
31
31
|
steps:
|
32
32
|
- name: Checkout
|
33
|
-
uses: actions/checkout@
|
33
|
+
uses: actions/checkout@v4
|
34
34
|
|
35
35
|
- uses: ruby/setup-ruby@v1
|
36
36
|
with:
|
@@ -42,7 +42,7 @@ jobs:
|
|
42
42
|
- name: Setup Pages
|
43
43
|
uses: actions/configure-pages@v3
|
44
44
|
- name: Upload artifact
|
45
|
-
uses: actions/upload-pages-artifact@
|
45
|
+
uses: actions/upload-pages-artifact@v2
|
46
46
|
with:
|
47
47
|
# Upload entire repository
|
48
48
|
path: './doc'
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.4...master)
|
3
|
+
|
4
|
+
## v3.2.4
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.3...v3.2.4)
|
6
|
+
|
7
|
+
* Add `Precure.all_stars(:f)`
|
8
|
+
* https://github.com/sue445/rubicure/pull/291
|
9
|
+
|
10
|
+
## v3.2.3
|
11
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.2...v3.2.3)
|
12
|
+
|
13
|
+
* Add CureMajesty
|
14
|
+
* https://github.com/sue445/rubicure/pull/289
|
3
15
|
|
4
16
|
## v3.2.2
|
5
17
|
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.1...v3.2.2)
|
data/README.md
CHANGED
@@ -118,7 +118,7 @@ and [more aliases!](config/series.yml)
|
|
118
118
|
|
119
119
|
```ruby
|
120
120
|
>> Precure.now
|
121
|
-
=> {:series_name=>"hirogaru_sky", :title=>"ひろがるスカイ!プリキュア", :started_date=>#<Date: 2023-02-05 ((2459981j,0s,0n),+0s,-Infj)>, :girls=>["cure_sky", "cure_prism", "cure_wing", "cure_butterfly"]}
|
121
|
+
=> {:series_name=>"hirogaru_sky", :title=>"ひろがるスカイ!プリキュア", :started_date=>#<Date: 2023-02-05 ((2459981j,0s,0n),+0s,-Infj)>, :girls=>["cure_sky", "cure_prism", "cure_wing", "cure_butterfly", "cure_majesty"]}
|
122
122
|
|
123
123
|
# -2013/1/27 : smile precure
|
124
124
|
# 2013/2/5 - : dokidoki precure
|
@@ -498,6 +498,11 @@ When `Rubicure::Girl` has `human_full_name` (i.e. another `human_name`), she ret
|
|
498
498
|
|
499
499
|
>> Precure.all_stars(:memories).count
|
500
500
|
=> 55
|
501
|
+
|
502
|
+
>> Precure.all_stars(:f).count
|
503
|
+
=> 78
|
504
|
+
>> Precure.all_stars(:f).include?(Cure.echo)
|
505
|
+
=> false
|
501
506
|
```
|
502
507
|
|
503
508
|
and [more aliases!](config/movies.yml)
|
@@ -627,7 +632,7 @@ Go!プリンセスプリキュア
|
|
627
632
|
=> [:unmarked, :max_heart, :splash_star, :yes, :yes_gogo, :fresh, :heart_catch, :suite, :smile, :dokidoki, :happiness_charge, :go_princess, :maho_girls, :a_la_mode, :hugtto, :star_twinkle, :healingood, :tropical_rouge, :delicious_party, :hirogaru_sky]
|
628
633
|
|
629
634
|
>> Precure.inject([]){|girl_count_of_series, series| girl_count_of_series << series.girls.count; girl_count_of_series }
|
630
|
-
=> [2, 3, 2, 5, 6, 4, 4, 4, 5, 5, 4, 4, 3, 6, 5, 5, 4, 5, 4,
|
635
|
+
=> [2, 3, 2, 5, 6, 4, 4, 4, 5, 5, 4, 4, 3, 6, 5, 5, 4, 5, 4, 5]
|
631
636
|
|
632
637
|
>> Precure.map(&:title)
|
633
638
|
=> ["ふたりはプリキュア", "ふたりはプリキュア Max Heart", "ふたりはプリキュア Splash☆Star", "Yes! プリキュア5", "Yes! プリキュア5 Go Go!", "フレッシュプリキュア!", "ハートキャッチプリキュア!", "スイートプリキュア♪", "スマイルプリキュア!", "ドキドキ!プリキュア", "ハピネスチャージプリキュア!", "Go!プリンセスプリキュア", "魔法つかいプリキュア!", "キラキラ☆プリキュアアラモード", "HUGっと!プリキュア", "スター☆トゥインクルプリキュア", "ヒーリングっど♥プリキュア", "トロピカル~ジュ!プリキュア", "デリシャスパーティ♡プリキュア", "ひろがるスカイ!プリキュア"]
|
@@ -636,7 +641,7 @@ Go!プリンセスプリキュア
|
|
636
641
|
=> ["キュアラブリー", "キュアプリンセス", "キュアハニー", "キュアフォーチュン"]
|
637
642
|
|
638
643
|
>> Precure.map{|series| series.map(&:precure_name) }
|
639
|
-
=> [["キュアブラック", "キュアホワイト"], ["キュアブラック", "キュアホワイト", "シャイニールミナス"], ["キュアブルーム", "キュアイーグレット"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア", "ミルキィローズ"], ["キュアピーチ", "キュアベリー", "キュアパイン", "キュアパッション"], ["キュアブロッサム", "キュアマリン", "キュアサンシャイン", "キュアムーンライト"], ["キュアメロディ", "キュアリズム", "キュアビート", "キュアミューズ"], ["キュアハッピー", "キュアサニー", "キュアピース", "キュアマーチ", "キュアビューティ"], ["キュアハート", "キュアダイヤモンド", "キュアロゼッタ", "キュアソード", "キュアエース"], ["キュアラブリー", "キュアプリンセス", "キュアハニー", "キュアフォーチュン"], ["キュアフローラ", "キュアマーメイド", "キュアトゥインクル", "キュアスカーレット"], ["キュアミラクル", "キュアマジカル", "キュアフェリーチェ"], ["キュアホイップ", "キュアカスタード", "キュアジェラート", "キュアマカロン", "キュアショコラ", "キュアパルフェ"], ["キュアエール", "キュアアンジュ", "キュアエトワール", "キュアマシェリ", "キュアアムール"], ["キュアスター", "キュアミルキー", "キュアソレイユ", "キュアセレーネ", "キュアコスモ"], ["キュアグレース", "キュアフォンテーヌ", "キュアスパークル", "キュアアース"], ["キュアサマー", "キュアコーラル", "キュアパパイア", "キュアフラミンゴ", "キュアラメール"], ["キュアプレシャス", "キュアスパイシー", "キュアヤムヤム", "キュアフィナーレ"], ["キュアスカイ", "キュアプリズム", "キュアウィング", "キュアバタフライ"]]
|
644
|
+
=> [["キュアブラック", "キュアホワイト"], ["キュアブラック", "キュアホワイト", "シャイニールミナス"], ["キュアブルーム", "キュアイーグレット"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア", "ミルキィローズ"], ["キュアピーチ", "キュアベリー", "キュアパイン", "キュアパッション"], ["キュアブロッサム", "キュアマリン", "キュアサンシャイン", "キュアムーンライト"], ["キュアメロディ", "キュアリズム", "キュアビート", "キュアミューズ"], ["キュアハッピー", "キュアサニー", "キュアピース", "キュアマーチ", "キュアビューティ"], ["キュアハート", "キュアダイヤモンド", "キュアロゼッタ", "キュアソード", "キュアエース"], ["キュアラブリー", "キュアプリンセス", "キュアハニー", "キュアフォーチュン"], ["キュアフローラ", "キュアマーメイド", "キュアトゥインクル", "キュアスカーレット"], ["キュアミラクル", "キュアマジカル", "キュアフェリーチェ"], ["キュアホイップ", "キュアカスタード", "キュアジェラート", "キュアマカロン", "キュアショコラ", "キュアパルフェ"], ["キュアエール", "キュアアンジュ", "キュアエトワール", "キュアマシェリ", "キュアアムール"], ["キュアスター", "キュアミルキー", "キュアソレイユ", "キュアセレーネ", "キュアコスモ"], ["キュアグレース", "キュアフォンテーヌ", "キュアスパークル", "キュアアース"], ["キュアサマー", "キュアコーラル", "キュアパパイア", "キュアフラミンゴ", "キュアラメール"], ["キュアプレシャス", "キュアスパイシー", "キュアヤムヤム", "キュアフィナーレ"], ["キュアスカイ", "キュアプリズム", "キュアウィング", "キュアバタフライ", "キュアマジェスティ"]]
|
640
645
|
```
|
641
646
|
|
642
647
|
### Not operator
|
@@ -725,7 +730,7 @@ Cure.cosmo.name
|
|
725
730
|
=> ["シャイニールミナス", "キュアレモネード", "キュアパイン", "キュアサンシャイン", "キュアミューズ", "キュアピース", "キュアロゼッタ", "キュアハニー", "キュアトゥインクル", "キュアカスタード", "キュアエトワール", "キュアソレイユ", "キュアスパークル", "キュアパパイア", "キュアヤムヤム"]
|
726
731
|
|
727
732
|
>> Precure.all_girls.group_by{ |girl| girl.color }.map{ |color, girls| [color, girls.count] }.sort_by{ |color, girl_count| [girl_count, color] }.reverse
|
728
|
-
=> [["pink", 16], ["yellow", 15], ["blue", 14], ["purple",
|
733
|
+
=> [["pink", 16], ["yellow", 15], ["blue", 14], ["purple", 11], ["red", 8], ["white", 6], ["green", 4], ["rainbow", 2], ["orange", 1], ["gold", 1], ["black", 1]]
|
729
734
|
```
|
730
735
|
|
731
736
|
### birthday methods
|
@@ -751,12 +756,12 @@ Cure.cosmo.name
|
|
751
756
|
=> true
|
752
757
|
|
753
758
|
>> Precure.all_girls.select(&:have_birthday?).map(&:human_name)
|
754
|
-
=> ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ", "花寺のどか", "沢泉ちゆ", "平光ひなた", "風鈴アスミ", "夏海まなつ", "涼村さんご", "一ノ瀬みのり", "滝沢あすか", "ローラ・ラメール", "和実ゆい", "芙羽ここね", "華満らん", "菓彩あまね", "ソラ・ハレワタール", "虹ヶ丘ましろ", "夕凪ツバサ", "聖あげは"]
|
759
|
+
=> ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ", "花寺のどか", "沢泉ちゆ", "平光ひなた", "風鈴アスミ", "夏海まなつ", "涼村さんご", "一ノ瀬みのり", "滝沢あすか", "ローラ・ラメール", "和実ゆい", "芙羽ここね", "華満らん", "菓彩あまね", "ソラ・ハレワタール", "虹ヶ丘ましろ", "夕凪ツバサ", "聖あげは", "プリンセス・エル"]
|
755
760
|
>> Precure.all_girls.select(&:have_birthday?).sort_by { |girl| Date.parse(girl.birthday) }.map{ |girl| [girl.birthday, girl.human_name] }
|
756
|
-
=> [["1/7", "宇佐美いちか"], ["1/20", "野乃はな"], ["3/9", "花寺のどか"], ["3/13", "芙羽ここね"], ["4/4", "雪城ほのか"], ["4/8", "輝木ほまれ"], ["4/10", "春野はるか"], ["4/12", "星奈ひかる"], ["4/16", "有栖川ひまり"], ["5/9", "涼村さんご"], ["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/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/12", "十六夜リコ"], ["11/20", "美翔舞"], ["11/21", "一ノ瀬みのり"], ["11/23", "香久矢まどか"], ["11/24", "菓彩あまね"], ["12/15", "紅城トワ"]]
|
761
|
+
=> [["1/7", "宇佐美いちか"], ["1/20", "野乃はな"], ["3/9", "花寺のどか"], ["3/12", "プリンセス・エル"], ["3/13", "芙羽ここね"], ["4/4", "雪城ほのか"], ["4/8", "輝木ほまれ"], ["4/10", "春野はるか"], ["4/12", "星奈ひかる"], ["4/16", "有栖川ひまり"], ["5/9", "涼村さんご"], ["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/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/12", "十六夜リコ"], ["11/20", "美翔舞"], ["11/21", "一ノ瀬みのり"], ["11/23", "香久矢まどか"], ["11/24", "菓彩あまね"], ["12/15", "紅城トワ"]]
|
757
762
|
|
758
763
|
>> Precure.all_girls.select(&:have_birthday?).map(&:human_name).count
|
759
|
-
=>
|
764
|
+
=> 49
|
760
765
|
```
|
761
766
|
|
762
767
|
* `has_birthday?` is alias to `have_birthday?`
|
@@ -112,3 +112,33 @@ cure_butterfly: &cure_butterfly
|
|
112
112
|
- sky_mirage_tone_connect
|
113
113
|
butterfly:
|
114
114
|
<<: *cure_butterfly
|
115
|
+
|
116
|
+
cure_majesty: &cure_majesty
|
117
|
+
girl_name: cure_majesty
|
118
|
+
human_name: プリンセス・エル
|
119
|
+
precure_name: キュアマジェスティ
|
120
|
+
cast_name: 古賀葵
|
121
|
+
color: purple
|
122
|
+
created_date: 2023-09-03 # episode 31
|
123
|
+
birthday: 3/12
|
124
|
+
transform_message: |-
|
125
|
+
スカイミラージュ!
|
126
|
+
トーンコネクト!
|
127
|
+
ひろがるチェンジ!
|
128
|
+
マジェスティ!
|
129
|
+
きらめきHOP
|
130
|
+
さわやかSTEP
|
131
|
+
はればれJUMP
|
132
|
+
降り立つ気高き神秘!キュアマジェスティ!
|
133
|
+
Ready…Go!
|
134
|
+
ひろがるスカイ!プリキュア!
|
135
|
+
# extra_names:
|
136
|
+
attack_messages:
|
137
|
+
- |-
|
138
|
+
マジェスティクルニクルン!
|
139
|
+
ひろがる世界にテイクオフ!
|
140
|
+
プリキュア!マジェスティックハレーション!
|
141
|
+
transform_calls:
|
142
|
+
- sky_mirage_tone_connect
|
143
|
+
majesty:
|
144
|
+
<<: *cure_majesty
|
data/config/movies.yml
CHANGED
data/config/series.yml
CHANGED
data/lib/rubicure/core.rb
CHANGED
@@ -95,6 +95,14 @@ module Rubicure
|
|
95
95
|
# #=> 44
|
96
96
|
# Precure.all_stars(:sing_together_miracle_magic).include?(Cure.echo)
|
97
97
|
# #=> true
|
98
|
+
#
|
99
|
+
# Precure.all_stars(:memories).count
|
100
|
+
# #=> 55
|
101
|
+
#
|
102
|
+
# Precure.all_stars(:f).count
|
103
|
+
# #=> 78
|
104
|
+
# Precure.all_stars(:f).include?(Cure.echo)
|
105
|
+
# #=> false
|
98
106
|
def all_stars(arg = Time.current)
|
99
107
|
extra_girls = []
|
100
108
|
|
data/lib/rubicure/version.rb
CHANGED
data/spec/rubicure/core_spec.rb
CHANGED
@@ -73,6 +73,10 @@ describe Rubicure::Core do
|
|
73
73
|
:sing_together_miracle_magic | 44 | true
|
74
74
|
|
75
75
|
:memories | 55 | false
|
76
|
+
|
77
|
+
# NOTE: キュアエコーを含めると79人なのだが、公式や各種メディアが78人と言っているのでキュアエコーは含めていない
|
78
|
+
# c.f. https://twitter.com/precure_movie/status/1704691931094384957
|
79
|
+
:f | 78 | false
|
76
80
|
end
|
77
81
|
|
78
82
|
with_them do
|
@@ -86,7 +90,7 @@ describe Rubicure::Core do
|
|
86
90
|
context "Without arg" do
|
87
91
|
subject { instance.all_girls }
|
88
92
|
|
89
|
-
let(:precure_count) {
|
93
|
+
let(:precure_count) { 79 }
|
90
94
|
|
91
95
|
its(:count) { should == precure_count }
|
92
96
|
it { should include Cure.echo }
|
data/spec/rubicure/movie_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubicure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|