lint_trap 0.0.18 → 0.0.19
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/docker/cppcheck/Dockerfile +1 -1
- data/docker/pylint/Dockerfile +1 -1
- data/lib/lint_trap/version.rb +1 -1
- data/spec/command_spec.rb +1 -1
- data/spec/fixtures/good.png +0 -0
- data/spec/language_spec.rb +6 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a93ef9eafd0cf3980de876308c50f466bfca500
|
|
4
|
+
data.tar.gz: 2d3a427092b776e21b9c1d92070939a5bc1c42bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1c3bb88e5f22c371c75754734a43de606b517b5a6707713e9064733d801a0575a572554812feeabe2557b63cf87b88456a0097c3b07757e0037421e45647f00
|
|
7
|
+
data.tar.gz: 621b275467d23370e16c85ff7b67b332afecc0c27626d3a33fc2dc5a88a2c27c434913dae57689b421a6b70012f71dda2809af93b11d0adf2867c290bd1184fc
|
data/docker/cppcheck/Dockerfile
CHANGED
data/docker/pylint/Dockerfile
CHANGED
data/lib/lint_trap/version.rb
CHANGED
data/spec/command_spec.rb
CHANGED
|
Binary file
|
data/spec/language_spec.rb
CHANGED
|
@@ -89,6 +89,12 @@ describe LintTrap::Language do
|
|
|
89
89
|
it{is_expected.to eq(described_class::Unknown.new)}
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
+
context 'when given an image' do
|
|
93
|
+
let(:file){fixture_path('good.png')}
|
|
94
|
+
|
|
95
|
+
it{is_expected.to eq(described_class::Unknown.new)}
|
|
96
|
+
end
|
|
97
|
+
|
|
92
98
|
context 'when given a known language file that is empty' do
|
|
93
99
|
let(:file){fixture_path('empty.rb')}
|
|
94
100
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lint_trap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allen Madsen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github-linguist
|
|
@@ -204,6 +204,7 @@ files:
|
|
|
204
204
|
- spec/fixtures/good.go
|
|
205
205
|
- spec/fixtures/good.js
|
|
206
206
|
- spec/fixtures/good.json
|
|
207
|
+
- spec/fixtures/good.png
|
|
207
208
|
- spec/fixtures/good.py
|
|
208
209
|
- spec/fixtures/good.rb
|
|
209
210
|
- spec/fixtures/good.scss
|
|
@@ -304,6 +305,7 @@ test_files:
|
|
|
304
305
|
- spec/fixtures/good.go
|
|
305
306
|
- spec/fixtures/good.js
|
|
306
307
|
- spec/fixtures/good.json
|
|
308
|
+
- spec/fixtures/good.png
|
|
307
309
|
- spec/fixtures/good.py
|
|
308
310
|
- spec/fixtures/good.rb
|
|
309
311
|
- spec/fixtures/good.scss
|