redmine_crm 0.0.57 → 0.0.58
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81a0216d566bed679a6f87d2ce909333215908e2cdb61fdc4e1e20e220147ee2
|
4
|
+
data.tar.gz: 97490339fb9a5330be1a8928d00afeb5521592a407b4913ecea3b86ca22d7c40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b17257627ce09e285db95899e99dc9a6db1b7e240f0f81d1adb9e08033ea0347e1fc0b8df313fa39ddaecb7a717bd98e3e6320c723b22032e1222d59b1dd94c
|
7
|
+
data.tar.gz: 16d05fbc85c96c0cdfd07a87da14a9864a02201767beb6cbe47d5e52f641dce7b765b16191587ac7a1fef63778a0550b8af392876991b8dde47c12c8a603de72
|
data/doc/CHANGELOG
CHANGED
@@ -4,6 +4,12 @@ Redmine crm gem - general functions for plugins (tags, vote, viewing, currency)
|
|
4
4
|
Copyright (C) 2011-2022 RedmineUP
|
5
5
|
https://www.redmineup.com/
|
6
6
|
|
7
|
+
== 2022-09-26 v0.0.58
|
8
|
+
|
9
|
+
* Added closed? method to Issue Drop
|
10
|
+
* Added blank issue for Time Entry
|
11
|
+
* Added helpdesk_ticket method for Issue Drop
|
12
|
+
|
7
13
|
== 2022-02-14 v0.0.57
|
8
14
|
|
9
15
|
* Fixed BigDecimal liquid bug for ruby > 2.6
|
@@ -37,7 +37,7 @@ module RedmineCrm
|
|
37
37
|
:subject,
|
38
38
|
:description,
|
39
39
|
:visible?,
|
40
|
-
:
|
40
|
+
:closed?,
|
41
41
|
:start_date,
|
42
42
|
:due_date,
|
43
43
|
:overdue?,
|
@@ -146,6 +146,12 @@ module RedmineCrm
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
+
def helpdesk_ticket
|
150
|
+
return nil unless defined?(::HelpdeskTicketDrop)
|
151
|
+
|
152
|
+
@helpdesk_ticket ||= HelpdeskTicketDrop.new(@issue)
|
153
|
+
end
|
154
|
+
|
149
155
|
def custom_field_values
|
150
156
|
@issue.custom_field_values
|
151
157
|
end
|
data/lib/redmine_crm/version.rb
CHANGED
@@ -29,6 +29,10 @@ module RedmineCrm
|
|
29
29
|
def test_issue_delegated
|
30
30
|
assert_equal [@issue.id, @issue.subject, @issue.description].join('|'),
|
31
31
|
@liquid_render.render('{{ issue.id }}|{{ issue.subject }}|{{ issue.description }}')
|
32
|
+
|
33
|
+
assert_not_equal @issue.subject, @liquid_render.render('{% if issue.closed? %}{{issue.subject}}{% endif %}')
|
34
|
+
@issue.closed = true
|
35
|
+
assert_equal @issue.subject, @liquid_render.render('{% if issue.closed? %}{{issue.subject}}{% endif %}')
|
32
36
|
end
|
33
37
|
end
|
34
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine_crm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RedmineUP
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|