rubicure 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +20 -14
- data/lib/rubicure/core.rb +1 -0
- data/lib/rubicure/series.rb +2 -0
- data/lib/rubicure/version.rb +1 -1
- data/spec/rubicure/girl_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc5545e02bd1593b065a40c08c70ceab7080ba62b6e2b559b3dc7577d6d4e2ac
|
4
|
+
data.tar.gz: 93ebbe5ac6b8756aeb5e8135c293418d3501ad9fcd228c44243eabf8680528f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7581261659e97cf55d460b13f24b241c3e52838e7c92211f5422636a2ee00b7da377323b09324adcc5f135eabbb1024d91ca97167c55e48833c9df0f38ef4202
|
7
|
+
data.tar.gz: 57af3764152443ea49a8a38653bf34d7b89b0adeb2533603353c35c35c804a67eac1a4d56f840fca3a079ab392bec0993f947c8dfeca6103b73a5545f8f3038a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.2...master)
|
3
|
+
|
4
|
+
## v3.2.2
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.1...v3.2.2)
|
6
|
+
|
7
|
+
* Add `#members` as alias for `#girls`
|
8
|
+
* https://github.com/sue445/rubicure/pull/285
|
9
|
+
* Add `#all_members` as alias for `#all_girls`
|
10
|
+
* https://github.com/sue445/rubicure/pull/286
|
3
11
|
|
4
12
|
## v3.2.1
|
5
13
|
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.0...v3.2.1)
|
data/README.md
CHANGED
@@ -138,24 +138,27 @@ Precure.now
|
|
138
138
|
=> false
|
139
139
|
```
|
140
140
|
|
141
|
-
### Rubicure::Series#
|
141
|
+
### Rubicure::Series#members
|
142
142
|
```ruby
|
143
|
-
>> Precure.smile.
|
143
|
+
>> Precure.smile.members.count
|
144
144
|
=> 5
|
145
145
|
|
146
|
-
>> Precure.smile.
|
146
|
+
>> Precure.smile.members.first
|
147
147
|
=> {:girl_name=>"cure_happy", :human_name=>"星空みゆき", :precure_name=>"キュアハッピー", :cast_name=>"福圓美里", :created_date=>#<Date: 2012-02-05 ((2455963j,0s,0n),+0s,-Infj)>, :color=>"pink", :transform_message=>"(レディ?)\nプリキュア・スマイルチャージ!\n(ゴー!ゴー!レッツ・ゴー!ハッピー!!)\nキラキラ輝く未来の光! キュアハッピー!\n5つの光が導く未来!\n輝け!スマイルプリキュア!", :extra_names=>["プリンセスハッピー", "ウルトラハッピー"], :attack_messages=>["プリキュア!ハッピーシャワー!!", "開け、ロイヤルクロック!\n(みんなの力を1つにするクル!)\n届け、希望の光!\nはばたけ!光り輝く未来へ!\nプリキュア!ロイヤルレインボーバースト!", "(みんなの力を1つにするクル!)\nプリキュア!ミラクルレインボーバースト!\n輝けー!!\nスマイルプリキュア!!"], :transform_calls=>["smile_charge"]}
|
148
148
|
|
149
|
-
>> Precure.smile.
|
149
|
+
>> Precure.smile.members.map(&:human_name)
|
150
150
|
=> ["星空みゆき", "日野あかね", "黄瀬やよい", "緑川なお", "青木れいか"]
|
151
151
|
|
152
|
-
>> Precure.smile.
|
152
|
+
>> Precure.smile.members.map(&:precure_name)
|
153
153
|
=> ["キュアハッピー", "キュアサニー", "キュアピース", "キュアマーチ", "キュアビューティ"]
|
154
154
|
|
155
|
-
>> Precure.smile.
|
155
|
+
>> Precure.smile.members.count
|
156
156
|
=> 5
|
157
157
|
```
|
158
158
|
|
159
|
+
* Now, `members?` is alias to `girls?`. But I'm going to change this behavior in the next major version (v4)
|
160
|
+
* ref. https://github.com/sue445/rubicure/issues/284
|
161
|
+
|
159
162
|
### Select own precure girl
|
160
163
|
```ruby
|
161
164
|
>> Cure.lemonade
|
@@ -499,22 +502,25 @@ When `Rubicure::Girl` has `human_full_name` (i.e. another `human_name`), she ret
|
|
499
502
|
|
500
503
|
and [more aliases!](config/movies.yml)
|
501
504
|
|
502
|
-
### `Precure.
|
505
|
+
### `Precure.all_members` (a.k.a. `Precure.all`)
|
503
506
|
```ruby
|
504
|
-
>> Precure.
|
505
|
-
>> Precure.
|
507
|
+
>> Precure.all_members.count
|
508
|
+
>> Precure.all_members.map(&:precure_name)
|
506
509
|
# returns current precure count and names
|
507
510
|
|
508
|
-
>> Precure.
|
511
|
+
>> Precure.all_members("2013-10-26").count
|
509
512
|
=> 34
|
510
513
|
|
511
|
-
>> Precure.
|
514
|
+
>> Precure.all_members.include?(Cure.echo)
|
512
515
|
=> true
|
513
516
|
```
|
514
517
|
|
515
|
-
|
516
|
-
*
|
517
|
-
|
518
|
+
* Now, `Precure.all_members?` is alias to `Precure.all_girls?`. But I'm going to change this behavior in the next major version (v4)
|
519
|
+
* ref. https://github.com/sue445/rubicure/issues/284
|
520
|
+
|
521
|
+
#### `Precure.all_members` vs `Precure.all_stars`
|
522
|
+
* `Precure.all_members` returns all precure. (includes "Kirakira Precure Alamode")
|
523
|
+
* `Precure.all_members` returns only from "Futari wa Pretty Cure" to "Maho Girls PreCure"
|
518
524
|
|
519
525
|
### `Precure.dream_stars`
|
520
526
|
```ruby
|
data/lib/rubicure/core.rb
CHANGED
data/lib/rubicure/series.rb
CHANGED
data/lib/rubicure/version.rb
CHANGED
data/spec/rubicure/girl_spec.rb
CHANGED
@@ -171,7 +171,7 @@ describe Rubicure::Girl do
|
|
171
171
|
end
|
172
172
|
|
173
173
|
it "stdout includes one of random_transform_words" do
|
174
|
-
expect { girl.transform! }.to output(/4
|
174
|
+
expect { girl.transform! }.to output(/4人揃って!|今日も元気だ!/).to_stdout
|
175
175
|
end
|
176
176
|
end
|
177
177
|
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: 3.2.
|
4
|
+
version: 3.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|