yoshiki 6.0.1 → 7.0.0.pre.alpha.3

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: 98739230083f0b7353aef5daa3effb1e8c4d0df768ac13ffa7a7c64eeab28975
4
- data.tar.gz: ede6390e6088173cb5884b635bf665dac9151c9a1c86390f8424fb9b45343bbf
3
+ metadata.gz: 21e5101b626aa2fd3cdb849423427ca001d70e6cabaa1303f6f88ca86d0183d9
4
+ data.tar.gz: 568afaca5f126f1e00f8ab316729c031b8c8f6cf39bce6f7c9a899980fbada9d
5
5
  SHA512:
6
- metadata.gz: 7481068b31379be47257195a24b64f1e9f39f87b960054d21470d661850605546f36d56a9b6a0b7b32da3d66f0db0465e7d04160cdeb36bb0a016de31e9cedcf
7
- data.tar.gz: 24bf74b2f025b6078849c8cbec49c3bf31852effd96eb9caae53b91991f7ab60927e426b8b7d6c477b385c0ac8b27548b7fce976a466f2342b3f1962b884f2b0
6
+ metadata.gz: 0d371f2fe4e40663e87f59d21a5803d8ec40bf80c535a802f7e325232450e17fecae1be50d1e3aea01ed9e2251dde17ac5181f66b1a50fbceb471fa7ff7a0b70
7
+ data.tar.gz: c3d60d34c008806180ef01de73a3febbe8472dce6268d516b0197d9c5a95cd909696ce6ef1c9c6f1d99c78354b2e023b981d01113a9a4b389d6d5a230beaa859
data/.devfu-rubocop.yml CHANGED
@@ -1,4 +1,7 @@
1
- require: rubocop-rspec
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,10 @@ Lint/AmbiguousRegexpLiteral:
87
94
  Lint/AssignmentInCondition:
88
95
  Enabled: false
89
96
 
90
- Lint/UnneededSplatExpansion:
97
+ Lint/RedundantDirGlobSort: # new in 1.8
98
+ Enabled: true
99
+
100
+ Lint/RedundantSplatExpansion:
91
101
  Enabled: false
92
102
 
93
103
  Lint/Void:
@@ -97,10 +107,6 @@ Lint/Void:
97
107
  Metrics/BlockLength:
98
108
  Enabled: false
99
109
 
100
- Metrics/LineLength:
101
- Max: 120
102
- IgnoreCopDirectives: true
103
-
104
110
  Metrics/MethodLength:
105
111
  Exclude:
106
112
  - db/migrate/**/*
@@ -116,10 +122,10 @@ Naming/PredicateName:
116
122
  - is_
117
123
  - has_
118
124
  - have_
119
- NamePrefixBlacklist:
125
+ ForbiddenPrefixes:
120
126
  - is_
121
127
  - have_
122
- NameWhitelist:
128
+ AllowedMethods:
123
129
  - is_a?
124
130
 
125
131
  Naming/VariableNumber:
@@ -185,6 +191,9 @@ Style/DoubleNegation:
185
191
  Style/EachWithObject:
186
192
  Enabled: false
187
193
 
194
+ Style/GlobalStdStream:
195
+ Enabled: false
196
+
188
197
  Style/HashSyntax:
189
198
  EnforcedStyle: ruby19
190
199
  PreferHashRocketsForNonAlnumEndingSymbols: true
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
- - bundle install --clean --jobs $(nproc) --path=/vendor/bundle --retry=3
6
+ - apk upgrade --update && apk add --no-cache git build-base
7
+ - bundle install --clean --jobs $(nproc) --retry=3
3
8
 
4
- ruby 2.6:
9
+ ruby 3.1:
10
+ allow_failure: true
5
11
  cache:
6
- key: "$CI_BUILD_REF_NAME-2.6"
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: devfu/ruby:2.6-alpine
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.5.1:
31
+ ruby 2.7:
32
+ allow_failure: true
15
33
  cache:
16
- key: "$CI_BUILD_REF_NAME-2.5.1"
34
+ key: "$CI_BUILD_REF_NAME-2.7"
17
35
  paths:
18
36
  - vendor/bundle
19
- image: devfu/ci:2.5.1
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.5.0:
42
+ ruby 2.6.1:
25
43
  cache:
26
- key: "$CI_BUILD_REF_NAME-2.5.0"
44
+ key: "$CI_BUILD_REF_NAME-2.6"
27
45
  paths:
28
46
  - vendor/bundle
29
- image: devfu/ci:2.5.0
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
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
2
+ TargetRubyVersion: 2.6
3
3
 
4
4
  inherit_from:
5
5
  - .devfu-rubocop.yml
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:alpine
1
+ FROM ruby:2.6.10-alpine
2
2
 
3
3
  RUN apk upgrade --update && apk add --no-cache git build-base
4
4
 
data/Gemfile.lock CHANGED
@@ -1,30 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yoshiki (6.0.1)
5
- rubocop (~> 0.61.0)
6
- rubocop-rspec (~> 1.30.0)
4
+ yoshiki (7.0.0.pre.alpha.3)
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
- ast (2.4.0)
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
- jaro_winkler (1.5.1)
23
+ i18n (1.10.0)
24
+ concurrent-ruby (~> 1.0)
15
25
  method_source (0.8.2)
16
- parallel (1.12.1)
17
- parser (2.5.3.0)
18
- ast (~> 2.4.0)
19
- powerpack (0.1.2)
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
- rainbow (3.0.0)
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 (0.61.1)
42
- jaro_winkler (~> 1.5.1)
54
+ rubocop (1.30.1)
43
55
  parallel (~> 1.10)
44
- parser (>= 2.5, != 2.5.1.1)
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 (~> 1.4.0)
49
- rubocop-rspec (1.30.1)
50
- rubocop (>= 0.60.0)
51
- ruby-progressbar (1.10.0)
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
- unicode-display_width (1.4.0)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yoshiki
4
4
 
5
- VERSION = '6.0.1'
5
+ VERSION = '7.0.0-alpha.3'
6
6
 
7
7
  end
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 = [ '>= 2.5.0', '< 2.7.0' ]
21
+ spec.required_ruby_version = '>= 2.6.0'
22
22
 
23
- spec.add_dependency 'rubocop', '~> 0.61.0'
24
- spec.add_dependency 'rubocop-rspec', '~> 1.30.0'
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: 6.0.1
4
+ version: 7.0.0.pre.alpha.3
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: 0.61.0
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: 0.61.0
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: 1.30.0
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: 1.30.0
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.5.0
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: '0'
164
+ version: 1.3.1
140
165
  requirements: []
141
166
  rubygems_version: 3.0.3.1
142
167
  signing_key: