stash_pull_request_commenter 0.2.0 → 0.2.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: 2807845857d80b6789d5af785da2fa78ef77d0b7
4
- data.tar.gz: b4c70be5400e2674f2c3aef90914627c677d5c52
3
+ metadata.gz: ff7a05764376dd091f7840d239c54f65691af9ef
4
+ data.tar.gz: f332e960eeb96427ae7157ab405014900f51b11b
5
5
  SHA512:
6
- metadata.gz: b9a72bd6404e5022af44e59c480d330c3e6d3fd46e0813f8cd77b2c9afba122f357fd88c4cdcc4e305d1e5256c05848b7c2bb718bb8f15cf2b74976f78caa035
7
- data.tar.gz: a642ef3477c845fc2a452986c3d82080bee07be452605603adc32ada66865ca62d19f6b9b6bcf10d835ed69197a19b2264171b52490f8a74127199d01719633e
6
+ metadata.gz: d3731d0e6798cffc00c20bd2f39c618a0204d6f532ffaeae38647b8654b559a4daddb7d8c41e766f9e7c4e47e4a76f6187682cb0614a1a57aa6b14c05c876d59
7
+ data.tar.gz: b55edcc23fc1cd8f9993642a8c8037e3f3d50102b16f131063b433ef2d4338954d5ce62e97360e4d9c8db43bec23a292e84e3ac4bef43defef1718a4ec322882
@@ -25,7 +25,7 @@ module Stash
25
25
  end
26
26
 
27
27
  def file_diff(file)
28
- @raw_diff['diffs'].detect{ |diff| diff['destination']['toString'] == file } || {'hunks' => []}
28
+ @raw_diff['diffs'].detect{ |diff| diff['destination'] && diff['destination']['toString'] == file } || {'hunks' => []}
29
29
  end
30
30
  end
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module StashPullRequestCommenter
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stash_pull_request_commenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Vassilevsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-31 00:00:00.000000000 Z
11
+ date: 2015-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubyforge_project:
116
- rubygems_version: 2.2.2
116
+ rubygems_version: 2.4.5
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Comment on pull requests in Atlassian Stash repositories