rubicure 1.2.5 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +120 -0
- data/CHANGELOG.md +33 -1
- data/Gemfile +13 -0
- data/README.md +13 -16
- data/config/girls/017_healingood.yml +123 -0
- data/config/series.yml +14 -1
- data/lib/rubicure/version.rb +1 -1
- data/rubicure.gemspec +1 -1
- data/spec/rubicure/core_spec.rb +1 -1
- data/spec/rubicure/series_spec.rb +1 -0
- data/spec/spec_helper.rb +0 -1
- metadata +18 -17
- data/.travis.yml +0 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e647ac9be0d89bf9fe1671f66e07ab6b6b1431288f4d4a3c2aa8e34a8b5725c
|
4
|
+
data.tar.gz: c4249dffec601ec72c137597188011e3fc86ab6bb5484edd2ae46b2297eecfde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b0bf19313053161eb5e918d4de3904f51e83907faece99008f8ead317e568627d1ac1021542c658f7e9006b6248f7fe8d66ff17ce1981da6ba00308f2e2d182
|
7
|
+
data.tar.gz: cb461e18ee5e750d980809ed5cf62613ac2fb59090f62d8bdf9f0496dabb19dda438cee06aa2de253cbec1bcc63c0155516641e0616ab3f58ebefcc5cbc71c2c
|
@@ -0,0 +1,120 @@
|
|
1
|
+
name: test
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
types:
|
9
|
+
- opened
|
10
|
+
- synchronize
|
11
|
+
- reopened
|
12
|
+
schedule:
|
13
|
+
- cron: "0 10 * * 5" # JST 19:00 (Fri)
|
14
|
+
|
15
|
+
env:
|
16
|
+
CI: "true"
|
17
|
+
RUBYOPT: -EUTF-8
|
18
|
+
|
19
|
+
jobs:
|
20
|
+
test:
|
21
|
+
runs-on: ubuntu-latest
|
22
|
+
|
23
|
+
container: ${{ matrix.ruby }}
|
24
|
+
|
25
|
+
strategy:
|
26
|
+
fail-fast: false
|
27
|
+
|
28
|
+
matrix:
|
29
|
+
ruby:
|
30
|
+
- ruby:2.2
|
31
|
+
- ruby:2.3
|
32
|
+
- ruby:2.4
|
33
|
+
- ruby:2.5
|
34
|
+
- ruby:2.6
|
35
|
+
- ruby:2.7
|
36
|
+
- rubylang/ruby:master-nightly-bionic
|
37
|
+
include:
|
38
|
+
- ruby: rubylang/ruby:master-nightly-bionic
|
39
|
+
allow_failures: "true"
|
40
|
+
|
41
|
+
steps:
|
42
|
+
- uses: actions/checkout@v2
|
43
|
+
|
44
|
+
- name: Cache vendor/bundle
|
45
|
+
uses: actions/cache@v1
|
46
|
+
id: cache_gem
|
47
|
+
with:
|
48
|
+
path: vendor/bundle
|
49
|
+
key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
|
50
|
+
restore-keys: |
|
51
|
+
v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
|
52
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
53
|
+
|
54
|
+
- name: bundle update
|
55
|
+
run: |
|
56
|
+
set -xe
|
57
|
+
bundle config path vendor/bundle
|
58
|
+
bundle update --jobs $(nproc) --retry 3
|
59
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
60
|
+
|
61
|
+
- name: Setup Code Climate Test Reporter
|
62
|
+
uses: aktions/codeclimate-test-reporter@v1
|
63
|
+
with:
|
64
|
+
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
65
|
+
command: before-build
|
66
|
+
if: matrix.ruby >= 'ruby:2.4'
|
67
|
+
continue-on-error: true
|
68
|
+
|
69
|
+
- run: bundle exec rspec
|
70
|
+
timeout-minutes: 1
|
71
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
72
|
+
|
73
|
+
- run: bundle exec ruby examples/all.rb
|
74
|
+
timeout-minutes: 1
|
75
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
76
|
+
|
77
|
+
- name: Teardown Code Climate Test Reporter
|
78
|
+
uses: aktions/codeclimate-test-reporter@v1
|
79
|
+
with:
|
80
|
+
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
81
|
+
command: after-build
|
82
|
+
if: matrix.ruby >= 'ruby:2.4' && always()
|
83
|
+
continue-on-error: true
|
84
|
+
|
85
|
+
- run: bundle exec rubocop
|
86
|
+
timeout-minutes: 1
|
87
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
88
|
+
|
89
|
+
- run: bundle exec rubydoctest README.md
|
90
|
+
timeout-minutes: 1
|
91
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
92
|
+
|
93
|
+
- name: Slack Notification (not success)
|
94
|
+
uses: homoluctus/slatify@master
|
95
|
+
if: "! success()"
|
96
|
+
continue-on-error: true
|
97
|
+
with:
|
98
|
+
job_name: ${{ format('*build* ({0})', matrix.ruby) }}
|
99
|
+
type: ${{ job.status }}
|
100
|
+
icon_emoji: ":octocat:"
|
101
|
+
url: ${{ secrets.SLACK_WEBHOOK }}
|
102
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
103
|
+
|
104
|
+
notify:
|
105
|
+
needs:
|
106
|
+
- test
|
107
|
+
|
108
|
+
runs-on: ubuntu-latest
|
109
|
+
|
110
|
+
steps:
|
111
|
+
- name: Slack Notification (success)
|
112
|
+
uses: homoluctus/slatify@master
|
113
|
+
if: always()
|
114
|
+
continue-on-error: true
|
115
|
+
with:
|
116
|
+
job_name: '*build*'
|
117
|
+
type: ${{ job.status }}
|
118
|
+
icon_emoji: ":octocat:"
|
119
|
+
url: ${{ secrets.SLACK_WEBHOOK }}
|
120
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,37 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v1.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v1.3.3...master)
|
3
|
+
|
4
|
+
## v1.3.3
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v1.3.2...v1.3.3)
|
6
|
+
|
7
|
+
* Add cure earth :earth_asia:
|
8
|
+
* https://github.com/sue445/rubicure/pull/238
|
9
|
+
|
10
|
+
## v1.3.2
|
11
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v1.3.1...v1.3.2)
|
12
|
+
|
13
|
+
* Append message to healingood precure's transform message
|
14
|
+
* https://github.com/sue445/rubicure/pull/237
|
15
|
+
|
16
|
+
## v1.3.1
|
17
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v1.3.0...v1.3.1)
|
18
|
+
|
19
|
+
* Add birthday of healingood:heart:precure
|
20
|
+
* https://github.com/sue445/rubicure/pull/232
|
21
|
+
|
22
|
+
## v1.3.0
|
23
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v1.2.6...v1.3.0)
|
24
|
+
|
25
|
+
* Add Healingood:heart:Precure
|
26
|
+
* https://github.com/sue445/rubicure/pull/229
|
27
|
+
* Remove enemy's message
|
28
|
+
* https://github.com/sue445/rubicure/pull/230
|
29
|
+
|
30
|
+
## v1.2.6
|
31
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v1.2.5...v1.2.6)
|
32
|
+
|
33
|
+
* Add ended_date of Star:star:Twinkle Precure
|
34
|
+
* https://github.com/sue445/rubicure/pull/224
|
3
35
|
|
4
36
|
## v1.2.5
|
5
37
|
[full changelog](http://github.com/sue445/rubicure/compare/v1.2.4...v1.2.5)
|
data/Gemfile
CHANGED
@@ -9,3 +9,16 @@ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
|
|
9
9
|
# i18n v1.5.1+ requires Ruby 2.3.0+
|
10
10
|
gem "i18n", "< 1.5.1"
|
11
11
|
end
|
12
|
+
|
13
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
|
14
|
+
# activesupport v6.0.0+ requires Ruby 2.5.0+
|
15
|
+
gem "activesupport", "< 6.0.0"
|
16
|
+
end
|
17
|
+
|
18
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.4.0")
|
19
|
+
# byebug v11.0.0+ requires Ruby 2.3.0+ and byebug v11.1.0+ requires Ruby 2.4.0+
|
20
|
+
gem "byebug", "< 11.0.0"
|
21
|
+
|
22
|
+
# simplecov-html 0.11.0+ requires Ruby 2.4.0
|
23
|
+
gem "simplecov-html", "< 0.11.0"
|
24
|
+
end
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Rubicure (Ruby + Precure)
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/rubicure.svg)](http://badge.fury.io/rb/rubicure)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://github.com/sue445/rubicure/workflows/test/badge.svg?branch=master)](https://github.com/sue445/rubicure/actions?query=workflow%3Atest)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sue445/rubicure.png)](https://codeclimate.com/github/sue445/rubicure)
|
6
6
|
[![Coverage Status](https://coveralls.io/repos/sue445/rubicure/badge.png)](https://coveralls.io/r/sue445/rubicure)
|
7
7
|
[![Inline docs](http://inch-ci.org/github/sue445/rubicure.svg?branch=master)](http://inch-ci.org/github/sue445/rubicure)
|
@@ -23,7 +23,7 @@ see followings
|
|
23
23
|
## Requirements
|
24
24
|
|
25
25
|
* ruby >= 2.2.2
|
26
|
-
* more: [.
|
26
|
+
* more: [.github/workflows/test.yml](.github/workflows/test.yml)
|
27
27
|
|
28
28
|
## Installation
|
29
29
|
|
@@ -119,10 +119,7 @@ and [more aliases!](config/series.yml)
|
|
119
119
|
|
120
120
|
```ruby
|
121
121
|
>> Precure.now
|
122
|
-
=> {:series_name=>"
|
123
|
-
|
124
|
-
>> Precure.current
|
125
|
-
=> {:series_name=>"star_twinkle", :title=>"スター☆トゥインクルプリキュア", :started_date=>Sun, 03 Feb 2019, :girls=>["cure_star", "cure_milky", "cure_soleil", "cure_selene", "cure_cosmo"]}
|
122
|
+
=> {:series_name=>"healingood", :title=>"ヒーリングっど♥プリキュア", :started_date=>Sun, 02 Feb 2020, :girls=>["cure_grace", "cure_fontaine", "cure_sparkle", "cure_earth"]}
|
126
123
|
|
127
124
|
# -2013/1/27 : smile precure
|
128
125
|
# 2013/2/5 - : dokidoki precure
|
@@ -599,19 +596,19 @@ Go!プリンセスプリキュア
|
|
599
596
|
魔法つかいプリキュア!
|
600
597
|
キラキラ☆プリキュアアラモード
|
601
598
|
HUGっと!プリキュア
|
602
|
-
=> [: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]
|
599
|
+
=> [: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]
|
603
600
|
|
604
601
|
>> Precure.inject([]){|girl_count_of_series, series| girl_count_of_series << series.girls.count; girl_count_of_series }
|
605
|
-
=> [2, 3, 2, 5, 6, 4, 4, 4, 5, 5, 4, 4, 3, 6, 5, 5]
|
602
|
+
=> [2, 3, 2, 5, 6, 4, 4, 4, 5, 5, 4, 4, 3, 6, 5, 5, 4]
|
606
603
|
|
607
604
|
>> Precure.map(&:title)
|
608
|
-
=> ["ふたりはプリキュア", "ふたりはプリキュア Max Heart", "ふたりはプリキュア Splash☆Star", "Yes! プリキュア5", "Yes! プリキュア5 Go Go!", "フレッシュプリキュア!", "ハートキャッチプリキュア!", "スイートプリキュア♪", "スマイルプリキュア!", "ドキドキ!プリキュア", "ハピネスチャージプリキュア!", "Go!プリンセスプリキュア", "魔法つかいプリキュア!", "キラキラ☆プリキュアアラモード", "HUGっと!プリキュア", "スター☆トゥインクルプリキュア"]
|
605
|
+
=> ["ふたりはプリキュア", "ふたりはプリキュア Max Heart", "ふたりはプリキュア Splash☆Star", "Yes! プリキュア5", "Yes! プリキュア5 Go Go!", "フレッシュプリキュア!", "ハートキャッチプリキュア!", "スイートプリキュア♪", "スマイルプリキュア!", "ドキドキ!プリキュア", "ハピネスチャージプリキュア!", "Go!プリンセスプリキュア", "魔法つかいプリキュア!", "キラキラ☆プリキュアアラモード", "HUGっと!プリキュア", "スター☆トゥインクルプリキュア", "ヒーリングっど♥プリキュア"]
|
609
606
|
|
610
607
|
>> Precure.happiness_charge.map(&:precure_name)
|
611
608
|
=> ["キュアラブリー", "キュアプリンセス", "キュアハニー", "キュアフォーチュン"]
|
612
609
|
|
613
610
|
>> Precure.map{|series| series.map(&:precure_name) }
|
614
|
-
=> [["キュアブラック", "キュアホワイト"], ["キュアブラック", "キュアホワイト", "シャイニールミナス"], ["キュアブルーム", "キュアイーグレット"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア", "ミルキィローズ"], ["キュアピーチ", "キュアベリー", "キュアパイン", "キュアパッション"], ["キュアブロッサム", "キュアマリン", "キュアサンシャイン", "キュアムーンライト"], ["キュアメロディ", "キュアリズム", "キュアビート", "キュアミューズ"], ["キュアハッピー", "キュアサニー", "キュアピース", "キュアマーチ", "キュアビューティ"], ["キュアハート", "キュアダイヤモンド", "キュアロゼッタ", "キュアソード", "キュアエース"], ["キュアラブリー", "キュアプリンセス", "キュアハニー", "キュアフォーチュン"], ["キュアフローラ", "キュアマーメイド", "キュアトゥインクル", "キュアスカーレット"], ["キュアミラクル", "キュアマジカル", "キュアフェリーチェ"], ["キュアホイップ", "キュアカスタード", "キュアジェラート", "キュアマカロン", "キュアショコラ", "キュアパルフェ"], ["キュアエール", "キュアアンジュ", "キュアエトワール", "キュアマシェリ", "キュアアムール"], ["キュアスター", "キュアミルキー", "キュアソレイユ", "キュアセレーネ", "キュアコスモ"]]
|
611
|
+
=> [["キュアブラック", "キュアホワイト"], ["キュアブラック", "キュアホワイト", "シャイニールミナス"], ["キュアブルーム", "キュアイーグレット"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア"], ["キュアドリーム", "キュアルージュ", "キュアレモネード", "キュアミント", "キュアアクア", "ミルキィローズ"], ["キュアピーチ", "キュアベリー", "キュアパイン", "キュアパッション"], ["キュアブロッサム", "キュアマリン", "キュアサンシャイン", "キュアムーンライト"], ["キュアメロディ", "キュアリズム", "キュアビート", "キュアミューズ"], ["キュアハッピー", "キュアサニー", "キュアピース", "キュアマーチ", "キュアビューティ"], ["キュアハート", "キュアダイヤモンド", "キュアロゼッタ", "キュアソード", "キュアエース"], ["キュアラブリー", "キュアプリンセス", "キュアハニー", "キュアフォーチュン"], ["キュアフローラ", "キュアマーメイド", "キュアトゥインクル", "キュアスカーレット"], ["キュアミラクル", "キュアマジカル", "キュアフェリーチェ"], ["キュアホイップ", "キュアカスタード", "キュアジェラート", "キュアマカロン", "キュアショコラ", "キュアパルフェ"], ["キュアエール", "キュアアンジュ", "キュアエトワール", "キュアマシェリ", "キュアアムール"], ["キュアスター", "キュアミルキー", "キュアソレイユ", "キュアセレーネ", "キュアコスモ"], ["キュアグレース", "キュアフォンテーヌ", "キュアスパークル", "キュアアース"]]
|
615
612
|
```
|
616
613
|
|
617
614
|
### Not operator
|
@@ -679,13 +676,13 @@ Cure.cosmo.name
|
|
679
676
|
=> [:black, :blue, :green, :pink, :purple, :rainbow, :red, :white, :yellow]
|
680
677
|
|
681
678
|
>> Precure.all_girls.select(&:pink?).map(&:precure_name)
|
682
|
-
=> ["キュアブルーム", "キュアドリーム", "キュアピーチ", "キュアブロッサム", "キュアメロディ", "キュアハッピー", "キュアハート", "キュアラブリー", "キュアフローラ", "キュアミラクル", "キュアホイップ", "キュアエール", "キュアスター"]
|
679
|
+
=> ["キュアブルーム", "キュアドリーム", "キュアピーチ", "キュアブロッサム", "キュアメロディ", "キュアハッピー", "キュアハート", "キュアラブリー", "キュアフローラ", "キュアミラクル", "キュアホイップ", "キュアエール", "キュアスター", "キュアグレース"]
|
683
680
|
|
684
681
|
>> Precure.all_girls.select(&:yellow?).map(&:precure_name)
|
685
|
-
=> ["シャイニールミナス", "キュアレモネード", "キュアパイン", "キュアサンシャイン", "キュアミューズ", "キュアピース", "キュアロゼッタ", "キュアハニー", "キュアトゥインクル", "キュアカスタード", "キュアエトワール", "キュアソレイユ"]
|
682
|
+
=> ["シャイニールミナス", "キュアレモネード", "キュアパイン", "キュアサンシャイン", "キュアミューズ", "キュアピース", "キュアロゼッタ", "キュアハニー", "キュアトゥインクル", "キュアカスタード", "キュアエトワール", "キュアソレイユ", "キュアスパークル"]
|
686
683
|
|
687
684
|
>> Precure.all_girls.group_by{ |girl| girl.color }.map{ |color, girls| [color, girls.count] }.sort_by{ |color, girl_count| [girl_count, color] }.reverse
|
688
|
-
=> [["pink",
|
685
|
+
=> [["pink", 14], ["yellow", 13], ["blue", 11], ["purple", 9], ["red", 7], ["white", 4], ["green", 4], ["rainbow", 2], ["black", 1]]
|
689
686
|
```
|
690
687
|
|
691
688
|
### birthday methods
|
@@ -711,12 +708,12 @@ Cure.cosmo.name
|
|
711
708
|
=> true
|
712
709
|
|
713
710
|
>> Precure.all_girls.select(&:have_birthday?).map(&:human_name)
|
714
|
-
=> ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ"]
|
711
|
+
=> ["美墨なぎさ", "雪城ほのか", "九条ひかり", "日向咲", "美翔舞", "相田マナ", "菱川六花", "四葉ありす", "剣崎真琴", "春野はるか", "海藤みなみ", "天ノ川きらら", "紅城トワ", "朝日奈みらい", "十六夜リコ", "宇佐美いちか", "有栖川ひまり", "立神あおい", "琴爪ゆかり", "剣城あきら", "キラ星シエル", "野乃はな", "薬師寺さあや", "輝木ほまれ", "愛崎えみる", "ルールー・アムール", "星奈ひかる", "羽衣ララ", "天宮えれな", "香久矢まどか", "ユニ", "花寺のどか", "沢泉ちゆ", "平光ひなた"]
|
715
712
|
>> Precure.all_girls.select(&:have_birthday?).sort_by { |girl| Date.parse(girl.birthday) }.map{ |girl| [girl.birthday, girl.human_name] }
|
716
|
-
=> [["1/7", "宇佐美いちか"], ["1/20", "野乃はな"], ["4/4", "雪城ほのか"], ["4/8", "輝木ほまれ"], ["4/10", "春野はるか"], ["4/12", "星奈ひかる"], ["4/16", "有栖川ひまり"], ["5/28", "四葉ありす"], ["6/10", "薬師寺さあや"], ["6/11", "琴爪ゆかり"], ["6/12", "朝日奈みらい"], ["7/7", "羽衣ララ"], ["7/15", "愛崎えみる"], ["7/20", "海藤みなみ"], ["7/30", "キラ星シエル"], ["8/4", "相田マナ"], ["8/7", "日向咲"], ["8/27", "立神あおい"], ["9/8", "天宮えれな"], ["9/9", "九条ひかり"], ["9/12", "天ノ川きらら"], ["9/17", "菱川六花"], ["9/23", "ルールー・アムール"], ["9/24", "剣城あきら"], ["10/10", "美墨なぎさ"], ["10/11", "ユニ"], ["11/4", "剣崎真琴"], ["11/12", "十六夜リコ"], ["11/20", "美翔舞"], ["11/23", "香久矢まどか"], ["12/15", "紅城トワ"]]
|
713
|
+
=> [["1/7", "宇佐美いちか"], ["1/20", "野乃はな"], ["3/9", "花寺のどか"], ["4/4", "雪城ほのか"], ["4/8", "輝木ほまれ"], ["4/10", "春野はるか"], ["4/12", "星奈ひかる"], ["4/16", "有栖川ひまり"], ["5/28", "四葉ありす"], ["6/10", "薬師寺さあや"], ["6/11", "琴爪ゆかり"], ["6/12", "朝日奈みらい"], ["7/7", "羽衣ララ"], ["7/15", "愛崎えみる"], ["7/20", "海藤みなみ"], ["7/30", "キラ星シエル"], ["8/4", "相田マナ"], ["8/7", "日向咲"], ["8/21", "沢泉ちゆ"], ["8/27", "立神あおい"], ["9/8", "天宮えれな"], ["9/9", "九条ひかり"], ["9/12", "天ノ川きらら"], ["9/17", "菱川六花"], ["9/23", "ルールー・アムール"], ["9/24", "剣城あきら"], ["10/4", "平光ひなた"], ["10/10", "美墨なぎさ"], ["10/11", "ユニ"], ["11/4", "剣崎真琴"], ["11/12", "十六夜リコ"], ["11/20", "美翔舞"], ["11/23", "香久矢まどか"], ["12/15", "紅城トワ"]]
|
717
714
|
|
718
715
|
>> Precure.all_girls.select(&:have_birthday?).map(&:human_name).count
|
719
|
-
=>
|
716
|
+
=> 34
|
720
717
|
```
|
721
718
|
|
722
719
|
* `has_birthday?` is alias to `have_birthday?`
|
@@ -0,0 +1,123 @@
|
|
1
|
+
cure_grace: &cure_grace
|
2
|
+
girl_name: cure_grace
|
3
|
+
human_name: 花寺のどか
|
4
|
+
precure_name: キュアグレース
|
5
|
+
cast_name: 悠木碧
|
6
|
+
color: pink
|
7
|
+
created_date: 2020-02-02 # episode 1
|
8
|
+
birthday: 3/9
|
9
|
+
transform_message: |-
|
10
|
+
スタンバイ!
|
11
|
+
プリキュアオペレーション!
|
12
|
+
エレメントレベル上昇ラビ!
|
13
|
+
キュアタッチ!
|
14
|
+
キュア!
|
15
|
+
キュア!
|
16
|
+
重なる二つの花!キュアグレース!
|
17
|
+
ラビ!
|
18
|
+
地球をお手当!ヒーリングっど♥プリキュア!
|
19
|
+
# extra_names:
|
20
|
+
attack_messages:
|
21
|
+
- |-
|
22
|
+
エレメントチャージ!
|
23
|
+
キュア!キュア!キュア!
|
24
|
+
ヒーリングゲージ上昇!
|
25
|
+
プリキュア!ヒーリングフラワー!
|
26
|
+
お大事に
|
27
|
+
transform_calls:
|
28
|
+
- precure_operation
|
29
|
+
grace:
|
30
|
+
<<: *cure_grace
|
31
|
+
|
32
|
+
cure_fontaine: &cure_fontaine
|
33
|
+
girl_name: cure_fontaine
|
34
|
+
human_name: 沢泉ちゆ
|
35
|
+
precure_name: キュアフォンテーヌ
|
36
|
+
cast_name: 依田菜津
|
37
|
+
color: blue
|
38
|
+
created_date: 2020-02-16 # episode 3
|
39
|
+
birthday: 8/21
|
40
|
+
transform_message: |-
|
41
|
+
スタート!
|
42
|
+
プリキュアオペレーション!
|
43
|
+
エレメントレベル上昇ペ!
|
44
|
+
キュアタッチ!
|
45
|
+
キュ!
|
46
|
+
キュ!
|
47
|
+
交わる二つの流れ、キュアフォンテーヌ!
|
48
|
+
ぺ!
|
49
|
+
地球をお手当!ヒーリングっど♥プリキュア!
|
50
|
+
# extra_names:
|
51
|
+
attack_messages:
|
52
|
+
- |-
|
53
|
+
エレメントチャージ!
|
54
|
+
キュ!キュ!キュ!
|
55
|
+
ヒーリングゲージ上昇!
|
56
|
+
プリキュア!ヒーリングストリーム!
|
57
|
+
お大事に
|
58
|
+
transform_calls:
|
59
|
+
- precure_operation
|
60
|
+
fontaine:
|
61
|
+
<<: *cure_fontaine
|
62
|
+
|
63
|
+
cure_sparkle: &cure_sparkle
|
64
|
+
girl_name: cure_sparkle
|
65
|
+
human_name: 平光ひなた
|
66
|
+
precure_name: キュアスパークル
|
67
|
+
cast_name: 河野ひより
|
68
|
+
color: yellow
|
69
|
+
created_date: 2020-02-23 # episode 4
|
70
|
+
birthday: 10/4
|
71
|
+
transform_message: |-
|
72
|
+
スタート!
|
73
|
+
プリキュアオペレーション!
|
74
|
+
エレメントレベル上昇ニャ!
|
75
|
+
キュアタッチ!
|
76
|
+
キュン!
|
77
|
+
キュン!
|
78
|
+
溶け合う二つの光、キュアスパークル!
|
79
|
+
ニャ!
|
80
|
+
地球をお手当!ヒーリングっど♥プリキュア!
|
81
|
+
# extra_names:
|
82
|
+
attack_messages:
|
83
|
+
- |-
|
84
|
+
エレメントチャージ!
|
85
|
+
キュン!キュン!キュン!
|
86
|
+
ヒーリングゲージ上昇!
|
87
|
+
プリキュア!ヒーリングフラッシュ!
|
88
|
+
お大事に
|
89
|
+
transform_calls:
|
90
|
+
- precure_operation
|
91
|
+
sparkle:
|
92
|
+
<<: *cure_sparkle
|
93
|
+
|
94
|
+
cure_earth: &cure_earth
|
95
|
+
girl_name: cure_earth
|
96
|
+
human_name: 風鈴アスミ
|
97
|
+
precure_name: キュアアース
|
98
|
+
cast_name: 三森すずこ
|
99
|
+
color: purple
|
100
|
+
created_date: 2020-08-09 # episode 19
|
101
|
+
# birthday:
|
102
|
+
transform_message: |-
|
103
|
+
スタート!
|
104
|
+
プリキュアオペレーション!
|
105
|
+
エレメントレベル上昇ラテ!
|
106
|
+
キュアタッチ!
|
107
|
+
キュン!
|
108
|
+
キュン!
|
109
|
+
時を経てつながる二つの風、キュアアース!
|
110
|
+
ワン!
|
111
|
+
地球をお手当!ヒーリングっど♥プリキュア!
|
112
|
+
# extra_names:
|
113
|
+
attack_messages:
|
114
|
+
- |-
|
115
|
+
アースウィンディハープ!
|
116
|
+
エレメントチャージ!
|
117
|
+
舞い上がれ、癒やしの風!
|
118
|
+
プリキュア・ヒーリングハリケーン!
|
119
|
+
お大事に
|
120
|
+
transform_calls:
|
121
|
+
- precure_operation
|
122
|
+
earth:
|
123
|
+
<<: *cure_earth
|
data/config/series.yml
CHANGED
@@ -208,7 +208,7 @@ star_twinkle: &star_twinkle
|
|
208
208
|
series_name: star_twinkle
|
209
209
|
title: スター☆トゥインクルプリキュア
|
210
210
|
started_date: 2019-02-03
|
211
|
-
|
211
|
+
ended_date: 2020-01-26
|
212
212
|
girls:
|
213
213
|
- cure_star
|
214
214
|
- cure_milky
|
@@ -217,3 +217,16 @@ star_twinkle: &star_twinkle
|
|
217
217
|
- cure_cosmo
|
218
218
|
star_twinkle_precure:
|
219
219
|
<<: *star_twinkle
|
220
|
+
#######################################################
|
221
|
+
healingood: &healingood
|
222
|
+
series_name: healingood
|
223
|
+
title: ヒーリングっど♥プリキュア
|
224
|
+
started_date: 2020-02-02
|
225
|
+
# ended_date: 2021-01-
|
226
|
+
girls:
|
227
|
+
- cure_grace
|
228
|
+
- cure_fontaine
|
229
|
+
- cure_sparkle
|
230
|
+
- cure_earth
|
231
|
+
healingood_precure:
|
232
|
+
<<: *healingood
|
data/lib/rubicure/version.rb
CHANGED
data/rubicure.gemspec
CHANGED
@@ -41,7 +41,6 @@ Gem::Specification.new do |spec|
|
|
41
41
|
spec.add_development_dependency "coveralls"
|
42
42
|
spec.add_development_dependency "delorean"
|
43
43
|
spec.add_development_dependency "onkcop", "0.53.0.0"
|
44
|
-
spec.add_development_dependency "pry-byebug"
|
45
44
|
spec.add_development_dependency "rake"
|
46
45
|
spec.add_development_dependency "rspec", ">= 3.8.0"
|
47
46
|
spec.add_development_dependency "rspec-collection_matchers"
|
@@ -51,5 +50,6 @@ Gem::Specification.new do |spec|
|
|
51
50
|
spec.add_development_dependency "rubocop-rspec", "1.25.1"
|
52
51
|
spec.add_development_dependency "rubydoctest"
|
53
52
|
spec.add_development_dependency "simplecov"
|
53
|
+
spec.add_development_dependency "unparser", ">= 0.4.5"
|
54
54
|
spec.add_development_dependency "yard"
|
55
55
|
end
|
data/spec/rubicure/core_spec.rb
CHANGED
data/spec/spec_helper.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: 1.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -108,20 +108,6 @@ dependencies:
|
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.53.0.0
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: pry-byebug
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: rake
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -248,6 +234,20 @@ dependencies:
|
|
248
234
|
- - ">="
|
249
235
|
- !ruby/object:Gem::Version
|
250
236
|
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: unparser
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: 0.4.5
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 0.4.5
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: yard
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,10 +270,10 @@ extensions: []
|
|
270
270
|
extra_rdoc_files: []
|
271
271
|
files:
|
272
272
|
- ".coveralls.yml"
|
273
|
+
- ".github/workflows/test.yml"
|
273
274
|
- ".gitignore"
|
274
275
|
- ".rspec"
|
275
276
|
- ".rubocop.yml"
|
276
|
-
- ".travis.yml"
|
277
277
|
- ".yardopts"
|
278
278
|
- CHANGELOG.md
|
279
279
|
- Gemfile
|
@@ -296,6 +296,7 @@ files:
|
|
296
296
|
- config/girls/014_a_la_mode.yml
|
297
297
|
- config/girls/015_hugtto.yml
|
298
298
|
- config/girls/016_star_twinkle.yml
|
299
|
+
- config/girls/017_healingood.yml
|
299
300
|
- config/girls/movie.yml
|
300
301
|
- config/movies.yml
|
301
302
|
- config/series.yml
|
data/.travis.yml
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.2.2
|
4
|
-
- 2.3
|
5
|
-
- 2.4
|
6
|
-
- 2.5
|
7
|
-
- 2.6
|
8
|
-
- ruby-head
|
9
|
-
bundler_args: "--jobs=2"
|
10
|
-
cache: bundler
|
11
|
-
before_install:
|
12
|
-
- travis_retry gem update --system || travis_retry gem update --system 2.7.8
|
13
|
-
- travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3
|
14
|
-
before_script:
|
15
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
16
|
-
- chmod +x ./cc-test-reporter
|
17
|
-
- ./cc-test-reporter before-build
|
18
|
-
script:
|
19
|
-
- RUBYOPT=$RSPEC_RUBYOPT bundle exec rspec
|
20
|
-
- bundle exec ruby examples/all.rb
|
21
|
-
after_script:
|
22
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
23
|
-
stages:
|
24
|
-
- test
|
25
|
-
- lint
|
26
|
-
jobs:
|
27
|
-
include:
|
28
|
-
- stage: lint
|
29
|
-
rvm: 2.2.2
|
30
|
-
name: rubocop
|
31
|
-
script: bundle exec rubocop
|
32
|
-
- stage: lint
|
33
|
-
rvm: 2.2.2
|
34
|
-
name: rubydoctest
|
35
|
-
script: bundle exec rubydoctest README.md
|
36
|
-
branches:
|
37
|
-
only:
|
38
|
-
- master
|
39
|
-
notifications:
|
40
|
-
email: false
|
41
|
-
slack:
|
42
|
-
secure: M8VEihBaynGJdlXu7TvhgqIDfpHvSP5H0RCLsvtaQ5rNoz6yrOTRcLBCWazrJopD1CvKbcFTVVLlS86fxyW9+pYhYc81mXlhtyPLNx7yXQ+Uhfrxp7/e2QLEMZEgbk2Z7XglN4rJ+t4QhWjsPL0ohJk+t1DSdFtEPK3o3RyoRrE=
|
43
|
-
matrix:
|
44
|
-
allow_failures:
|
45
|
-
- rvm: ruby-head
|
46
|
-
include:
|
47
|
-
- rvm: 2.6
|
48
|
-
env: RSPEC_RUBYOPT="--jit"
|
49
|
-
- rvm: ruby-head
|
50
|
-
env: RSPEC_RUBYOPT="--jit"
|
51
|
-
sudo: false
|
52
|
-
env:
|
53
|
-
global:
|
54
|
-
- CC_TEST_REPORTER_ID=8e9db6ee5f3818e87287a6393086c2ccb9b1b83106c5bfb972211abefd2fe162
|