tutter-sppuppet 1.2.9 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/tutter/action/sppuppet.rb +7 -1
- data/tutter-sppuppet.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
Y2JlZjE5YzE0OWI0MzEwOWMyNTRjMzFlZDJiNzg5Yjg5ZTVmZTQ2Zg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MzM2NmU4MmQ0NTc3ODAzNDQzMGQyN2NkYzZhNDc3ZDFlNDlmNjVmNw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NTI1MWI5MGExMjg0YmRjZjZjYzgxZTYzZmEzODQzOTAwMzVmYmY2ODczOWY3
|
|
10
|
+
YmRhY2NiYWE0OWRkYTMzM2Q2YjFmM2EyOTVkOTkzYWRlMTE5NGVmZjk5NWNh
|
|
11
|
+
MTMwOTJhYTdkZmM4YmJlYjVmNWMzZTJlMGQzNzE2ZjA5MzkwMTg=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OTM0ZWI0OTY3OGUyMWI5Y2IxNDY3YzkwZDU4ZjVmN2MxMTk5MDIwM2U1Yjdl
|
|
14
|
+
NDg0YmU5MWY4M2RkODk4MjUyZmM3ZDM2NmYyZGI5OTAzNWZmZmM4ODc4Mzkx
|
|
15
|
+
NGEzN2ZlMWRlMzg5ZWViYWEwZjQzNDk1ZTdjNzRjZTliNDA5ZmY=
|
|
@@ -15,6 +15,7 @@ class Sppuppet
|
|
|
15
15
|
@settings['plus_ones_required'] ||= 1
|
|
16
16
|
@settings['owner_plus_ones_required'] ||= 0
|
|
17
17
|
@settings['owners'] ||= []
|
|
18
|
+
@delete_branch = @settings['chop_on_merge'] ||= false
|
|
18
19
|
@client = client
|
|
19
20
|
@project = project
|
|
20
21
|
@data = data
|
|
@@ -57,7 +58,12 @@ class Sppuppet
|
|
|
57
58
|
else
|
|
58
59
|
owners_required_text = ""
|
|
59
60
|
end
|
|
60
|
-
|
|
61
|
+
instructions_text = "To merge at least #{@settings['plus_ones_required']} person other than " +
|
|
62
|
+
"the submitter #{owners_required_text}needs to write a comment containing only _+1_ or :+1:.\n" +
|
|
63
|
+
"Then write _!merge_ or :shipit: to trigger merging.\n" +
|
|
64
|
+
"Also write :scissors: and tutter will clean up by deleting your branch after merge."
|
|
65
|
+
|
|
66
|
+
comment = @settings['instructions'] || instructions_text
|
|
61
67
|
return post_comment(issue, comment)
|
|
62
68
|
else
|
|
63
69
|
return 200, 'Not posting instructions'
|
data/tutter-sppuppet.gemspec
CHANGED
|
@@ -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 = '1.2.
|
|
4
|
+
s.version = '1.2.10'
|
|
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: 1.2.
|
|
4
|
+
version: 1.2.10
|
|
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: 2016-04-
|
|
13
|
+
date: 2016-04-29 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: tutter
|