rubocop-packaging 0.1.0 → 0.1.1

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: 7763971e3ccedea64e6db97b4ec6351d489b99fe36110f4d01374a67bce0c0d1
4
- data.tar.gz: 4e4e52ee808aba2ba256a757c225802cff30bafe9521ec33a259dbfe7f037e42
3
+ metadata.gz: 894fe9c595554ef57074560709460860e5e141db808fc6ce0f1f4ea4f77b9b40
4
+ data.tar.gz: 7240c56db4e1d92daff4be2682950002813a961222c68d4495c4f128ff61c964
5
5
  SHA512:
6
- metadata.gz: c2cdd53a7671b724141244e0efec24e8a4eeffbe3a4e9830b3eb6b80fbf487f74649e552b465b6b17f537d985278d7da38bba14fc9a816d781adee54aefb55d3
7
- data.tar.gz: 9f16cf74a99ab1d56e01ad056440d2329013a441a62618eccc4e1ee2a6052ed7df4fd5565f095468feb7739c863ca957f9199a8a4e3c8db1de92958e5bf802c6
6
+ metadata.gz: b04c5603ec6d43e01cdc911c7eaa5d86a1aa76bf9e7ad57bd0e1827e607e3abb83f8390c2086a72baeb5bde2132bab38ef11534d502a4f9358bf30cf4f69d984
7
+ data.tar.gz: ed936cc2d3baea1ccc054ca2d058dbf7132f67edc4ab38f524271b419d611c7f8479c5906843e32a2bcb9b0af462ac58b7aef075bfcc7fabe0dde3fd6c62900d
@@ -69,6 +69,8 @@ module RuboCop # :nodoc:
69
69
  #
70
70
  # Processing of the AST happens here.
71
71
  def investigate(processed_source)
72
+ return if processed_source.blank?
73
+
72
74
  xstr(processed_source.ast).each do |node|
73
75
  add_offense(
74
76
  processed_source.ast,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Packaging
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-packaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Utkarsh Gupta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-17 00:00:00.000000000 Z
11
+ date: 2020-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bump