Skip to content

Commit

Permalink
Merge 4449805 into 1c3354f
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Apr 30, 2024
2 parents 1c3354f + 4449805 commit 221efb5
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source "https://rubygems.org"

eval_gemfile "#{__dir__}/gemfiles/common.gemfile"

# Specify your gem's dependencies in rubicure.gemspec
gemspec
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -757,12 +757,12 @@ Cure.cosmo.name
=> true

>> Precure.all_girls.select(&:have_birthday?).map(&:human_name)
=> ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ", "花寺のどか", "沢泉ちゆ", "平光ひなた", "風鈴アスミ", "夏海まなつ", "涼村さんご", "一ノ瀬みのり", "滝沢あすか", "ローラ・ラメール", "和実ゆい", "芙羽ここね", "華満らん", "菓彩あまね", "ソラ・ハレワタール", "虹ヶ丘ましろ", "夕凪ツバサ", "聖あげは", "プリンセス・エル"]
=> ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ", "花寺のどか", "沢泉ちゆ", "平光ひなた", "風鈴アスミ", "夏海まなつ", "涼村さんご", "一ノ瀬みのり", "滝沢あすか", "ローラ・ラメール", "和実ゆい", "芙羽ここね", "華満らん", "菓彩あまね", "ソラ・ハレワタール", "虹ヶ丘ましろ", "夕凪ツバサ", "聖あげは", "プリンセス・エル", "犬飼こむぎ"]
>> Precure.all_girls.select(&:have_birthday?).sort_by { |girl| Date.parse(girl.birthday) }.map{ |girl| [girl.birthday, girl.human_name] }
=> [["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", "紅城トワ"]]
=> [["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/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", "紅城トワ"]]

>> Precure.all_girls.select(&:have_birthday?).map(&:human_name).count
=> 49
=> 50
```

* `has_birthday?` is alias to `have_birthday?`
Expand Down
2 changes: 1 addition & 1 deletion config/girls/021_wonderful.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cure_wonderful: &cure_wonderful
cast_name: 長縄まりあ
color: pink
created_date: 2024-02-04 # episode 1
# birthday: xx/xx
birthday: 5/13
transform_message: |-
ワンダフルパクト!
プリキュア!マイエボリューション!
Expand Down
2 changes: 2 additions & 0 deletions gemfiles/activesupport_5_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ source "https://rubygems.org"

gem "activesupport", "~> 5.0.0"

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"
2 changes: 2 additions & 0 deletions gemfiles/activesupport_5_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ source "https://rubygems.org"

gem "activesupport", "~> 5.1.0"

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"
2 changes: 2 additions & 0 deletions gemfiles/activesupport_5_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ source "https://rubygems.org"

gem "activesupport", "~> 5.2.0"

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"
2 changes: 2 additions & 0 deletions gemfiles/activesupport_6_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ source "https://rubygems.org"

gem "activesupport", "~> 6.0.0"

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"
2 changes: 2 additions & 0 deletions gemfiles/activesupport_6_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ source "https://rubygems.org"

gem "activesupport", "~> 6.1.0"

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"
2 changes: 2 additions & 0 deletions gemfiles/activesupport_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ source "https://rubygems.org"

gem "activesupport", "~> 7.0.0"

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"
2 changes: 2 additions & 0 deletions gemfiles/activesupport_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ source "https://rubygems.org"

gem "activesupport", "~> 7.1.0"

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"
2 changes: 2 additions & 0 deletions gemfiles/common.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# FIXME: rubydoctest doesn't work on ruby 3.2+
gem "rubydoctest", github: "sue445/rubydoctest", ref: "ruby3.2"
1 change: 0 additions & 1 deletion rubicure.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rubocop-performance", "1.9.2"
spec.add_development_dependency "rubocop-rake", "0.5.1"
spec.add_development_dependency "rubocop-rspec", "2.1.0"
spec.add_development_dependency "rubydoctest"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "unparser", ">= 0.4.5"
spec.add_development_dependency "yard"
Expand Down

0 comments on commit 221efb5

Please sign in to comment.