tutter-sppuppet 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGJlMDNiYzk3NzdmOTc2OTJjNGY1M2FiZjBkOWJlYzE0NTU3OGVkNQ==
4
+ NjAwYWYwZmRhMmVhZDFmYWVhNzY1ZTlhMTQ2MDQ4MDQ5NjM3YWI4Ng==
5
5
  data.tar.gz: !binary |-
6
- MWJiNzNhNmZmMzFjYmI0MDAyNDVjNGQ5M2U0ZTA1ZGNmMzg0MGMxYg==
6
+ MzY5YmE4ODRkMGEzYTdjZTNmMGUyYmI4NWU5NWJmYWQ3YWY4NjRkYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjhmMDY0ZDllMWRiZWFmZDM2OWI0NmM5ZDI5ZTEzODEyOGI5NGVmMGM3ZDQw
10
- YzI3MzUxZjM3NGI0MDRiZDFkZDRjMTlmZDk5YmU4MTEyYzA3NTEwYWYwNDkw
11
- MDdjNzVlZDQzNjZmOWViOWZhODlhYzhhZThhNDQ1NjRlZjZhYmI=
9
+ MzAwZWVlN2EzYTE4ODgxZjBiZTg1N2Y3ZjNiOGZiYzIxNzk5MDllODI3YjVh
10
+ ZjJmOTFkMGY0OTViOTRlNWQ0NWQ4N2ZkZDc2NTlkNzk2YWFkNTM5MTMwOWE5
11
+ YTQ0NzZlNmYxOTlhNzgwOGM0YjVkMWJlMzM3NmQ2ZTc3ZjI2OWE=
12
12
  data.tar.gz: !binary |-
13
- NWVkOTQ0ODg2YzJlMjBjZTc4NjljMWUwNzRlNDExMjE3ZmJkNmQ1YzRkODZm
14
- Mzc4MDkxZjZkNzc1MDgzZDIwMzZmNTQ2MGUyOTVkODFlMzQ0NTNmYTEyMDEx
15
- ZDNlMzM1NzE2NGE3YTYwYTQ5YjRkZTgxYjgxNTdkYzllYWQ5MjE=
13
+ M2IzODc2NWZkMGRiZWM2NDQ4NWY3M2U2YzZjOWE5ZWU4MjVjMjg2YjU1M2Vk
14
+ MTRiMzhjZmI1NTNlZjYxNGVhZjRhYmE4OTIyMzMxN2Q2YTA2YTRhZWU4ZTMx
15
+ MDk4MGU3OGZiODAzYjFhYzAwYzZiZTgxNzRlNTkxM2JhNzE5ZjI=
@@ -85,17 +85,16 @@ class Sppuppet
85
85
  merge = comments.last.body == '!merge' || comments.last.body == ':shipit:'
86
86
 
87
87
  if plus_one.count >= @settings['plus_ones_required'] && merge
88
- merge_commit = @client.merge_pull_request(@project, pull_request_id, 'SHIPPING!!')
89
88
  json = { url: pr.html_url,
90
89
  title: pr.title,
91
90
  author: pr.user.login,
92
91
  description: pr.body,
93
- commits: client.pull_request_commits(@project, pr.number).map { |c| { author: c.author.login, message: c.commit.message, sha: c.commit.tree.sha } },
94
- merge_sha: merge_commit.sha,
92
+ commits: @client.pull_request_commits(@project, pr.number).map { |c| { author: c.author.login, message: c.commit.message, sha: c.commit.tree.sha } },
95
93
  head_sha: pr.head.sha,
96
94
  tests: @client.combined_status(@project, pr.head.sha).statuses.map { |s| {state: s.state, url: s.target_url, description: s.description } },
97
95
  reviewers: plus_one.keys,
98
96
  deployer: comments.last.user.login }
97
+ json[:merge_sha] = @client.merge_pull_request(@project, pull_request_id, 'SHIPPING!!').sha
99
98
  report_directory = "#{@settings['reports_dir']}/#{merge_commit.sha[0..1]}/#{merge_commit.sha[2..3]}"
100
99
  report_path = "#{report_directory}/#{merge_commit.sha}.json"
101
100
  if @settings['generate_reports']
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'tutter-sppuppet'
4
- s.version = '0.0.10'
4
+ s.version = '0.0.11'
5
5
  s.author = ['Johan Haals', 'Erik Dalén', 'Alexey Lapitsky']
6
6
  s.email = ['johan.haals@gmail.com', 'dalen@spotify.com', 'alexey@spotify.com']
7
7
  s.homepage = 'https://github.com/jhaals/tutter-sppuppet'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tutter-sppuppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan Haals
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-02-19 00:00:00.000000000 Z
13
+ date: 2015-02-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: tutter