danger-android_lint 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +44 -40
- data/README.md +9 -0
- data/danger-android_lint.gemspec +1 -1
- data/lib/android_lint/gem_version.rb +1 -1
- metadata +29 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a23cf2639550cda7bae6d9c49eec3f24564da9ef
|
4
|
+
data.tar.gz: 8aae8686cd7d2ab3c1bc344716cdbe67c9bcf2bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bff880a4f7ec5dcc46337d794bbf4439878984d51d477c0d55253a8fa61c63538e6a84d43fcfcbc4e976cbec79e71a232615131d2476dbe04b7f4500289cd127
|
7
|
+
data.tar.gz: 83aadd5d46813762ad94ca152757c1a4156989c780d48622f6f23fc163671ff0abd6c477d43fe72e1fe723042d865c0bec8bf5b26d50d1e6cb8222194fc09fdf
|
data/.github/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @loadsmart/mobile
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# 0.0.7
|
2
|
+
- Bump ffi version due to security reasons ([@barbosa](https://github.com/barbosa))
|
3
|
+
|
4
|
+
# 0.0.6
|
5
|
+
- Bump yarn and rubocop versions due to security issues ([@barbosa](https://github.com/barbosa))
|
6
|
+
|
1
7
|
# 0.0.5
|
2
8
|
- Fix count number for issues ([@jettbow](https://github.com/jettbow))
|
3
9
|
- Add option for skipping gradle task ([@litmon](https://github.com/litmon))
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ GEM
|
|
11
11
|
addressable (2.5.2)
|
12
12
|
public_suffix (>= 2.0.2, < 4.0)
|
13
13
|
ansi (1.5.0)
|
14
|
-
ast (2.
|
14
|
+
ast (2.4.0)
|
15
15
|
claide (1.0.2)
|
16
16
|
claide-plugins (0.9.2)
|
17
17
|
cork
|
@@ -21,32 +21,33 @@ GEM
|
|
21
21
|
colored2 (3.1.2)
|
22
22
|
cork (0.3.0)
|
23
23
|
colored2 (~> 3.1)
|
24
|
-
danger (
|
24
|
+
danger (6.0.3)
|
25
25
|
claide (~> 1.0)
|
26
26
|
claide-plugins (>= 0.9.2)
|
27
27
|
colored2 (~> 3.1)
|
28
28
|
cork (~> 0.1)
|
29
29
|
faraday (~> 0.9)
|
30
30
|
faraday-http-cache (~> 1.0)
|
31
|
-
git (~> 1)
|
32
|
-
kramdown (~>
|
31
|
+
git (~> 1.5)
|
32
|
+
kramdown (~> 2.0)
|
33
|
+
kramdown-parser-gfm (~> 1.0)
|
33
34
|
no_proxy_fix
|
34
35
|
octokit (~> 4.7)
|
35
36
|
terminal-table (~> 1)
|
36
37
|
danger-plugin-api (1.0.0)
|
37
38
|
danger (> 2.0)
|
38
39
|
diff-lcs (1.3)
|
39
|
-
faraday (0.
|
40
|
+
faraday (0.15.4)
|
40
41
|
multipart-post (>= 1.2, < 3)
|
41
42
|
faraday-http-cache (1.3.1)
|
42
43
|
faraday (~> 0.8)
|
43
|
-
ffi (1.
|
44
|
+
ffi (1.10.0)
|
44
45
|
formatador (0.2.5)
|
45
|
-
git (1.
|
46
|
-
guard (2.
|
46
|
+
git (1.5.0)
|
47
|
+
guard (2.15.0)
|
47
48
|
formatador (>= 0.2.4)
|
48
49
|
listen (>= 2.7, < 4.0)
|
49
|
-
lumberjack (
|
50
|
+
lumberjack (>= 1.0.12, < 2.0)
|
50
51
|
nenv (~> 0.1)
|
51
52
|
notiffany (~> 0.0)
|
52
53
|
pry (>= 0.9.12)
|
@@ -57,12 +58,14 @@ GEM
|
|
57
58
|
guard (~> 2.1)
|
58
59
|
guard-compat (~> 1.1)
|
59
60
|
rspec (>= 2.99.0, < 4.0)
|
60
|
-
kramdown (1.
|
61
|
+
kramdown (2.1.0)
|
62
|
+
kramdown-parser-gfm (1.0.1)
|
63
|
+
kramdown (~> 2.0)
|
61
64
|
listen (3.0.7)
|
62
65
|
rb-fsevent (>= 0.9.3)
|
63
66
|
rb-inotify (>= 0.9.7)
|
64
|
-
lumberjack (1.0.
|
65
|
-
method_source (0.9.
|
67
|
+
lumberjack (1.0.13)
|
68
|
+
method_source (0.9.2)
|
66
69
|
multipart-post (2.0.0)
|
67
70
|
nap (1.1.0)
|
68
71
|
nenv (0.3.0)
|
@@ -70,39 +73,39 @@ GEM
|
|
70
73
|
notiffany (0.1.1)
|
71
74
|
nenv (~> 0.1)
|
72
75
|
shellany (~> 0.0)
|
73
|
-
octokit (4.
|
76
|
+
octokit (4.14.0)
|
74
77
|
sawyer (~> 0.8.0, >= 0.5.3)
|
75
|
-
oga (2.
|
78
|
+
oga (2.15)
|
76
79
|
ast
|
77
80
|
ruby-ll (~> 2.1)
|
78
81
|
open4 (1.3.4)
|
79
|
-
parallel (1.
|
80
|
-
parser (2.
|
81
|
-
ast (~> 2.
|
82
|
-
powerpack (0.1.
|
83
|
-
pry (0.
|
82
|
+
parallel (1.17.0)
|
83
|
+
parser (2.6.2.1)
|
84
|
+
ast (~> 2.4.0)
|
85
|
+
powerpack (0.1.2)
|
86
|
+
pry (0.12.2)
|
84
87
|
coderay (~> 1.1.0)
|
85
88
|
method_source (~> 0.9.0)
|
86
|
-
public_suffix (
|
89
|
+
public_suffix (3.0.3)
|
87
90
|
rainbow (2.2.2)
|
88
91
|
rake
|
89
92
|
rake (10.5.0)
|
90
|
-
rb-fsevent (0.10.
|
91
|
-
rb-inotify (0.
|
92
|
-
ffi (
|
93
|
-
rspec (3.
|
94
|
-
rspec-core (~> 3.
|
95
|
-
rspec-expectations (~> 3.
|
96
|
-
rspec-mocks (~> 3.
|
97
|
-
rspec-core (3.
|
98
|
-
rspec-support (~> 3.
|
99
|
-
rspec-expectations (3.
|
93
|
+
rb-fsevent (0.10.3)
|
94
|
+
rb-inotify (0.10.0)
|
95
|
+
ffi (~> 1.0)
|
96
|
+
rspec (3.8.0)
|
97
|
+
rspec-core (~> 3.8.0)
|
98
|
+
rspec-expectations (~> 3.8.0)
|
99
|
+
rspec-mocks (~> 3.8.0)
|
100
|
+
rspec-core (3.8.0)
|
101
|
+
rspec-support (~> 3.8.0)
|
102
|
+
rspec-expectations (3.8.2)
|
100
103
|
diff-lcs (>= 1.2.0, < 2.0)
|
101
|
-
rspec-support (~> 3.
|
102
|
-
rspec-mocks (3.
|
104
|
+
rspec-support (~> 3.8.0)
|
105
|
+
rspec-mocks (3.8.0)
|
103
106
|
diff-lcs (>= 1.2.0, < 2.0)
|
104
|
-
rspec-support (~> 3.
|
105
|
-
rspec-support (3.
|
107
|
+
rspec-support (~> 3.8.0)
|
108
|
+
rspec-support (3.8.0)
|
106
109
|
rubocop (0.49.1)
|
107
110
|
parallel (~> 1.10)
|
108
111
|
parser (>= 2.3.3.1, < 3.0)
|
@@ -113,23 +116,24 @@ GEM
|
|
113
116
|
ruby-ll (2.1.2)
|
114
117
|
ansi
|
115
118
|
ast
|
116
|
-
ruby-progressbar (1.
|
119
|
+
ruby-progressbar (1.10.0)
|
117
120
|
sawyer (0.8.1)
|
118
121
|
addressable (>= 2.3.5, < 2.6)
|
119
122
|
faraday (~> 0.8, < 1.0)
|
120
123
|
shellany (0.0.1)
|
121
124
|
terminal-table (1.8.0)
|
122
125
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
123
|
-
thor (0.20.
|
124
|
-
unicode-display_width (1.
|
125
|
-
yard (0.9.
|
126
|
+
thor (0.20.3)
|
127
|
+
unicode-display_width (1.5.0)
|
128
|
+
yard (0.9.19)
|
126
129
|
|
127
130
|
PLATFORMS
|
128
131
|
ruby
|
129
132
|
|
130
133
|
DEPENDENCIES
|
131
|
-
bundler (~>
|
134
|
+
bundler (~> 2.0)
|
132
135
|
danger-android_lint!
|
136
|
+
ffi (>= 1.9.24)
|
133
137
|
guard (~> 2.14)
|
134
138
|
guard-rspec (~> 4.7)
|
135
139
|
listen (= 3.0.7)
|
@@ -140,4 +144,4 @@ DEPENDENCIES
|
|
140
144
|
yard (~> 0.9.11)
|
141
145
|
|
142
146
|
BUNDLED WITH
|
143
|
-
|
147
|
+
2.0.1
|
data/README.md
CHANGED
@@ -56,6 +56,15 @@ android_lint.skip_gradle_task = true
|
|
56
56
|
android_lint.lint
|
57
57
|
```
|
58
58
|
|
59
|
+
#### Changing report's file path
|
60
|
+
|
61
|
+
If you're using a path to output your report file other than the default one, you can specify it by setting a new value to `report_file`:
|
62
|
+
|
63
|
+
```rb
|
64
|
+
android_lint.report_file = "your/report/file.xml"
|
65
|
+
android_lint.lint
|
66
|
+
```
|
67
|
+
|
59
68
|
#### Changing report's severity level
|
60
69
|
|
61
70
|
If you want to filter lint issues based on their severity level, you can do that by setting a value to `severity`. Bear in mind that you are filtering issues by the severity level you've set **and up**. Possible values are `Warning`, `Error` and `Fatal`. Default is `Warning` (which is everything).
|
data/danger-android_lint.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_runtime_dependency 'danger-plugin-api', '~> 1.0'
|
24
24
|
|
25
25
|
# General ruby development
|
26
|
-
spec.add_development_dependency 'bundler', '~>
|
26
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
28
28
|
|
29
29
|
# Testing support
|
metadata
CHANGED
@@ -1,139 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-android_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gustavo Barbosa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oga
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
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
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: danger-plugin-api
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.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
40
|
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '10.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '3.4'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 0.49.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.49.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: yard
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 0.9.11
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.9.11
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: guard
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '2.14'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '2.14'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: guard-rspec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '4.7'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '4.7'
|
139
139
|
- !ruby/object:Gem::Dependency
|
@@ -154,14 +154,14 @@ dependencies:
|
|
154
154
|
name: pry
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
description: A Danger plugin for Android Lint
|
@@ -171,7 +171,8 @@ executables: []
|
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
-
- .
|
174
|
+
- ".github/CODEOWNERS"
|
175
|
+
- ".gitignore"
|
175
176
|
- CHANGELOG.md
|
176
177
|
- Gemfile
|
177
178
|
- Gemfile.lock
|
@@ -199,17 +200,17 @@ require_paths:
|
|
199
200
|
- lib
|
200
201
|
required_ruby_version: !ruby/object:Gem::Requirement
|
201
202
|
requirements:
|
202
|
-
- -
|
203
|
+
- - ">="
|
203
204
|
- !ruby/object:Gem::Version
|
204
205
|
version: '0'
|
205
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
207
|
requirements:
|
207
|
-
- -
|
208
|
+
- - ">="
|
208
209
|
- !ruby/object:Gem::Version
|
209
210
|
version: '0'
|
210
211
|
requirements: []
|
211
212
|
rubyforge_project:
|
212
|
-
rubygems_version: 2.
|
213
|
+
rubygems_version: 2.5.2.3
|
213
214
|
signing_key:
|
214
215
|
specification_version: 4
|
215
216
|
summary: Lint files of a gradle based Android project. This is done using the Android's
|
@@ -220,4 +221,3 @@ test_files:
|
|
220
221
|
- spec/fixtures/lint-result-with-everything.xml
|
221
222
|
- spec/fixtures/lint-result-without-fatal.xml
|
222
223
|
- spec/spec_helper.rb
|
223
|
-
has_rdoc:
|