rubicure 1.2.5 → 1.2.6

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: c10b38d1a27f170a5ae44cfa02e4566964f4069d2c57954ad730588102fefe85
4
- data.tar.gz: afbcd8896a0583f6a305c5dd0993df2a5058f13f35104fadc7325201ff27b92f
3
+ metadata.gz: cc36e50580389b8c11bd671d6ebde58547294d55af346199949224daa989e8fd
4
+ data.tar.gz: 644adca5e717f7d75bc88a07c0956ca7c8f5533ade0e68387719254867b99f14
5
5
  SHA512:
6
- metadata.gz: 5760e3ead69a7578931860e72b38e577574146bbde37d97c250f1f39d77ff7e640a069867c9a0db7806c16951edc6ee3e57e98053bf620eabd7cbfe50aa46637
7
- data.tar.gz: b7b8211cdb3e2739fd66cdcf0841e2985727d57efe3a378175a35482d84621b9abd7cd98942846c111f07f4e92f08dc1df60500fbf3dda31c9cceb894990394b
6
+ metadata.gz: 00ade1b4208a4b0dc1f16b248ecc8c21d9caf6adccf1b8c4b1a9269ee60e8e27b58302b8e9be80f97ac640342c21a9f309a88f02e7f64af0083b326e2a844797
7
+ data.tar.gz: 906d25c593a3817f079b4d0316bd5def3ace806272ae58a85f7d0d9c365d2fc903ad7207aa7c176362382f1e6040471ea96ac4b6b7748ad4e02d7697f3c2fa33
@@ -0,0 +1,155 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ schedule:
6
+ - cron: "0 10 * * 5" # JST 19:00 (Fri)
7
+
8
+ env:
9
+ CI: "true"
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ${{ matrix.runner }}
14
+
15
+ strategy:
16
+ fail-fast: false
17
+
18
+ matrix:
19
+ ruby:
20
+ - 2.2.2
21
+ - 2.3.0
22
+ - 2.4.0
23
+ - 2.5.0
24
+ - 2.6.0
25
+ - 2.7.0
26
+ - 2.8.0-dev
27
+ include:
28
+ - ruby: 2.2.2
29
+ runner: ubuntu-16.04
30
+ - ruby: 2.3.0
31
+ runner: ubuntu-16.04
32
+ - ruby: 2.4.0
33
+ runner: ubuntu-latest
34
+ - ruby: 2.5.0
35
+ runner: ubuntu-latest
36
+ - ruby: 2.6.0
37
+ runner: ubuntu-latest
38
+ - ruby: 2.7.0
39
+ runner: ubuntu-latest
40
+ - ruby: 2.8.0-dev
41
+ runner: ubuntu-latest
42
+
43
+ steps:
44
+ - uses: actions/checkout@v2
45
+
46
+ - name: Set up rbenv
47
+ uses: masa-iwasaki/setup-rbenv@1.1.0
48
+
49
+ - name: Cache RBENV_ROOT
50
+ uses: actions/cache@v1
51
+ id: cache_rbenv
52
+ with:
53
+ path: ~/.rbenv/versions
54
+ key: v1-rbenv-${{ runner.os }}-${{ matrix.ruby }}
55
+ if: "!endsWith(matrix.ruby, '-dev')"
56
+
57
+ - name: Reinstall libssl-dev
58
+ run: |
59
+ set -xe
60
+ sudo apt-get remove -y libssl-dev
61
+ sudo apt-get install -y libssl-dev=1.0.2g-1ubuntu4.15
62
+ if: matrix.runner == 'ubuntu-16.04'
63
+
64
+ - name: Install Ruby
65
+ run: |
66
+ set -xe
67
+ eval "$(rbenv init -)"
68
+ rbenv install -s $RBENV_VERSION
69
+
70
+ gem install bundler --no-document -v 1.17.3 || true
71
+ env:
72
+ RBENV_VERSION: ${{ matrix.ruby }}
73
+ continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
74
+
75
+ - name: Cache vendor/bundle
76
+ uses: actions/cache@v1
77
+ id: cache_gem
78
+ with:
79
+ path: vendor/bundle
80
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
81
+ restore-keys: |
82
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
83
+ continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
84
+
85
+ - name: bundle update
86
+ run: |
87
+ set -xe
88
+ eval "$(rbenv init -)"
89
+ bundle config path vendor/bundle
90
+ bundle update --jobs $(nproc) --retry 3
91
+ env:
92
+ RBENV_VERSION: ${{ matrix.ruby }}
93
+ continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
94
+
95
+ - name: Setup Code Climate Test Reporter
96
+ uses: aktions/codeclimate-test-reporter@v1
97
+ with:
98
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
99
+ command: before-build
100
+ continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
101
+
102
+ - name: Run test
103
+ run: |
104
+ set -xe
105
+ eval "$(rbenv init -)"
106
+ bundle exec rspec
107
+ bundle exec ruby examples/all.rb
108
+ env:
109
+ RBENV_VERSION: ${{ matrix.ruby }}
110
+ continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
111
+
112
+ - name: Teardown Code Climate Test Reporter
113
+ uses: aktions/codeclimate-test-reporter@v1
114
+ with:
115
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
116
+ command: after-build
117
+ if: always()
118
+ continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
119
+
120
+ - name: Run lint
121
+ run: |
122
+ set -xe
123
+ eval "$(rbenv init -)"
124
+ bundle exec rubocop
125
+ bundle exec rubydoctest README.md
126
+ env:
127
+ RBENV_VERSION: ${{ matrix.ruby }}
128
+ continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
129
+
130
+ - name: Slack Notification (not success)
131
+ uses: homoluctus/slatify@v2.0.0
132
+ if: "! success()"
133
+ with:
134
+ job_name: ${{ format('*build* ({0})', matrix.ruby) }}
135
+ type: ${{ job.status }}
136
+ icon_emoji: ":octocat:"
137
+ url: ${{ secrets.SLACK_WEBHOOK }}
138
+ token: ${{ secrets.GITHUB_TOKEN }}
139
+
140
+ notify:
141
+ needs:
142
+ - test
143
+
144
+ runs-on: ubuntu-latest
145
+
146
+ steps:
147
+ - name: Slack Notification (success)
148
+ uses: homoluctus/slatify@v2.0.0
149
+ if: always()
150
+ with:
151
+ job_name: '*build*'
152
+ type: ${{ job.status }}
153
+ icon_emoji: ":octocat:"
154
+ url: ${{ secrets.SLACK_WEBHOOK }}
155
+ token: ${{ secrets.GITHUB_TOKEN }}
@@ -1,5 +1,11 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubicure/compare/v1.2.5...master)
2
+ [full changelog](http://github.com/sue445/rubicure/compare/v1.2.6...master)
3
+
4
+ ## v1.2.6
5
+ [full changelog](http://github.com/sue445/rubicure/compare/v1.2.5...v1.2.6)
6
+
7
+ * Add ended_date of Star:star:Twinkle Precure
8
+ * https://github.com/sue445/rubicure/pull/224
3
9
 
4
10
  ## v1.2.5
5
11
  [full changelog](http://github.com/sue445/rubicure/compare/v1.2.4...v1.2.5)
data/Gemfile CHANGED
@@ -9,3 +9,8 @@ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
9
9
  # i18n v1.5.1+ requires Ruby 2.3.0+
10
10
  gem "i18n", "< 1.5.1"
11
11
  end
12
+
13
+ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
14
+ # activesupport v6.0.0+ requires Ruby 2.5.0+
15
+ gem "activesupport", "< 6.0.0"
16
+ end
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Rubicure (Ruby + Precure)
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rubicure.svg)](http://badge.fury.io/rb/rubicure)
4
- [![Build Status](https://travis-ci.org/sue445/rubicure.png?branch=master)](https://travis-ci.org/sue445/rubicure)
4
+ [![Build Status](https://github.com/sue445/rubicure/workflows/test/badge.svg?branch=master)](https://github.com/sue445/rubicure/actions?query=workflow%3Atest)
5
5
  [![Code Climate](https://codeclimate.com/github/sue445/rubicure.png)](https://codeclimate.com/github/sue445/rubicure)
6
6
  [![Coverage Status](https://coveralls.io/repos/sue445/rubicure/badge.png)](https://coveralls.io/r/sue445/rubicure)
7
7
  [![Inline docs](http://inch-ci.org/github/sue445/rubicure.svg?branch=master)](http://inch-ci.org/github/sue445/rubicure)
@@ -23,7 +23,7 @@ see followings
23
23
  ## Requirements
24
24
 
25
25
  * ruby >= 2.2.2
26
- * more: [.travis.yml](.travis.yml)
26
+ * more: [.github/workflows/test.yml](.github/workflows/test.yml)
27
27
 
28
28
  ## Installation
29
29
 
@@ -119,10 +119,10 @@ and [more aliases!](config/series.yml)
119
119
 
120
120
  ```ruby
121
121
  >> Precure.now
122
- => {:series_name=>"star_twinkle", :title=>"スター☆トゥインクルプリキュア", :started_date=>Sun, 03 Feb 2019, :girls=>["cure_star", "cure_milky", "cure_soleil", "cure_selene", "cure_cosmo"]}
122
+ => {:series_name=>"star_twinkle", :title=>"スター☆トゥインクルプリキュア", :started_date=>Sun, 03 Feb 2019, :ended_date=>Sun, 26 Jan 2020, :girls=>["cure_star", "cure_milky", "cure_soleil", "cure_selene", "cure_cosmo"]}
123
123
 
124
124
  >> Precure.current
125
- => {:series_name=>"star_twinkle", :title=>"スター☆トゥインクルプリキュア", :started_date=>Sun, 03 Feb 2019, :girls=>["cure_star", "cure_milky", "cure_soleil", "cure_selene", "cure_cosmo"]}
125
+ => {:series_name=>"star_twinkle", :title=>"スター☆トゥインクルプリキュア", :started_date=>Sun, 03 Feb 2019, :ended_date=>Sun, 26 Jan 2020, :girls=>["cure_star", "cure_milky", "cure_soleil", "cure_selene", "cure_cosmo"]}
126
126
 
127
127
  # -2013/1/27 : smile precure
128
128
  # 2013/2/5 - : dokidoki precure
@@ -208,7 +208,7 @@ star_twinkle: &star_twinkle
208
208
  series_name: star_twinkle
209
209
  title: スター☆トゥインクルプリキュア
210
210
  started_date: 2019-02-03
211
- # ended_date: 2020-01-
211
+ ended_date: 2020-01-26
212
212
  girls:
213
213
  - cure_star
214
214
  - cure_milky
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "1.2.5".freeze
2
+ VERSION = "1.2.6".freeze
3
3
  end
@@ -51,5 +51,6 @@ Gem::Specification.new do |spec|
51
51
  spec.add_development_dependency "rubocop-rspec", "1.25.1"
52
52
  spec.add_development_dependency "rubydoctest"
53
53
  spec.add_development_dependency "simplecov"
54
+ spec.add_development_dependency "unparser", ">= 0.4.5"
54
55
  spec.add_development_dependency "yard"
55
56
  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.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-17 00:00:00.000000000 Z
11
+ date: 2020-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -248,6 +248,20 @@ dependencies:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: unparser
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: 0.4.5
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: 0.4.5
251
265
  - !ruby/object:Gem::Dependency
252
266
  name: yard
253
267
  requirement: !ruby/object:Gem::Requirement
@@ -270,10 +284,10 @@ extensions: []
270
284
  extra_rdoc_files: []
271
285
  files:
272
286
  - ".coveralls.yml"
287
+ - ".github/workflows/test.yml"
273
288
  - ".gitignore"
274
289
  - ".rspec"
275
290
  - ".rubocop.yml"
276
- - ".travis.yml"
277
291
  - ".yardopts"
278
292
  - CHANGELOG.md
279
293
  - Gemfile
@@ -353,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
353
367
  - !ruby/object:Gem::Version
354
368
  version: '0'
355
369
  requirements: []
356
- rubygems_version: 3.0.6
370
+ rubygems_version: 3.1.2
357
371
  signing_key:
358
372
  specification_version: 4
359
373
  summary: All about Japanese battle heroine "Pretty Cure (Precure)".
@@ -1,54 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.2
4
- - 2.3
5
- - 2.4
6
- - 2.5
7
- - 2.6
8
- - ruby-head
9
- bundler_args: "--jobs=2"
10
- cache: bundler
11
- before_install:
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
14
- before_script:
15
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
16
- - chmod +x ./cc-test-reporter
17
- - ./cc-test-reporter before-build
18
- script:
19
- - RUBYOPT=$RSPEC_RUBYOPT bundle exec rspec
20
- - bundle exec ruby examples/all.rb
21
- after_script:
22
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
23
- stages:
24
- - test
25
- - lint
26
- jobs:
27
- include:
28
- - stage: lint
29
- rvm: 2.2.2
30
- name: rubocop
31
- script: bundle exec rubocop
32
- - stage: lint
33
- rvm: 2.2.2
34
- name: rubydoctest
35
- script: bundle exec rubydoctest README.md
36
- branches:
37
- only:
38
- - master
39
- notifications:
40
- email: false
41
- slack:
42
- secure: M8VEihBaynGJdlXu7TvhgqIDfpHvSP5H0RCLsvtaQ5rNoz6yrOTRcLBCWazrJopD1CvKbcFTVVLlS86fxyW9+pYhYc81mXlhtyPLNx7yXQ+Uhfrxp7/e2QLEMZEgbk2Z7XglN4rJ+t4QhWjsPL0ohJk+t1DSdFtEPK3o3RyoRrE=
43
- matrix:
44
- allow_failures:
45
- - rvm: ruby-head
46
- include:
47
- - rvm: 2.6
48
- env: RSPEC_RUBYOPT="--jit"
49
- - rvm: ruby-head
50
- env: RSPEC_RUBYOPT="--jit"
51
- sudo: false
52
- env:
53
- global:
54
- - CC_TEST_REPORTER_ID=8e9db6ee5f3818e87287a6393086c2ccb9b1b83106c5bfb972211abefd2fe162