redmine-reporting 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redmine/reporting/report.rb +2 -2
- data/lib/redmine/reporting/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8691a6a676d35aa4100c383077f8579c4b1b73a0
|
4
|
+
data.tar.gz: f2ab9cd794b8208d2edb3566460a68c9208dc0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4485d52dc79fb662f027899e8033d6e7ef7c3e4226f160e0c65dc1b6d2bf243438dad5a5060606c689e3e67fb50de09c5376a9fced1b253bccb6ab75a876d09b
|
7
|
+
data.tar.gz: c540a6fc214dc99b9d18b3ad95ac40c5e8351bd41f410e5947ccc251d3f478deb241e34aac876614da8cc6140077e3911cc9527d5e6f7fabeed733ef9396ef27
|
@@ -39,14 +39,14 @@ module Redmine
|
|
39
39
|
|
40
40
|
if saved_issue_id.nil?
|
41
41
|
# add reference_id to description if updates are disabled
|
42
|
-
|
42
|
+
desc = config[:no_update] ? "h1. #{reference_id}\n\n#{@description}" : @description
|
43
43
|
|
44
44
|
resp = HTTParty.post("#{config[:base_url]}/issues.json", options.merge({
|
45
45
|
body: {
|
46
46
|
issue: {
|
47
47
|
subject: @subject.strip,
|
48
48
|
project_id: config[:project],
|
49
|
-
description:
|
49
|
+
description: desc.strip,
|
50
50
|
tracker_id: config[:tracker],
|
51
51
|
category_id: config[:category]
|
52
52
|
}
|