redmineup 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e16d0fd8b57ea9d77f2c2b769ee99e3f00adb3de950f2b856d206d6db9d7f66d
|
|
4
|
+
data.tar.gz: ae312cd72499e910065b8661485cb483e8798b6ed26887e18cf54660a3a8c03d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d273c6a8db3effbdce540bdd545576020f0f57083ba686739618894d6b8599951b7bf27ecdcd6677110d1db32f761148ad0f87b83c88a996bae3ff51a5036887
|
|
7
|
+
data.tar.gz: 61df5ba9902c47fd6c1257b018c6513ac393f51d2b75095c27e5f5b6dc04bf927d6fdaca8666189262f0580afb0b0f9ec76d75d81a9e24e47bbadc4c75d23729
|
data/doc/CHANGELOG
CHANGED
|
@@ -4,6 +4,10 @@ Redmine UP gem - general functions for plugins (tags, vote, viewing, currency)
|
|
|
4
4
|
Copyright (C) 2011-2026 Kirill Bezrukov (RedmineUP)
|
|
5
5
|
https://www.redmineup.com/
|
|
6
6
|
|
|
7
|
+
== 2026-04-10 v1.1.4
|
|
8
|
+
|
|
9
|
+
* Fixed tags queries for MSSQL adapter
|
|
10
|
+
|
|
7
11
|
== 2026-03-10 v1.1.3
|
|
8
12
|
|
|
9
13
|
* Fixed ActionCable compatibility
|
|
@@ -74,7 +74,7 @@ module Redmineup
|
|
|
74
74
|
having = 'COUNT(*) > 0'
|
|
75
75
|
having = [having, at_least, at_most].compact.join(' AND ')
|
|
76
76
|
group_by = "#{Tag.table_name}.id, #{Tag.table_name}.name"
|
|
77
|
-
|
|
77
|
+
group_by << ", #{Tag.table_name}.color" if column_names.include?('color')
|
|
78
78
|
|
|
79
79
|
select_condition = if self.column_names.include?('color')
|
|
80
80
|
"#{Tag.table_name}.id, #{Tag.table_name}.name, #{Tag.table_name}.color, COUNT(*) AS count"
|
|
@@ -147,6 +147,7 @@ module Redmineup
|
|
|
147
147
|
group_fields = ''
|
|
148
148
|
group_fields << ", #{Tag.table_name}.created_at" if Tag.respond_to?(:created_at)
|
|
149
149
|
group_fields << ", #{Tag.table_name}.updated_at" if Tag.respond_to?(:updated_at)
|
|
150
|
+
group_fields << ", #{Tag.table_name}.color" if Tag.column_names.include?('color')
|
|
150
151
|
|
|
151
152
|
if base_class.respond_to?(:visible_condition)
|
|
152
153
|
visible_condition = base_class.visible_condition(User.current)
|
data/lib/redmineup/version.rb
CHANGED
data/lib/redmineup.rb
CHANGED
|
@@ -106,6 +106,7 @@ if defined?(ActionView::Base)
|
|
|
106
106
|
ActionView::Base.send :include, Redmineup::CalendarsHelper
|
|
107
107
|
ActionView::Base.send :include, Redmineup::ExternalAssetsHelper
|
|
108
108
|
ActionView::Base.send :include, Redmineup::FormTagHelper
|
|
109
|
+
ActionView::Base.send :include, Redmineup::TagsHelper
|
|
109
110
|
end
|
|
110
111
|
|
|
111
112
|
def requires_redmineup(arg)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redmineup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- RedmineUP
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|