redmineup 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/CHANGELOG +2 -1
- data/lib/redmineup/version.rb +1 -1
- data/lib/redmineup.rb +5 -1
- data/vendor/assets/stylesheets/calendars.css +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29dd99362c25b8a01eb005353b073fc5d190729cae314154be14b3fae52863c4
|
4
|
+
data.tar.gz: 93e2c8b1003d3ab551c251a432870ead47c409872c4340182cadca58e30085e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bf8304cea50ccb52e0b22c3adf96d391ccb50da550af0c09069ca4c81b7f79c8f1c53b09f6634a6251ed2dd8b3bf9d61fcacee00255ab9ebe5e429802b90b35
|
7
|
+
data.tar.gz: 446eaee72799ed74acd7690c5fdf19ae4fc3257dff7c71c3b88f301e111ba3ddd035eaca507e2b0591e214fa55b7c2c9583948be92a7fea950818c78f0adb1e4
|
data/doc/CHANGELOG
CHANGED
@@ -4,8 +4,9 @@ Redmine UP gem - general functions for plugins (tags, vote, viewing, currency)
|
|
4
4
|
Copyright (C) 2011-2024 Kirill Bezrukov (RedmineUP)
|
5
5
|
https://www.redmineup.com/
|
6
6
|
|
7
|
-
== 2024-01-
|
7
|
+
== 2024-01-31 v1.0.5
|
8
8
|
|
9
|
+
* Added plugin_installed? method
|
9
10
|
* Compatibility patches for ApplicationRecord
|
10
11
|
|
11
12
|
== 2023-10-12 v1.0.1
|
data/lib/redmineup/version.rb
CHANGED
data/lib/redmineup.rb
CHANGED
@@ -43,10 +43,14 @@ require 'redmineup/helpers/form_tag_helper'
|
|
43
43
|
require 'redmineup/helpers/calendars_helper'
|
44
44
|
require 'redmineup/assets_manager'
|
45
45
|
|
46
|
-
require 'redmineup/patches/liquid_patch'
|
46
|
+
require 'redmineup/patches/liquid_patch'
|
47
47
|
|
48
48
|
module Redmineup
|
49
49
|
GEM_NAME = 'redmineup'.freeze
|
50
|
+
|
51
|
+
def self.plugin_installed?(plugin_id)
|
52
|
+
Rails.root.join("plugins/#{plugin_id}/init.rb").exist?
|
53
|
+
end
|
50
54
|
end
|
51
55
|
|
52
56
|
require 'application_record' unless defined?(ApplicationRecord)
|
@@ -10,6 +10,6 @@ table.cal td.odd p.day-num {color: #bbb;}
|
|
10
10
|
table.cal td.today {background:#ffffdd;}
|
11
11
|
table.cal td.today p.day-num {font-weight: bold;}
|
12
12
|
table.cal td.nwday:not(.odd) {background-color:#f1f1f1;}
|
13
|
-
table.cal .starting a.issue, p.cal.legend .starting {background: url(
|
14
|
-
table.cal .ending a.issue, p.cal.legend .ending {background: url(
|
15
|
-
table.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(
|
13
|
+
table.cal .starting a.issue, p.cal.legend .starting {background: url(../../../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
|
14
|
+
table.cal .ending a.issue, p.cal.legend .ending {background: url(../../../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
15
|
+
table.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../../../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
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.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RedmineUP
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|