rubocop_lineup 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/.rubocop.yml +1 -1
- data/.travis.yml +4 -2
- data/Appraisals +16 -4
- data/gemfiles/{rubocop_0.35.1.gemfile → rubocop_0.61.1.gemfile} +1 -1
- data/gemfiles/rubocop_0.77.0.gemfile +13 -0
- data/gemfiles/rubocop_0.82.0.gemfile +13 -0
- data/gemfiles/rubocop_0.86.0.gemfile +13 -0
- data/lib/rubocop_lineup/duck_punch_rubocop.rb +7 -2
- data/lib/rubocop_lineup/version.rb +1 -1
- data/rubocop_lineup.gemspec +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e492d503ab9687aee7fa158ef3ecb9c0fd36aa27a99dce4b94e698a3e3100ac
|
4
|
+
data.tar.gz: 158b2a8782b44f2dd5783eef874ce57b9144495252cdd9039d1ae4422212bf6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60681a39fd3bdf79ed02066af766b0852f127853bb9b1be6db5eb54daf3de1260f3b7e206da200a214a4ad5c6df1b0916df55f3c980e01038155598d48f8b5b6
|
7
|
+
data.tar.gz: c211247847d7c752e9b5dc33e6b8fe6b74292a3c4c5ef5cff9c5312370dfcb529b05f3a6874becfcf0a26f0a1e38588dd717c1375dc925ac37aa3ced102c902d
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
language: ruby
|
2
2
|
|
3
3
|
rvm:
|
4
|
-
- 2.3.8
|
5
4
|
- 2.4.6
|
6
5
|
- 2.5.5
|
7
6
|
- 2.6.3
|
8
7
|
|
9
8
|
gemfile:
|
10
9
|
- gemfiles/rubocop_latest.gemfile
|
10
|
+
- gemfiles/rubocop_0.86.0.gemfile
|
11
|
+
- gemfiles/rubocop_0.82.0.gemfile
|
12
|
+
- gemfiles/rubocop_0.77.0.gemfile
|
11
13
|
- gemfiles/rubocop_0.69.0.gemfile
|
14
|
+
- gemfiles/rubocop_0.61.1.gemfile
|
12
15
|
- gemfiles/rubocop_0.58.2.gemfile
|
13
16
|
- gemfiles/rubocop_0.56.0.gemfile
|
14
17
|
- gemfiles/rubocop_0.52.1.gemfile
|
15
18
|
- gemfiles/rubocop_0.46.0.gemfile
|
16
|
-
- gemfiles/rubocop_0.35.1.gemfile
|
17
19
|
|
18
20
|
|
19
21
|
before_install: gem install bundler -v 1.17.3
|
data/Appraisals
CHANGED
@@ -4,10 +4,26 @@ appraise "rubocop-latest" do
|
|
4
4
|
gem "rubocop"
|
5
5
|
end
|
6
6
|
|
7
|
+
appraise "rubocop-0.86.0" do
|
8
|
+
gem "rubocop", "0.86.0"
|
9
|
+
end
|
10
|
+
|
11
|
+
appraise "rubocop-0.82.0" do
|
12
|
+
gem "rubocop", "0.82.0"
|
13
|
+
end
|
14
|
+
|
15
|
+
appraise "rubocop-0.77.0" do
|
16
|
+
gem "rubocop", "0.77.0"
|
17
|
+
end
|
18
|
+
|
7
19
|
appraise "rubocop-0.69.0" do
|
8
20
|
gem "rubocop", "0.69.0"
|
9
21
|
end
|
10
22
|
|
23
|
+
appraise "rubocop-0.61.1" do
|
24
|
+
gem "rubocop", "0.61.1"
|
25
|
+
end
|
26
|
+
|
11
27
|
appraise "rubocop-0.58.2" do
|
12
28
|
gem "rubocop", "0.58.2"
|
13
29
|
end
|
@@ -23,7 +39,3 @@ end
|
|
23
39
|
appraise "rubocop-0.46.0" do
|
24
40
|
gem "rubocop", "0.46.0"
|
25
41
|
end
|
26
|
-
|
27
|
-
appraise "rubocop-0.35.1" do
|
28
|
-
gem "rubocop", "0.35.1"
|
29
|
-
end
|
@@ -33,9 +33,14 @@ module DuckPunch
|
|
33
33
|
end
|
34
34
|
|
35
35
|
module TargetFinder
|
36
|
-
def find(args)
|
36
|
+
def find(args, mode=nil)
|
37
37
|
# returns an array of full file paths that are the files to inspect.
|
38
|
-
|
38
|
+
if mode
|
39
|
+
files = super(args, mode)
|
40
|
+
else
|
41
|
+
# legacy support before mode was added in rubocop
|
42
|
+
files = super(args)
|
43
|
+
end
|
39
44
|
files_hash = RubocopLineup.line_em_up(Dir.pwd)
|
40
45
|
files & files_hash.keys
|
41
46
|
end
|
data/rubocop_lineup.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.required_ruby_version = "~> 2.
|
24
|
+
spec.required_ruby_version = "~> 2.4"
|
25
25
|
|
26
26
|
spec.add_dependency "git", "~> 1.3"
|
27
27
|
spec.add_dependency "rubocop", "~> 0.35"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_lineup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chrismo
|
@@ -113,12 +113,15 @@ files:
|
|
113
113
|
- Rakefile
|
114
114
|
- bin/console
|
115
115
|
- bin/setup
|
116
|
-
- gemfiles/rubocop_0.35.1.gemfile
|
117
116
|
- gemfiles/rubocop_0.46.0.gemfile
|
118
117
|
- gemfiles/rubocop_0.52.1.gemfile
|
119
118
|
- gemfiles/rubocop_0.56.0.gemfile
|
120
119
|
- gemfiles/rubocop_0.58.2.gemfile
|
120
|
+
- gemfiles/rubocop_0.61.1.gemfile
|
121
121
|
- gemfiles/rubocop_0.69.0.gemfile
|
122
|
+
- gemfiles/rubocop_0.77.0.gemfile
|
123
|
+
- gemfiles/rubocop_0.82.0.gemfile
|
124
|
+
- gemfiles/rubocop_0.86.0.gemfile
|
122
125
|
- gemfiles/rubocop_latest.gemfile
|
123
126
|
- lib/rubocop_lineup.rb
|
124
127
|
- lib/rubocop_lineup/diff_liner.rb
|
@@ -138,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
141
|
requirements:
|
139
142
|
- - "~>"
|
140
143
|
- !ruby/object:Gem::Version
|
141
|
-
version: '2.
|
144
|
+
version: '2.4'
|
142
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
146
|
requirements:
|
144
147
|
- - ">="
|