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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0f667f85e0d110624ccd5f899854088d8015fa00
4
- data.tar.gz: c28815a63c4e04d663c7fd745d49e31ec82baf4f
2
+ SHA256:
3
+ metadata.gz: c755028670b1b9cbae085f24f9ee00155b73994fb94456e540fb7a1ef8d37892
4
+ data.tar.gz: 772f991c485c60ef11480f195a0f6f7a6c668987dbc868dda5c514b2e3e952f4
5
5
  SHA512:
6
- metadata.gz: ce9bceb329b3a207e46cbca65a3c96dc950219d928d919b3a7d06a07f08bff2a06f4798f23b1f553752cfd78a7b623d493e345fd59c908a03b28532da66f9969
7
- data.tar.gz: 4cc55109bd400d1f256f35e4814187e8d7c1ca0f18f599d9a359528f0da77c6b103f3c27eb0fbcf5ad3af9b5233ec3a4004de437d27ac75354bdc035e5673562
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('&nbsp;')
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 %>
@@ -1,5 +1,5 @@
1
1
  module RedmineExtensions
2
2
 
3
- VERSION = '0.6.1'
3
+ VERSION = '0.6.2'
4
4
 
5
5
  end
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.1
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-09-22 00:00:00.000000000 Z
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
- rubyforge_project:
194
- rubygems_version: 2.6.7
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