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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b46d9687fc10c651bf9b97d521c32626da3aa512e4a6b35129853b392373c9e6
4
- data.tar.gz: 82fff5a7d015c429fc2aace8aa21487e4926834ce12f531b4c1730c6ded1bd07
3
+ metadata.gz: 1b950fef55b36b8c083f86f9763d9528a259c42b85da7f238ac94ba9dd85ca40
4
+ data.tar.gz: b425a3447f2b07ded747e329d6b482010e8404a36d9842f3415aa06c5232b959
5
5
  SHA512:
6
- metadata.gz: 52ec1ea4baa451f343576dde3901619d30d2c7b7cacba46c9bdc40af8fab0f80b8db4fd2a1d07b75465d9b071e2d5677cdb81ad8f5b3f46b53f0fbe90fd8bc68
7
- data.tar.gz: 9380da6c43ed0da0c0b2cad2ca90f179fda32ae7b6f6a86d47381414fcdca4aaba2e9e66e78af4a039f2cb318469a821f5f20b6600b137de3310a2e440df6e7c
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.included_modules.include? patch_module
214
+ target.include patch_module unless target.include? patch_module
216
215
  end
217
216
  end
218
217
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RedminePluginKit
4
- VERSION = '1.0.7'
4
+ VERSION = '1.0.8'
5
5
  end
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.7
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: 2025-08-14 00:00:00.000000000 Z
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.4.19
80
- signing_key:
77
+ rubygems_version: 3.6.9
81
78
  specification_version: 4
82
79
  summary: Redmine plugin kit
83
80
  test_files: []