rubicure 3.1.2 → 3.1.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 +62 -0
- data/.github/workflows/test.yml +1 -2
- data/.yardopts +1 -0
- data/CHANGELOG.md +13 -1
- data/README.md +18 -39
- data/config/girls/019_delicious_party.yml +1 -1
- data/lib/rubicure/cure_finale.rb +3 -0
- data/lib/rubicure/version.rb +1 -1
- data/lib/rubicure.rb +1 -0
- data/rubicure.gemspec +5 -9
- data/spec/rubicure/girl_spec.rb +1 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34e52e19db2ffe181c05c2b346e1682eb44bca6ec47203d39475e9b420dc497b
|
4
|
+
data.tar.gz: db4fbb74a7be29af6c43f3a608c2ad808c2c47c2c27b2cb004daf3f6c7ea6fe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac623bbed65bb3d5eaa69340cec8557a3233b9c1dce72e5c85c78392586a3678a1cdcdb84b2741fd62f2b9fc6ebf14cb456dc24a889965afa83334ec2572ee54
|
7
|
+
data.tar.gz: c543d18ce8236dda1f6c98c866fb7454f02f7101d792ba5f3b767120c53b648ff6515951eceeacba9270de4d42fdd4b77a19f1cd02b8b832607f1d1a304b603c
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
2
|
+
name: Deploy static content to Pages
|
3
|
+
|
4
|
+
on:
|
5
|
+
# Runs on pushes targeting the default branch
|
6
|
+
push:
|
7
|
+
branches:
|
8
|
+
- master
|
9
|
+
|
10
|
+
# Allows you to run this workflow manually from the Actions tab
|
11
|
+
workflow_dispatch:
|
12
|
+
|
13
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
14
|
+
permissions:
|
15
|
+
contents: read
|
16
|
+
pages: write
|
17
|
+
id-token: write
|
18
|
+
|
19
|
+
# Allow one concurrent deployment
|
20
|
+
concurrency:
|
21
|
+
group: "pages"
|
22
|
+
cancel-in-progress: true
|
23
|
+
|
24
|
+
jobs:
|
25
|
+
# Single deploy job since we're just deploying
|
26
|
+
deploy:
|
27
|
+
environment:
|
28
|
+
name: github-pages
|
29
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
30
|
+
runs-on: ubuntu-latest
|
31
|
+
steps:
|
32
|
+
- name: Checkout
|
33
|
+
uses: actions/checkout@v3
|
34
|
+
|
35
|
+
- uses: ruby/setup-ruby@v1
|
36
|
+
with:
|
37
|
+
ruby-version: ruby
|
38
|
+
bundler-cache: true
|
39
|
+
|
40
|
+
- run: bundle exec yard
|
41
|
+
|
42
|
+
- name: Setup Pages
|
43
|
+
uses: actions/configure-pages@v1
|
44
|
+
- name: Upload artifact
|
45
|
+
uses: actions/upload-pages-artifact@v1
|
46
|
+
with:
|
47
|
+
# Upload entire repository
|
48
|
+
path: './doc'
|
49
|
+
- name: Deploy to GitHub Pages
|
50
|
+
id: deployment
|
51
|
+
uses: actions/deploy-pages@main
|
52
|
+
|
53
|
+
- name: Slack Notification (not success)
|
54
|
+
uses: lazy-actions/slatify@master
|
55
|
+
if: "! success()"
|
56
|
+
continue-on-error: true
|
57
|
+
with:
|
58
|
+
job_name: "*pages*"
|
59
|
+
type: ${{ job.status }}
|
60
|
+
icon_emoji: ":octocat:"
|
61
|
+
url: ${{ secrets.SLACK_WEBHOOK }}
|
62
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
@@ -13,7 +13,6 @@ on:
|
|
13
13
|
- cron: "0 10 * * 5" # JST 19:00 (Fri)
|
14
14
|
|
15
15
|
env:
|
16
|
-
CI: "true"
|
17
16
|
RUBYOPT: -EUTF-8
|
18
17
|
|
19
18
|
jobs:
|
@@ -37,7 +36,7 @@ jobs:
|
|
37
36
|
allow_failures: "true"
|
38
37
|
|
39
38
|
steps:
|
40
|
-
- uses: actions/checkout@
|
39
|
+
- uses: actions/checkout@v3
|
41
40
|
|
42
41
|
- name: Cache vendor/bundle
|
43
42
|
uses: actions/cache@v1
|
data/.yardopts
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v3.1.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.1.4...master)
|
3
|
+
|
4
|
+
## v3.1.4
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.1.3...v3.1.4)
|
6
|
+
|
7
|
+
* Add turnover to Cure Finale (Amane <=> Gentle)
|
8
|
+
* https://github.com/sue445/rubicure/pull/271
|
9
|
+
|
10
|
+
## v3.1.3
|
11
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.1.2...v3.1.3)
|
12
|
+
|
13
|
+
* Fix Cure Finale color
|
14
|
+
* https://github.com/sue445/rubicure/pull/267
|
3
15
|
|
4
16
|
## v3.1.2
|
5
17
|
[full changelog](http://github.com/sue445/rubicure/compare/v3.1.1...v3.1.2)
|
data/README.md
CHANGED
@@ -633,6 +633,7 @@ Go!プリンセスプリキュア
|
|
633
633
|
```
|
634
634
|
|
635
635
|
### Not operator
|
636
|
+
#### !Cure.passion
|
636
637
|
```ruby
|
637
638
|
>> passion = Cure.passion
|
638
639
|
>> passion.name
|
@@ -644,6 +645,7 @@ Go!プリンセスプリキュア
|
|
644
645
|
=> "イース"
|
645
646
|
```
|
646
647
|
|
648
|
+
#### !Cure.beat
|
647
649
|
```ruby
|
648
650
|
>> beat = Cure.beat
|
649
651
|
|
@@ -656,6 +658,7 @@ Go!プリンセスプリキュア
|
|
656
658
|
=> "セイレーン"
|
657
659
|
```
|
658
660
|
|
661
|
+
#### !Cure.scarlet
|
659
662
|
```ruby
|
660
663
|
>> scarlet = Cure.scarlet
|
661
664
|
>> scarlet.name
|
@@ -667,6 +670,18 @@ Go!プリンセスプリキュア
|
|
667
670
|
=> "トワイライト"
|
668
671
|
```
|
669
672
|
|
673
|
+
#### !Cure.finale
|
674
|
+
```ruby
|
675
|
+
>> finale = Cure.finale
|
676
|
+
>> finale.name
|
677
|
+
=> "菓彩あまね"
|
678
|
+
|
679
|
+
>> !finale
|
680
|
+
|
681
|
+
>> finale.name
|
682
|
+
=> "ジェントルー"
|
683
|
+
```
|
684
|
+
|
670
685
|
### Cure.cosmo.transform!(:rainbow_perfume)
|
671
686
|
```ruby
|
672
687
|
Cure.cosmo.transform!(:rainbow_perfume)
|
@@ -694,7 +709,7 @@ Cure.cosmo.name
|
|
694
709
|
=> true
|
695
710
|
|
696
711
|
>> Rubicure::Girl.colors
|
697
|
-
=> [:black, :blue, :green, :pink, :purple, :rainbow, :red, :white, :yellow]
|
712
|
+
=> [:black, :blue, :gold, :green, :pink, :purple, :rainbow, :red, :white, :yellow]
|
698
713
|
|
699
714
|
>> Precure.all_girls.select(&:pink?).map(&:precure_name)
|
700
715
|
=> ["キュアブルーム", "キュアドリーム", "キュアピーチ", "キュアブロッサム", "キュアメロディ", "キュアハッピー", "キュアハート", "キュアラブリー", "キュアフローラ", "キュアミラクル", "キュアホイップ", "キュアエール", "キュアスター", "キュアグレース", "キュアプレシャス"]
|
@@ -703,7 +718,7 @@ Cure.cosmo.name
|
|
703
718
|
=> ["シャイニールミナス", "キュアレモネード", "キュアパイン", "キュアサンシャイン", "キュアミューズ", "キュアピース", "キュアロゼッタ", "キュアハニー", "キュアトゥインクル", "キュアカスタード", "キュアエトワール", "キュアソレイユ", "キュアスパークル", "キュアパパイア", "キュアヤムヤム"]
|
704
719
|
|
705
720
|
>> Precure.all_girls.group_by{ |girl| girl.color }.map{ |color, girls| [color, girls.count] }.sort_by{ |color, girl_count| [girl_count, color] }.reverse
|
706
|
-
=> [["yellow", 15], ["pink", 15], ["blue", 13], ["purple",
|
721
|
+
=> [["yellow", 15], ["pink", 15], ["blue", 13], ["purple", 10], ["red", 8], ["white", 5], ["green", 4], ["rainbow", 2], ["gold", 1], ["black", 1]]
|
707
722
|
```
|
708
723
|
|
709
724
|
### birthday methods
|
@@ -766,43 +781,7 @@ Cure.cosmo.name
|
|
766
781
|
```
|
767
782
|
|
768
783
|
## More reference
|
769
|
-
http://
|
770
|
-
|
771
|
-
## API Server is available!
|
772
|
-
https://rubicure.herokuapp.com/
|
773
|
-
|
774
|
-
```sh
|
775
|
-
$ curl -s https://rubicure.herokuapp.com/series/go_princess.json | jq .
|
776
|
-
{
|
777
|
-
"series_name": "go_princess",
|
778
|
-
"title": "Go!プリンセスプリキュア",
|
779
|
-
"started_date": "2015-02-01",
|
780
|
-
"girls": [
|
781
|
-
"cure_flora",
|
782
|
-
"cure_mermaid",
|
783
|
-
"cure_twinkle",
|
784
|
-
"cure_scarlet"
|
785
|
-
]
|
786
|
-
}
|
787
|
-
|
788
|
-
$ curl -s https://rubicure.herokuapp.com/girls/cure_twinkle.json | jq .
|
789
|
-
{
|
790
|
-
"girl_name": "cure_twinkle",
|
791
|
-
"human_name": "天ノ川きらら",
|
792
|
-
"precure_name": "キュアトゥインクル",
|
793
|
-
"cast_name": "山村響",
|
794
|
-
"color": "yellow",
|
795
|
-
"created_date": "2015-02-22",
|
796
|
-
"transform_message": "プリキュア!プリンセスエンゲージ!\nきらめく星のプリンセス!キュアトゥインクル!\n強く、やさしく、美しく!\nGo!プリンセスプリキュア!\n冷たい檻に閉ざされた夢、返していただきますわ!\nお覚悟はよろしくて?",
|
797
|
-
"extra_names": null,
|
798
|
-
"attack_messages": [
|
799
|
-
"エクスチェンジ!モードエレガント!\nキラキラ、星よ!プリキュア・トゥインクル・ハミング!\n(ドリーミング)\nごきげんよう\n"
|
800
|
-
],
|
801
|
-
"transform_calls": [
|
802
|
-
"princess_engage"
|
803
|
-
]
|
804
|
-
}
|
805
|
-
```
|
784
|
+
http://sue445.github.io/rubicure/
|
806
785
|
|
807
786
|
## Versioning Policy
|
808
787
|
`rubicure` uses **Semantic Cure Versioning** :heart:
|
data/lib/rubicure/version.rb
CHANGED
data/lib/rubicure.rb
CHANGED
data/rubicure.gemspec
CHANGED
@@ -14,15 +14,11 @@ Gem::Specification.new do |spec|
|
|
14
14
|
|
15
15
|
spec.required_ruby_version = ">= 2.6"
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
else
|
23
|
-
raise "RubyGems 2.0 or newer is required to protect against " \
|
24
|
-
"public gem pushes."
|
25
|
-
end
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
20
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
21
|
+
spec.metadata["documentation_uri"] = "https://sue445.github.io/rubicure/"
|
26
22
|
|
27
23
|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
28
24
|
|
data/spec/rubicure/girl_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.1.
|
4
|
+
version: 3.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -312,6 +312,7 @@ extensions: []
|
|
312
312
|
extra_rdoc_files: []
|
313
313
|
files:
|
314
314
|
- ".coveralls.yml"
|
315
|
+
- ".github/workflows/pages.yml"
|
315
316
|
- ".github/workflows/test.yml"
|
316
317
|
- ".gitignore"
|
317
318
|
- ".rspec"
|
@@ -351,6 +352,7 @@ files:
|
|
351
352
|
- lib/rubicure/cure.rb
|
352
353
|
- lib/rubicure/cure_beat.rb
|
353
354
|
- lib/rubicure/cure_cosmo.rb
|
355
|
+
- lib/rubicure/cure_finale.rb
|
354
356
|
- lib/rubicure/cure_passion.rb
|
355
357
|
- lib/rubicure/cure_peace.rb
|
356
358
|
- lib/rubicure/cure_scarlet.rb
|
@@ -384,6 +386,7 @@ metadata:
|
|
384
386
|
source_code_uri: https://github.com/sue445/rubicure
|
385
387
|
changelog_uri: https://github.com/sue445/rubicure/blob/master/CHANGELOG.md
|
386
388
|
rubygems_mfa_required: 'true'
|
389
|
+
documentation_uri: https://sue445.github.io/rubicure/
|
387
390
|
post_install_message:
|
388
391
|
rdoc_options: []
|
389
392
|
require_paths:
|