irasutoya-cli 0.2.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +30 -0
- data/.github/workflows/release.yaml +41 -0
- data/.github/workflows/test.yml +41 -0
- data/.gitignore +57 -0
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -0
- data/Gemfile.lock +62 -53
- data/Guardfile +1 -1
- data/README.md +5 -6
- data/irasutoya-cli.gemspec +14 -14
- data/lib/irasutoya/cli/version.rb +1 -1
- data/lib/irasutoya/cli.rb +2 -1
- metadata +28 -12
- data/.circleci/config.yml +0 -61
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f78c8d4ec507b3e8fbe5e70df37d1458aef58fb839508b8a2e20a389d13d305
|
|
4
|
+
data.tar.gz: a646a40557250b48317257eb2f8c2dbf908753e3952854df5974767b1e98f08a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f754bb78b306b4028742244873361c2f4e1abc4fe24968c88d23a9bc58016685c5fb7bdfb16641c055c55ba75fe71862620e6fde843adad077e2ef4cbe7e98a
|
|
7
|
+
data.tar.gz: 64ae3e460b9014891fb5929722c927fe0f942e887f8bd268678b0591cf611aebb38f51dea34ebbee01c65ca9859d0d39a4beb33e689f98e97f1b42caac109ee8
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: bundler
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: daily
|
|
7
|
+
time: "12:00"
|
|
8
|
+
timezone: Asia/Tokyo
|
|
9
|
+
open-pull-requests-limit: 20
|
|
10
|
+
reviewers:
|
|
11
|
+
- unhappychoice
|
|
12
|
+
allow:
|
|
13
|
+
- dependency-type: direct
|
|
14
|
+
- dependency-type: indirect
|
|
15
|
+
ignore:
|
|
16
|
+
- dependency-name: codecov
|
|
17
|
+
versions:
|
|
18
|
+
- ">= 0.2.14.a, < 0.2.15"
|
|
19
|
+
- dependency-name: rubocop
|
|
20
|
+
versions:
|
|
21
|
+
- 1.12.1
|
|
22
|
+
- dependency-name: listen
|
|
23
|
+
versions:
|
|
24
|
+
- 3.5.0
|
|
25
|
+
- dependency-name: codecov
|
|
26
|
+
versions:
|
|
27
|
+
- 0.5.0
|
|
28
|
+
- dependency-name: regexp_parser
|
|
29
|
+
versions:
|
|
30
|
+
- 2.1.1
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
version:
|
|
7
|
+
description: Release version
|
|
8
|
+
required: true
|
|
9
|
+
type: choice
|
|
10
|
+
options:
|
|
11
|
+
- major
|
|
12
|
+
- minor
|
|
13
|
+
- patch
|
|
14
|
+
jobs:
|
|
15
|
+
push:
|
|
16
|
+
name: Push gem to RubyGems.org
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
environment:
|
|
19
|
+
name: release
|
|
20
|
+
permissions:
|
|
21
|
+
id-token: write
|
|
22
|
+
contents: write
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v4
|
|
25
|
+
- name: Set up Ruby
|
|
26
|
+
uses: ruby/setup-ruby@v1
|
|
27
|
+
with:
|
|
28
|
+
bundler-cache: true
|
|
29
|
+
ruby-version: .ruby-version
|
|
30
|
+
- name: Setup Git
|
|
31
|
+
run: |
|
|
32
|
+
git config --global user.email "unhappychoice@gmail.com"
|
|
33
|
+
git config --global user.name "unhappychoice"
|
|
34
|
+
- name: Install gem-release
|
|
35
|
+
run: gem install gem-release
|
|
36
|
+
- name: Bump version
|
|
37
|
+
run: |
|
|
38
|
+
gem bump --version ${{inputs.version}} --message ':tada: Bump %{name} to %{version}'
|
|
39
|
+
bundle config set frozen false && bundle install
|
|
40
|
+
git add . && git commit --amend --no-edit
|
|
41
|
+
- uses: rubygems/release-gem@v1
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: test
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
lint:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- uses: actions/checkout@master
|
|
10
|
+
- name: Set up Ruby
|
|
11
|
+
uses: ruby/setup-ruby@v1
|
|
12
|
+
with:
|
|
13
|
+
ruby-version: .ruby-version
|
|
14
|
+
- name: Install bundler
|
|
15
|
+
run: gem install bundler
|
|
16
|
+
- name: Install dependencies
|
|
17
|
+
run: bundle install --jobs 4
|
|
18
|
+
- name: Run lint
|
|
19
|
+
run: bundle exec rubocop lib
|
|
20
|
+
test:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
strategy:
|
|
23
|
+
matrix:
|
|
24
|
+
ruby: ['3.4.4', '3.3.8', '3.2.8', '3.1.7']
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@master
|
|
27
|
+
- name: Set up Ruby
|
|
28
|
+
uses: ruby/setup-ruby@v1
|
|
29
|
+
with:
|
|
30
|
+
ruby-version: ${{ matrix.ruby }}
|
|
31
|
+
rubygems: latest
|
|
32
|
+
- name: Install bundler
|
|
33
|
+
run: gem install bundler
|
|
34
|
+
- name: Install dependencies
|
|
35
|
+
run: bundle install --jobs 4
|
|
36
|
+
- name: Run test
|
|
37
|
+
env:
|
|
38
|
+
RAILS_ENV: test
|
|
39
|
+
COVERAGE: true
|
|
40
|
+
CODECOV_TOKEN: d9091f65-2e14-4029-86e6-f6ec9c59ecec
|
|
41
|
+
run: bundle exec rspec
|
data/.gitignore
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Created by https://www.gitignore.io/api/ruby
|
|
2
|
+
# Edit at https://www.gitignore.io/?templates=ruby
|
|
3
|
+
|
|
4
|
+
### Ruby ###
|
|
5
|
+
*.gem
|
|
6
|
+
*.rbc
|
|
7
|
+
/.config
|
|
8
|
+
/coverage/
|
|
9
|
+
/InstalledFiles
|
|
10
|
+
/pkg/
|
|
11
|
+
/spec/reports/
|
|
12
|
+
/spec/examples.txt
|
|
13
|
+
/test/tmp/
|
|
14
|
+
/test/version_tmp/
|
|
15
|
+
/tmp/
|
|
16
|
+
|
|
17
|
+
# Used by dotenv library to load environment variables.
|
|
18
|
+
# .env
|
|
19
|
+
|
|
20
|
+
## Specific to RubyMotion:
|
|
21
|
+
.dat*
|
|
22
|
+
.repl_history
|
|
23
|
+
build/
|
|
24
|
+
*.bridgesupport
|
|
25
|
+
build-iPhoneOS/
|
|
26
|
+
build-iPhoneSimulator/
|
|
27
|
+
|
|
28
|
+
## Specific to RubyMotion (use of CocoaPods):
|
|
29
|
+
#
|
|
30
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
|
31
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
|
32
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
|
33
|
+
#
|
|
34
|
+
# vendor/Pods/
|
|
35
|
+
|
|
36
|
+
## Documentation cache and generated files:
|
|
37
|
+
/.yardoc/
|
|
38
|
+
/_yardoc/
|
|
39
|
+
/doc/
|
|
40
|
+
/rdoc/
|
|
41
|
+
|
|
42
|
+
## Environment normalization:
|
|
43
|
+
/.bundle/
|
|
44
|
+
/vendor/bundle
|
|
45
|
+
/lib/bundler/man/
|
|
46
|
+
vendor/bundle
|
|
47
|
+
|
|
48
|
+
# for a library or gem, you might want to ignore these files since the code is
|
|
49
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
50
|
+
# Gemfile.lock
|
|
51
|
+
# .ruby-version
|
|
52
|
+
# .ruby-gemset
|
|
53
|
+
|
|
54
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
|
55
|
+
.rvmrc
|
|
56
|
+
|
|
57
|
+
# End of https://www.gitignore.io/api/ruby
|
data/.rubocop.yml
CHANGED
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.4.4
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
irasutoya-cli (0.
|
|
4
|
+
irasutoya-cli (1.0.0)
|
|
5
5
|
irasutoya
|
|
6
6
|
terminal_image
|
|
7
7
|
thor
|
|
@@ -9,23 +9,25 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
ast (2.4.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
simplecov
|
|
12
|
+
ast (2.4.2)
|
|
13
|
+
base64 (0.2.0)
|
|
14
|
+
codecov (0.6.0)
|
|
15
|
+
simplecov (>= 0.15, < 0.22)
|
|
16
16
|
coderay (1.1.3)
|
|
17
|
-
diff-lcs (1.
|
|
18
|
-
docile (1.
|
|
19
|
-
fastimage (2.
|
|
20
|
-
ffi (1.
|
|
21
|
-
formatador (
|
|
22
|
-
guard (2.
|
|
17
|
+
diff-lcs (1.6.0)
|
|
18
|
+
docile (1.4.1)
|
|
19
|
+
fastimage (2.4.0)
|
|
20
|
+
ffi (1.17.1)
|
|
21
|
+
formatador (1.1.0)
|
|
22
|
+
guard (2.19.1)
|
|
23
23
|
formatador (>= 0.2.4)
|
|
24
24
|
listen (>= 2.7, < 4.0)
|
|
25
|
+
logger (~> 1.6)
|
|
25
26
|
lumberjack (>= 1.0.12, < 2.0)
|
|
26
27
|
nenv (~> 0.1)
|
|
27
28
|
notiffany (~> 0.0)
|
|
28
|
-
|
|
29
|
+
ostruct (~> 0.6)
|
|
30
|
+
pry (>= 0.13.0)
|
|
29
31
|
shellany (~> 0.0)
|
|
30
32
|
thor (>= 0.18.1)
|
|
31
33
|
guard-compat (1.2.1)
|
|
@@ -33,76 +35,83 @@ GEM
|
|
|
33
35
|
guard (~> 2.1)
|
|
34
36
|
guard-compat (~> 1.1)
|
|
35
37
|
rspec (>= 2.99.0, < 4.0)
|
|
36
|
-
guard-rubocop (1.
|
|
38
|
+
guard-rubocop (1.5.0)
|
|
37
39
|
guard (~> 2.0)
|
|
38
40
|
rubocop (< 2.0)
|
|
39
41
|
irasutoya (1.1.0)
|
|
40
42
|
nokogiri
|
|
41
|
-
|
|
42
|
-
listen (3.2.1)
|
|
43
|
+
listen (3.9.0)
|
|
43
44
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
44
45
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
logger (1.6.6)
|
|
47
|
+
lumberjack (1.2.10)
|
|
48
|
+
method_source (1.1.0)
|
|
49
|
+
mini_portile2 (2.8.9)
|
|
48
50
|
nenv (0.3.0)
|
|
49
|
-
nokogiri (1.
|
|
50
|
-
mini_portile2 (~> 2.
|
|
51
|
+
nokogiri (1.18.8)
|
|
52
|
+
mini_portile2 (~> 2.8.2)
|
|
53
|
+
racc (~> 1.4)
|
|
51
54
|
notiffany (0.1.3)
|
|
52
55
|
nenv (~> 0.1)
|
|
53
56
|
shellany (~> 0.0)
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
ostruct (0.6.1)
|
|
58
|
+
parallel (1.24.0)
|
|
59
|
+
parser (3.3.7.1)
|
|
56
60
|
ast (~> 2.4.1)
|
|
57
|
-
|
|
61
|
+
racc
|
|
62
|
+
pry (0.15.2)
|
|
58
63
|
coderay (~> 1.1)
|
|
59
64
|
method_source (~> 1.0)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
rb-
|
|
65
|
+
racc (1.8.1)
|
|
66
|
+
rainbow (3.1.1)
|
|
67
|
+
rake (13.2.1)
|
|
68
|
+
rb-fsevent (0.11.2)
|
|
69
|
+
rb-inotify (0.11.1)
|
|
64
70
|
ffi (~> 1.0)
|
|
65
|
-
regexp_parser (
|
|
66
|
-
rexml (3.
|
|
67
|
-
rspec (3.
|
|
68
|
-
rspec-core (~> 3.
|
|
69
|
-
rspec-expectations (~> 3.
|
|
70
|
-
rspec-mocks (~> 3.
|
|
71
|
-
rspec-core (3.
|
|
72
|
-
rspec-support (~> 3.
|
|
73
|
-
rspec-expectations (3.
|
|
71
|
+
regexp_parser (2.10.0)
|
|
72
|
+
rexml (3.4.1)
|
|
73
|
+
rspec (3.13.0)
|
|
74
|
+
rspec-core (~> 3.13.0)
|
|
75
|
+
rspec-expectations (~> 3.13.0)
|
|
76
|
+
rspec-mocks (~> 3.13.0)
|
|
77
|
+
rspec-core (3.13.3)
|
|
78
|
+
rspec-support (~> 3.13.0)
|
|
79
|
+
rspec-expectations (3.13.3)
|
|
74
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
75
|
-
rspec-support (~> 3.
|
|
76
|
-
rspec-mocks (3.
|
|
81
|
+
rspec-support (~> 3.13.0)
|
|
82
|
+
rspec-mocks (3.13.2)
|
|
77
83
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
78
|
-
rspec-support (~> 3.
|
|
79
|
-
rspec-support (3.
|
|
80
|
-
rubocop (1.2
|
|
84
|
+
rspec-support (~> 3.13.0)
|
|
85
|
+
rspec-support (3.13.2)
|
|
86
|
+
rubocop (1.28.2)
|
|
81
87
|
parallel (~> 1.10)
|
|
82
|
-
parser (>=
|
|
88
|
+
parser (>= 3.1.0.0)
|
|
83
89
|
rainbow (>= 2.2.2, < 4.0)
|
|
84
|
-
regexp_parser (>= 1.8)
|
|
90
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
85
91
|
rexml
|
|
86
|
-
rubocop-ast (>= 1.0.
|
|
92
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
|
87
93
|
ruby-progressbar (~> 1.7)
|
|
88
|
-
unicode-display_width (>= 1.4.0, <
|
|
89
|
-
rubocop-ast (1.
|
|
90
|
-
parser (>=
|
|
91
|
-
ruby-progressbar (1.
|
|
94
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
95
|
+
rubocop-ast (1.17.0)
|
|
96
|
+
parser (>= 3.1.1.0)
|
|
97
|
+
ruby-progressbar (1.13.0)
|
|
92
98
|
shellany (0.0.1)
|
|
93
|
-
simplecov (0.
|
|
99
|
+
simplecov (0.21.2)
|
|
94
100
|
docile (~> 1.1)
|
|
95
101
|
simplecov-html (~> 0.11)
|
|
96
|
-
|
|
102
|
+
simplecov_json_formatter (~> 0.1)
|
|
103
|
+
simplecov-html (0.13.1)
|
|
104
|
+
simplecov_json_formatter (0.1.4)
|
|
97
105
|
terminal_image (0.3.0)
|
|
98
106
|
fastimage
|
|
99
|
-
thor (1.
|
|
100
|
-
unicode-display_width (
|
|
107
|
+
thor (1.2.2)
|
|
108
|
+
unicode-display_width (2.6.0)
|
|
101
109
|
|
|
102
110
|
PLATFORMS
|
|
103
111
|
ruby
|
|
104
112
|
|
|
105
113
|
DEPENDENCIES
|
|
114
|
+
base64
|
|
106
115
|
bundler (~> 2.0)
|
|
107
116
|
codecov
|
|
108
117
|
guard
|
|
@@ -115,4 +124,4 @@ DEPENDENCIES
|
|
|
115
124
|
simplecov
|
|
116
125
|
|
|
117
126
|
BUNDLED WITH
|
|
118
|
-
2.
|
|
127
|
+
2.4.14
|
data/Guardfile
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
#
|
|
18
18
|
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
|
19
19
|
|
|
20
|
-
#
|
|
20
|
+
# NOTE: The cmd option is now required due to the increasing number of ways
|
|
21
21
|
# rspec may be run, below are examples of the most common uses.
|
|
22
22
|
# * bundler: 'bundle exec rspec'
|
|
23
23
|
# * bundler binstubs: 'bin/rspec'
|
data/README.md
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
# Irasutoya::Cli
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/irasutoya-cli)
|
|
4
|
-
[](https://libraries.io/github/unhappychoice/irasutoya-cli)
|
|
4
|
+
[](https://codeclimate.com/github/irasutoya-tools/irasutoya-cli)
|
|
5
|
+
[](https://codecov.io/gh/irasutoya-tools/irasutoya-cli)
|
|
6
|
+
[](https://libraries.io/github/irasutoya-tools/irasutoya-cli)
|
|
8
7
|

|
|
9
|
-

|
|
10
9
|
|
|
11
10
|

|
|
12
11
|
|
|
@@ -30,7 +29,7 @@ Commands:
|
|
|
30
29
|
|
|
31
30
|
## Contributing
|
|
32
31
|
|
|
33
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
32
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/irasutoya-tools/irasutoya-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
34
33
|
|
|
35
34
|
## License
|
|
36
35
|
|
data/irasutoya-cli.gemspec
CHANGED
|
@@ -5,20 +5,19 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
5
5
|
require 'irasutoya/cli/version'
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |spec|
|
|
8
|
-
spec.name
|
|
9
|
-
spec.version
|
|
10
|
-
spec.required_ruby_version
|
|
11
|
-
spec.authors
|
|
12
|
-
spec.email
|
|
13
|
-
|
|
14
|
-
spec.
|
|
15
|
-
spec.
|
|
16
|
-
spec.
|
|
17
|
-
spec.
|
|
18
|
-
|
|
19
|
-
spec.metadata['
|
|
20
|
-
spec.metadata['
|
|
21
|
-
spec.metadata['changelog_uri'] = 'https://github.com/unhappychoice/irasutoya-cli'
|
|
8
|
+
spec.name = 'irasutoya-cli'
|
|
9
|
+
spec.version = Irasutoya::Cli::VERSION
|
|
10
|
+
spec.required_ruby_version = '>= 3.1'
|
|
11
|
+
spec.authors = ['Yuji Ueki']
|
|
12
|
+
spec.email = ['unhappychoice@gmail.com']
|
|
13
|
+
spec.summary = 'CLI tool for irasutoya'
|
|
14
|
+
spec.description = 'CLI tool for irasutoya'
|
|
15
|
+
spec.homepage = 'https://github.com/irasutoya-tools/irasutoya-cli'
|
|
16
|
+
spec.license = 'MIT'
|
|
17
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
|
18
|
+
spec.metadata['source_code_uri'] = 'https://github.com/irasutoya-tools/irasutoya-cli'
|
|
19
|
+
spec.metadata['changelog_uri'] = 'https://github.com/irasutoya-tools/irasutoya-cli'
|
|
20
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
22
21
|
|
|
23
22
|
# Specify which files should be added to the gem when it is released.
|
|
24
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -33,6 +32,7 @@ Gem::Specification.new do |spec|
|
|
|
33
32
|
spec.add_dependency 'terminal_image'
|
|
34
33
|
spec.add_dependency 'thor'
|
|
35
34
|
|
|
35
|
+
spec.add_development_dependency 'base64'
|
|
36
36
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
|
37
37
|
spec.add_development_dependency 'codecov'
|
|
38
38
|
spec.add_development_dependency 'guard'
|
data/lib/irasutoya/cli.rb
CHANGED
|
@@ -8,6 +8,7 @@ require 'thor'
|
|
|
8
8
|
module Irasutoya
|
|
9
9
|
module Cli
|
|
10
10
|
class Error < StandardError; end
|
|
11
|
+
|
|
11
12
|
class Runner < Thor
|
|
12
13
|
desc 'random', 'Gives you random irasutoya image'
|
|
13
14
|
def random
|
|
@@ -17,7 +18,7 @@ module Irasutoya
|
|
|
17
18
|
desc 'search {query}', 'Gives you 3 irasutoya images by given query'
|
|
18
19
|
def search(query)
|
|
19
20
|
Irasutoya::Irasuto
|
|
20
|
-
.search(query:
|
|
21
|
+
.search(query:)
|
|
21
22
|
.take(3)
|
|
22
23
|
.flat_map(&:fetch_irasuto)
|
|
23
24
|
.compact
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: irasutoya-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuji Ueki
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: irasutoya
|
|
@@ -52,6 +51,20 @@ dependencies:
|
|
|
52
51
|
- - ">="
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
53
|
version: '0'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: base64
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
type: :development
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
55
68
|
- !ruby/object:Gem::Dependency
|
|
56
69
|
name: bundler
|
|
57
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -186,9 +199,13 @@ executables:
|
|
|
186
199
|
extensions: []
|
|
187
200
|
extra_rdoc_files: []
|
|
188
201
|
files:
|
|
189
|
-
- ".
|
|
202
|
+
- ".github/dependabot.yml"
|
|
203
|
+
- ".github/workflows/release.yaml"
|
|
204
|
+
- ".github/workflows/test.yml"
|
|
205
|
+
- ".gitignore"
|
|
190
206
|
- ".rspec"
|
|
191
207
|
- ".rubocop.yml"
|
|
208
|
+
- ".ruby-version"
|
|
192
209
|
- CODE_OF_CONDUCT.md
|
|
193
210
|
- Gemfile
|
|
194
211
|
- Gemfile.lock
|
|
@@ -201,14 +218,14 @@ files:
|
|
|
201
218
|
- irasutoya-cli.gemspec
|
|
202
219
|
- lib/irasutoya/cli.rb
|
|
203
220
|
- lib/irasutoya/cli/version.rb
|
|
204
|
-
homepage: https://github.com/
|
|
221
|
+
homepage: https://github.com/irasutoya-tools/irasutoya-cli
|
|
205
222
|
licenses:
|
|
206
223
|
- MIT
|
|
207
224
|
metadata:
|
|
208
|
-
homepage_uri: https://github.com/
|
|
209
|
-
source_code_uri: https://github.com/
|
|
210
|
-
changelog_uri: https://github.com/
|
|
211
|
-
|
|
225
|
+
homepage_uri: https://github.com/irasutoya-tools/irasutoya-cli
|
|
226
|
+
source_code_uri: https://github.com/irasutoya-tools/irasutoya-cli
|
|
227
|
+
changelog_uri: https://github.com/irasutoya-tools/irasutoya-cli
|
|
228
|
+
rubygems_mfa_required: 'true'
|
|
212
229
|
rdoc_options: []
|
|
213
230
|
require_paths:
|
|
214
231
|
- lib
|
|
@@ -216,15 +233,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
216
233
|
requirements:
|
|
217
234
|
- - ">="
|
|
218
235
|
- !ruby/object:Gem::Version
|
|
219
|
-
version: '
|
|
236
|
+
version: '3.1'
|
|
220
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
238
|
requirements:
|
|
222
239
|
- - ">="
|
|
223
240
|
- !ruby/object:Gem::Version
|
|
224
241
|
version: '0'
|
|
225
242
|
requirements: []
|
|
226
|
-
rubygems_version: 3.
|
|
227
|
-
signing_key:
|
|
243
|
+
rubygems_version: 3.6.7
|
|
228
244
|
specification_version: 4
|
|
229
245
|
summary: CLI tool for irasutoya
|
|
230
246
|
test_files: []
|
data/.circleci/config.yml
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
version: 2.1
|
|
2
|
-
|
|
3
|
-
update_bundler: &update_bundler
|
|
4
|
-
run:
|
|
5
|
-
name: update bundler
|
|
6
|
-
command: gem update bundler
|
|
7
|
-
|
|
8
|
-
bundle_install: &bundle_install
|
|
9
|
-
run:
|
|
10
|
-
name: bundle install
|
|
11
|
-
command: bundle update --bundler && bundle install --path vendor/bundle --jobs 4
|
|
12
|
-
|
|
13
|
-
restore_bundle_cache: &restore_bundle_cache
|
|
14
|
-
restore_cache:
|
|
15
|
-
key: cache-bundler-{{ checksum "Gemfile.lock" }}
|
|
16
|
-
|
|
17
|
-
jobs:
|
|
18
|
-
build:
|
|
19
|
-
docker:
|
|
20
|
-
- image: circleci/ruby
|
|
21
|
-
steps:
|
|
22
|
-
- checkout
|
|
23
|
-
- *restore_bundle_cache
|
|
24
|
-
- *update_bundler
|
|
25
|
-
- *bundle_install
|
|
26
|
-
- save_cache:
|
|
27
|
-
key: cache-bundler-{{ checksum "Gemfile.lock" }}
|
|
28
|
-
paths:
|
|
29
|
-
- vendor/bundle
|
|
30
|
-
rubocop:
|
|
31
|
-
docker:
|
|
32
|
-
- image: circleci/ruby
|
|
33
|
-
steps:
|
|
34
|
-
- checkout
|
|
35
|
-
- *restore_bundle_cache
|
|
36
|
-
- *update_bundler
|
|
37
|
-
- *bundle_install
|
|
38
|
-
- run: bundle exec rubocop
|
|
39
|
-
rspec:
|
|
40
|
-
docker:
|
|
41
|
-
- image: circleci/ruby
|
|
42
|
-
steps:
|
|
43
|
-
- checkout
|
|
44
|
-
- *restore_bundle_cache
|
|
45
|
-
- *update_bundler
|
|
46
|
-
- *bundle_install
|
|
47
|
-
- run:
|
|
48
|
-
environment:
|
|
49
|
-
RAILS_ENV: test
|
|
50
|
-
COVERAGE: true
|
|
51
|
-
CODECOV_TOKEN: d9091f65-2e14-4029-86e6-f6ec9c59ecec
|
|
52
|
-
command: bundle exec rspec
|
|
53
|
-
workflows:
|
|
54
|
-
version: 2.1
|
|
55
|
-
rspec:
|
|
56
|
-
jobs:
|
|
57
|
-
- build
|
|
58
|
-
- rubocop:
|
|
59
|
-
requires: [build]
|
|
60
|
-
- rspec:
|
|
61
|
-
requires: [build]
|