cql_ruby 0.0.9 → 0.0.10

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
  SHA256:
3
- metadata.gz: 4e459067630e91a0d52a1839445f881647e9c0271c052d973ccfafd6040f21b6
4
- data.tar.gz: 39379431fb2d817930aff070a8335c02b62822d6bba0129956f6691cb5ea99b8
3
+ metadata.gz: e75a456d8dff7bb1b1affde452bfc7df1e01508a2514ca1729cf996e28c3bff6
4
+ data.tar.gz: 57d5bdbfe2991ba0ed0c529373405885cc4382c8cf2f6cec3c86117b65fc31bf
5
5
  SHA512:
6
- metadata.gz: 1de5455822e96348fad5fbda540e66ebf830723a4579927f8d4b1a2a9a4c9dd1c6d4763a514674eebff6974c8d61958e53af9fae74397fd643bb8a036f0a725d
7
- data.tar.gz: 94c05fd4d565b1db7e793137495bd97456b1e459f9a58c6faba8c008c772a4898929ce5dc02d4064dec2ef0ee2ef0a7a2b68a2f9915430c681aca2a1a2bbb6f9
6
+ metadata.gz: b56ead4780a2823d1e327c7ab24e5d73923d21096a5b95832cdfbe7bc499a335bdc2ea5d252efaff96e2ba4fd6471b4ca6e12c9c18f90249116bff509217b66d
7
+ data.tar.gz: 1b30aedc86c325e1cc6fdd8813abe2d46f5d76d34f542e0d9f0446b0a7fa42721c4f76dfec376c477287eff46d71311f2b86b20c1dea6c9658cfe8b04207b775
@@ -125,7 +125,7 @@ begin
125
125
  include: options[:include_pattern],
126
126
  exclude: options[:exclude_pattern],
127
127
  ).search_all
128
- rescue => e
129
- puts "Error: #{e}"
128
+ rescue
129
+ puts "Error: #{$!}"
130
130
  show_help
131
131
  end
@@ -65,9 +65,9 @@ module CqlRuby
65
65
  walk(ast, [], source_reader)
66
66
 
67
67
  nil
68
- rescue => e
68
+ rescue
69
69
  CqlRuby.log "File #{file} cannot be parsed"
70
- CqlRuby.log "Reason: #{e}" if CqlRuby::Config.debug_level_1?
70
+ CqlRuby.log "Reason: #{$!}" if CqlRuby::Config.debug_level_1?
71
71
  end
72
72
 
73
73
  def walk(node, ancestors, source_reader)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cql_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - itarato