rubicure 3.1.3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d50d471b48e8a80e4960ec4fefd7ef06dbd009eaaef277a5d8e6420a58d5ed3
4
- data.tar.gz: 3e9f118e657891dfb3308a044e6b5efbc760c00f5bae7bb5ad892cafd7702b30
3
+ metadata.gz: 34e52e19db2ffe181c05c2b346e1682eb44bca6ec47203d39475e9b420dc497b
4
+ data.tar.gz: db4fbb74a7be29af6c43f3a608c2ad808c2c47c2c27b2cb004daf3f6c7ea6fe3
5
5
  SHA512:
6
- metadata.gz: 39ac0940b2dd7bdabd1107aac0f0e6174a8461d7ad8d9061a3c640b52d5d837dd7e9d8cff29aa5737f9ec4a3ee1ffdc45061f4eac3af46054471c5a93feb1caa
7
- data.tar.gz: d094b81f556d9f004331c7ee0f45c6808abb451f5aec1701db70bf495a192f1d5a0289b95403f08479c3fb08069dc561b4613cf0be261c6bd891552fbd8c4452
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 }}
@@ -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@v2
39
+ - uses: actions/checkout@v3
41
40
 
42
41
  - name: Cache vendor/bundle
43
42
  uses: actions/cache@v1
data/.yardopts CHANGED
@@ -1,2 +1,3 @@
1
1
  --markup markdown
2
2
  --no-private
3
+ --asset examples/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubicure/compare/v3.1.3...master)
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
3
9
 
4
10
  ## v3.1.3
5
11
  [full changelog](http://github.com/sue445/rubicure/compare/v3.1.2...v3.1.3)
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)
@@ -766,43 +781,7 @@ Cure.cosmo.name
766
781
  ```
767
782
 
768
783
  ## More reference
769
- http://rubydoc.info/gems/rubicure/frames
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:
@@ -0,0 +1,3 @@
1
+ [Cure.finale, Cure.cure_finale].each do |finale|
2
+ Cure.define_turnover_methods(finale, "菓彩あまね", "ジェントルー")
3
+ end
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "3.1.3".freeze
2
+ VERSION = "3.1.4".freeze
3
3
  end
data/lib/rubicure.rb CHANGED
@@ -27,6 +27,7 @@ require "rubicure/cure_peace"
27
27
  require "rubicure/cure_passion"
28
28
  require "rubicure/cure_beat"
29
29
  require "rubicure/cure_scarlet"
30
+ require "rubicure/cure_finale"
30
31
 
31
32
  module Precure
32
33
  def self.method_missing(name, *args, &block)
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
- if spec.respond_to?(:metadata)
18
- spec.metadata["homepage_uri"] = spec.homepage
19
- spec.metadata["source_code_uri"] = spec.homepage
20
- spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
21
- spec.metadata["rubygems_mfa_required"] = "true"
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
 
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.3
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-07-10 00:00:00.000000000 Z
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: