redmine_extensions 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/redmine_extensions/jquery.entityarray.js +3 -0
- data/lib/generators/redmine_extensions/entity/templates/mail_added.html.erb.erb +1 -1
- data/lib/generators/redmine_extensions/entity/templates/mail_added.text.erb.erb +2 -2
- data/lib/generators/redmine_extensions/entity/templates/mail_updated.text.erb.erb +2 -2
- data/lib/redmine_extensions/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c755028670b1b9cbae085f24f9ee00155b73994fb94456e540fb7a1ef8d37892
|
4
|
+
data.tar.gz: 772f991c485c60ef11480f195a0f6f7a6c668987dbc868dda5c514b2e3e952f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff066d1d2c9c9c456a42b5666c386306091dff0d31cbc30a3d2ebf4528c1b136c1b628c25143f3230c500797594c90691108c6d5a1a38a3758f22a7902a07ce
|
7
|
+
data.tar.gz: 2a0fed3f7793b392dd741a0b4bdfec4ebac779e634c4f0e06028e4f24f0a4e855081b3523b3f7831075ba07eb3e0bab7b3e9931bdf633e9ecfd0e809db414f55
|
@@ -36,10 +36,12 @@
|
|
36
36
|
if (!entity.id || entity === "" || this.entities[entity.id]) {
|
37
37
|
return null;
|
38
38
|
}
|
39
|
+
const dataCyInputName = this.options.inputNames.replaceAll("[", "").replaceAll("]", "");
|
39
40
|
|
40
41
|
entity.element = $("<span/>")
|
41
42
|
.text(entity.name)
|
42
43
|
.addClass(entity.className || this.options.className)
|
44
|
+
.attr("data-cy", `card__${dataCyInputName}--id_${entity.id}`)
|
43
45
|
.appendTo(this.element)
|
44
46
|
.after(" ");
|
45
47
|
|
@@ -53,6 +55,7 @@
|
|
53
55
|
.html(' ')
|
54
56
|
.addClass("icon icon-del")
|
55
57
|
.appendTo(entity.element)
|
58
|
+
.attr("data-cy", `button__delete--${dataCyInputName}_id_${entity.id}`)
|
56
59
|
.data("entity-id", entity.id)
|
57
60
|
.click(function () {
|
58
61
|
self.removeEntity($(this).data("entity-id"));
|
@@ -1 +1 @@
|
|
1
|
-
<h1><%%= link_to(@<%= model_name_underscored %>.to_s, @<%= model_name_underscored %>_url) %></h1>
|
1
|
+
<h1><%%= link_to(@<%= model_name_underscored %>.to_s, @<%= model_name_underscored %>_url) %></h1>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<%%= @<%= model_name_underscored %>.to_s %>
|
2
|
-
<%%= @<%= model_name_underscored %>_url %>
|
1
|
+
<%%= @<%= model_name_underscored %>.to_s %>
|
2
|
+
<%%= @<%= model_name_underscored %>_url %>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<%%= @<%= model_name_underscored %>.to_s %>
|
2
|
-
<%%= @<%= model_name_underscored %>_url %>
|
1
|
+
<%%= @<%= model_name_underscored %>.to_s %>
|
2
|
+
<%%= @<%= model_name_underscored %>_url %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Easy Software Ltd
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -175,7 +175,7 @@ homepage: https://www.easyredmine.com
|
|
175
175
|
licenses:
|
176
176
|
- GPL-2.0
|
177
177
|
metadata: {}
|
178
|
-
post_install_message:
|
178
|
+
post_install_message:
|
179
179
|
rdoc_options: []
|
180
180
|
require_paths:
|
181
181
|
- lib
|
@@ -190,9 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
|
-
|
194
|
-
|
195
|
-
signing_key:
|
193
|
+
rubygems_version: 3.2.33
|
194
|
+
signing_key:
|
196
195
|
specification_version: 4
|
197
196
|
summary: Redmine Extensions is set of useful features for Redmine. Main focus is on
|
198
197
|
development helpers, but many users can find it helpfull
|