rubicure 1.1.6 → 1.1.7

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: b1f68379b609226f7e6904ffb74002a9894579e198f2fc23e7f440eb9245fca7
4
- data.tar.gz: e1786e978495c11dc97c452044a15bfedf76cabff8c52b987d1798199ba3db50
3
+ metadata.gz: 49077a455265749e0d51320af6561869409b48b10d7adc4b254fde22661977dd
4
+ data.tar.gz: cb74c255560d0bb6d43716eb5b8510b4deeb309458a0fc55deb8feecc0a36f62
5
5
  SHA512:
6
- metadata.gz: 589fcaf9f128c2adc8f862e354952247e6639ae187996420529264d03869f13fb0fa80cf07b9a089990335354978b471d4c05854ce7dfb54fb726851d3038fb5
7
- data.tar.gz: f44e77f4083721f4b82fa36c6695749ab1d28b47f0646eb97e8cdd5e1420ad78153f57ac29648cc3d17a1a1d40a942ae31e931ed7aec05473890bd0aaa32528c
6
+ metadata.gz: 73e7013a4be5b4d3d3eb68eb46c68183be708f6f1067ba763f5949b3c9376a56262869ad3a09fd98a8717824573e6e0190ac31131230bfe24754c4f834ce6fdb
7
+ data.tar.gz: 0bb9f1e5d496d174d4de0eb374193051ef9df8356837a96d6340075aa7e8fe0c3df6dff04039bb38f60c4223678b9289a4d875e88fddf5a3573423cf74d70b37
@@ -15,7 +15,7 @@ before_script:
15
15
  - export CI=true
16
16
  script:
17
17
  - bundle exec rspec
18
- - bundle exec codeclimate-test-reporter
18
+ - bundle exec codeclimate-test-reporter || true
19
19
  - bundle exec ruby examples/all.rb
20
20
  - bundle exec rubocop
21
21
  - bundle exec rubydoctest README.md
@@ -1,5 +1,13 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubicure/compare/v1.1.6...master)
2
+ [full changelog](http://github.com/sue445/rubicure/compare/v1.1.7...master)
3
+
4
+ ## v1.1.7
5
+ [full changelog](http://github.com/sue445/rubicure/compare/v1.1.6...v1.1.7)
6
+
7
+ * Add transform_calls to cure_rouge
8
+ * https://github.com/sue445/rubicure/pull/178
9
+ * Add `Precure.all_stars(:memories)`
10
+ * https://github.com/sue445/rubicure/pull/181
3
11
 
4
12
  ## v1.1.6
5
13
  [full changelog](http://github.com/sue445/rubicure/compare/v1.1.5...v1.1.6)
data/README.md CHANGED
@@ -489,6 +489,9 @@ When `Rubicure::Girl` has `human_full_name` (i.e. another `human_name`), she ret
489
489
  => 44
490
490
  >> Precure.all_stars(:sing_together_miracle_magic).include?(Cure.echo)
491
491
  => true
492
+
493
+ >> Precure.all_stars(:memories).count
494
+ => 55
492
495
  ```
493
496
 
494
497
  and [more aliases!](config/movies.yml)
@@ -36,6 +36,8 @@ cure_rouge: &cure_rouge
36
36
  - |-
37
37
  純情乙女の炎の力、受けてみなさい!
38
38
  プリキュア!ファイヤー・ストライク!
39
+ transform_calls:
40
+ - metamorphose
39
41
  cure_lemonade: &cure_lemonade
40
42
  girl_name: cure_lemonade
41
43
  human_name: 春日野うらら
@@ -64,3 +64,7 @@ super_stars: &super_stars
64
64
  started_date: 2018-03-17
65
65
  ss:
66
66
  <<: *super_stars
67
+ #######################################################
68
+ memories: &memories
69
+ title: 映画HUGっと!プリキュア♡ふたりはプリキュア オールスターズメモリーズ
70
+ started_date: 2018-10-27
@@ -244,7 +244,7 @@ module Rubicure
244
244
  private
245
245
 
246
246
  def has_transform_style?(style)
247
- return false unless respond_to?(:transform_styles)
247
+ return false unless has_key?(:transform_styles)
248
248
 
249
249
  transform_styles.keys.map(&:to_sym).include?(style.to_sym)
250
250
  end
@@ -278,6 +278,8 @@ module Rubicure
278
278
  # call Hashie::Extensions::MethodAccess#method_missing
279
279
  return false if has_key?(method_name)
280
280
 
281
+ return false unless has_key?(:transform_calls)
282
+
281
283
  shortened_name = method_name.to_s.
282
284
  sub(/\Aprecure_|_precure\z/, "").
283
285
  sub(/!\z/, "")
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "1.1.6".freeze
2
+ VERSION = "1.1.7".freeze
3
3
  end
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency "onkcop", "0.53.0.0"
36
36
  spec.add_development_dependency "pry-byebug"
37
37
  spec.add_development_dependency "rake"
38
- spec.add_development_dependency "rspec"
38
+ spec.add_development_dependency "rspec", ">= 3.8.0"
39
39
  spec.add_development_dependency "rspec-collection_matchers"
40
40
  spec.add_development_dependency "rspec-its"
41
41
  spec.add_development_dependency "rspec-parameterized", ">= 0.3.2"
@@ -22,14 +22,14 @@ describe Rubicure::Core do
22
22
  end
23
23
 
24
24
  describe "#each_with_series" do
25
- before do
26
- @expected_series = []
27
- Rubicure::Series.uniq_names.each do |series_name|
28
- @expected_series << Rubicure::Series.find(series_name)
25
+ it "enumerate order by series_name" do
26
+ actual = []
27
+ instance.each_with_series do |series|
28
+ actual << series.series_name
29
29
  end
30
- end
31
30
 
32
- it { expect {|b| instance.each_with_series(&b) }.to yield_successive_args(*@expected_series) }
31
+ expect(actual).to eq Rubicure::Series.uniq_names.map(&:to_s)
32
+ end
33
33
  end
34
34
 
35
35
  describe "#all_stars" do
@@ -71,6 +71,8 @@ describe Rubicure::Core do
71
71
 
72
72
  :stmm | 44 | true
73
73
  :sing_together_miracle_magic | 44 | true
74
+
75
+ :memories | 55 | false
74
76
  end
75
77
 
76
78
  with_them do
@@ -11,6 +11,7 @@ describe Rubicure::Movie do
11
11
  :stmm,
12
12
  :dream_stars,
13
13
  :super_stars,
14
+ :memories,
14
15
  ]
15
16
  end
16
17
 
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.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-24 00:00:00.000000000 Z
11
+ date: 2018-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: 3.8.0
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: 3.8.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rspec-collection_matchers
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -287,7 +287,6 @@ files:
287
287
  - ".gitignore"
288
288
  - ".rspec"
289
289
  - ".rubocop.yml"
290
- - ".tachikoma.yml"
291
290
  - ".travis.yml"
292
291
  - ".yardopts"
293
292
  - CHANGELOG.md
@@ -353,7 +352,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
353
352
  version: '0'
354
353
  requirements: []
355
354
  rubyforge_project:
356
- rubygems_version: 2.7.6
355
+ rubygems_version: 2.7.7
357
356
  signing_key:
358
357
  specification_version: 4
359
358
  summary: All about Japanese battle heroine "Pretty Cure (Precure)".
@@ -1 +0,0 @@
1
- strategy: 'bundler'