diff --git a/CHANGELOG.md b/CHANGELOG.md index 98750cd..ef5f819 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## master -[full changelog](http://github.com/sue445/rubicure/compare/v0.2.2.1...master) +[full changelog](http://github.com/sue445/rubicure/compare/v0.2.3...master) + +## v0.2.2 +[full changelog](http://github.com/sue445/rubicure/compare/v0.2.2.1...v0.2.3) + +* Add Go! Princess Precure + * https://github.com/sue445/rubicure/pull/66 ## v0.2.2.1 [full changelog](http://github.com/sue445/rubicure/compare/v0.2.2...v0.2.2.1) diff --git a/README.md b/README.md index b501293..c44bff4 100644 --- a/README.md +++ b/README.md @@ -474,6 +474,9 @@ Precure.all_stars.select(&:pink?).map(&:precure_name) Precure.all_stars.select(&:yellow?).map(&:precure_name) #=> ["シャイニールミナス", "キュアレモネード", "キュアパイン", "キュアサンシャイン", "キュアミューズ", "キュアピース", "キュアロゼッタ", "キュアハニー"] + +Precure.all_stars.group_by{ |girl| girl.color }.map{ |color, girls| [color, girls.count] }.sort_by{ |color, girl_count| girl_count }.reverse +#=> [["pink", 9], ["yellow", 9], ["blue", 8], ["purple", 4], ["red", 4], ["white", 3], ["green", 2], ["black", 1]] ``` ## More reference diff --git a/config/girls/012_go_princess.yml b/config/girls/012_go_princess.yml new file mode 100644 index 0000000..60ee7f9 --- /dev/null +++ b/config/girls/012_go_princess.yml @@ -0,0 +1,59 @@ +cure_flora: &cure_flora + human_name: 春野はるか + precure_name: キュアフローラ + cast_name: 嶋村侑 + color: pink + created_date: 2015-02-01 # episode 1 + transform_message: |- + プリキュア!プリンセスエンゲージ! + 咲き誇る花のプリンセス!キュアフローラ! + extra_names: + attack_messages: + - | + エクスチェンジ!モードエレガント! + 舞え、花よ!プリキュア・フローラル・トルビヨン! + (ドリーミング) + ごきげんよう + transform_calls: +cure_mermaid: &cure_mermaid + human_name: 海藤みなみ + precure_name: キュアマーメイド + cast_name: 浅野真澄 + color: blue + created_date: 2015-02-08 # episode 2 + transform_message: |- + プリキュア!プリンセスエンゲージ! + 澄み渡る海のプリンセス!キュアマーメイド! + extra_names: + attack_messages: + - | + エクスチェンジ!モードエレガント! + 高鳴れ、海よ!プリンセス・マーメイド・リップル! + (ドリーミング) + ごきげんよう + transform_calls: + - princess_engage +cure_twinkle: &cure_twinkle + human_name: 天ノ川きらら + precure_name: キュアトゥインクル + cast_name: 山村響 + color: yellow + created_date: 2015-02-22 # episode 4 + transform_message: |- + プリキュア!プリンセスエンゲージ! + きらめく星のプリンセス!キュアトゥインクル! + extra_names: + attack_messages: + - | + エクスチェンジ!モードエレガント! + キラキラ、星よ!プリンセス・トゥインクル・ハミング! + (ドリーミング) + ごきげんよう + transform_calls: + - princess_engage +flora: + <<: *cure_flora +mermaid: + <<: *cure_mermaid +twinkle: + <<: *cure_twinkle diff --git a/config/movies.yml b/config/movies.yml index aabdc55..5ed8fc5 100644 --- a/config/movies.yml +++ b/config/movies.yml @@ -34,3 +34,9 @@ ns3: &ns3 started_date: 2014-03-15 new_stage3: <<: *ns3 +####################################################### +sc: &sc + title: 映画 プリキュアオールスターズ 春のカーニバル + started_date: 2015-03-14 +spring_carnival: + <<: *sc diff --git a/config/series.yml b/config/series.yml index c0c3043..b22e809 100644 --- a/config/series.yml +++ b/config/series.yml @@ -134,3 +134,14 @@ happiness_charge: &happiness_charge - cure_fortune happiness_charge_precure: <<: *happiness_charge +####################################################### +go_princess: &go_princess + title: Go!プリンセスプリキュア + started_date: 2015-02-01 + # ended_date: 2016-01- + girls: + - cure_flora + - cure_mermaid + - cure_twinkle +go_princess_precure: + <<: *go_princess diff --git a/spec/core_spec.rb b/spec/core_spec.rb index bc5e8c8..cd71f5d 100644 --- a/spec/core_spec.rb +++ b/spec/core_spec.rb @@ -62,7 +62,7 @@ context "Without arg" do subject { instance.all_stars } - let(:precure_count){ 37 } + let(:precure_count){ 40 } its(:count) { should == precure_count } end @@ -72,23 +72,26 @@ where(:arg, :expected_count) do [ - ["2009-03-20" , 14], - [Date.parse("2010-03-20"), 17], - [Time.parse("2011-03-19"), 21], - - [:dx , 14], - [:dx1 , 14], - [:dx2 , 17], - [:dx3 , 21], - - [:ns , 28], - [:ns1 , 28], - [:new_stage , 28], - [:new_stage1, 28], - [:ns2 , 32], - [:new_stage2, 32], - [:ns3 , 36], - [:new_stage3, 36], + ["2009-03-20", 14], + [Date.parse("2010-03-20"), 17], + [Time.parse("2011-03-19"), 21], + + [:dx, 14], + [:dx1, 14], + [:dx2, 17], + [:dx3, 21], + + [:ns, 28], + [:ns1, 28], + [:new_stage, 28], + [:new_stage1, 28], + [:ns2, 32], + [:new_stage2, 32], + [:ns3, 36], + [:new_stage3, 36], + + [:sc, 40], + [:spring_carnival, 40], ] end diff --git a/spec/movie_spec.rb b/spec/movie_spec.rb index ddca5d0..f02b71b 100644 --- a/spec/movie_spec.rb +++ b/spec/movie_spec.rb @@ -7,6 +7,7 @@ :ns1, :ns2, :ns3, + :sc, ] end diff --git a/spec/series_spec.rb b/spec/series_spec.rb index d98b33e..b97fcd1 100644 --- a/spec/series_spec.rb +++ b/spec/series_spec.rb @@ -62,6 +62,7 @@ :smile, :dokidoki, :happiness_charge, + :go_princess, ] end