rubicure 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +13 -11
- data/config/girls/012_go_princess.yml +4 -4
- data/config/series.yml +1 -1
- data/lib/rubicure/cure.rb +2 -2
- data/lib/rubicure/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e19c801fa8d90b3d311ee5276e4bbd51238dfbf
|
4
|
+
data.tar.gz: ac184b19894c2ca8e1de34319e33cf2483cded2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47843ebb2efd89174bc995fab71b04cac0eb8592321f35426523367b92277301b008730312c3949b3d516c95fd758d2f3a7cebd61e4cf152d12ca7048c4b4a0d
|
7
|
+
data.tar.gz: 9d5b45aa6b3ee512fe60968263c2dad02b1eb8f30685009dfe2f3be9dcd7978d7b5834fcd1e353917a8eab3c2e3f52a1f3a62d89aa868d89d421e192188e7c23
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v0.3.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.3.1...master)
|
3
|
+
|
4
|
+
## v0.3.1
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.3.0...v0.3.1)
|
6
|
+
|
7
|
+
* Fix typo: scarlett -> scarlet
|
8
|
+
* https://github.com/sue445/rubicure/pull/89
|
3
9
|
|
4
10
|
## v0.3.0
|
5
11
|
[full changelog](http://github.com/sue445/rubicure/compare/v0.2.9...v0.3.0)
|
data/README.md
CHANGED
@@ -99,10 +99,10 @@ and [more aliases!](config/series.yml)
|
|
99
99
|
|
100
100
|
```ruby
|
101
101
|
Precure.now
|
102
|
-
#=> {:series_name=>"go_princess", :title=>"Go!プリンセスプリキュア", :started_date=>Sun, 01 Feb 2015, :girls=>["cure_flora", "cure_mermaid", "cure_twinkle", "
|
102
|
+
#=> {:series_name=>"go_princess", :title=>"Go!プリンセスプリキュア", :started_date=>Sun, 01 Feb 2015, :girls=>["cure_flora", "cure_mermaid", "cure_twinkle", "cure_scarlet"]}
|
103
103
|
|
104
104
|
Precure.current
|
105
|
-
#=> {:series_name=>"go_princess", :title=>"Go!プリンセスプリキュア", :started_date=>Sun, 01 Feb 2015, :girls=>["cure_flora", "cure_mermaid", "cure_twinkle", "
|
105
|
+
#=> {:series_name=>"go_princess", :title=>"Go!プリンセスプリキュア", :started_date=>Sun, 01 Feb 2015, :girls=>["cure_flora", "cure_mermaid", "cure_twinkle", "cure_scarlet"]}
|
106
106
|
|
107
107
|
# -2013/1/27 : smile precure
|
108
108
|
# 2013/2/5 - : dokidoki precure
|
@@ -455,13 +455,13 @@ beat.name
|
|
455
455
|
```
|
456
456
|
|
457
457
|
```ruby
|
458
|
-
|
459
|
-
|
458
|
+
scarlet = Cure.scarlet
|
459
|
+
scarlet.name
|
460
460
|
=> "紅城トワ"
|
461
461
|
|
462
|
-
!
|
462
|
+
!scarlet
|
463
463
|
|
464
|
-
|
464
|
+
scarlet.name
|
465
465
|
=> "トワイライト"
|
466
466
|
```
|
467
467
|
|
@@ -495,19 +495,19 @@ Precure.all_stars.group_by{ |girl| girl.color }.map{ |color, girls| [color, girl
|
|
495
495
|
#=> [["pink", 9], ["yellow", 9], ["blue", 8], ["purple", 4], ["red", 4], ["white", 3], ["green", 2], ["black", 1]]
|
496
496
|
```
|
497
497
|
|
498
|
-
### birthday
|
498
|
+
### birthday methods
|
499
499
|
```ruby
|
500
|
-
Cure.peace.
|
500
|
+
Cure.peace.have_birthday?
|
501
501
|
#=> false
|
502
502
|
|
503
|
-
Cure.twinkle.
|
503
|
+
Cure.twinkle.has_birthday?
|
504
504
|
#=> true
|
505
505
|
Cure.twinkle.birthday
|
506
506
|
#=> "9/12"
|
507
507
|
|
508
508
|
Date.today
|
509
509
|
#=> Tue, 24 Nov 2015
|
510
|
-
|
510
|
+
Cure.twinkle.birthday?
|
511
511
|
#=> false
|
512
512
|
|
513
513
|
Cure.twinkle.birthday?(Date.parse("2015-9-12"))
|
@@ -520,6 +520,8 @@ Precure.all_stars.select(&:have_birthday?).map(&:human_name).count
|
|
520
520
|
#=> 13
|
521
521
|
```
|
522
522
|
|
523
|
+
* `has_birthday?` is alias to `have_birthday?`
|
524
|
+
|
523
525
|
## More reference
|
524
526
|
http://rubydoc.info/gems/rubicure/frames
|
525
527
|
|
@@ -536,7 +538,7 @@ $ curl -s https://rubicure.herokuapp.com/series/go_princess.json | jq .
|
|
536
538
|
"cure_flora",
|
537
539
|
"cure_mermaid",
|
538
540
|
"cure_twinkle",
|
539
|
-
"
|
541
|
+
"cure_scarlet"
|
540
542
|
]
|
541
543
|
}
|
542
544
|
|
@@ -69,8 +69,8 @@ cure_twinkle: &cure_twinkle
|
|
69
69
|
ごきげんよう
|
70
70
|
transform_calls:
|
71
71
|
- princess_engage
|
72
|
-
|
73
|
-
girl_name:
|
72
|
+
cure_scarlet: &cure_scarlet
|
73
|
+
girl_name: cure_scarlet
|
74
74
|
human_name: 紅城トワ
|
75
75
|
precure_name: キュアスカーレット
|
76
76
|
cast_name: 沢城みゆき
|
@@ -99,5 +99,5 @@ mermaid:
|
|
99
99
|
<<: *cure_mermaid
|
100
100
|
twinkle:
|
101
101
|
<<: *cure_twinkle
|
102
|
-
|
103
|
-
<<: *
|
102
|
+
scarlet:
|
103
|
+
<<: *cure_scarlet
|
data/config/series.yml
CHANGED
data/lib/rubicure/cure.rb
CHANGED
@@ -58,7 +58,7 @@ EOF
|
|
58
58
|
define_turnover_methods(beat, "黒川エレン", "セイレーン")
|
59
59
|
end
|
60
60
|
|
61
|
-
[Cure.
|
62
|
-
define_turnover_methods(
|
61
|
+
[Cure.scarlet, Cure.cure_scarlet].each do |scarlet|
|
62
|
+
define_turnover_methods(scarlet, "紅城トワ", "トワイライト")
|
63
63
|
end
|
64
64
|
end
|
data/lib/rubicure/version.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: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|