lint_trap 0.0.18 → 0.0.19

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
  SHA1:
3
- metadata.gz: 6c96f5bc1eee5580fcfec07585bf4e1f40ccc6d8
4
- data.tar.gz: 30a362c8fdd6ee0d5f0d4243d1df40c3121fe3d9
3
+ metadata.gz: 1a93ef9eafd0cf3980de876308c50f466bfca500
4
+ data.tar.gz: 2d3a427092b776e21b9c1d92070939a5bc1c42bb
5
5
  SHA512:
6
- metadata.gz: 7b042f0537a564c135a063ebc6eb673348bc41810d19fef54629a3a0e9b7a0e138a0b60318837da225ce675397cbd704a04cfa5b0283031f7a948d4bdbe39583
7
- data.tar.gz: 82b9b47f0c9f4f81a95d73cf4577b9a25724163b1eafd9b89382a9461f666bcddbc66aa127a98aaf5408de901cfb79fd89d16f683dfaa9ff0025189b68f9617c
6
+ metadata.gz: e1c3bb88e5f22c371c75754734a43de606b517b5a6707713e9064733d801a0575a572554812feeabe2557b63cf87b88456a0097c3b07757e0037421e45647f00
7
+ data.tar.gz: 621b275467d23370e16c85ff7b67b332afecc0c27626d3a33fc2dc5a88a2c27c434913dae57689b421a6b70012f71dda2809af93b11d0adf2867c290bd1184fc
@@ -1,4 +1,4 @@
1
- FROM buildpack-deps:jessie-scm
1
+ FROM buildpack-deps:jessie
2
2
  MAINTAINER LintCI
3
3
 
4
4
  ### Setup User ###
@@ -1,4 +1,4 @@
1
- FROM buildpack-deps:jessie-scm
1
+ FROM buildpack-deps:jessie
2
2
  MAINTAINER LintCI
3
3
 
4
4
  ### Setup User ###
@@ -1,4 +1,4 @@
1
1
  # Gem to detect and lint files
2
2
  module LintTrap
3
- VERSION = '0.0.18'
3
+ VERSION = '0.0.19'
4
4
  end
data/spec/command_spec.rb CHANGED
@@ -10,7 +10,7 @@ describe LintTrap::Command do
10
10
 
11
11
  it 'generates the expected output' do
12
12
  success = command.run(container) do |io|
13
- expect(io.read).to eq(" 1\tlint\n")
13
+ expect(io.read).to include(" 1\tlint\n")
14
14
  end
15
15
 
16
16
  expect(success).to be_truthy
Binary file
@@ -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.18
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-10-23 00:00:00.000000000 Z
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