tutter-sppuppet 0.0.15 → 0.0.16

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
- N2M0MDllNGMwY2U3NjNiMjk2ZWMwMWVmNWFmOWVmYmM1Y2I4OTExZQ==
4
+ MzgyNmYyZTFmZWM0Zjc2ZmRlNjE1YjAzNzIwNjZiZmUyMTA2NDk5YQ==
5
5
  data.tar.gz: !binary |-
6
- OTYwMTE0ODdjNjFkYjczYjhiNjhlNzMzOTg2YTkwMGUzZTQyMGZkNQ==
6
+ NmU1ZjQxNmY2ZTU2Mjc3NmZjYzlhMGQ1ZWEwMzk4ZTY0NzJmOGUyNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODM5YWJiMGE4ZTk2NWYwNDM5MTc5N2U5ZWI4YmZjZGNjMDk4NGI5NzdmMGQ2
10
- MzYwNTNkYTk0ZmQxMDVmNmU4YTVjMjRlYWM4ZTUwZWVjNzFjOGU2MjQzZjY1
11
- NzYxY2I0NjU5YzBhZTcyZDgzNTgxM2Q4ZmJhOGU4NTM2ZTc2MGQ=
9
+ YjA2M2ZjYmE4MTdiYTg0MjBhZDhjYmFkMjg4NDE4MDQ1MzA2NjkxNWYzM2Ex
10
+ M2NjNDZlYjllNTQzMWJhY2FlNThkMDE0NDhjZWU1YmIzODJhMWRjMDcwMjZm
11
+ OGFlNzYxODBkZjllYjEyM2IzYTc4MmY1NzQyYzY3NTg3MmUxZDQ=
12
12
  data.tar.gz: !binary |-
13
- NjlhYzZiYzBhMmQ4MTgzYTgyOWY1Mjg0Nzg3NzkzYTdhZDNjYWJlNjY3ZmMz
14
- OTk0YmExZTAyNjQ0YjE2NmRmMjlkY2U4N2M5OTc2MDYwYmUxZGQ5YTU3YjFm
15
- ZjAyNmZkNjI5MmQwOTE2Nzk3ZDAwMjIzZDdjMTQ1NjY0ZTZmYTE=
13
+ YTAzNmY2NWYxOTY4NTgyYzY0ZmU0MDFlMDgxNzE3YWE1YzAyNmE2MDllNjdh
14
+ MjRhMzgzODAxNmE5MzAwMzcwZjI3MzEyOTRlOWQwMzY4YWFkNGE5ZjhlZmM2
15
+ ODNjY2E1YmRmMTdiM2FmZGFlNTlkODRkMjc1ZjczNDBkM2ViZWQ=
@@ -95,7 +95,7 @@ class Sppuppet
95
95
  reviewers: plus_one.keys,
96
96
  deployer: comments.last.user.login }
97
97
  # TODO: Word wrap description
98
- merge_msg <<MERGE_MSG
98
+ merge_msg = <<MERGE_MSG
99
99
  Title: #{pr.title}
100
100
  Description: #{pr.body}
101
101
  Author: #{pr.author}
@@ -103,8 +103,8 @@ Reviewers: #{plus_one.keys.join ', '}
103
103
  Deployer: #{comments.last.user.login}
104
104
  URL: #{pr.url}
105
105
  MERGE_MSG
106
- merge = @client.merge_pull_request(@project, pull_request_id, merge_msg)
107
- json[:merge_sha] = merge.sha
106
+ merge_commit = @client.merge_pull_request(@project, pull_request_id, merge_msg)
107
+ json[:merge_sha] = merge_commit.sha
108
108
  report_directory = "#{@settings['reports_dir']}/#{merge_commit.sha[0..1]}/#{merge_commit.sha[2..3]}"
109
109
  report_path = "#{report_directory}/#{merge_commit.sha}.json"
110
110
  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.15'
4
+ s.version = '0.0.16'
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.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan Haals