rubicure 1.1.8 → 1.1.9

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: 3db490f4f91bf500fc2ed7fa0c30eb61d0ef55749c575b53ded464bb08250d39
4
- data.tar.gz: ba305ab28e774d8b102c9b74e44b58371e7864c2e102481dd3c54543582c1c8e
3
+ metadata.gz: 17232bba184551bb97068fcf0679289ea27af7f8253000d4f4e1a743fb9de5ca
4
+ data.tar.gz: 0c43fc2d77dd19a7e623ceb2fe4790cc7cdc525192a033759e06e032d474b3fa
5
5
  SHA512:
6
- metadata.gz: 1945e6a7318f2af47b2d8f79c95e91b1fe4284082bb0fb1b2e65e8a267fa44a2c88b0ba3891ae6abf56b4d6735192694e9426bfb57d4f6d987b4afc30e66400b
7
- data.tar.gz: 9864f409fc08a9a378639f43674eabbff140f3214fbe87ed439e27394784d9a16674abd451c3bbe3792c4f6d93209ef20fe00dec404bd120ff33a6b363d805f8
6
+ metadata.gz: 235bad0711d25a41375de0be2ecfaec596d2fbd81ae3874eaaa32adf18de2c67a140cff403084fc0b5c96c7400b152261e2e7f5df49f027cd7b583e25f3ed39f
7
+ data.tar.gz: a220262229b9d6fcdbba9fe28a8241779cb0e9166488676c225e27ff82c59b60442222ebb49a1d0bd3c7fa78ddfe4b6b4335b6df44652f5625d277d897c5c205
data/.travis.yml CHANGED
@@ -9,7 +9,8 @@ rvm:
9
9
  bundler_args: "--jobs=2"
10
10
  cache: bundler
11
11
  before_install:
12
- - gem install bundler --no-document
12
+ - travis_retry gem update --system || travis_retry gem update --system 2.7.8
13
+ - travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3
13
14
  before_script:
14
15
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
15
16
  - chmod +x ./cc-test-reporter
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubicure/compare/v1.1.8...master)
2
+ [full changelog](http://github.com/sue445/rubicure/compare/v1.1.9...master)
3
+
4
+ ## v1.1.9
5
+ [full changelog](http://github.com/sue445/rubicure/compare/v1.1.8...v1.1.9)
6
+
7
+ * Changed Hugtto precure EndDate to 2019-01-27
8
+ * https://github.com/sue445/rubicure/pull/193
9
+ * Changed Cure magical's color to purple
10
+ * https://github.com/sue445/rubicure/pull/195
3
11
 
4
12
  ## v1.1.8
5
13
  [full changelog](http://github.com/sue445/rubicure/compare/v1.1.7...v1.1.8)
data/README.md CHANGED
@@ -121,10 +121,10 @@ and [more aliases!](config/series.yml)
121
121
 
122
122
  ```ruby
123
123
  >> Precure.now
124
- => {:series_name=>"hugtto", :title=>"HUGっと!プリキュア", :started_date=>Sun, 04 Feb 2018, :ended_date=>Mon, 28 Jan 2019, :girls=>["cure_yell", "cure_ange", "cure_etoile", "cure_macherie", "cure_amour"]}
124
+ => {:series_name=>"hugtto", :title=>"HUGっと!プリキュア", :started_date=>Sun, 04 Feb 2018, :ended_date=>Sun, 27 Jan 2019, :girls=>["cure_yell", "cure_ange", "cure_etoile", "cure_macherie", "cure_amour"]}
125
125
 
126
126
  >> Precure.current
127
- => {:series_name=>"hugtto", :title=>"HUGっと!プリキュア", :started_date=>Sun, 04 Feb 2018, :ended_date=>Mon, 28 Jan 2019, :girls=>["cure_yell", "cure_ange", "cure_etoile", "cure_macherie", "cure_amour"]}
127
+ => {:series_name=>"hugtto", :title=>"HUGっと!プリキュア", :started_date=>Sun, 04 Feb 2018, :ended_date=>Sun, 27 Jan 2019, :girls=>["cure_yell", "cure_ange", "cure_etoile", "cure_macherie", "cure_amour"]}
128
128
 
129
129
  # -2013/1/27 : smile precure
130
130
  # 2013/2/5 - : dokidoki precure
@@ -668,8 +668,8 @@ Go!プリンセスプリキュア
668
668
  >> Precure.all_girls.select(&:yellow?).map(&:precure_name)
669
669
  => ["シャイニールミナス", "キュアレモネード", "キュアパイン", "キュアサンシャイン", "キュアミューズ", "キュアピース", "キュアロゼッタ", "キュアハニー", "キュアトゥインクル", "キュアカスタード", "キュアエトワール"]
670
670
 
671
- >> Precure.all_girls.group_by{ |girl| girl.color }.map{ |color, girls| [color, girls.count] }.sort_by{ |color, girl_count| girl_count }.reverse
672
- => [["pink", 12], ["blue", 11], ["yellow", 11], ["red", 7], ["purple", 6], ["white", 4], ["green", 3], ["rainbow", 1], ["black", 1]]
671
+ >> Precure.all_girls.group_by{ |girl| girl.color }.map{ |color, girls| [color, girls.count] }.sort_by{ |color, girl_count| [girl_count, color] }.reverse
672
+ => [["pink", 12], ["yellow", 11], ["blue", 10], ["red", 7], ["purple", 7], ["white", 4], ["green", 3], ["rainbow", 1], ["black", 1]]
673
673
  ```
674
674
 
675
675
  ### birthday methods
@@ -80,7 +80,7 @@ cure_magical: &cure_magical
80
80
  human_name: 十六夜リコ
81
81
  precure_name: キュアマジカル
82
82
  cast_name: 堀江由衣
83
- color: blue
83
+ color: purple
84
84
  created_date: 2016-02-07 # episode 1
85
85
  birthday: 11/12
86
86
  extra_names:
@@ -90,7 +90,7 @@ cure_magical: &cure_magical
90
90
  diamond:
91
91
  girl_name: cure_magical_diamond
92
92
  precure_name: キュアマジカル(ダイヤスタイル)
93
- color: blue
93
+ color: purple
94
94
  created_date: 2016-02-07 # episode 1
95
95
  transform_message: |-
96
96
  キュアップ・ラパパ! ダイヤ!
data/config/series.yml CHANGED
@@ -194,7 +194,7 @@ hugtto: &hugtto
194
194
  series_name: hugtto
195
195
  title: HUGっと!プリキュア
196
196
  started_date: 2018-02-04
197
- ended_date: 2019-01-28
197
+ ended_date: 2019-01-27
198
198
  girls:
199
199
  - cure_yell
200
200
  - cure_ange
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "1.1.8".freeze
2
+ VERSION = "1.1.9".freeze
3
3
  end
@@ -0,0 +1,19 @@
1
+ describe "config/series.yml" do # rubocop:disable RSpec/DescribeClass
2
+ series = YAML.load_file("#{spec_dir}/../config/series.yml")
3
+
4
+ series.values.uniq {|attributes| attributes["series_name"] }.each do |attributes|
5
+ context attributes["title"] do
6
+ describe "started_date" do
7
+ subject { attributes["started_date"] }
8
+
9
+ it { should be_sunday }
10
+ end
11
+
12
+ describe "ended_date", if: attributes["ended_date"] do
13
+ subject { attributes["ended_date"] }
14
+
15
+ it { should be_sunday }
16
+ end
17
+ end
18
+ end
19
+ 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: 1.1.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-29 00:00:00.000000000 Z
11
+ date: 2019-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -310,6 +310,7 @@ files:
310
310
  - lib/ubicure.rb
311
311
  - rubicure.gemspec
312
312
  - spec/config/girls_checker_spec.rb
313
+ - spec/config/series_checker_spec.rb
313
314
  - spec/rubicure/core_spec.rb
314
315
  - spec/rubicure/cure_spec.rb
315
316
  - spec/rubicure/girl_spec.rb
@@ -340,12 +341,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
340
341
  - !ruby/object:Gem::Version
341
342
  version: '0'
342
343
  requirements: []
343
- rubygems_version: 3.0.1
344
+ rubyforge_project:
345
+ rubygems_version: 2.7.6
344
346
  signing_key:
345
347
  specification_version: 4
346
348
  summary: All about Japanese battle heroine "Pretty Cure (Precure)".
347
349
  test_files:
348
350
  - spec/config/girls_checker_spec.rb
351
+ - spec/config/series_checker_spec.rb
349
352
  - spec/rubicure/core_spec.rb
350
353
  - spec/rubicure/cure_spec.rb
351
354
  - spec/rubicure/girl_spec.rb