codeclimate 0.32.0 → 0.32.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
  SHA1:
3
- metadata.gz: 712f37b8dc55035b3ab637d1b016a8ce1433bd3e
4
- data.tar.gz: 55e8b06509ad9cd694a77be87599191a9502840d
3
+ metadata.gz: 5ab2827383ddd8bc9f4d66e6222930d8fbd5acba
4
+ data.tar.gz: 9f786ebba44562238a300fadb126e930f8011d06
5
5
  SHA512:
6
- metadata.gz: 71a2d89d6bbeca9f778e98688e177afec7264d59c768c66dc003ac7a8544aebcdf3b2218b86cf9597af7cf81d4400ba39fe26fdce51178cc64a7cda14eada1f5
7
- data.tar.gz: 2b42a98a5b0caef2502b2e1b81a7af7f674d3fea370f8011b533ad715a4058ffb5b6b83090789818c383318ab987b2be7b08034aadc98f2f50281b51344cee04
6
+ metadata.gz: 522cc090f5af9cb9a83258aceb0023d2056dc3a1e79d145c54824f0f161c4b287804779835e6f4c05190ff8aa63ece66ceb2eb2e75fdca5650cea98f932c948d
7
+ data.tar.gz: 550629b503b098503a911dd9534b9ad00b08ed22b8fc0712e72002aa84e43e8a25d754f65e38f851e0beb03b54148ab270f93b31e8538de6a06a45f9cb82eef0
@@ -28,7 +28,12 @@ module CC
28
28
  end
29
29
 
30
30
  def raw_source
31
- @raw_source ||= File.read(issue.path)
31
+ @raw_source ||=
32
+ if File.file?(issue.path)
33
+ File.read(issue.path)
34
+ else
35
+ ""
36
+ end
32
37
  end
33
38
  end
34
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.32.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code Climate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-31 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport