yoshiki 6.0.0 → 7.0.0.pre.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.devfu-rubocop.yml +15 -12
- data/.gitlab-ci.yml +28 -10
- data/.rubocop.yml +1 -1
- data/Dockerfile +1 -1
- data/Gemfile.lock +44 -19
- data/lib/yoshiki/version.rb +1 -1
- data/yoshiki.gemspec +5 -3
- metadata +40 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcc4f99d426e483ccc8eea2e73da37e6d9110fcbc2b1959a65e1f8432ac9f4b0
|
4
|
+
data.tar.gz: 61430030ac33db134ea76d9195fec2571152cce34b06270cd150488f0775356a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a39ff5458e447c897d4051d59b4bf0c8f7080c4a0ad933b5c4577fc2c85d8de4cafba001a84f6e54b84437e8e20d17225957a42de4e1ad927468db20dcb259
|
7
|
+
data.tar.gz: 5bf921c20d90f44f7a1a4cd631126413ee60040aafcefcaaa06869f538476c45ec89c06370c873e5df30294fae8f768e6d37ef115523877be6f69016d4951610
|
data/.devfu-rubocop.yml
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
require:
|
1
|
+
require:
|
2
|
+
- rubocop-rails
|
3
|
+
- rubocop-rake
|
4
|
+
- rubocop-rspec
|
2
5
|
|
3
6
|
AllCops:
|
4
7
|
DisplayCopNames: true
|
@@ -18,10 +21,6 @@ Rails:
|
|
18
21
|
Layout/AccessModifierIndentation:
|
19
22
|
EnforcedStyle: outdent
|
20
23
|
|
21
|
-
Layout/AlignHash:
|
22
|
-
EnforcedHashRocketStyle: table
|
23
|
-
EnforcedColonStyle: table
|
24
|
-
|
25
24
|
Layout/CaseIndentation:
|
26
25
|
IndentOneStep: true
|
27
26
|
EnforcedStyle: end
|
@@ -58,6 +57,14 @@ Layout/ExtraSpacing:
|
|
58
57
|
Exclude:
|
59
58
|
- Gemfile
|
60
59
|
|
60
|
+
Layout/HashAlignment:
|
61
|
+
EnforcedHashRocketStyle: table
|
62
|
+
EnforcedColonStyle: table
|
63
|
+
|
64
|
+
Layout/LineLength:
|
65
|
+
Max: 120
|
66
|
+
IgnoreCopDirectives: true
|
67
|
+
|
61
68
|
Layout/MultilineOperationIndentation:
|
62
69
|
EnforcedStyle: indented
|
63
70
|
|
@@ -87,7 +94,7 @@ Lint/AmbiguousRegexpLiteral:
|
|
87
94
|
Lint/AssignmentInCondition:
|
88
95
|
Enabled: false
|
89
96
|
|
90
|
-
Lint/
|
97
|
+
Lint/RedundantSplatExpansion:
|
91
98
|
Enabled: false
|
92
99
|
|
93
100
|
Lint/Void:
|
@@ -97,10 +104,6 @@ Lint/Void:
|
|
97
104
|
Metrics/BlockLength:
|
98
105
|
Enabled: false
|
99
106
|
|
100
|
-
Metrics/LineLength:
|
101
|
-
Max: 120
|
102
|
-
IgnoreCopDirectives: true
|
103
|
-
|
104
107
|
Metrics/MethodLength:
|
105
108
|
Exclude:
|
106
109
|
- db/migrate/**/*
|
@@ -116,10 +119,10 @@ Naming/PredicateName:
|
|
116
119
|
- is_
|
117
120
|
- has_
|
118
121
|
- have_
|
119
|
-
|
122
|
+
ForbiddenPrefixes:
|
120
123
|
- is_
|
121
124
|
- have_
|
122
|
-
|
125
|
+
AllowedMethods:
|
123
126
|
- is_a?
|
124
127
|
|
125
128
|
Naming/VariableNumber:
|
data/.gitlab-ci.yml
CHANGED
@@ -1,32 +1,50 @@
|
|
1
|
+
variables:
|
2
|
+
BUNDLE_BIN: vendor/bundle/bin
|
3
|
+
BUNDLE_PATH: vendor/bundle
|
4
|
+
|
1
5
|
before_script:
|
2
|
-
-
|
6
|
+
- apk upgrade --update && apk add --no-cache git build-base
|
7
|
+
- bundle install --clean --jobs $(nproc) --retry=3
|
3
8
|
|
4
|
-
ruby
|
9
|
+
ruby 3.1:
|
10
|
+
allow_failure: true
|
5
11
|
cache:
|
6
|
-
key: "$CI_BUILD_REF_NAME-
|
12
|
+
key: "$CI_BUILD_REF_NAME-3.1"
|
13
|
+
paths:
|
14
|
+
- vendor/bundle
|
15
|
+
image: ruby:3.1-alpine
|
16
|
+
script:
|
17
|
+
- bundle exec rake spec rubocop
|
18
|
+
stage: test
|
19
|
+
|
20
|
+
ruby 3.0:
|
21
|
+
allow_failure: true
|
22
|
+
cache:
|
23
|
+
key: "$CI_BUILD_REF_NAME-3.0"
|
7
24
|
paths:
|
8
25
|
- vendor/bundle
|
9
|
-
image:
|
26
|
+
image: ruby:3.0-alpine
|
10
27
|
script:
|
11
28
|
- bundle exec rake spec rubocop
|
12
29
|
stage: test
|
13
30
|
|
14
|
-
ruby 2.
|
31
|
+
ruby 2.7:
|
32
|
+
allow_failure: true
|
15
33
|
cache:
|
16
|
-
key: "$CI_BUILD_REF_NAME-2.
|
34
|
+
key: "$CI_BUILD_REF_NAME-2.7"
|
17
35
|
paths:
|
18
36
|
- vendor/bundle
|
19
|
-
image:
|
37
|
+
image: ruby:2.7-alpine
|
20
38
|
script:
|
21
39
|
- bundle exec rake spec rubocop
|
22
40
|
stage: test
|
23
41
|
|
24
|
-
ruby 2.
|
42
|
+
ruby 2.6.1:
|
25
43
|
cache:
|
26
|
-
key: "$CI_BUILD_REF_NAME-2.
|
44
|
+
key: "$CI_BUILD_REF_NAME-2.6"
|
27
45
|
paths:
|
28
46
|
- vendor/bundle
|
29
|
-
image:
|
47
|
+
image: ruby:2.6.10-alpine
|
30
48
|
script:
|
31
49
|
- bundle exec rake spec rubocop
|
32
50
|
stage: test
|
data/.rubocop.yml
CHANGED
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,30 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
yoshiki (
|
5
|
-
rubocop (
|
6
|
-
rubocop-
|
4
|
+
yoshiki (7.0.0.pre.alpha.2)
|
5
|
+
rubocop (= 1.30.1)
|
6
|
+
rubocop-rails (= 2.14.2)
|
7
|
+
rubocop-rake (= 0.6.0)
|
8
|
+
rubocop-rspec (= 2.11.1)
|
7
9
|
|
8
10
|
GEM
|
9
11
|
remote: https://rubygems.org/
|
10
12
|
specs:
|
11
|
-
|
13
|
+
activesupport (6.1.6)
|
14
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
+
i18n (>= 1.6, < 2)
|
16
|
+
minitest (>= 5.1)
|
17
|
+
tzinfo (~> 2.0)
|
18
|
+
zeitwerk (~> 2.3)
|
19
|
+
ast (2.4.2)
|
12
20
|
coderay (1.1.1)
|
21
|
+
concurrent-ruby (1.1.10)
|
13
22
|
diff-lcs (1.3)
|
14
|
-
|
23
|
+
i18n (1.10.0)
|
24
|
+
concurrent-ruby (~> 1.0)
|
15
25
|
method_source (0.8.2)
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
26
|
+
minitest (5.15.0)
|
27
|
+
parallel (1.22.1)
|
28
|
+
parser (3.1.2.0)
|
29
|
+
ast (~> 2.4.1)
|
20
30
|
pry (0.10.4)
|
21
31
|
coderay (~> 1.1.0)
|
22
32
|
method_source (~> 0.8.1)
|
23
33
|
slop (~> 3.4)
|
24
34
|
psych (4.0.4)
|
25
35
|
stringio
|
26
|
-
|
36
|
+
rack (2.2.3.1)
|
37
|
+
rainbow (3.1.1)
|
27
38
|
rake (12.2.1)
|
39
|
+
regexp_parser (2.5.0)
|
40
|
+
rexml (3.2.5)
|
28
41
|
rspec (3.7.0)
|
29
42
|
rspec-core (~> 3.7.0)
|
30
43
|
rspec-expectations (~> 3.7.0)
|
@@ -38,20 +51,32 @@ GEM
|
|
38
51
|
diff-lcs (>= 1.2.0, < 2.0)
|
39
52
|
rspec-support (~> 3.7.0)
|
40
53
|
rspec-support (3.7.0)
|
41
|
-
rubocop (
|
42
|
-
jaro_winkler (~> 1.5.1)
|
54
|
+
rubocop (1.30.1)
|
43
55
|
parallel (~> 1.10)
|
44
|
-
parser (>=
|
45
|
-
powerpack (~> 0.1)
|
56
|
+
parser (>= 3.1.0.0)
|
46
57
|
rainbow (>= 2.2.2, < 4.0)
|
58
|
+
regexp_parser (>= 1.8, < 3.0)
|
59
|
+
rexml (>= 3.2.5, < 4.0)
|
60
|
+
rubocop-ast (>= 1.18.0, < 2.0)
|
47
61
|
ruby-progressbar (~> 1.7)
|
48
|
-
unicode-display_width (
|
49
|
-
rubocop-
|
50
|
-
|
51
|
-
|
62
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
63
|
+
rubocop-ast (1.18.0)
|
64
|
+
parser (>= 3.1.1.0)
|
65
|
+
rubocop-rails (2.14.2)
|
66
|
+
activesupport (>= 4.2.0)
|
67
|
+
rack (>= 1.1)
|
68
|
+
rubocop (>= 1.7.0, < 2.0)
|
69
|
+
rubocop-rake (0.6.0)
|
70
|
+
rubocop (~> 1.0)
|
71
|
+
rubocop-rspec (2.11.1)
|
72
|
+
rubocop (~> 1.19)
|
73
|
+
ruby-progressbar (1.11.0)
|
52
74
|
slop (3.6.0)
|
53
75
|
stringio (3.0.2)
|
54
|
-
|
76
|
+
tzinfo (2.0.4)
|
77
|
+
concurrent-ruby (~> 1.0)
|
78
|
+
unicode-display_width (2.1.0)
|
79
|
+
zeitwerk (2.5.4)
|
55
80
|
|
56
81
|
PLATFORMS
|
57
82
|
ruby
|
data/lib/yoshiki/version.rb
CHANGED
data/yoshiki.gemspec
CHANGED
@@ -18,10 +18,12 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename f }
|
19
19
|
spec.require_paths = %w[ lib ]
|
20
20
|
|
21
|
-
spec.required_ruby_version =
|
21
|
+
spec.required_ruby_version = '>= 2.6.0'
|
22
22
|
|
23
|
-
spec.add_dependency 'rubocop', '
|
24
|
-
spec.add_dependency 'rubocop-
|
23
|
+
spec.add_dependency 'rubocop', '1.30.1'
|
24
|
+
spec.add_dependency 'rubocop-rails', '2.14.2'
|
25
|
+
spec.add_dependency 'rubocop-rake', '0.6.0'
|
26
|
+
spec.add_dependency 'rubocop-rspec', '2.11.1'
|
25
27
|
|
26
28
|
spec.add_development_dependency 'bundler'
|
27
29
|
spec.add_development_dependency 'pry'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yoshiki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0.pre.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BM5k
|
@@ -14,30 +14,58 @@ dependencies:
|
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.30.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.30.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.14.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.14.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop-rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.6.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.6.0
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rubocop-rspec
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
|
-
- -
|
59
|
+
- - '='
|
32
60
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
61
|
+
version: 2.11.1
|
34
62
|
type: :runtime
|
35
63
|
prerelease: false
|
36
64
|
version_requirements: !ruby/object:Gem::Requirement
|
37
65
|
requirements:
|
38
|
-
- -
|
66
|
+
- - '='
|
39
67
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
68
|
+
version: 2.11.1
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: bundler
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,15 +156,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
156
|
requirements:
|
129
157
|
- - ">="
|
130
158
|
- !ruby/object:Gem::Version
|
131
|
-
version: 2.
|
132
|
-
- - "<"
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 2.7.0
|
159
|
+
version: 2.6.0
|
135
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
161
|
requirements:
|
137
|
-
- - "
|
162
|
+
- - ">"
|
138
163
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
164
|
+
version: 1.3.1
|
140
165
|
requirements: []
|
141
166
|
rubygems_version: 3.0.3.1
|
142
167
|
signing_key:
|