cureutils 1.2.0 → 1.5.0

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: 835c2c923012676463e50fbf43d8d23abcc71c8939910f1165b325b808f2632c
4
- data.tar.gz: 44ef4670a61a430d480fe47a5411f815e77e056d7420923e0e7e5f9a39d0e199
3
+ metadata.gz: f4362d3b96a4f38a29517b81dfb7deaf0b5601e65654b58b7f35cd960c91ff95
4
+ data.tar.gz: 3be7a6f62e35eb66736c6f0e2469943b798a9269cc2f1dbc6c59aaf38d94cbc2
5
5
  SHA512:
6
- metadata.gz: ba0da1a2e4dda847983aaa6dd9d98f25377842eb3f0bd38abdfa7aaa0ea85551d7ef86f1ae1d6e36ac2d27062724a23571997182e7e92fd512e0f4c76f7e3600
7
- data.tar.gz: 9c6001dec8777a99f35237586441b7e663a72f000cabe15b17342917266af54329fe904e10dc23ff74a5abb665f119af14785038512094981d55505f4ea22624
6
+ metadata.gz: ae332d634274a1ffedadd7a8fe6e1513095ac5774218046ede214f6ba59ffed1dc4ce8e6dff165bc61c32a805222d342abea004d1c6c3683f7892bfc4343fd8f
7
+ data.tar.gz: 52edb4c80b42f391bfeac004fe38a5f61ae86bc44c505c2d640f8be285627cc36c878a89790f29b458a7c52955f464ea25d4227931b0995b4271c784d09f6ea3
@@ -0,0 +1,60 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - 'bugfix/**'
8
+ - 'feature/**'
9
+ pull_request:
10
+ types:
11
+ - opened
12
+ - synchronize
13
+ - reopened
14
+ schedule:
15
+ - cron: "0 0 * * 6"
16
+
17
+ env:
18
+ RUBYOPT: -EUTF-8
19
+
20
+ # Some configures are inspired by https://github.com/sue445/rubicure/blob/master/.github/workflows/test.yml
21
+ jobs:
22
+ test:
23
+ runs-on: ubuntu-latest
24
+ container: ${{ matrix.ruby }}
25
+
26
+ strategy:
27
+ matrix:
28
+ ruby:
29
+ - ruby:2.6
30
+ - ruby:2.7
31
+ - ruby:3.0
32
+ - ruby:3.1
33
+ - rubylang/ruby:master-nightly-bionic
34
+ include:
35
+ - ruby: rubylang/ruby:master-nightly-bionic
36
+ allow_failures: "true"
37
+
38
+ steps:
39
+ - uses: actions/checkout@v2
40
+
41
+ - name: Cache vendor/bundle
42
+ uses: actions/cache@v1
43
+ id: cache_gem
44
+ with:
45
+ path: vendor/bundle
46
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
47
+ restore-keys: |
48
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
49
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
50
+
51
+ - name: bundle update
52
+ run: |
53
+ set -xe
54
+ bundle config path vendor/bundle
55
+ bundle update --jobs $(nproc) --retry 3
56
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
57
+
58
+ - run: bundle exec rspec
59
+ timeout-minutes: 1
60
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
  /tmp/
10
10
  /tags
11
11
  /.byebug_history
12
+ /.ruby-version
13
+ /vendor
data/.travis.yml CHANGED
@@ -6,6 +6,7 @@ rvm:
6
6
  - 2.4
7
7
  - 2.5
8
8
  - 2.6
9
+ - 2.7
9
10
  - ruby-head
10
11
 
11
12
  before_install:
data/Dockerfile ADDED
@@ -0,0 +1,17 @@
1
+ FROM ruby:2.7.0
2
+ MAINTAINER Yamada, Yasuhiro <yamada@gr3.ie>
3
+ RUN apt update && \
4
+ apt install -y locales && \
5
+ localedef -f UTF-8 -i ja_JP ja_JP.utf8 && \
6
+ cd ~ && \
7
+ git clone https://github.com/greymd/cureutils.git && \
8
+ cd cureutils && \
9
+ gem install bundler rake && \
10
+ bundle install && \
11
+ rake build && \
12
+ find ./pkg/ -type f | head -n 1 | xargs gem install && \
13
+ cd .. && \
14
+ rm -rf cureutils
15
+ ENV LANG ja_JP.UTF-8
16
+ ENV LANGUAGE ja_JP.UTF-8
17
+ ENV LC_ALL ja_JP.UTF-8
data/Gemfile CHANGED
@@ -2,7 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in cureutils.gemspec
4
4
  gemspec
5
-
6
- if Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.3.0')
7
- gem 'backport_dig'
8
- end
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  <p align="center">
7
7
  <a href=https://badge.fury.io/rb/cureutils><img src="https://badge.fury.io/rb/cureutils.svg" alt="Gem Version" /></a>
8
- <a href=https://travis-ci.org/greymd/cureutils><img src="https://travis-ci.org/greymd/cureutils.svg?branch=master" alt="Build Status" /></a>
8
+ <a href=https://github.com/greymd/cureutils/actions?query=workflow%3Atest><img src="https://github.com/greymd/cureutils/workflows/test/badge.svg?branch=master" alt="Build Status" /></a>
9
9
  </p>
10
10
 
11
11
  <p align="center">
@@ -306,5 +306,8 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/greymd
306
306
 
307
307
  ## License
308
308
 
309
+ ### Source code
309
310
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
310
311
 
312
+ ### Logo
313
+ <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />The logo is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.
data/cureutils.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = 'cureutils'
8
8
  spec.version = Cureutils::Version
9
9
  spec.authors = ['Yamada, Yasuhiro']
10
- spec.email = ['greengregson@gmail.com']
10
+ spec.email = ['yamada@gr3.ie']
11
11
  spec.summary = 'Useful commands for battle heroine Pretty Cure (Precure).'
12
12
  spec.description = 'Useful command line tool for Japanese battle heroine Pretty Cure (Precure).'
13
13
  spec.homepage = 'https://github.com/greymd/cureutils'
@@ -16,12 +16,12 @@ Gem::Specification.new do |spec|
16
16
  spec.bindir = 'bin'
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ['lib']
19
- spec.required_ruby_version = '>= 2.2.2'
19
+ spec.required_ruby_version = '>= 2.6'
20
20
  spec.add_development_dependency 'bundler', '>= 1.11'
21
- spec.add_development_dependency 'rake', '~> 10.0'
21
+ spec.add_development_dependency 'rake', '>= 12.3.3'
22
22
  spec.add_development_dependency 'rspec', '~> 3.0'
23
23
  spec.add_dependency 'thor', ['>= 0.19.1', '< 2']
24
- spec.add_dependency 'rubicure', '~> 1.2.0'
24
+ spec.add_dependency 'rubicure', '~> 3.0.0'
25
25
  spec.add_dependency 'colorize', '~> 0.7.7'
26
26
  spec.add_dependency 'activesupport', '>= 5.0.0'
27
27
  end
@@ -2,7 +2,7 @@
2
2
  module Cureutils
3
3
  class Version
4
4
  MAJOR = 1
5
- MINOR = 2
5
+ MINOR = 5
6
6
  PATCH = 0
7
7
  PRE = nil
8
8
 
data/zsh-completion/_cure CHANGED
@@ -20,6 +20,7 @@ subcommands=(
20
20
  # ./bin/cure precures -m |./bin/cure tr '[:precure_name:]' '[:girl_name:]' | grep '[[:alnum:]]' | sort | uniq | sed "s/.*/\t'&'/"
21
21
  precure_girl_names=(
22
22
  'cure_ace'
23
+ 'cure_amour'
23
24
  'cure_ange'
24
25
  'cure_aqua'
25
26
  'cure_beat'
@@ -29,31 +30,40 @@ precure_girl_names=(
29
30
  'cure_bloom'
30
31
  'cure_blossom'
31
32
  'cure_chocolat'
33
+ 'cure_coral'
34
+ 'cure_cosmo'
32
35
  'cure_custard'
33
36
  'cure_diamond'
34
37
  'cure_dream'
38
+ 'cure_earth'
35
39
  'cure_echo'
36
40
  'cure_egret'
37
41
  'cure_etoile'
38
42
  'cure_felice'
43
+ 'cure_flamingo'
39
44
  'cure_flora'
45
+ 'cure_fontaine'
40
46
  'cure_fortune'
41
47
  'cure_gelato'
48
+ 'cure_grace'
42
49
  'cure_happy'
43
50
  'cure_heart'
44
51
  'cure_honey'
45
52
  'cure_lemonade'
46
53
  'cure_lovely'
47
54
  'cure_macaron'
55
+ 'cure_macherie'
48
56
  'cure_magical'
49
57
  'cure_march'
50
58
  'cure_marine'
51
59
  'cure_melody'
52
60
  'cure_mermaid'
61
+ 'cure_milky'
53
62
  'cure_mint'
54
63
  'cure_miracle'
55
64
  'cure_moonlight'
56
65
  'cure_muse'
66
+ 'cure_papaya'
57
67
  'cure_parfait'
58
68
  'cure_passion'
59
69
  'cure_peace'
@@ -64,6 +74,11 @@ precure_girl_names=(
64
74
  'cure_rosetta'
65
75
  'cure_rouge'
66
76
  'cure_scarlet'
77
+ 'cure_selene'
78
+ 'cure_soleil'
79
+ 'cure_sparkle'
80
+ 'cure_star'
81
+ 'cure_summer'
67
82
  'cure_sunny'
68
83
  'cure_sunshine'
69
84
  'cure_sword'
@@ -73,10 +88,6 @@ precure_girl_names=(
73
88
  'cure_yell'
74
89
  'milky_rose'
75
90
  'shiny_luminous'
76
- 'cure_star'
77
- 'cure_milky'
78
- 'cure_soleil'
79
- 'cure_selene'
80
91
  )
81
92
 
82
93
  # ruby -r rubicure -e 'cures = [Cure.magical, Cure.miracle, Cure.felice]; cures.map{|c| c.transform_styles.map{|k, _v| k}}.uniq.each{|v| puts v}'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cureutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamada, Yasuhiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-11 00:00:00.000000000 Z
11
+ date: 2022-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: 1.2.0
81
+ version: 3.0.0
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: 1.2.0
88
+ version: 3.0.0
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: colorize
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -116,15 +116,17 @@ dependencies:
116
116
  version: 5.0.0
117
117
  description: Useful command line tool for Japanese battle heroine Pretty Cure (Precure).
118
118
  email:
119
- - greengregson@gmail.com
119
+ - yamada@gr3.ie
120
120
  executables:
121
121
  - cure
122
122
  extensions: []
123
123
  extra_rdoc_files: []
124
124
  files:
125
+ - ".github/workflows/test.yml"
125
126
  - ".gitignore"
126
127
  - ".rspec"
127
128
  - ".travis.yml"
129
+ - Dockerfile
128
130
  - Gemfile
129
131
  - LICENSE.txt
130
132
  - README.md
@@ -157,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
159
  requirements:
158
160
  - - ">="
159
161
  - !ruby/object:Gem::Version
160
- version: 2.2.2
162
+ version: '2.6'
161
163
  required_rubygems_version: !ruby/object:Gem::Requirement
162
164
  requirements:
163
165
  - - ">="
@@ -165,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
167
  version: '0'
166
168
  requirements: []
167
169
  rubyforge_project:
168
- rubygems_version: 2.7.7
170
+ rubygems_version: 2.7.6
169
171
  signing_key:
170
172
  specification_version: 4
171
173
  summary: Useful commands for battle heroine Pretty Cure (Precure).