gitlab_merge_request 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-mr +7 -2
- data/bin/gitlab_merge_request +7 -2
- data/lib/gitlab_merge_request/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cfc73e3941dd469b0282547f52c2d66f979c21b
|
4
|
+
data.tar.gz: e1c02d5ee0912b3022a69d03e4c56a01dafc16cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 617ca31adb11abf35639ae37cf5b20cc8b0062808678bd077525ae494314ea9bf7e04f4ef32dea069dfd27503705a9209072b70e0dee7160d90e41cdfd0f79d5
|
7
|
+
data.tar.gz: b846a128c065eb0b9f8d49ccc68c6324d52ed847cb505408ed58130e44bdf106bd5a6f611e0cf2a13e9fc1967f356d8ce3e563043629e3b92e3cb4728c809bc3
|
data/bin/git-mr
CHANGED
@@ -39,8 +39,13 @@ target_branch = git_config 'gitlab.merge-request-target' do
|
|
39
39
|
Gitlab.project(project_id).default_branch
|
40
40
|
end
|
41
41
|
|
42
|
-
task_url_template = git_config 'gitlab.task-url-template' do
|
43
|
-
|
42
|
+
task_url_template = git_config 'gitlab.task-url-template' do |key|
|
43
|
+
puts <<-EOF
|
44
|
+
Please run:
|
45
|
+
git config #{key} TASK_URL_TEMPLATE
|
46
|
+
Task url template should be of form "http://jira.example.com/browse/PROJECT-%s" (%s will be replaced with task id from branch name)
|
47
|
+
EOF
|
48
|
+
exit 1
|
44
49
|
end
|
45
50
|
|
46
51
|
print "Creating merge request.
|
data/bin/gitlab_merge_request
CHANGED
@@ -39,8 +39,13 @@ target_branch = git_config 'gitlab.merge-request-target' do
|
|
39
39
|
Gitlab.project(project_id).default_branch
|
40
40
|
end
|
41
41
|
|
42
|
-
task_url_template = git_config 'gitlab.task-url-template' do
|
43
|
-
|
42
|
+
task_url_template = git_config 'gitlab.task-url-template' do |key|
|
43
|
+
puts <<-EOF
|
44
|
+
Please run:
|
45
|
+
git config #{key} TASK_URL_TEMPLATE
|
46
|
+
Task url template should be of form "http://jira.example.com/browse/PROJECT-%s" (%s will be replaced with task id from branch name)
|
47
|
+
EOF
|
48
|
+
exit 1
|
44
49
|
end
|
45
50
|
|
46
51
|
print "Creating merge request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_merge_request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ales Guzik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|