danger-flutter_lint 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Gemfile.lock +7 -9
- data/README.md +6 -3
- data/lib/flutter_lint/gem_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2ebc440a7e0a6fbcf31e50cf18c4c03d96b85cc3683a4d7e32ec22fd0c2e43e
|
|
4
|
+
data.tar.gz: eaa1f779c2cdad24841bae67584f16e1c253697657e06b4a50f686e75d122470
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24fb816a1983dd027fe8b291b7fa7ef1b66420bdcc4ecfc9994b0a6640072a28878afa7696e2a48eb17e56d9e441365b7641fc278f7ee5df14155edabeb11e4b
|
|
7
|
+
data.tar.gz: 518fa85145b3a75c987c1493d5dadded43bfd537ae3890f5ba3b920dc6b1d08e390ea0f854fdf1195d9575931727a9242d5a953c4bf85214e64aa79b556a2069
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -24,7 +24,7 @@ GEM
|
|
|
24
24
|
colored2 (3.1.2)
|
|
25
25
|
cork (0.3.0)
|
|
26
26
|
colored2 (~> 3.1)
|
|
27
|
-
danger (6.0.
|
|
27
|
+
danger (6.0.3)
|
|
28
28
|
claide (~> 1.0)
|
|
29
29
|
claide-plugins (>= 0.9.2)
|
|
30
30
|
colored2 (~> 3.1)
|
|
@@ -81,13 +81,12 @@ GEM
|
|
|
81
81
|
notiffany (0.1.1)
|
|
82
82
|
nenv (~> 0.1)
|
|
83
83
|
shellany (~> 0.0)
|
|
84
|
-
octokit (4.
|
|
84
|
+
octokit (4.14.0)
|
|
85
85
|
sawyer (~> 0.8.0, >= 0.5.3)
|
|
86
86
|
open4 (1.3.4)
|
|
87
|
-
parallel (1.
|
|
88
|
-
parser (2.6.
|
|
87
|
+
parallel (1.17.0)
|
|
88
|
+
parser (2.6.2.1)
|
|
89
89
|
ast (~> 2.4.0)
|
|
90
|
-
powerpack (0.1.2)
|
|
91
90
|
pry (0.12.2)
|
|
92
91
|
coderay (~> 1.1.0)
|
|
93
92
|
method_source (~> 0.9.0)
|
|
@@ -112,15 +111,14 @@ GEM
|
|
|
112
111
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
113
112
|
rspec-support (~> 3.8.0)
|
|
114
113
|
rspec-support (3.8.0)
|
|
115
|
-
rubocop (0.
|
|
114
|
+
rubocop (0.67.2)
|
|
116
115
|
jaro_winkler (~> 1.5.1)
|
|
117
116
|
parallel (~> 1.10)
|
|
118
117
|
parser (>= 2.5, != 2.5.1.1)
|
|
119
|
-
powerpack (~> 0.1)
|
|
120
118
|
psych (>= 3.1.0)
|
|
121
119
|
rainbow (>= 2.2.2, < 4.0)
|
|
122
120
|
ruby-progressbar (~> 1.7)
|
|
123
|
-
unicode-display_width (
|
|
121
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
|
124
122
|
ruby-progressbar (1.10.0)
|
|
125
123
|
ruby_dep (1.5.0)
|
|
126
124
|
sawyer (0.8.1)
|
|
@@ -135,7 +133,7 @@ GEM
|
|
|
135
133
|
terminal-table (1.8.0)
|
|
136
134
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
137
135
|
thor (0.20.3)
|
|
138
|
-
unicode-display_width (1.
|
|
136
|
+
unicode-display_width (1.5.0)
|
|
139
137
|
url (0.3.2)
|
|
140
138
|
|
|
141
139
|
PLATFORMS
|
data/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# danger-flutter_lint
|
|
2
2
|
|
|
3
|
+
[](https://rubygems.org/gems/danger-flutter_lint)
|
|
3
4
|
[](https://travis-ci.org/mateuszszklarek/danger-flutter_lint)
|
|
4
5
|
[](https://codecov.io/gh/mateuszszklarek/danger-flutter_lint)
|
|
5
6
|
|
|
@@ -9,11 +10,11 @@ A Danger Plugin to lint dart files using `flutter analyze` command line interfac
|
|
|
9
10
|
|
|
10
11
|
Add this line to your application's Gemfile:
|
|
11
12
|
|
|
12
|
-
$ gem 'danger-
|
|
13
|
+
$ gem 'danger-flutter_lint'
|
|
13
14
|
|
|
14
15
|
Or install it yourself as:
|
|
15
16
|
|
|
16
|
-
$ gem install danger-
|
|
17
|
+
$ gem install danger-flutter_lint
|
|
17
18
|
|
|
18
19
|
## Usage
|
|
19
20
|
|
|
@@ -29,7 +30,7 @@ Now you need to set `report_path` and invoke `lint` in your Dangerfile.
|
|
|
29
30
|
|
|
30
31
|
```ruby
|
|
31
32
|
flutter_lint.report_path = "flutter_analyze_report.txt"
|
|
32
|
-
flutter_lint.lint
|
|
33
|
+
flutter_lint.lint
|
|
33
34
|
```
|
|
34
35
|
|
|
35
36
|
This will add markdown table with summary into your PR.
|
|
@@ -40,6 +41,8 @@ Or make Danger comment directly on the line instead of printing a Markdown table
|
|
|
40
41
|
flutter_lint.lint(inline_mode: true)
|
|
41
42
|
```
|
|
42
43
|
|
|
44
|
+
Default value for `inline_mode` parameter is false.
|
|
45
|
+
|
|
43
46
|
#### Lint only added/modified files
|
|
44
47
|
|
|
45
48
|
If you're dealing with a legacy project, with tons of warnings, you may want to lint only new/modified files. You can easily achieve that, setting the `only_modified_files` parameter to `true`.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: danger-flutter_lint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mateusz Szklarek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: danger-plugin-api
|