code_breaker 0.1.1 → 0.1.2

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: 3b10f45d7870b6729fc5b5632f03351e45014589
4
- data.tar.gz: 40d6687ab9d31cda37ef4cf9d0bb881899e7f047
3
+ metadata.gz: 42be42ca56f164dbac7f2412dc763d943b45ef08
4
+ data.tar.gz: 393e5361ed2095c5e74cb36fe94c162e4d68440b
5
5
  SHA512:
6
- metadata.gz: 052ec71488e79e1e53bf761976fc16ba2c409469a6c0f8de0be8d41b14db445804564b90ec1007a694e7c1eb287772e1493993434593d30a9152faeef41d804f
7
- data.tar.gz: e02cf3f28507ca5ae3e52ae2a031b73665921aa99e684bc7a1b150820a73a8043fef8ee5fed76b9b9cb3b0835a866838d979391f9c42e99e1e00432da0c40740
6
+ metadata.gz: 3f878d309e9c8819b533612d59fac0b55ebb0e39e1ba739f7aeba4b9433a8ab6debb3c476f5940e19b98216cd652d9067941faf037acf391e4ce19e3b957b18b
7
+ data.tar.gz: fa92f5c0fba4ab799a5ce56973aa5997c7cbed8de2a2eb963cd815d0453dfcdf1a241a991d32729eb58ab0546600631eb2b93cb7808ecccbe42d30d8c213e6fd
@@ -21,7 +21,7 @@ module CodeBreaker
21
21
  def run
22
22
  unless @output
23
23
  ast = ::Parser::CurrentRuby.parse(input)
24
- @output = parse(ast.loc.node)
24
+ @output = ast.nil? ? [] : parse(ast.loc.node)
25
25
  end
26
26
 
27
27
  @output
@@ -1,3 +1,3 @@
1
1
  module CodeBreaker
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_breaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Götze
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser