rubicure 3.2.3 → 3.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pages.yml +1 -1
- data/.github/workflows/test.yml +20 -1
- data/.rubocop.yml +9 -0
- data/CHANGELOG.md +13 -1
- data/README.md +8 -2
- data/config/movies.yml +4 -0
- data/gemfiles/activesupport_5_0.gemfile +5 -0
- data/gemfiles/activesupport_5_1.gemfile +5 -0
- data/gemfiles/activesupport_5_2.gemfile +5 -0
- data/gemfiles/activesupport_6_0.gemfile +5 -0
- data/gemfiles/activesupport_6_1.gemfile +5 -0
- data/gemfiles/activesupport_7_0.gemfile +5 -0
- data/gemfiles/activesupport_7_1.gemfile +5 -0
- data/lib/rubicure/core.rb +8 -0
- data/lib/rubicure/version.rb +1 -1
- data/lib/rubicure.rb +3 -0
- data/spec/rubicure/core_spec.rb +4 -0
- data/spec/rubicure/movie_spec.rb +1 -0
- data/spec/spec_helper.rb +3 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fbf3073deda314990975a23c4db0b9ee29e5cb5def5a35dc88af3f427e95093
|
4
|
+
data.tar.gz: 0b7b6579681014ac9423e879df9901364c456e94aa59f1ae1830fb0b9500701b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce2e440cabb12b30f918b78b6aaabcebba13731d293e70d772fddbedf2ea016f80ab4523f09d6277b2c6c44754174177963e979dac76cf88df5ec0c2999ad350
|
7
|
+
data.tar.gz: 5bf5ce4f5e9f0f537b2b0f7956cb3edee18cf6b5fa77dad7ffadaff0cfb5a3a42743f5b975f5f97ef0ce3c9703df997661ca6039d83b8493ec99699197d10346
|
data/.github/workflows/pages.yml
CHANGED
data/.github/workflows/test.yml
CHANGED
@@ -29,14 +29,33 @@ jobs:
|
|
29
29
|
- "3.0"
|
30
30
|
- "3.1"
|
31
31
|
- "3.2"
|
32
|
+
gemfile:
|
33
|
+
- activesupport_5_0
|
34
|
+
- activesupport_5_1
|
35
|
+
- activesupport_5_2
|
36
|
+
- activesupport_6_0
|
37
|
+
- activesupport_6_1
|
38
|
+
- activesupport_7_0
|
39
|
+
- activesupport_7_1
|
40
|
+
exclude:
|
41
|
+
# activesupport 7.0+ requires Ruby 2.7+
|
42
|
+
- ruby: "2.6"
|
43
|
+
gemfile: activesupport_7_0
|
44
|
+
- ruby: "2.6"
|
45
|
+
gemfile: activesupport_7_1
|
46
|
+
|
47
|
+
env:
|
48
|
+
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
32
49
|
|
33
50
|
steps:
|
34
|
-
- uses: actions/checkout@
|
51
|
+
- uses: actions/checkout@v4
|
35
52
|
|
36
53
|
- uses: ruby/setup-ruby@v1
|
37
54
|
with:
|
38
55
|
ruby-version: ${{ matrix.ruby }}
|
39
56
|
bundler-cache: true
|
57
|
+
rubygems: latest
|
58
|
+
cache-version: 1
|
40
59
|
|
41
60
|
- name: bundle update
|
42
61
|
run: |
|
data/.rubocop.yml
CHANGED
@@ -12,6 +12,15 @@ AllCops:
|
|
12
12
|
TargetRubyVersion: 2.6
|
13
13
|
NewCops: enable
|
14
14
|
|
15
|
+
Exclude:
|
16
|
+
- 'gemfiles/vendor/**/*'
|
17
|
+
|
18
|
+
# c.f. https://github.com/rubocop/rubocop/blob/v1.56.4/config/default.yml#L65-L69
|
19
|
+
- 'node_modules/**/*'
|
20
|
+
- 'tmp/**/*'
|
21
|
+
- 'vendor/**/*'
|
22
|
+
- '.git/**/*'
|
23
|
+
|
15
24
|
Layout/HashAlignment:
|
16
25
|
EnforcedHashRocketStyle: table
|
17
26
|
EnforcedColonStyle: table
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
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.5...master)
|
3
|
+
|
4
|
+
## v3.2.5
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.4...v3.2.5)
|
6
|
+
|
7
|
+
* Support activesupport 7.1
|
8
|
+
* https://github.com/sue445/rubicure/pull/295
|
9
|
+
|
10
|
+
## v3.2.4
|
11
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.3...v3.2.4)
|
12
|
+
|
13
|
+
* Add `Precure.all_stars(:f)`
|
14
|
+
* https://github.com/sue445/rubicure/pull/291
|
3
15
|
|
4
16
|
## v3.2.3
|
5
17
|
[full changelog](http://github.com/sue445/rubicure/compare/v3.2.2...v3.2.3)
|
data/README.md
CHANGED
@@ -498,6 +498,11 @@ When `Rubicure::Girl` has `human_full_name` (i.e. another `human_name`), she ret
|
|
498
498
|
|
499
499
|
>> Precure.all_stars(:memories).count
|
500
500
|
=> 55
|
501
|
+
|
502
|
+
>> Precure.all_stars(:f).count
|
503
|
+
=> 78
|
504
|
+
>> Precure.all_stars(:f).include?(Cure.echo)
|
505
|
+
=> false
|
501
506
|
```
|
502
507
|
|
503
508
|
and [more aliases!](config/movies.yml)
|
@@ -809,5 +814,6 @@ http://sue445.github.io/rubicure/
|
|
809
814
|
1. Fork it
|
810
815
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
811
816
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
812
|
-
4.
|
813
|
-
5.
|
817
|
+
4. Run test (`bundle exec rake test`)
|
818
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
819
|
+
6. Create new Pull Request
|
data/config/movies.yml
CHANGED
data/lib/rubicure/core.rb
CHANGED
@@ -95,6 +95,14 @@ module Rubicure
|
|
95
95
|
# #=> 44
|
96
96
|
# Precure.all_stars(:sing_together_miracle_magic).include?(Cure.echo)
|
97
97
|
# #=> true
|
98
|
+
#
|
99
|
+
# Precure.all_stars(:memories).count
|
100
|
+
# #=> 55
|
101
|
+
#
|
102
|
+
# Precure.all_stars(:f).count
|
103
|
+
# #=> 78
|
104
|
+
# Precure.all_stars(:f).include?(Cure.echo)
|
105
|
+
# #=> false
|
98
106
|
def all_stars(arg = Time.current)
|
99
107
|
extra_girls = []
|
100
108
|
|
data/lib/rubicure/version.rb
CHANGED
data/lib/rubicure.rb
CHANGED
data/spec/rubicure/core_spec.rb
CHANGED
@@ -73,6 +73,10 @@ describe Rubicure::Core do
|
|
73
73
|
:sing_together_miracle_magic | 44 | true
|
74
74
|
|
75
75
|
:memories | 55 | false
|
76
|
+
|
77
|
+
# NOTE: キュアエコーを含めると79人なのだが、公式や各種メディアが78人と言っているのでキュアエコーは含めていない
|
78
|
+
# c.f. https://twitter.com/precure_movie/status/1704691931094384957
|
79
|
+
:f | 78 | false
|
76
80
|
end
|
77
81
|
|
78
82
|
with_them do
|
data/spec/rubicure/movie_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -35,6 +35,9 @@ require "rspec/its"
|
|
35
35
|
require "rspec/collection_matchers"
|
36
36
|
require "delorean"
|
37
37
|
require "tempfile"
|
38
|
+
|
39
|
+
# NOTE: requires minimum dependencies
|
40
|
+
require "active_support/core_ext/string/filters"
|
38
41
|
require "active_support/core_ext/time/zones"
|
39
42
|
|
40
43
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
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.5
|
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-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -347,6 +347,13 @@ files:
|
|
347
347
|
- config/girls/movie.yml
|
348
348
|
- config/movies.yml
|
349
349
|
- config/series.yml
|
350
|
+
- gemfiles/activesupport_5_0.gemfile
|
351
|
+
- gemfiles/activesupport_5_1.gemfile
|
352
|
+
- gemfiles/activesupport_5_2.gemfile
|
353
|
+
- gemfiles/activesupport_6_0.gemfile
|
354
|
+
- gemfiles/activesupport_6_1.gemfile
|
355
|
+
- gemfiles/activesupport_7_0.gemfile
|
356
|
+
- gemfiles/activesupport_7_1.gemfile
|
350
357
|
- lib/rubicure.rb
|
351
358
|
- lib/rubicure/concerns/gengou.rb
|
352
359
|
- lib/rubicure/concerns/util.rb
|