redmine_plugin_kit 1.0.7 → 1.0.8
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 +4 -4
- data/lib/redmine_plugin_kit/loader.rb +3 -4
- data/lib/redmine_plugin_kit/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b950fef55b36b8c083f86f9763d9528a259c42b85da7f238ac94ba9dd85ca40
|
|
4
|
+
data.tar.gz: b425a3447f2b07ded747e329d6b482010e8404a36d9842f3415aa06c5232b959
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 516210aeab2395b927086b354b913eeca88e7aed1de3f7674aad6d6efb0bcd602897eefd28f108c00d13519f9cb27df51167638937516ec3d9793577ad52d3c9
|
|
7
|
+
data.tar.gz: 4579bbdaed1f2dec0bce766f18bd3344398f303c5417b8944312945a63894a750cad7f4fce3d41bb2ebd5082e06ccc5f3aa4f6ae26ff8e56d042b27cce205f0d
|
|
@@ -28,10 +28,9 @@ module RedminePluginKit
|
|
|
28
28
|
# required multiple times because of this bug: https://www.redmine.org/issues/33290
|
|
29
29
|
def redmine_database_ready?(with_table = nil)
|
|
30
30
|
ActiveRecord::Base.connection
|
|
31
|
-
rescue ActiveRecord::NoDatabaseError
|
|
32
|
-
false
|
|
33
|
-
else
|
|
34
31
|
with_table.nil? || ActiveRecord::Base.connection.table_exists?(with_table)
|
|
32
|
+
rescue ActiveRecord::NoDatabaseError, ActiveRecord::ConnectionNotEstablished, ActiveRecord::StatementInvalid
|
|
33
|
+
false
|
|
35
34
|
end
|
|
36
35
|
|
|
37
36
|
def plugin_dir(plugin_id:)
|
|
@@ -212,7 +211,7 @@ module RedminePluginKit
|
|
|
212
211
|
end
|
|
213
212
|
|
|
214
213
|
target = patch[:target]
|
|
215
|
-
target.include patch_module unless target.
|
|
214
|
+
target.include patch_module unless target.include? patch_module
|
|
216
215
|
end
|
|
217
216
|
end
|
|
218
217
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redmine_plugin_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AlphaNodes
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: deface
|
|
@@ -61,7 +60,6 @@ licenses:
|
|
|
61
60
|
- GPL-2.0
|
|
62
61
|
metadata:
|
|
63
62
|
rubygems_mfa_required: 'true'
|
|
64
|
-
post_install_message:
|
|
65
63
|
rdoc_options: []
|
|
66
64
|
require_paths:
|
|
67
65
|
- lib
|
|
@@ -76,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
76
74
|
- !ruby/object:Gem::Version
|
|
77
75
|
version: '0'
|
|
78
76
|
requirements: []
|
|
79
|
-
rubygems_version: 3.
|
|
80
|
-
signing_key:
|
|
77
|
+
rubygems_version: 3.6.9
|
|
81
78
|
specification_version: 4
|
|
82
79
|
summary: Redmine plugin kit
|
|
83
80
|
test_files: []
|