pronto-jscs 0.0.3 → 0.0.4

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: 01c33b1048290f51903d838d91effbe7d7c9c356
4
- data.tar.gz: 9f746628ed4f10ea6bf36b1c2366f46ccdcce813
3
+ metadata.gz: 1c7463f2c6d872b380f9cdaac4f9ae2e02bafd36
4
+ data.tar.gz: 1e9c6a2c6c60e181739d5264201b80a9469ca00b
5
5
  SHA512:
6
- metadata.gz: a59ddf55efebe43b15bfb49dbcbc082075b1c31fa6d1e411a931828c096b3100ce152dac4f8badbfe8b127a91a1b53e1b7e59cfd0cdfd328920e1ece9f0f5425
7
- data.tar.gz: 35a115b5ddd116fc67efe2db2dbe70adf6e03054b154b15c5a3bd52c2e0cf97235f0493a0245bf77345b6c99df88a7dfd921a87a553cb185c0c32862112a57a3
6
+ metadata.gz: f149830484001df5d30cb0ba902a6e8d0629599c73c2203cdbec6434c0f03c806b1062fb18895c64a4bae7ed63ea83721e604b2e084c47e9d894d8f54aac6ba6
7
+ data.tar.gz: eed0d534dac7fa25788df073563157acd58ace7b9086593764048f2c61c18fb31682a1361c4e85209fb6ac4c9c8766e543a7e3a92d2c1545060c05a99aa2fc0e
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module JSCS
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
@@ -12,6 +12,9 @@ module Pronto
12
12
  params << ' -p airbnb' unless File.exist?('.jscsrc')
13
13
  output = `jscs "#{path}" #{params}`
14
14
  JSON.parse(output)
15
+ rescue => e
16
+ puts "ERROR: pronto-jscs failed to process a diff: #{e}"
17
+ []
15
18
  end
16
19
  end
17
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-jscs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Varaneckas