rubicure 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7f768c160d2e1eb2f64b0d3b0643444a6aac2e8
4
- data.tar.gz: 0400f5697b1bbbad9a4f2d4fa5aae4e1fadb2da7
3
+ metadata.gz: 7e19c801fa8d90b3d311ee5276e4bbd51238dfbf
4
+ data.tar.gz: ac184b19894c2ca8e1de34319e33cf2483cded2d
5
5
  SHA512:
6
- metadata.gz: 5caf845181760e55e59a1b8f4a3b56580c5f20ff59dda6b32e99d8b937f7945378dc4075893b2df8bbc8e51c08eac1ed4db222d4c1184cb5913c97c23799ccd8
7
- data.tar.gz: b50216ad9489def328e5c29dc5fc71b0e5afa63892368cb92cc212bca9c3fd0bce423b8fc93ae3432b8a731a862af2f4d57431da4e1d1db3b807aca2215b7e22
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.0...master)
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", "cure_scarlett"]}
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", "cure_scarlett"]}
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
- scarlett = Cure.scarlett
459
- scarlett.name
458
+ scarlet = Cure.scarlet
459
+ scarlet.name
460
460
  => "紅城トワ"
461
461
 
462
- !scarlett
462
+ !scarlet
463
463
 
464
- scarlett.name
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 and birthday?
498
+ ### birthday methods
499
499
  ```ruby
500
- Cure.peace.respond_to?(:birthday)
500
+ Cure.peace.have_birthday?
501
501
  #=> false
502
502
 
503
- Cure.twinkle.respond_to?(:birthday)
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
- irb(main):010:0> Cure.twinkle.birthday?
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
- "cure_scarlett"
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
- cure_scarlett: &cure_scarlett
73
- girl_name: cure_scarlett
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
- scarlett:
103
- <<: *cure_scarlett
102
+ scarlet:
103
+ <<: *cure_scarlet
data/config/series.yml CHANGED
@@ -155,6 +155,6 @@ go_princess: &go_princess
155
155
  - cure_flora
156
156
  - cure_mermaid
157
157
  - cure_twinkle
158
- - cure_scarlett
158
+ - cure_scarlet
159
159
  go_princess_precure:
160
160
  <<: *go_princess
data/lib/rubicure/cure.rb CHANGED
@@ -58,7 +58,7 @@ EOF
58
58
  define_turnover_methods(beat, "黒川エレン", "セイレーン")
59
59
  end
60
60
 
61
- [Cure.scarlett, Cure.cure_scarlett].each do |scarlett|
62
- define_turnover_methods(scarlett, "紅城トワ", "トワイライト")
61
+ [Cure.scarlet, Cure.cure_scarlet].each do |scarlet|
62
+ define_turnover_methods(scarlet, "紅城トワ", "トワイライト")
63
63
  end
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2015-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport