rubocop-pixelforce 0.4 → 1.1

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: c39237d29ba2cb32b80ca7537a40b943a217099d499cbf65dfe40da2e07e3483
4
- data.tar.gz: d7d8fd1807d26e2581b871c46cdde1672058300d2bbb206ab46b4f184b1adf1d
3
+ metadata.gz: 2dd3950905695191472b8020a4ea857ee7f12f26cae3987803543a566bb951fe
4
+ data.tar.gz: 7ec21ef1d250bdc8b04fce5c71c2c8ccd279c3207d8b5eb9eb5ca3b0561ce957
5
5
  SHA512:
6
- metadata.gz: d17544bd7582c2031329d6969ee1631ea973be725b0ba7c5b05f4c8875684ce0a8b07601204519bb499c0d976857489d323c268485340322a7883015c0faea33
7
- data.tar.gz: 2e93ca8bb8f766cd4ba52adc19ffea77de99cc65274102e06d7f33b4c5b890b315045145dee5a2b8ebaef112bd4a53931aec4c47e00330af8abace65a63cfcc7
6
+ metadata.gz: 35e350c0255da86f00bcb6f8be78ea093ffc9de5959a57af0d08c352ae56da408da7eca26f30416a3caa913734db17a5fc332a57cc620974c3903a821d8eda16
7
+ data.tar.gz: eea699b9a41723bdfcb6d0333bc3993457a8f1161f870f706c17498e5703e5983b617575d8c839d6518b769f0ce4cb986318d93f7d36315c2421b0d0c6d5bb3e
data/.travis.yml CHANGED
@@ -3,5 +3,5 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.4.7
6
+ - 2.7.3
7
7
  before_install: gem install bundler -v 2.0.2
data/Gemfile.lock CHANGED
@@ -1,23 +1,34 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-pixelforce (0.4)
5
- rubocop (~> 0.76)
4
+ rubocop-pixelforce (1.1)
5
+ rubocop (~> 1.21)
6
6
  rubocop-performance
7
7
  rubocop-rails
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- ast (2.4.0)
12
+ activesupport (6.1.4.1)
13
+ concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ i18n (>= 1.6, < 2)
15
+ minitest (>= 5.1)
16
+ tzinfo (~> 2.0)
17
+ zeitwerk (~> 2.3)
18
+ ast (2.4.2)
19
+ concurrent-ruby (1.1.9)
13
20
  diff-lcs (1.3)
14
- jaro_winkler (1.5.4)
15
- parallel (1.18.0)
16
- parser (2.6.5.0)
17
- ast (~> 2.4.0)
18
- rack (2.0.7)
21
+ i18n (1.8.10)
22
+ concurrent-ruby (~> 1.0)
23
+ minitest (5.14.4)
24
+ parallel (1.21.0)
25
+ parser (3.0.2.0)
26
+ ast (~> 2.4.1)
27
+ rack (2.2.3)
19
28
  rainbow (3.0.0)
20
- rake (10.4.2)
29
+ rake (13.0.1)
30
+ regexp_parser (2.1.1)
31
+ rexml (3.2.5)
21
32
  rspec (3.9.0)
22
33
  rspec-core (~> 3.9.0)
23
34
  rspec-expectations (~> 3.9.0)
@@ -31,29 +42,38 @@ GEM
31
42
  diff-lcs (>= 1.2.0, < 2.0)
32
43
  rspec-support (~> 3.9.0)
33
44
  rspec-support (3.9.0)
34
- rubocop (0.76.0)
35
- jaro_winkler (~> 1.5.1)
45
+ rubocop (1.21.0)
36
46
  parallel (~> 1.10)
37
- parser (>= 2.6)
47
+ parser (>= 3.0.0.0)
38
48
  rainbow (>= 2.2.2, < 4.0)
49
+ regexp_parser (>= 1.8, < 3.0)
50
+ rexml
51
+ rubocop-ast (>= 1.9.1, < 2.0)
39
52
  ruby-progressbar (~> 1.7)
40
- unicode-display_width (>= 1.4.0, < 1.7)
41
- rubocop-performance (1.5.0)
42
- rubocop (>= 0.71.0)
43
- rubocop-rails (2.3.2)
53
+ unicode-display_width (>= 1.4.0, < 3.0)
54
+ rubocop-ast (1.11.0)
55
+ parser (>= 3.0.1.1)
56
+ rubocop-performance (1.11.5)
57
+ rubocop (>= 1.7.0, < 2.0)
58
+ rubocop-ast (>= 0.4.0)
59
+ rubocop-rails (2.12.2)
60
+ activesupport (>= 4.2.0)
44
61
  rack (>= 1.1)
45
- rubocop (>= 0.72.0)
46
- ruby-progressbar (1.10.1)
47
- unicode-display_width (1.6.0)
62
+ rubocop (>= 1.7.0, < 2.0)
63
+ ruby-progressbar (1.11.0)
64
+ tzinfo (2.0.4)
65
+ concurrent-ruby (~> 1.0)
66
+ unicode-display_width (2.1.0)
67
+ zeitwerk (2.4.2)
48
68
 
49
69
  PLATFORMS
50
70
  ruby
51
71
 
52
72
  DEPENDENCIES
53
73
  bundler (~> 2.0)
54
- rake (~> 10.0)
74
+ rake (~> 13.0)
55
75
  rspec (~> 3.0)
56
76
  rubocop-pixelforce!
57
77
 
58
78
  BUNDLED WITH
59
- 2.0.2
79
+ 2.2.3
data/default.yml CHANGED
@@ -8,6 +8,8 @@ AllCops:
8
8
  - 'Gemfile'
9
9
  - 'db/**/*'
10
10
  - 'bin/*'
11
+ - 'config/**/*'
12
+ - 'test/**/*'
11
13
 
12
14
  Rails/UnknownEnv:
13
15
  Environments:
@@ -80,7 +82,7 @@ Pixelforce/EmptyLineBwteenCategories:
80
82
  <<: *class_structures
81
83
  Enabled: true
82
84
 
83
- Layout/AlignHash:
85
+ Layout/HashAlignment:
84
86
  EnforcedColonStyle: table
85
87
 
86
88
  Metrics/ModuleLength:
@@ -1,5 +1,5 @@
1
1
  module Rubocop
2
2
  module Pixelforce
3
- VERSION = "0.4"
3
+ VERSION = "1.1"
4
4
  end
5
5
  end
@@ -1,6 +1,3 @@
1
+ require 'rubocop'
1
2
  require "rubocop/pixelforce/version"
2
-
3
- module Rubocop
4
- module Pixelforce
5
- end
6
- end
3
+ require 'rubocop/cop/pixelforce/empty_line_between_categories'
@@ -26,10 +26,10 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 2.0"
29
- spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rake", "~> 13.0"
30
30
  spec.add_development_dependency "rspec", "~> 3.0"
31
31
 
32
- spec.add_runtime_dependency "rubocop", "~> 0.76"
32
+ spec.add_runtime_dependency "rubocop", "~> 1.21"
33
33
  spec.add_runtime_dependency "rubocop-performance"
34
34
  spec.add_runtime_dependency "rubocop-rails"
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-pixelforce
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Zhang
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-11 00:00:00.000000000 Z
11
+ date: 2021-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
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: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.76'
61
+ version: '1.21'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.76'
68
+ version: '1.21'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-performance
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -123,7 +123,7 @@ metadata:
123
123
  homepage_uri: https://github.com/BenZhang/rubocop-pixelforce
124
124
  source_code_uri: https://github.com/BenZhang/rubocop-pixelforce
125
125
  changelog_uri: https://github.com/BenZhang/rubocop-pixelforce
126
- post_install_message:
126
+ post_install_message:
127
127
  rdoc_options: []
128
128
  require_paths:
129
129
  - lib
@@ -138,9 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubyforge_project:
142
- rubygems_version: 2.7.9
143
- signing_key:
141
+ rubygems_version: 3.2.3
142
+ signing_key:
144
143
  specification_version: 4
145
144
  summary: Custom Rubocop cop for PixelForce.
146
145
  test_files: []