fasterer 0.1.7 → 0.1.8

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: 48ef235d9ddbd7e96e9e40c0543f593488f614f9
4
- data.tar.gz: 43e7c00823bf1d792adef3bcf62e17b2c9a7f30b
3
+ metadata.gz: 5a9044b0734156a715894ea721ea8a13105c55fc
4
+ data.tar.gz: 5cee39bd66ce0513d1fa3a6175d3b5f35de4ba70
5
5
  SHA512:
6
- metadata.gz: bdf479d3be8d49e4a9fcc9a287c96673d0e17590cf3b4e64602178a7dd04197ecee65e604eace3d1bdf453cfdfeedd38a08872dac646111a90fe69dd5e778b0b
7
- data.tar.gz: 9ba93e58e71713d66aa2d0ef2465e13eabf9f1e91335c862add5bd6ddbdb779969b002f3cb968d454ec81ebff1eb254f8ecb5a69834714ddfb430991068e01a3
6
+ metadata.gz: 2d89297fc809382f092941e12f52dd092e999af45d521d07c7bdca0350d070e096fe0235ddf7b56a6d82d5fbead89bbd3d1c9d177a4d5e6bda56d0efa80fd3c4
7
+ data.tar.gz: 4f50e5a4512471e8f812541a432970712e0c94f3336a80400d5226e29553f50ccf4a74df53981d50d5b952161fa1686dd8e9b0b13e17f160d648212f5dadf2bd
@@ -54,7 +54,7 @@ module Fasterer
54
54
  def scan_file(path)
55
55
  analyzer = Analyzer.new(path)
56
56
  analyzer.scan
57
- rescue RubyParser::SyntaxError, Racc::ParseError
57
+ rescue RubyParser::SyntaxError, Racc::ParseError, Timeout::Error
58
58
  parse_error_paths.push(path)
59
59
  else
60
60
  output(analyzer) if offenses_grouped_by_type(analyzer).any?
@@ -85,8 +85,8 @@ module Fasterer
85
85
 
86
86
  def output_parse_errors
87
87
  puts 'Fasterer was unable to process some files because the'
88
- puts 'internal parser is not able to read some characters.'
89
- puts 'Unprocessable files were:'
88
+ puts 'internal parser is not able to read some characters or'
89
+ puts 'has timeouted. Unprocessable files were:'
90
90
  puts '-----------------------------------------------------'
91
91
  puts parse_error_paths
92
92
  puts
@@ -1,3 +1,3 @@
1
1
  module Fasterer
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fasterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damir Svrtan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize