rubicure 0.1.0 → 0.1.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 +4 -4
- data/.hound.yml +18 -0
- data/.rubocop.yml +23 -0
- data/CHANGELOG.md +9 -1
- data/README.md +104 -1
- data/config/girls.yml +94 -0
- data/lib/rubicure.rb +19 -0
- data/lib/rubicure/core.rb +5 -5
- data/lib/rubicure/girl.rb +14 -2
- data/lib/rubicure/series.rb +2 -2
- data/lib/rubicure/version.rb +1 -1
- data/rubicure.gemspec +5 -4
- data/spec/core_spec.rb +1 -1
- data/spec/girl_spec.rb +27 -0
- data/spec/movie_spec.rb +8 -8
- data/spec/rubicure_spec.rb +80 -62
- data/spec/series_spec.rb +13 -13
- metadata +46 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf32199337ae39e5a691d16fb165bb4d88fec71d
|
|
4
|
+
data.tar.gz: 57f38eed7ba36fe1a26b0e2135b7215ec3ec9304
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd248213618b520cdee06490265d162dc76e091259dae2abc7707db7b0504d2f3bd930a4fa34c997b7a57b56a204d966d6120942bb3dfd982e710af90b08cc2f
|
|
7
|
+
data.tar.gz: c5575d0b6a7f35232ab14fda179f5e334413de79ff3aaa2244ed2c4e1ae26b4f486d7048a46eaff8303047eefbed77529cdaf7d126c1edce3c93d16cb82c1f6f
|
data/.hound.yml
CHANGED
|
@@ -3,3 +3,21 @@ Style/LineLength:
|
|
|
3
3
|
Max: 130
|
|
4
4
|
Style/SpaceInsideParens:
|
|
5
5
|
Enabled: false
|
|
6
|
+
Style/SpaceBeforeBlockBraces:
|
|
7
|
+
Enabled: false
|
|
8
|
+
StringLiterals:
|
|
9
|
+
Enabled: false
|
|
10
|
+
Style/TrailingComma:
|
|
11
|
+
Enabled: false
|
|
12
|
+
Style/BlockComments:
|
|
13
|
+
Enabled: false
|
|
14
|
+
Style/NilComparison:
|
|
15
|
+
Enabled: false
|
|
16
|
+
Style/Documentation:
|
|
17
|
+
Enabled: false
|
|
18
|
+
Style/RegexpLiteral:
|
|
19
|
+
Enabled: false
|
|
20
|
+
Style/SignalException:
|
|
21
|
+
Enabled: false
|
|
22
|
+
Style/CaseEquality:
|
|
23
|
+
Enabled: false
|
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Style/LineLength:
|
|
2
|
+
Description: 'Limit lines to 130 characters.'
|
|
3
|
+
Max: 130
|
|
4
|
+
Style/SpaceInsideParens:
|
|
5
|
+
Enabled: false
|
|
6
|
+
Style/SpaceBeforeBlockBraces:
|
|
7
|
+
Enabled: false
|
|
8
|
+
StringLiterals:
|
|
9
|
+
Enabled: false
|
|
10
|
+
Style/TrailingComma:
|
|
11
|
+
Enabled: false
|
|
12
|
+
Style/BlockComments:
|
|
13
|
+
Enabled: false
|
|
14
|
+
Style/NilComparison:
|
|
15
|
+
Enabled: false
|
|
16
|
+
Style/Documentation:
|
|
17
|
+
Enabled: false
|
|
18
|
+
Style/RegexpLiteral:
|
|
19
|
+
Enabled: false
|
|
20
|
+
Style/SignalException:
|
|
21
|
+
Enabled: false
|
|
22
|
+
Style/CaseEquality:
|
|
23
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v0.1.
|
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.1.1...master)
|
|
3
|
+
|
|
4
|
+
## v0.1.1
|
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.1.0...v0.1.1)
|
|
6
|
+
|
|
7
|
+
* specific transform
|
|
8
|
+
* https://github.com/sue445/rubicure/pull/36
|
|
9
|
+
* Add `Cure.peace.pikarin_janken` (singleton method)
|
|
10
|
+
* https://github.com/sue445/rubicure/pull/39 (thx @zonuexe)
|
|
3
11
|
|
|
4
12
|
## v0.1.0
|
|
5
13
|
[full changelog](http://github.com/sue445/rubicure/compare/v0.0.7...v0.1.0)
|
data/README.md
CHANGED
|
@@ -11,7 +11,6 @@ All about Japanese battle heroine "Pretty Cure (Precure)".
|
|
|
11
11
|
|
|
12
12
|
Inspired by [Acme::PrettyCure](http://perl-users.jp/articles/advent-calendar/2010/acme/6) and [pycure](https://github.com/drillbits/pycure).
|
|
13
13
|
|
|
14
|
-
[](https://www.pullreview.com/github/sue445/rubicure/reviews/master)
|
|
15
14
|
[](http://waffle.io/sue445/rubicure)
|
|
16
15
|
[](https://coderwall.com/sue445)
|
|
17
16
|
|
|
@@ -254,6 +253,95 @@ yayoi.name
|
|
|
254
253
|
#=> "黄瀬やよい"
|
|
255
254
|
```
|
|
256
255
|
|
|
256
|
+
### Specific transform
|
|
257
|
+
```ruby
|
|
258
|
+
Cure.black.dual_aurora_wave!
|
|
259
|
+
デュアル・オーロラ・ウェイブ!!
|
|
260
|
+
光の使者、キュアブラック!
|
|
261
|
+
ふたりはプリキュア!
|
|
262
|
+
闇の力のしもべ達よ!
|
|
263
|
+
とっととお家に帰りなさい!
|
|
264
|
+
|
|
265
|
+
Cure.luminous.luminous_shining_stream!
|
|
266
|
+
ルミナス・シャイニングストリーム!
|
|
267
|
+
輝く命、シャイニールミナス!
|
|
268
|
+
光の心と光の意志、すべてを一つにするために!
|
|
269
|
+
|
|
270
|
+
Cure.bloom.dual_spilitual_power!
|
|
271
|
+
デュアル・スピリチュアル・パワー!
|
|
272
|
+
花開け大地に!
|
|
273
|
+
輝く金の花! キュアブルーム!
|
|
274
|
+
ふたりはプリキュア!
|
|
275
|
+
聖なる泉を汚す者よ!
|
|
276
|
+
阿漕な真似はお止めなさい!
|
|
277
|
+
|
|
278
|
+
Cure.dream.metamorphose!
|
|
279
|
+
プリキュア!メタモルフォーゼ!
|
|
280
|
+
大いなる希望の力、キュアドリーム!
|
|
281
|
+
希望の力と未来の光!
|
|
282
|
+
華麗に羽ばたく5つの心!
|
|
283
|
+
Yes!プリキュア5!
|
|
284
|
+
|
|
285
|
+
Milky.rose.sky_rose_translate!
|
|
286
|
+
スカイローズ・トランスレイト!
|
|
287
|
+
青いバラは秘密のしるし! ミルキィローズ!
|
|
288
|
+
|
|
289
|
+
Cure.peach.change_precure_beatup!
|
|
290
|
+
チェインジ!プリキュア・ビートアップ!
|
|
291
|
+
ピンクのハートは愛あるしるし!
|
|
292
|
+
もぎたてフレッシュ、キュアピーチ!
|
|
293
|
+
レッツプリキュア!
|
|
294
|
+
|
|
295
|
+
Cure.blossom.open_my_heart!
|
|
296
|
+
(プリキュアの種、いくですぅ!)
|
|
297
|
+
プリキュア!オープンマイハート!
|
|
298
|
+
大地に咲く一輪の花! キュアブロッサム!
|
|
299
|
+
ハートキャッチ、プリキュア!
|
|
300
|
+
|
|
301
|
+
Cure.melody.lets_play_precure_modulation!
|
|
302
|
+
レッツプレイ!プリキュアモジュレーション!!
|
|
303
|
+
爪弾くは荒ぶる調べ! キュアメロディ!
|
|
304
|
+
届け4人の組曲!スイートプリキュア!
|
|
305
|
+
|
|
306
|
+
Cure.happy.smile_charge!
|
|
307
|
+
(レディ?)
|
|
308
|
+
プリキュア・スマイルチャージ!
|
|
309
|
+
(ゴー!ゴー!レッツ・ゴー!ハッピー!!)
|
|
310
|
+
キラキラ輝く未来の光! キュアハッピー!
|
|
311
|
+
5つの光が導く未来!
|
|
312
|
+
輝け!スマイルプリキュア!
|
|
313
|
+
|
|
314
|
+
Cure.heart.love_link!
|
|
315
|
+
プリキュアラブリンク!
|
|
316
|
+
L! O! V! E!
|
|
317
|
+
みなぎる愛! キュアハート!
|
|
318
|
+
響け愛の鼓動!ドキドキプリキュア!
|
|
319
|
+
愛を無くした悲しいジコチューさん、
|
|
320
|
+
このキュアハートがあなたのドキドキ取り戻してみせる!
|
|
321
|
+
|
|
322
|
+
Cure.ace.dressup!
|
|
323
|
+
プリキュアドレスアップ!
|
|
324
|
+
(キュピラッパー!)
|
|
325
|
+
愛の切り札! キュアエース!
|
|
326
|
+
響け愛の鼓動!ドキドキプリキュア!
|
|
327
|
+
美しさは正義の証し、ウインク一つで、
|
|
328
|
+
あなたのハートを射抜いて差し上げますわ
|
|
329
|
+
|
|
330
|
+
Cure.lovely.kururin_mirror_change!
|
|
331
|
+
(かわルンルン!)
|
|
332
|
+
プリキュアくるりんミラーチェンジ!
|
|
333
|
+
世界に広がるビッグな愛!キュアラブリー!
|
|
334
|
+
ハピネス注入!幸せチャージ!
|
|
335
|
+
ハピネスチャージプリキュア!
|
|
336
|
+
|
|
337
|
+
Cure.fortune.kirarin_star_symphony!
|
|
338
|
+
(かわルンルン!)
|
|
339
|
+
プリキュアきらりんスターシンフォニー!
|
|
340
|
+
夜空にきらめく希望の星!キュアフォーチュン!
|
|
341
|
+
ハピネス注入!幸せチャージ!
|
|
342
|
+
ハピネスチャージプリキュア!
|
|
343
|
+
```
|
|
344
|
+
|
|
257
345
|
### Precure allstars
|
|
258
346
|
```ruby
|
|
259
347
|
Precure.all_stars.count
|
|
@@ -303,6 +391,21 @@ else
|
|
|
303
391
|
end
|
|
304
392
|
```
|
|
305
393
|
|
|
394
|
+
### Pikarin janken
|
|
395
|
+
```ruby
|
|
396
|
+
Cure.peace.pikarin_janken
|
|
397
|
+
ピカピカピカリン
|
|
398
|
+
ジャンケンポン!
|
|
399
|
+
(パー)
|
|
400
|
+
#=> "ピカピカピカリン\nジャンケンポン!\n(パー)\n"
|
|
401
|
+
|
|
402
|
+
Cure.peace.janken
|
|
403
|
+
ピカピカピカリン
|
|
404
|
+
ジャンケンポン!
|
|
405
|
+
(グー)
|
|
406
|
+
# => "ピカピカピカリン\nジャンケンポン!\n(グー)\n"
|
|
407
|
+
```
|
|
408
|
+
|
|
306
409
|
### one-liner
|
|
307
410
|
|
|
308
411
|
```
|
data/config/girls.yml
CHANGED
|
@@ -18,6 +18,8 @@ cure_black: &cure_black
|
|
|
18
18
|
邪悪な心を打ち砕く!
|
|
19
19
|
プリキュア・マーブル・スクリュー!!
|
|
20
20
|
マックス!!
|
|
21
|
+
transform_calls:
|
|
22
|
+
- dual_aurora_wave
|
|
21
23
|
cure_white: &cure_white
|
|
22
24
|
human_name: 雪城ほのか
|
|
23
25
|
precure_name: キュアホワイト
|
|
@@ -37,6 +39,8 @@ cure_white: &cure_white
|
|
|
37
39
|
邪悪な心を打ち砕く!
|
|
38
40
|
プリキュア・マーブル・スクリュー!!
|
|
39
41
|
マックス!!
|
|
42
|
+
transform_calls:
|
|
43
|
+
- dual_aurora_wave
|
|
40
44
|
black:
|
|
41
45
|
<<: *cure_black
|
|
42
46
|
white:
|
|
@@ -56,6 +60,9 @@ shiny_luminous: &shiny_luminous
|
|
|
56
60
|
- |-
|
|
57
61
|
光の意志よ!私に勇気を!希望と力を!!
|
|
58
62
|
ルミナス・ハーティエル・アンクション!
|
|
63
|
+
transform_calls:
|
|
64
|
+
-
|
|
65
|
+
- shining_stream
|
|
59
66
|
luminous:
|
|
60
67
|
<<: *shiny_luminous
|
|
61
68
|
|
|
@@ -78,6 +85,8 @@ cure_bloom: &cure_bloom
|
|
|
78
85
|
今、プリキュアと共に!
|
|
79
86
|
奇跡の力を解き放て!
|
|
80
87
|
プリキュア ツインストリーム・スプラッシュ!!
|
|
88
|
+
transform_calls:
|
|
89
|
+
- dual_spilitual_power
|
|
81
90
|
cure_egret: &cure_egret
|
|
82
91
|
human_name: 美翔舞
|
|
83
92
|
precure_name: キュアイーグレット
|
|
@@ -96,6 +105,8 @@ cure_egret: &cure_egret
|
|
|
96
105
|
今、プリキュアと共に!
|
|
97
106
|
奇跡の力を解き放て!
|
|
98
107
|
プリキュア ツインストリーム・スプラッシュ!!
|
|
108
|
+
transform_calls:
|
|
109
|
+
- dual_spilitual_power
|
|
99
110
|
cure_bright: &cure_bright
|
|
100
111
|
human_name: 日向咲
|
|
101
112
|
precure_name: キュアブライト
|
|
@@ -112,6 +123,8 @@ cure_bright: &cure_bright
|
|
|
112
123
|
精霊の光よ、命の煌きよ!
|
|
113
124
|
希望へ導け、2つの心!
|
|
114
125
|
プリキュア・スパイラルスタースプラッシュ!!
|
|
126
|
+
transform_calls:
|
|
127
|
+
- dual_spilitual_power
|
|
115
128
|
cure_windy: &cure_windy
|
|
116
129
|
human_name: 美翔舞
|
|
117
130
|
precure_name: キュアウィンディ
|
|
@@ -128,6 +141,8 @@ cure_windy: &cure_windy
|
|
|
128
141
|
精霊の光よ、命の煌きよ!
|
|
129
142
|
希望へ導け、2つの心!
|
|
130
143
|
プリキュア・スパイラルスタースプラッシュ!!
|
|
144
|
+
transform_calls:
|
|
145
|
+
- dual_spilitual_power
|
|
131
146
|
|
|
132
147
|
bloom:
|
|
133
148
|
<<: *cure_bloom
|
|
@@ -153,6 +168,8 @@ cure_dream: &cure_dream
|
|
|
153
168
|
attack_messages:
|
|
154
169
|
- |-
|
|
155
170
|
プリキュア!シューティング・スター!
|
|
171
|
+
transform_calls:
|
|
172
|
+
- metamorphose
|
|
156
173
|
cure_rouge: &cure_rouge
|
|
157
174
|
human_name: 夏木りん
|
|
158
175
|
precure_name: キュアルージュ
|
|
@@ -181,6 +198,8 @@ cure_lemonade: &cure_lemonade
|
|
|
181
198
|
attack_messages:
|
|
182
199
|
- |-
|
|
183
200
|
プリキュア!プリズム・チェーン!
|
|
201
|
+
transform_calls:
|
|
202
|
+
- metamorphose
|
|
184
203
|
cure_mint: &cure_mint
|
|
185
204
|
human_name: 秋元こまち
|
|
186
205
|
precure_name: キュアミント
|
|
@@ -195,6 +214,8 @@ cure_mint: &cure_mint
|
|
|
195
214
|
attack_messages:
|
|
196
215
|
- |-
|
|
197
216
|
プリキュア!エメラルド・ソーサー!
|
|
217
|
+
transform_calls:
|
|
218
|
+
- metamorphose
|
|
198
219
|
cure_aqua: &cure_aqua
|
|
199
220
|
human_name: 水無月かれん
|
|
200
221
|
precure_name: キュアアクア
|
|
@@ -209,6 +230,8 @@ cure_aqua: &cure_aqua
|
|
|
209
230
|
attack_messages:
|
|
210
231
|
- |-
|
|
211
232
|
プリキュア!サファイヤ・アロー!
|
|
233
|
+
transform_calls:
|
|
234
|
+
- metamorphose
|
|
212
235
|
dream:
|
|
213
236
|
<<: *cure_dream
|
|
214
237
|
rouge:
|
|
@@ -234,6 +257,9 @@ milky_rose: &milky_rose
|
|
|
234
257
|
邪悪な力を包み込む
|
|
235
258
|
バラの吹雪を咲かせましょう!
|
|
236
259
|
ミルキィローズ・ブリザード!
|
|
260
|
+
transform_calls:
|
|
261
|
+
- sky_rose_translate
|
|
262
|
+
- translate
|
|
237
263
|
rose:
|
|
238
264
|
<<: *milky_rose
|
|
239
265
|
|
|
@@ -253,6 +279,10 @@ cure_peach: &cure_peach
|
|
|
253
279
|
- |-
|
|
254
280
|
悪いの悪いの飛んでいけ!
|
|
255
281
|
プリキュア!ラブサンシャインフレッシュ!
|
|
282
|
+
transform_calls:
|
|
283
|
+
- change_precure_beatup
|
|
284
|
+
- change
|
|
285
|
+
- beatup
|
|
256
286
|
cure_berry: &cure_berry
|
|
257
287
|
human_name: 蒼乃美希
|
|
258
288
|
precure_name: キュアベリー
|
|
@@ -268,6 +298,10 @@ cure_berry: &cure_berry
|
|
|
268
298
|
- |-
|
|
269
299
|
悪いの悪いの飛んでいけ!
|
|
270
300
|
プリキュア!エスポワールシャワーフレッシュ!
|
|
301
|
+
transform_calls:
|
|
302
|
+
- change_precure_beatup
|
|
303
|
+
- change
|
|
304
|
+
- beatup
|
|
271
305
|
cure_pine: &cure_pine
|
|
272
306
|
human_name: 山吹祈里
|
|
273
307
|
precure_name: キュアパイン
|
|
@@ -283,6 +317,10 @@ cure_pine: &cure_pine
|
|
|
283
317
|
- |-
|
|
284
318
|
悪いの悪いの飛んでいけ!
|
|
285
319
|
プリキュア!ヒーリングプレアーフレッシュ!
|
|
320
|
+
transform_calls:
|
|
321
|
+
- change_precure_beatup
|
|
322
|
+
- change
|
|
323
|
+
- beatup
|
|
286
324
|
|
|
287
325
|
cure_passion: &cure_passion
|
|
288
326
|
human_name: 東せつな
|
|
@@ -299,6 +337,10 @@ cure_passion: &cure_passion
|
|
|
299
337
|
- |-
|
|
300
338
|
吹き荒れよ幸せの嵐!
|
|
301
339
|
プリキュア!ハピネスハリケーン!
|
|
340
|
+
transform_calls:
|
|
341
|
+
- change_precure_beatup
|
|
342
|
+
- change
|
|
343
|
+
- beatup
|
|
302
344
|
peach:
|
|
303
345
|
<<: *cure_peach
|
|
304
346
|
berry:
|
|
@@ -327,6 +369,8 @@ cure_blossom: &cure_blossom
|
|
|
327
369
|
- |-
|
|
328
370
|
花よ、咲き誇れ!
|
|
329
371
|
プリキュア・ハートキャッチ・オーケストラ!!
|
|
372
|
+
transform_calls:
|
|
373
|
+
- open_my_heart
|
|
330
374
|
cure_marine: &cure_marine
|
|
331
375
|
human_name: 来海えりか
|
|
332
376
|
precure_name: キュアマリン
|
|
@@ -345,6 +389,8 @@ cure_marine: &cure_marine
|
|
|
345
389
|
- |-
|
|
346
390
|
花よ、咲き誇れ!
|
|
347
391
|
プリキュア・ハートキャッチ・オーケストラ!!
|
|
392
|
+
transform_calls:
|
|
393
|
+
- open_my_heart
|
|
348
394
|
cure_sunshine: &cure_sunshine
|
|
349
395
|
human_name: 明堂院いつき
|
|
350
396
|
precure_name: キュアサンシャイン
|
|
@@ -363,6 +409,8 @@ cure_sunshine: &cure_sunshine
|
|
|
363
409
|
- |-
|
|
364
410
|
花よ、咲き誇れ!
|
|
365
411
|
プリキュア・ハートキャッチ・オーケストラ!!
|
|
412
|
+
transform_calls:
|
|
413
|
+
- open_my_heart
|
|
366
414
|
cure_moonlight: &cure_moonlight
|
|
367
415
|
human_name: 月影ゆり
|
|
368
416
|
precure_name: キュアムーンライト
|
|
@@ -381,6 +429,8 @@ cure_moonlight: &cure_moonlight
|
|
|
381
429
|
- |-
|
|
382
430
|
花よ、咲き誇れ!
|
|
383
431
|
プリキュア・ハートキャッチ・オーケストラ!!
|
|
432
|
+
transform_calls:
|
|
433
|
+
- open_my_heart
|
|
384
434
|
|
|
385
435
|
blossom:
|
|
386
436
|
<<: *cure_blossom
|
|
@@ -414,6 +464,10 @@ cure_melody: &cure_melody
|
|
|
414
464
|
プリキュア!スイートセッションアンサンブル!
|
|
415
465
|
クレッシェンド!!
|
|
416
466
|
フィナーレ!
|
|
467
|
+
transform_calls:
|
|
468
|
+
- lets_play_precure_modulation
|
|
469
|
+
- lets_play
|
|
470
|
+
- modulation
|
|
417
471
|
cure_rhythm: &cure_rhythm
|
|
418
472
|
human_name: 南野奏
|
|
419
473
|
precure_name: キュアリズム
|
|
@@ -436,6 +490,10 @@ cure_rhythm: &cure_rhythm
|
|
|
436
490
|
プリキュア!スイートセッションアンサンブル!
|
|
437
491
|
クレッシェンド!!
|
|
438
492
|
フィナーレ!
|
|
493
|
+
transform_calls:
|
|
494
|
+
- lets_play_precure_modulation
|
|
495
|
+
- lets_play
|
|
496
|
+
- modulation
|
|
439
497
|
cure_beat: &cure_beat
|
|
440
498
|
human_name: 黒川エレン
|
|
441
499
|
precure_name: キュアビート
|
|
@@ -457,6 +515,10 @@ cure_beat: &cure_beat
|
|
|
457
515
|
プリキュア!スイートセッションアンサンブル!
|
|
458
516
|
クレッシェンド!!
|
|
459
517
|
フィナーレ!
|
|
518
|
+
transform_calls:
|
|
519
|
+
- lets_play_precure_modulation
|
|
520
|
+
- lets_play
|
|
521
|
+
- modulation
|
|
460
522
|
cure_muse: &cure_muse
|
|
461
523
|
human_name: 調辺アコ
|
|
462
524
|
precure_name: キュアミューズ
|
|
@@ -479,6 +541,10 @@ cure_muse: &cure_muse
|
|
|
479
541
|
プリキュア!スイートセッションアンサンブル!
|
|
480
542
|
クレッシェンド!!
|
|
481
543
|
フィナーレ!
|
|
544
|
+
transform_calls:
|
|
545
|
+
- lets_play_precure_modulation
|
|
546
|
+
- lets_play
|
|
547
|
+
- modulation
|
|
482
548
|
|
|
483
549
|
melody:
|
|
484
550
|
<<: *cure_melody
|
|
@@ -518,6 +584,8 @@ cure_happy: &cure_happy
|
|
|
518
584
|
プリキュア!ミラクルレインボーバースト!
|
|
519
585
|
輝けー!!
|
|
520
586
|
スマイルプリキュア!!
|
|
587
|
+
transform_calls:
|
|
588
|
+
- smile_charge
|
|
521
589
|
cure_sunny: &cure_sunny
|
|
522
590
|
human_name: 日野あかね
|
|
523
591
|
precure_name: キュアサニー
|
|
@@ -546,6 +614,8 @@ cure_sunny: &cure_sunny
|
|
|
546
614
|
プリキュア!ミラクルレインボーバースト!
|
|
547
615
|
輝けー!!
|
|
548
616
|
スマイルプリキュア!!
|
|
617
|
+
transform_calls:
|
|
618
|
+
- smile_charge
|
|
549
619
|
cure_peace: &cure_peace
|
|
550
620
|
human_name: 黄瀬やよい
|
|
551
621
|
precure_name: キュアピース
|
|
@@ -574,6 +644,8 @@ cure_peace: &cure_peace
|
|
|
574
644
|
プリキュア!ミラクルレインボーバースト!
|
|
575
645
|
輝けー!!
|
|
576
646
|
スマイルプリキュア!!
|
|
647
|
+
transform_calls:
|
|
648
|
+
- smile_charge
|
|
577
649
|
cure_march: &cure_march
|
|
578
650
|
human_name: 緑川なお
|
|
579
651
|
precure_name: キュアマーチ
|
|
@@ -602,6 +674,8 @@ cure_march: &cure_march
|
|
|
602
674
|
プリキュア!ミラクルレインボーバースト!
|
|
603
675
|
輝けー!!
|
|
604
676
|
スマイルプリキュア!!
|
|
677
|
+
transform_calls:
|
|
678
|
+
- smile_charge
|
|
605
679
|
cure_beauty: &cure_beauty
|
|
606
680
|
human_name: 青木れいか
|
|
607
681
|
precure_name: キュアビューティ
|
|
@@ -630,6 +704,8 @@ cure_beauty: &cure_beauty
|
|
|
630
704
|
プリキュア!ミラクルレインボーバースト!
|
|
631
705
|
輝けー!!
|
|
632
706
|
スマイルプリキュア!!
|
|
707
|
+
transform_calls:
|
|
708
|
+
- smile_charge
|
|
633
709
|
happy:
|
|
634
710
|
<<: *cure_happy
|
|
635
711
|
sunny:
|
|
@@ -660,6 +736,8 @@ cure_heart: &cure_heart
|
|
|
660
736
|
あなたに届け!マイスイートハート!
|
|
661
737
|
- |-
|
|
662
738
|
あなたに届け!マイスイートハート!
|
|
739
|
+
transform_calls:
|
|
740
|
+
- love_link
|
|
663
741
|
cure_diamond: &cure_diamond
|
|
664
742
|
human_name: 菱川六花
|
|
665
743
|
precure_name: キュアダイヤモンド
|
|
@@ -675,6 +753,8 @@ cure_diamond: &cure_diamond
|
|
|
675
753
|
attack_messages:
|
|
676
754
|
- |-
|
|
677
755
|
きらめきなさい!トゥインクルダイヤモンド!
|
|
756
|
+
transform_calls:
|
|
757
|
+
- love_link
|
|
678
758
|
cure_rosetta: &cure_rosetta
|
|
679
759
|
human_name: 四葉ありす
|
|
680
760
|
precure_name: キュアロゼッタ
|
|
@@ -690,6 +770,8 @@ cure_rosetta: &cure_rosetta
|
|
|
690
770
|
attack_messages:
|
|
691
771
|
- |
|
|
692
772
|
カッチカチの!ロゼッタウォール!
|
|
773
|
+
transform_calls:
|
|
774
|
+
- love_link
|
|
693
775
|
cure_sword: &cure_sword
|
|
694
776
|
human_name: 剣崎真琴
|
|
695
777
|
precure_name: キュアソード
|
|
@@ -705,6 +787,8 @@ cure_sword: &cure_sword
|
|
|
705
787
|
attack_messages:
|
|
706
788
|
- |
|
|
707
789
|
ひらめけ!ホーリーソード!
|
|
790
|
+
transform_calls:
|
|
791
|
+
- love_link
|
|
708
792
|
cure_ace: &cure_ace
|
|
709
793
|
human_name: 円亜久里
|
|
710
794
|
precure_name: キュアエース
|
|
@@ -721,6 +805,8 @@ cure_ace: &cure_ace
|
|
|
721
805
|
- |
|
|
722
806
|
ときめきなさい!エースショット!
|
|
723
807
|
ばきゅ〜ん!!
|
|
808
|
+
transform_calls:
|
|
809
|
+
- dressup
|
|
724
810
|
heart:
|
|
725
811
|
<<: *cure_heart
|
|
726
812
|
diamond:
|
|
@@ -762,6 +848,8 @@ cure_lovely: &cure_lovely
|
|
|
762
848
|
(かわルンルン!)
|
|
763
849
|
プリキュアくるりんミラーチェンジ!ロリポップヒップポップ!!!
|
|
764
850
|
プリキュア!ポップンソニックアタック!!
|
|
851
|
+
transform_calls:
|
|
852
|
+
- kururin_mirror_change
|
|
765
853
|
cure_princess: &cure_princess
|
|
766
854
|
human_name: 白雪ひめ(ヒメルダ・ウインドウ・キュアクイーン・オブ・ザ・ブルースカイ)
|
|
767
855
|
precure_name: キュアプリンセス
|
|
@@ -790,6 +878,8 @@ cure_princess: &cure_princess
|
|
|
790
878
|
(かわルンルン!)
|
|
791
879
|
プリキュアくるりんミラーチェンジ!マカダミアフラダンス!!
|
|
792
880
|
プリキュア!ハワイアンアロハロエ!!
|
|
881
|
+
transform_calls:
|
|
882
|
+
- kururin_mirror_change
|
|
793
883
|
cure_honey: &cure_honey
|
|
794
884
|
human_name: 大森ゆうこ
|
|
795
885
|
precure_name: キュアハニー
|
|
@@ -820,6 +910,8 @@ cure_honey: &cure_honey
|
|
|
820
910
|
プリキュアくるりんミラーチェンジ!ココナッツサンバ!!
|
|
821
911
|
プリキュア!マラカスリズムスパーク!!
|
|
822
912
|
マンボ!!
|
|
913
|
+
transform_calls:
|
|
914
|
+
- kururin_mirror_change
|
|
823
915
|
cure_fortune: &cure_fortune
|
|
824
916
|
human_name: 氷川いおな
|
|
825
917
|
precure_name: キュアフォーチュン
|
|
@@ -848,6 +940,8 @@ cure_fortune: &cure_fortune
|
|
|
848
940
|
(かわルンルン!)
|
|
849
941
|
プリキュアきらりんスターシンフォニー!あんみつこまち!
|
|
850
942
|
プリキュア!桜吹雪の舞!
|
|
943
|
+
transform_calls:
|
|
944
|
+
- kirarin_star_symphony
|
|
851
945
|
|
|
852
946
|
lovely:
|
|
853
947
|
<<: *cure_lovely
|
data/lib/rubicure.rb
CHANGED
|
@@ -28,6 +28,25 @@ module Cure
|
|
|
28
28
|
super
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
|
+
|
|
32
|
+
[Cure.peace, Cure.cure_peace].each do |peace|
|
|
33
|
+
class << peace
|
|
34
|
+
HANDS =
|
|
35
|
+
(['グー'] * 13) +
|
|
36
|
+
(['チョキ'] * 14) +
|
|
37
|
+
(['パー'] * 15) +
|
|
38
|
+
['グッチョッパー']
|
|
39
|
+
MESSAGE = <<EOF
|
|
40
|
+
ピカピカピカリン
|
|
41
|
+
ジャンケンポン!
|
|
42
|
+
(%s)
|
|
43
|
+
EOF
|
|
44
|
+
def pikarin_janken
|
|
45
|
+
print_by_line(MESSAGE % HANDS.sample)
|
|
46
|
+
end
|
|
47
|
+
alias janken pikarin_janken
|
|
48
|
+
end
|
|
49
|
+
end
|
|
31
50
|
end
|
|
32
51
|
|
|
33
52
|
module Shiny
|
data/lib/rubicure/core.rb
CHANGED
|
@@ -8,10 +8,10 @@ module Rubicure
|
|
|
8
8
|
include Rubicure::Concerns::Util
|
|
9
9
|
|
|
10
10
|
def method_missing(name, *args)
|
|
11
|
-
unmarked_precure = Rubicure::Series
|
|
11
|
+
unmarked_precure = Rubicure::Series.find(:unmarked)
|
|
12
12
|
|
|
13
|
-
if Rubicure::Series
|
|
14
|
-
Rubicure::Series
|
|
13
|
+
if Rubicure::Series.valid?(name)
|
|
14
|
+
Rubicure::Series.find(name)
|
|
15
15
|
elsif unmarked_precure.respond_to?(name)
|
|
16
16
|
unmarked_precure.send(name, *args)
|
|
17
17
|
else
|
|
@@ -29,7 +29,7 @@ module Rubicure
|
|
|
29
29
|
raise "Not on air precure!"
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
alias_method :current, :now
|
|
33
33
|
|
|
34
34
|
# @param [Time,Date,String,Symbol] arg Time, Date or date like String (ex. "2013-12-16")
|
|
35
35
|
# @return [Array<Rubicure::Girl>]
|
|
@@ -67,6 +67,6 @@ module Rubicure
|
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
alias_method :each, :each_with_series
|
|
71
71
|
end
|
|
72
72
|
end
|
data/lib/rubicure/girl.rb
CHANGED
|
@@ -4,14 +4,15 @@ module Rubicure
|
|
|
4
4
|
# this is record of "config/girls.yml"
|
|
5
5
|
class Girl
|
|
6
6
|
attr_reader :human_name, :precure_name, :transform_message, :extra_names,
|
|
7
|
-
:current_state, :state_names, :created_date, :attack_messages
|
|
7
|
+
:current_state, :state_names, :created_date, :attack_messages,
|
|
8
|
+
:transform_calls
|
|
8
9
|
|
|
9
10
|
@@cache = {}
|
|
10
11
|
@@config = nil
|
|
11
12
|
@@sleep_sec = 1
|
|
12
13
|
|
|
13
14
|
def initialize(human_name: nil, precure_name: nil, transform_message: nil, extra_names: [],
|
|
14
|
-
created_date: nil, attack_messages: [])
|
|
15
|
+
created_date: nil, attack_messages: [], transform_calls: [])
|
|
15
16
|
@human_name = human_name
|
|
16
17
|
@precure_name = precure_name
|
|
17
18
|
@transform_message = transform_message
|
|
@@ -21,6 +22,7 @@ module Rubicure
|
|
|
21
22
|
@state_names = [@human_name, @precure_name]
|
|
22
23
|
@state_names += @extra_names unless @extra_names.empty?
|
|
23
24
|
@attack_messages = [""] + attack_messages
|
|
25
|
+
@transform_calls = transform_calls
|
|
24
26
|
end
|
|
25
27
|
|
|
26
28
|
def ==(other)
|
|
@@ -121,5 +123,15 @@ module Rubicure
|
|
|
121
123
|
index += 1
|
|
122
124
|
end
|
|
123
125
|
end
|
|
126
|
+
|
|
127
|
+
def method_missing(method_name, *args)
|
|
128
|
+
shortened_name = method_name.to_s.
|
|
129
|
+
sub(%r/\Aprecure_|_precure\z/, "").
|
|
130
|
+
sub(%r/!\z/, "")
|
|
131
|
+
|
|
132
|
+
return transform!(*args) if @transform_calls.include?(shortened_name)
|
|
133
|
+
|
|
134
|
+
super
|
|
135
|
+
end
|
|
124
136
|
end
|
|
125
137
|
end
|
data/lib/rubicure/series.rb
CHANGED
|
@@ -15,7 +15,7 @@ module Rubicure
|
|
|
15
15
|
when self.class
|
|
16
16
|
self == other
|
|
17
17
|
when Rubicure::Girl
|
|
18
|
-
|
|
18
|
+
girls.include? other
|
|
19
19
|
else
|
|
20
20
|
false
|
|
21
21
|
end
|
|
@@ -41,7 +41,7 @@ module Rubicure
|
|
|
41
41
|
def girls
|
|
42
42
|
unless @girls
|
|
43
43
|
@girls = []
|
|
44
|
-
if
|
|
44
|
+
if key?(:girls)
|
|
45
45
|
fetch(:girls).each do |girl_name|
|
|
46
46
|
@girls << Rubicure::Girl.find(girl_name.to_sym)
|
|
47
47
|
end
|
data/lib/rubicure/version.rb
CHANGED
data/rubicure.gemspec
CHANGED
|
@@ -24,13 +24,14 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
spec.add_dependency "hashie", ">= 2.0.5"
|
|
25
25
|
|
|
26
26
|
spec.add_development_dependency "bundler", ">= 1.3.5"
|
|
27
|
+
spec.add_development_dependency "codeclimate-test-reporter"
|
|
28
|
+
spec.add_development_dependency "coveralls"
|
|
29
|
+
spec.add_development_dependency "delorean"
|
|
27
30
|
spec.add_development_dependency "rake"
|
|
28
31
|
spec.add_development_dependency "rspec", "~> 3.0.0"
|
|
29
|
-
spec.add_development_dependency "rspec-its", "~> 1.0.1"
|
|
30
32
|
spec.add_development_dependency "rspec-collection_matchers", "~> 1.0.0"
|
|
33
|
+
spec.add_development_dependency "rspec-its", "~> 1.0.1"
|
|
31
34
|
spec.add_development_dependency "rspec-parameterized", "~> 0.1.1"
|
|
32
|
-
spec.add_development_dependency "
|
|
35
|
+
spec.add_development_dependency "rubocop"
|
|
33
36
|
spec.add_development_dependency "yard"
|
|
34
|
-
spec.add_development_dependency "codeclimate-test-reporter"
|
|
35
|
-
spec.add_development_dependency "coveralls"
|
|
36
37
|
end
|
data/spec/core_spec.rb
CHANGED
data/spec/girl_spec.rb
CHANGED
|
@@ -130,4 +130,31 @@ EOF
|
|
|
130
130
|
it { should eq "プリキュアピースサンダー!" }
|
|
131
131
|
end
|
|
132
132
|
end
|
|
133
|
+
|
|
134
|
+
describe "#method_missing" do
|
|
135
|
+
subject { girl.send(transform_call) }
|
|
136
|
+
|
|
137
|
+
before do
|
|
138
|
+
girl.humanize
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
context "When Cure Lemonade calls metamorphose" do
|
|
142
|
+
let(:girl) { Cure.lemonade }
|
|
143
|
+
let(:transform_call) { "metamorphose" }
|
|
144
|
+
it { expect{ subject }.not_to raise_error }
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
context "When Milkey Rose calls sky_rose_translate!" do
|
|
148
|
+
let(:girl) { Milky.rose }
|
|
149
|
+
let(:transform_call) { "sky_rose_translate!" }
|
|
150
|
+
it { expect{ subject }.not_to raise_error }
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
context "When Milky Rose calls metamorphose" do
|
|
154
|
+
let(:girl) { Milky.rose }
|
|
155
|
+
let(:transform_call) { "metamorphose" }
|
|
156
|
+
|
|
157
|
+
it { expect{ subject }.to raise_error NoMethodError }
|
|
158
|
+
end
|
|
159
|
+
end
|
|
133
160
|
end
|
data/spec/movie_spec.rb
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
describe Rubicure::Movie do
|
|
2
2
|
let(:movie_names) do
|
|
3
3
|
[
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
:dx1,
|
|
5
|
+
:dx2,
|
|
6
|
+
:dx3,
|
|
7
|
+
:ns1,
|
|
8
|
+
:ns2,
|
|
9
|
+
:ns3,
|
|
10
10
|
]
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
describe "#names" do
|
|
14
14
|
subject { Rubicure::Movie.names }
|
|
15
15
|
|
|
16
|
-
it { should include
|
|
16
|
+
it { should include(*movie_names) }
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
describe "#uniq_names" do
|
|
20
20
|
subject { Rubicure::Movie.uniq_names }
|
|
21
21
|
|
|
22
|
-
it { should include
|
|
22
|
+
it { should include(*movie_names) }
|
|
23
23
|
its(:count) { should == movie_names.count }
|
|
24
24
|
end
|
|
25
25
|
|
data/spec/rubicure_spec.rb
CHANGED
|
@@ -9,40 +9,40 @@ describe Rubicure do
|
|
|
9
9
|
context "When Precure.#<title>" do
|
|
10
10
|
where(:title) do
|
|
11
11
|
[
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
[:unmarked],
|
|
13
|
+
[:futari_wa_pretty_cure],
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
[:max_heart],
|
|
16
|
+
[:futari_wa_pretty_cure_max_heart],
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
[:splash_star],
|
|
19
|
+
[:futari_wa_pretty_cure_splash_star],
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
[:yes],
|
|
22
|
+
[:yes_precure_five],
|
|
23
|
+
[:yes_precure5],
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
[:yes_gogo],
|
|
26
|
+
[:yes_precure_five_gogo],
|
|
27
|
+
[:yes_precure5_gogo],
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
[:fresh],
|
|
30
|
+
[:fresh_precure],
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
[:heart_catch],
|
|
33
|
+
[:heart_catch_precure],
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
[:suite],
|
|
36
|
+
[:suite_precure],
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
[:smile],
|
|
39
|
+
[:smile_precure],
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
[:dokidoki],
|
|
42
|
+
[:dokidoki_precure],
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
[:happiness_charge],
|
|
45
|
+
[:happiness_charge_precure],
|
|
46
46
|
]
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -63,44 +63,44 @@ describe Rubicure do
|
|
|
63
63
|
describe "Cure." do
|
|
64
64
|
where(:name) do
|
|
65
65
|
[
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
66
|
+
[:black],
|
|
67
|
+
[:white],
|
|
68
|
+
|
|
69
|
+
[:bloom],
|
|
70
|
+
[:egret],
|
|
71
|
+
|
|
72
|
+
[:dream],
|
|
73
|
+
[:rouge],
|
|
74
|
+
[:lemonade],
|
|
75
|
+
[:mint],
|
|
76
|
+
[:aqua],
|
|
77
|
+
|
|
78
|
+
[:peach],
|
|
79
|
+
[:berry],
|
|
80
|
+
[:pine],
|
|
81
|
+
[:passion],
|
|
82
|
+
|
|
83
|
+
[:melody],
|
|
84
|
+
[:rhythm],
|
|
85
|
+
[:beat],
|
|
86
|
+
[:muse],
|
|
87
|
+
|
|
88
|
+
[:happy],
|
|
89
|
+
[:sunny],
|
|
90
|
+
[:peace],
|
|
91
|
+
[:march],
|
|
92
|
+
[:beauty],
|
|
93
|
+
|
|
94
|
+
[:heart],
|
|
95
|
+
[:diamond],
|
|
96
|
+
[:rosetta],
|
|
97
|
+
[:sword],
|
|
98
|
+
[:ace],
|
|
99
|
+
|
|
100
|
+
[:lovely],
|
|
101
|
+
[:princess],
|
|
102
|
+
[:honey],
|
|
103
|
+
[:fortune],
|
|
104
104
|
]
|
|
105
105
|
end
|
|
106
106
|
|
|
@@ -114,4 +114,22 @@ describe Rubicure do
|
|
|
114
114
|
it { expect( Milky.rose.precure_name ).to eq "ミルキィローズ" }
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
|
+
|
|
118
|
+
describe "#pikarin_janken" do
|
|
119
|
+
subject{ girl.pikarin_janken }
|
|
120
|
+
|
|
121
|
+
shared_examples :do_janken do
|
|
122
|
+
it{ should match %r/ピカピカピカリン\nジャンケンポン!\n(.+)/ }
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
context "When peace" do
|
|
126
|
+
let(:girl){ Cure.peace }
|
|
127
|
+
it_behaves_like :do_janken
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
context "When cure_peace" do
|
|
131
|
+
let(:girl){ Cure.cure_peace }
|
|
132
|
+
it_behaves_like :do_janken
|
|
133
|
+
end
|
|
134
|
+
end
|
|
117
135
|
end
|
data/spec/series_spec.rb
CHANGED
|
@@ -51,17 +51,17 @@ describe Rubicure::Series do
|
|
|
51
51
|
|
|
52
52
|
let(:series_names) do
|
|
53
53
|
[
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
54
|
+
:unmarked,
|
|
55
|
+
:max_heart,
|
|
56
|
+
:splash_star,
|
|
57
|
+
:yes,
|
|
58
|
+
:yes_gogo,
|
|
59
|
+
:fresh,
|
|
60
|
+
:heart_catch,
|
|
61
|
+
:suite,
|
|
62
|
+
:smile,
|
|
63
|
+
:dokidoki,
|
|
64
|
+
:happiness_charge,
|
|
65
65
|
]
|
|
66
66
|
end
|
|
67
67
|
|
|
@@ -95,13 +95,13 @@ describe Rubicure::Series do
|
|
|
95
95
|
describe "#names" do
|
|
96
96
|
subject { Rubicure::Series.names }
|
|
97
97
|
|
|
98
|
-
it { should include
|
|
98
|
+
it { should include(*series_names) }
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
describe "#uniq_names" do
|
|
102
102
|
subject { Rubicure::Series.uniq_names }
|
|
103
103
|
|
|
104
|
-
it { should include
|
|
104
|
+
it { should include(*series_names) }
|
|
105
105
|
its(:count) { should == series_names.count }
|
|
106
106
|
end
|
|
107
107
|
|
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.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-08-
|
|
11
|
+
date: 2014-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -53,7 +53,7 @@ dependencies:
|
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 1.3.5
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
56
|
+
name: codeclimate-test-reporter
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - ">="
|
|
@@ -67,91 +67,105 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
70
|
+
name: coveralls
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
75
|
+
version: '0'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
82
|
+
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
84
|
+
name: delorean
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
89
|
+
version: '0'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
96
|
+
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
|
-
name:
|
|
98
|
+
name: rake
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - ">="
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: rspec
|
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
|
100
114
|
requirements:
|
|
101
115
|
- - "~>"
|
|
102
116
|
- !ruby/object:Gem::Version
|
|
103
|
-
version:
|
|
117
|
+
version: 3.0.0
|
|
104
118
|
type: :development
|
|
105
119
|
prerelease: false
|
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
121
|
requirements:
|
|
108
122
|
- - "~>"
|
|
109
123
|
- !ruby/object:Gem::Version
|
|
110
|
-
version:
|
|
124
|
+
version: 3.0.0
|
|
111
125
|
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: rspec-
|
|
126
|
+
name: rspec-collection_matchers
|
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
|
114
128
|
requirements:
|
|
115
129
|
- - "~>"
|
|
116
130
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: 0.
|
|
131
|
+
version: 1.0.0
|
|
118
132
|
type: :development
|
|
119
133
|
prerelease: false
|
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
135
|
requirements:
|
|
122
136
|
- - "~>"
|
|
123
137
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: 0.
|
|
138
|
+
version: 1.0.0
|
|
125
139
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
140
|
+
name: rspec-its
|
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
|
128
142
|
requirements:
|
|
129
|
-
- - "
|
|
143
|
+
- - "~>"
|
|
130
144
|
- !ruby/object:Gem::Version
|
|
131
|
-
version:
|
|
145
|
+
version: 1.0.1
|
|
132
146
|
type: :development
|
|
133
147
|
prerelease: false
|
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
149
|
requirements:
|
|
136
|
-
- - "
|
|
150
|
+
- - "~>"
|
|
137
151
|
- !ruby/object:Gem::Version
|
|
138
|
-
version:
|
|
152
|
+
version: 1.0.1
|
|
139
153
|
- !ruby/object:Gem::Dependency
|
|
140
|
-
name:
|
|
154
|
+
name: rspec-parameterized
|
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
|
142
156
|
requirements:
|
|
143
|
-
- - "
|
|
157
|
+
- - "~>"
|
|
144
158
|
- !ruby/object:Gem::Version
|
|
145
|
-
version:
|
|
159
|
+
version: 0.1.1
|
|
146
160
|
type: :development
|
|
147
161
|
prerelease: false
|
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
163
|
requirements:
|
|
150
|
-
- - "
|
|
164
|
+
- - "~>"
|
|
151
165
|
- !ruby/object:Gem::Version
|
|
152
|
-
version:
|
|
166
|
+
version: 0.1.1
|
|
153
167
|
- !ruby/object:Gem::Dependency
|
|
154
|
-
name:
|
|
168
|
+
name: rubocop
|
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
|
156
170
|
requirements:
|
|
157
171
|
- - ">="
|
|
@@ -165,7 +179,7 @@ dependencies:
|
|
|
165
179
|
- !ruby/object:Gem::Version
|
|
166
180
|
version: '0'
|
|
167
181
|
- !ruby/object:Gem::Dependency
|
|
168
|
-
name:
|
|
182
|
+
name: yard
|
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
|
170
184
|
requirements:
|
|
171
185
|
- - ">="
|
|
@@ -189,6 +203,7 @@ files:
|
|
|
189
203
|
- ".gitignore"
|
|
190
204
|
- ".hound.yml"
|
|
191
205
|
- ".rspec"
|
|
206
|
+
- ".rubocop.yml"
|
|
192
207
|
- ".travis.yml"
|
|
193
208
|
- ".yardopts"
|
|
194
209
|
- CHANGELOG.md
|