danger-eslint 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +35 -23
- data/lib/eslint/gem_version.rb +1 -1
- data/lib/eslint/plugin.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7b174e445e2586809cf44b96f20a0c55fbe6d4d6dc5887553d30ebba6f3d14bc
|
4
|
+
data.tar.gz: 51517c0a75f62ef6be5d7f9a66acbb67f35d2f4b0efa0ce2e805496698b28913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb4a49df669c282bfdd9ab607afaac76c0f20de269f5e5396387159cd810f2e2843d734040befedca96bfccc01fe6c046241f7e19f4e47ec78f25bcf9c21e54f
|
7
|
+
data.tar.gz: 11c863060b754b577ef60add645427eb7ed21eb6b6de55093e786ea99448231c7165ca509ddabf4d8d0b826abb3c96f8ef4633463278c25c15b27db554657848
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
danger-eslint (0.1.
|
4
|
+
danger-eslint (0.1.6)
|
5
5
|
danger-plugin-api (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
addressable (2.
|
11
|
-
public_suffix (>= 2.0.2, <
|
10
|
+
addressable (2.7.0)
|
11
|
+
public_suffix (>= 2.0.2, < 5.0)
|
12
12
|
ast (2.4.0)
|
13
|
-
claide (1.0.
|
13
|
+
claide (1.0.3)
|
14
14
|
claide-plugins (0.9.2)
|
15
15
|
cork
|
16
16
|
nap
|
@@ -19,28 +19,33 @@ GEM
|
|
19
19
|
colored2 (3.1.2)
|
20
20
|
cork (0.3.0)
|
21
21
|
colored2 (~> 3.1)
|
22
|
-
danger (
|
22
|
+
danger (8.2.3)
|
23
23
|
claide (~> 1.0)
|
24
24
|
claide-plugins (>= 0.9.2)
|
25
25
|
colored2 (~> 3.1)
|
26
26
|
cork (~> 0.1)
|
27
|
-
faraday (
|
28
|
-
faraday-http-cache (~>
|
29
|
-
git (~> 1)
|
30
|
-
kramdown (~>
|
27
|
+
faraday (>= 0.9.0, < 2.0)
|
28
|
+
faraday-http-cache (~> 2.0)
|
29
|
+
git (~> 1.7)
|
30
|
+
kramdown (~> 2.3)
|
31
|
+
kramdown-parser-gfm (~> 1.0)
|
31
32
|
no_proxy_fix
|
32
33
|
octokit (~> 4.7)
|
33
|
-
terminal-table (
|
34
|
+
terminal-table (>= 1, < 4)
|
34
35
|
danger-plugin-api (1.0.0)
|
35
36
|
danger (> 2.0)
|
36
37
|
diff-lcs (1.3)
|
37
|
-
faraday (
|
38
|
+
faraday (1.3.0)
|
39
|
+
faraday-net_http (~> 1.0)
|
38
40
|
multipart-post (>= 1.2, < 3)
|
39
|
-
|
40
|
-
|
41
|
+
ruby2_keywords
|
42
|
+
faraday-http-cache (2.2.0)
|
43
|
+
faraday (>= 0.8)
|
44
|
+
faraday-net_http (1.0.1)
|
41
45
|
ffi (1.9.25)
|
42
46
|
formatador (0.2.5)
|
43
|
-
git (1.
|
47
|
+
git (1.8.1)
|
48
|
+
rchardet (~> 1.8)
|
44
49
|
guard (2.14.2)
|
45
50
|
formatador (>= 0.2.4)
|
46
51
|
listen (>= 2.7, < 4.0)
|
@@ -56,20 +61,24 @@ GEM
|
|
56
61
|
guard-compat (~> 1.1)
|
57
62
|
rspec (>= 2.99.0, < 4.0)
|
58
63
|
jaro_winkler (1.5.1)
|
59
|
-
kramdown (
|
64
|
+
kramdown (2.3.1)
|
65
|
+
rexml
|
66
|
+
kramdown-parser-gfm (1.1.0)
|
67
|
+
kramdown (~> 2.0)
|
60
68
|
listen (3.0.7)
|
61
69
|
rb-fsevent (>= 0.9.3)
|
62
70
|
rb-inotify (>= 0.9.7)
|
63
71
|
lumberjack (1.0.13)
|
64
72
|
method_source (0.9.0)
|
65
|
-
multipart-post (2.
|
73
|
+
multipart-post (2.1.1)
|
66
74
|
nap (1.1.0)
|
67
75
|
nenv (0.3.0)
|
68
76
|
no_proxy_fix (0.1.2)
|
69
77
|
notiffany (0.1.1)
|
70
78
|
nenv (~> 0.1)
|
71
79
|
shellany (~> 0.0)
|
72
|
-
octokit (4.
|
80
|
+
octokit (4.20.0)
|
81
|
+
faraday (>= 0.9)
|
73
82
|
sawyer (~> 0.8.0, >= 0.5.3)
|
74
83
|
open4 (1.3.4)
|
75
84
|
parallel (1.12.1)
|
@@ -79,12 +88,14 @@ GEM
|
|
79
88
|
pry (0.11.3)
|
80
89
|
coderay (~> 1.1.0)
|
81
90
|
method_source (~> 0.9.0)
|
82
|
-
public_suffix (
|
91
|
+
public_suffix (4.0.6)
|
83
92
|
rainbow (3.0.0)
|
84
93
|
rake (10.5.0)
|
85
94
|
rb-fsevent (0.10.3)
|
86
95
|
rb-inotify (0.9.10)
|
87
96
|
ffi (>= 0.5.0, < 2)
|
97
|
+
rchardet (1.8.0)
|
98
|
+
rexml (3.2.4)
|
88
99
|
rspec (3.7.0)
|
89
100
|
rspec-core (~> 3.7.0)
|
90
101
|
rspec-expectations (~> 3.7.0)
|
@@ -107,11 +118,12 @@ GEM
|
|
107
118
|
ruby-progressbar (~> 1.7)
|
108
119
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
109
120
|
ruby-progressbar (1.9.0)
|
110
|
-
|
111
|
-
|
112
|
-
|
121
|
+
ruby2_keywords (0.0.4)
|
122
|
+
sawyer (0.8.2)
|
123
|
+
addressable (>= 2.3.5)
|
124
|
+
faraday (> 0.8, < 2.0)
|
113
125
|
shellany (0.0.1)
|
114
|
-
terminal-table (
|
126
|
+
terminal-table (3.0.0)
|
115
127
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
116
128
|
thor (0.20.0)
|
117
129
|
unicode-display_width (1.4.0)
|
@@ -133,4 +145,4 @@ DEPENDENCIES
|
|
133
145
|
yard (~> 0.9.11)
|
134
146
|
|
135
147
|
BUNDLED WITH
|
136
|
-
1.
|
148
|
+
1.17.2
|
data/lib/eslint/gem_version.rb
CHANGED
data/lib/eslint/plugin.rb
CHANGED
@@ -71,7 +71,7 @@ module Danger
|
|
71
71
|
bin = eslint_path
|
72
72
|
raise 'eslint is not installed' unless bin
|
73
73
|
return run_lint(bin, '.') unless filtering
|
74
|
-
((git.modified_files - git.deleted_files) + git.added_files)
|
74
|
+
((git.modified_files - git.deleted_files - git.renamed_files.map { |r| r[:before] }) + git.added_files + git.renamed_files.map { |r| r[:after] })
|
75
75
|
.select { |f| target_extensions.include?(File.extname(f)) }
|
76
76
|
.map { |f| f.gsub("#{Dir.pwd}/", '') }
|
77
77
|
.map { |f| run_lint(bin, f).first }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-eslint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- leonhartX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-plugin-api
|
@@ -209,8 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
|
-
|
213
|
-
rubygems_version: 2.5.2.3
|
212
|
+
rubygems_version: 3.0.3
|
214
213
|
signing_key:
|
215
214
|
specification_version: 4
|
216
215
|
summary: A Danger plugin for linting javascript with eslint.
|