Skip to content

Commit

Permalink
Merge 9113c64 into ee89202
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Sep 24, 2023
2 parents ee89202 + 9113c64 commit d0ee6f1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,11 @@ When `Rubicure::Girl` has `human_full_name` (i.e. another `human_name`), she ret

>> Precure.all_stars(:memories).count
=> 55

>> Precure.all_stars(:f).count
=> 78
>>Precure.all_stars(:f).include?(Cure.echo)
=> false
```

and [more aliases!](config/movies.yml)
Expand Down
4 changes: 4 additions & 0 deletions config/movies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ miracle_universe: &miracle_universe
miracle_leap: &miracle_leap
title: 映画プリキュアミラクルリープ
started_date: 2020-10-31
#######################################################
f: &f
title: 映画プリキュアオールスターズF
started_date: 2023-09-15
8 changes: 8 additions & 0 deletions lib/rubicure/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ def now
# #=> 44
# Precure.all_stars(:sing_together_miracle_magic).include?(Cure.echo)
# #=> true
#
# Precure.all_stars(:memories).count
# #=> 55
#
# Precure.all_stars(:f).count
# #=> 78
# Precure.all_stars(:f).include?(Cure.echo)
# #=> false
def all_stars(arg = Time.current)
extra_girls = []

Expand Down
4 changes: 4 additions & 0 deletions spec/rubicure/core_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
:sing_together_miracle_magic | 44 | true

:memories | 55 | false

# NOTE: キュアエコーを含めると79人なのだが、公式や各種メディアが78人と言っているのでキュアエコーは含めていない
# c.f. https://twitter.com/precure_movie/status/1704691931094384957
:f | 78 | false
end

with_them do
Expand Down
1 change: 1 addition & 0 deletions spec/rubicure/movie_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
:memories,
:miracle_universe,
:miracle_leap,
:f
]
end

Expand Down

0 comments on commit d0ee6f1

Please sign in to comment.