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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef6cd25bb513449b7e8a8e4393667bcc3f14eb7e368a75a05ec51cbe74a3aeec
4
- data.tar.gz: 1c8777485957331c3446e24f20c8d8e04e8dfe0f3ac5ec7f1382c9fecb639c56
3
+ metadata.gz: 3e492d503ab9687aee7fa158ef3ecb9c0fd36aa27a99dce4b94e698a3e3100ac
4
+ data.tar.gz: 158b2a8782b44f2dd5783eef874ce57b9144495252cdd9039d1ae4422212bf6a
5
5
  SHA512:
6
- metadata.gz: a5b99a93b516be211e3b1442d2727b46df48b8c6b972b93745983e555e3bacd5a8eb8b2eea034ec420f9a6a29ecdc36fff45fa46e87cdfe1d1379f254ed80302
7
- data.tar.gz: 5f6bfa3a6808c1d4e95ee1f21f63749a33f3196c266698be650081fbb9ab64b760ed16da397c0e50c927ed0df820faf19a1e65265e1728e8b1f42f4cfc229886
6
+ metadata.gz: 60681a39fd3bdf79ed02066af766b0852f127853bb9b1be6db5eb54daf3de1260f3b7e206da200a214a4ad5c6df1b0916df55f3c980e01038155598d48f8b5b6
7
+ data.tar.gz: c211247847d7c752e9b5dc33e6b8fe6b74292a3c4c5ef5cff9c5312370dfcb529b05f3a6874becfcf0a26f0a1e38588dd717c1375dc925ac37aa3ced102c902d
data/.gitignore CHANGED
@@ -13,3 +13,6 @@
13
13
  .rspec_status
14
14
 
15
15
  Gemfile.lock
16
+
17
+ # Don't commit built gems
18
+ *.gem
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
2
+ TargetRubyVersion: 2.4
3
3
  Exclude:
4
4
  - "bin/**"
5
5
 
@@ -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
@@ -4,7 +4,7 @@
4
4
 
5
5
  source "https://rubygems.org"
6
6
 
7
- gem "rubocop", "0.35.1"
7
+ gem "rubocop", "0.61.1"
8
8
 
9
9
  group :development do
10
10
  gem "appraisal"
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source "https://rubygems.org"
6
+
7
+ gem "rubocop", "0.77.0"
8
+
9
+ group :development do
10
+ gem "appraisal"
11
+ end
12
+
13
+ gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source "https://rubygems.org"
6
+
7
+ gem "rubocop", "0.82.0"
8
+
9
+ group :development do
10
+ gem "appraisal"
11
+ end
12
+
13
+ gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source "https://rubygems.org"
6
+
7
+ gem "rubocop", "0.86.0"
8
+
9
+ group :development do
10
+ gem "appraisal"
11
+ end
12
+
13
+ gemspec path: "../"
@@ -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
- files = super(args)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopLineup
4
- VERSION = "0.5.1"
4
+ VERSION = "0.6.0"
5
5
  end
@@ -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.3"
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.5.1
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.3'
144
+ version: '2.4'
142
145
  required_rubygems_version: !ruby/object:Gem::Requirement
143
146
  requirements:
144
147
  - - ">="