img-lint 0.0.13 → 0.0.14

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: 9cef312bda480bd565a3fa0129f7e0a2bdb5acba
4
- data.tar.gz: a6bb76b6693cf0e87d0a3071ba08c825a5103e17
3
+ metadata.gz: c4ce3e092a3390c5e8d2e4c5b9772d29b1150e0c
4
+ data.tar.gz: 0c7bb2778d098b4fb8d782fd57e38d951d4818fa
5
5
  SHA512:
6
- metadata.gz: 6cfd16d63dc42a9702de342c553a4b0d5c557b0a4a9faaf715871fc78c34f6409feee37ab655db6a8d075b54ea5fe8474225bbb58fc582b416c08ebb38aef369
7
- data.tar.gz: 583aaa380ec3aa287f09af1b442e76a4f74d227f484661537d658007a7d435e96e34501b098847ef368850c40ec8b1a79cd6d8e09ebe95ee039ececd8a8c3a19
6
+ metadata.gz: 885e78daf512459e0f36fa29ce1fdee0fb6be959c369ce18ba410aede268983c112f5b7b36e0bbc432fe82c02ad4a4ce8b8ae0fe9ceba1b39f6ed77ea951bd84
7
+ data.tar.gz: 0cdaadc90a82f4bb5269b91f9d49e02856ea813c246960a7bbf95e7c114548da8e9627819f3829ad0f94f8a1383045e0b20912c14b9a7c9396d859f3d6255391
data/bin/img-lint CHANGED
@@ -50,5 +50,7 @@ else
50
50
  path = config.delete("path")
51
51
 
52
52
  linter = IMGLint::Linter.new(config: config)
53
- linter.lint(path: path)
53
+ fat_images = linter.lint(path: path)
54
+
55
+ exit fat_images.empty? ? 0 : 2
54
56
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IMGLint
4
- VERSION = "0.0.13".freeze
4
+ VERSION = "0.0.14".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: img-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoli Makarevich