yoshiki 4.3.0 → 5.0.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
- SHA256:
3
- metadata.gz: edc18ff33f6608cab75d352415b0dc7e425c8623fbc10fb060ba2c1d5ae19b76
4
- data.tar.gz: d88e37ee84c0b79ac912bc4d4346858f3ed16407f092c0a2c7e586726ab9c2e7
2
+ SHA1:
3
+ metadata.gz: f93687144ad32fb446f02b8e10ce329b6649e740
4
+ data.tar.gz: e88974f127e98ea5dde0cdc641bfd07a02dccd40
5
5
  SHA512:
6
- metadata.gz: 681cee1d0f013c4fb187d0eec76b08635d6367de1c6a61f8c9f2721692417fced4bef9430f3c0e54deb8851cb7cc99353ce125305f74093a534863d74f2e20d0
7
- data.tar.gz: f5318ec1485930426b4a5ea48c99b06fa1107ce37783663cc3649dc4d2bec7c58ed8891b7f986d4de0d05ca75fd54b3bd8f7af1d12c5c2d872bbb1c328cf171c
6
+ metadata.gz: aac2b778c8a90cdbec10025c6d79e312398ca430224fda8ffffe397c09a2e82b5b2e758aee4554cfb83e6096c6f86c7ab5b780fe911fe89cd2cb3b4af7774289
7
+ data.tar.gz: e166c7181e04277135991baa4fdc75de96d5a4cffef6a89a58cc0e12bdd0740dc085018c43be89f664876581b26d7722924558ab36910987adb5b094e40a30b0
data/.devfu-rubocop.yml CHANGED
@@ -26,6 +26,10 @@ Layout/CaseIndentation:
26
26
  IndentOneStep: true
27
27
  EnforcedStyle: end
28
28
 
29
+ Layout/DefEndAlignment:
30
+ EnforcedStyleAlignWith: start_of_line
31
+ AutoCorrect: true
32
+
29
33
  Layout/ElseAlignment:
30
34
  Enabled: false
31
35
 
@@ -44,9 +48,13 @@ Layout/EmptyLinesAroundClassBody:
44
48
  Layout/EmptyLinesAroundModuleBody:
45
49
  EnforcedStyle: empty_lines_except_namespace
46
50
 
51
+ Layout/EndAlignment:
52
+ EnforcedStyleAlignWith: variable
53
+ AutoCorrect: true
54
+
47
55
  Layout/ExtraSpacing:
48
56
  AllowForAlignment: true
49
- # ForceEqualSignAlignment: true # this sounds great, but does not work
57
+ ForceEqualSignAlignment: true
50
58
  Exclude:
51
59
  - Gemfile
52
60
 
@@ -62,6 +70,7 @@ Layout/SpaceInsidePercentLiteralDelimiters:
62
70
 
63
71
  Layout/SpaceInsideReferenceBrackets:
64
72
  EnforcedStyle: no_space
73
+ EnforcedStyleForEmptyBrackets: no_space
65
74
 
66
75
  Layout/SpaceInsideStringInterpolation:
67
76
  EnforcedStyle: space
@@ -78,14 +87,6 @@ Lint/AmbiguousRegexpLiteral:
78
87
  Lint/AssignmentInCondition:
79
88
  Enabled: false
80
89
 
81
- Lint/DefEndAlignment:
82
- EnforcedStyleAlignWith: start_of_line
83
- AutoCorrect: true
84
-
85
- Lint/EndAlignment:
86
- EnforcedStyleAlignWith: variable
87
- AutoCorrect: true
88
-
89
90
  Lint/UnneededSplatExpansion:
90
91
  Enabled: false
91
92
 
@@ -98,11 +99,15 @@ Metrics/BlockLength:
98
99
 
99
100
  Metrics/LineLength:
100
101
  Max: 120
102
+ IgnoreCopDirectives: true
101
103
 
102
104
  Metrics/MethodLength:
103
105
  Exclude:
104
106
  - db/migrate/**/*
105
107
 
108
+ Metrics/ParameterLists:
109
+ CountKeywordArgs: false
110
+
106
111
  Naming/AsciiIdentifiers:
107
112
  Enabled: false
108
113
 
@@ -179,10 +184,7 @@ Style/EachWithObject:
179
184
 
180
185
  Style/HashSyntax:
181
186
  EnforcedStyle: ruby19
182
- # NOTE: this option forces hashrockets for all keys if any value is a symbol
183
- # instead of only forcing hashrockets for the key whose value is a symbol
184
- # like the name suggests :( - BM5k
185
- # UseHashRocketsWithSymbolValues: true
187
+ PreferHashRocketsForNonAlnumEndingSymbols: true
186
188
 
187
189
  Style/MethodDefParentheses:
188
190
  EnforcedStyle: require_no_parentheses
@@ -231,4 +233,5 @@ Style/SingleLineBlockParams:
231
233
  - t
232
234
 
233
235
  Style/SymbolArray:
234
- Enabled: true
236
+ EnforcedStyle: percent
237
+ MinSize: 3
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
data/.gitlab-ci.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  before_script:
2
2
  - bundle install --clean --jobs $(nproc) --path=/vendor/bundle --retry=3
3
3
 
4
- ruby 2.4.0 0:
4
+ ruby 2.4.0:
5
5
  cache:
6
6
  key: "$CI_BUILD_REF_NAME-2.4.0"
7
7
  paths:
@@ -10,10 +10,8 @@ ruby 2.4.0 0:
10
10
  script:
11
11
  - bundle exec rake spec rubocop
12
12
  stage: test
13
- tags:
14
- - 1gb
15
13
 
16
- ruby 2.4.1 1:
14
+ ruby 2.4.1:
17
15
  cache:
18
16
  key: "$CI_BUILD_REF_NAME-2.4.1"
19
17
  paths:
@@ -22,10 +20,8 @@ ruby 2.4.1 1:
22
20
  script:
23
21
  - bundle exec rake spec rubocop
24
22
  stage: test
25
- tags:
26
- - 1gb
27
23
 
28
- ruby 2.4.2 2:
24
+ ruby 2.4.2:
29
25
  cache:
30
26
  key: "$CI_BUILD_REF_NAME-2.4.2"
31
27
  paths:
@@ -34,17 +30,33 @@ ruby 2.4.2 2:
34
30
  script:
35
31
  - bundle exec rake spec rubocop
36
32
  stage: test
37
- tags:
38
- - 1gb
33
+
34
+ ruby 2.4.3:
35
+ cache:
36
+ key: "$CI_BUILD_REF_NAME-2.4.3"
37
+ paths:
38
+ - vendor/bundle
39
+ image: devfu/ci:2.4.3
40
+ script:
41
+ - bundle exec rake spec rubocop
42
+ stage: test
39
43
 
40
44
  ruby 2.5.0:
41
45
  cache:
42
46
  key: "$CI_BUILD_REF_NAME-2.5.0"
43
47
  paths:
44
48
  - vendor/bundle
45
- image: devfu/ci:2.5
49
+ image: devfu/ci:2.5.0
50
+ script:
51
+ - bundle exec rake spec rubocop
52
+ stage: test
53
+
54
+ ruby 2.5.1:
55
+ cache:
56
+ key: "$CI_BUILD_REF_NAME-2.5.1"
57
+ paths:
58
+ - vendor/bundle
59
+ image: devfu/ci:2.5.1
46
60
  script:
47
61
  - bundle exec rake spec rubocop
48
62
  stage: test
49
- tags:
50
- - 1gb
data/Dockerfile ADDED
@@ -0,0 +1,12 @@
1
+ FROM ruby:alpine
2
+
3
+ RUN apk upgrade --update && apk add --no-cache git build-base
4
+
5
+ ENV app /src
6
+ RUN mkdir $app
7
+ WORKDIR $app
8
+ ADD . $app
9
+
10
+ RUN bundle install
11
+
12
+ CMD bundle console
data/Gemfile.lock ADDED
@@ -0,0 +1,64 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ yoshiki (5.0.0)
5
+ rubocop
6
+ rubocop-rspec
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.0)
12
+ coderay (1.1.1)
13
+ diff-lcs (1.3)
14
+ jaro_winkler (1.5.1)
15
+ method_source (0.8.2)
16
+ parallel (1.12.1)
17
+ parser (2.5.1.0)
18
+ ast (~> 2.4.0)
19
+ powerpack (0.1.2)
20
+ pry (0.10.4)
21
+ coderay (~> 1.1.0)
22
+ method_source (~> 0.8.1)
23
+ slop (~> 3.4)
24
+ rainbow (3.0.0)
25
+ rake (12.2.1)
26
+ rspec (3.7.0)
27
+ rspec-core (~> 3.7.0)
28
+ rspec-expectations (~> 3.7.0)
29
+ rspec-mocks (~> 3.7.0)
30
+ rspec-core (3.7.0)
31
+ rspec-support (~> 3.7.0)
32
+ rspec-expectations (3.7.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.7.0)
35
+ rspec-mocks (3.7.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.7.0)
38
+ rspec-support (3.7.0)
39
+ rubocop (0.57.2)
40
+ jaro_winkler (~> 1.5.1)
41
+ parallel (~> 1.10)
42
+ parser (>= 2.5)
43
+ powerpack (~> 0.1)
44
+ rainbow (>= 2.2.2, < 4.0)
45
+ ruby-progressbar (~> 1.7)
46
+ unicode-display_width (~> 1.0, >= 1.0.1)
47
+ rubocop-rspec (1.27.0)
48
+ rubocop (>= 0.56.0)
49
+ ruby-progressbar (1.9.0)
50
+ slop (3.6.0)
51
+ unicode-display_width (1.4.0)
52
+
53
+ PLATFORMS
54
+ ruby
55
+
56
+ DEPENDENCIES
57
+ bundler
58
+ pry
59
+ rake
60
+ rspec
61
+ yoshiki!
62
+
63
+ BUNDLED WITH
64
+ 1.16.2
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yoshiki
4
4
 
5
- VERSION = '4.3.0'
5
+ VERSION = '5.0.0'
6
6
 
7
7
  end
data/yoshiki.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path '../lib', __FILE__
3
+ lib = File.expand_path 'lib', __dir__
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'yoshiki/version'
6
6
 
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.required_ruby_version = [ '>= 2.4.0', '< 2.6.0' ]
22
22
 
23
- spec.add_dependency 'rubocop', '0.52.1'
24
- spec.add_dependency 'rubocop-rspec', '1.22.1'
23
+ spec.add_dependency 'rubocop'
24
+ spec.add_dependency 'rubocop-rspec'
25
25
 
26
26
  spec.add_development_dependency 'bundler'
27
27
  spec.add_development_dependency 'pry'
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yoshiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BM5k
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-27 00:00:00.000000000 Z
11
+ date: 2018-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
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.52.1
19
+ version: '0'
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.52.1
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.22.1
33
+ version: '0'
34
34
  type: :runtime
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: 1.22.1
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,9 @@ files:
106
106
  - ".gitlab-ci.yml"
107
107
  - ".rspec"
108
108
  - ".rubocop.yml"
109
+ - Dockerfile
109
110
  - Gemfile
111
+ - Gemfile.lock
110
112
  - LICENSE.txt
111
113
  - README.md
112
114
  - Rakefile
@@ -137,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
139
  version: '0'
138
140
  requirements: []
139
141
  rubyforge_project:
140
- rubygems_version: 2.7.4
142
+ rubygems_version: 2.5.2
141
143
  signing_key:
142
144
  specification_version: 4
143
145
  summary: Dev Fu! Style