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 +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +9 -1
- data/README.md +3 -0
- data/config/girls/004_yes.yml +2 -0
- data/config/movies.yml +4 -0
- data/lib/rubicure/girl.rb +3 -1
- data/lib/rubicure/version.rb +1 -1
- data/rubicure.gemspec +1 -1
- data/spec/rubicure/core_spec.rb +8 -6
- data/spec/rubicure/movie_spec.rb +1 -0
- metadata +5 -6
- data/.tachikoma.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49077a455265749e0d51320af6561869409b48b10d7adc4b254fde22661977dd
|
4
|
+
data.tar.gz: cb74c255560d0bb6d43716eb5b8510b4deeb309458a0fc55deb8feecc0a36f62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73e7013a4be5b4d3d3eb68eb46c68183be708f6f1067ba763f5949b3c9376a56262869ad3a09fd98a8717824573e6e0190ac31131230bfe24754c4f834ce6fdb
|
7
|
+
data.tar.gz: 0bb9f1e5d496d174d4de0eb374193051ef9df8356837a96d6340075aa7e8fe0c3df6dff04039bb38f60c4223678b9289a4d875e88fddf5a3573423cf74d70b37
|
data/.travis.yml
CHANGED
@@ -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
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v1.1.
|
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)
|
data/config/girls/004_yes.yml
CHANGED
data/config/movies.yml
CHANGED
data/lib/rubicure/girl.rb
CHANGED
@@ -244,7 +244,7 @@ module Rubicure
|
|
244
244
|
private
|
245
245
|
|
246
246
|
def has_transform_style?(style)
|
247
|
-
return false unless
|
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/, "")
|
data/lib/rubicure/version.rb
CHANGED
data/rubicure.gemspec
CHANGED
@@ -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"
|
data/spec/rubicure/core_spec.rb
CHANGED
@@ -22,14 +22,14 @@ describe Rubicure::Core do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
describe "#each_with_series" do
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
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
|
-
|
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
|
data/spec/rubicure/movie_spec.rb
CHANGED
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.
|
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-
|
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:
|
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:
|
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.
|
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)".
|
data/.tachikoma.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
strategy: 'bundler'
|