redmine_plugins_helper 0.15.2 → 0.15.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 +4 -4
- data/init.rb +1 -2
- data/lib/redmine_plugins_helper/available.rb +1 -1
- data/lib/redmine_plugins_helper/patches/redmine/{plugin_patch → plugin}/assets.rb +1 -1
- data/lib/redmine_plugins_helper/patches/redmine/{plugin_patch → plugin}/dependencies.rb +2 -1
- data/lib/redmine_plugins_helper/patches/redmine/{plugin_patch → plugin}/initializers.rb +1 -1
- data/lib/redmine_plugins_helper/patches/redmine/{plugin_patch.rb → plugin.rb} +5 -5
- data/lib/redmine_plugins_helper/patches/redmine/plugin_migration_context.rb +3 -3
- data/lib/redmine_plugins_helper/patches.rb +8 -0
- data/lib/redmine_plugins_helper/version.rb +1 -1
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2af979175a20e84488209e888269c241ea5654fd83b2643c8a2dff4f4b88248d
|
4
|
+
data.tar.gz: 84b68ea11a5e1f351428f542a0e1114756044223ec370a0888e5242e765920e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7de715724ffd5fd7987df99c0e2334d3d451d9db80e57c6fbdcbf81835dbf4c366a3000fc564da510d815aace8115e3255e8e18ccea08bcb655d8f7d811a93bd
|
7
|
+
data.tar.gz: 927fdb497b4e8b018a3176bc18fc59f7c076a4d595d06d68bdbf205c5d38fa242db660066171bb1cfc77371e71d06c331162d335567bd92f2e6c318288bc6976
|
data/init.rb
CHANGED
@@ -12,8 +12,7 @@ Redmine::Plugin.register :redmine_plugins_helper do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
Rails.configuration.to_prepare do
|
15
|
-
require_dependency 'redmine_plugins_helper/patches
|
16
|
-
require_dependency 'redmine_plugins_helper/patches/redmine/plugin_migration_context'
|
15
|
+
require_dependency 'redmine_plugins_helper/patches'
|
17
16
|
Redmine::Plugin.all.sort.each(&:add_assets_paths)
|
18
17
|
Redmine::Plugin.all.sort.each(&:load_initializers)
|
19
18
|
end
|
@@ -5,14 +5,14 @@ require 'eac_ruby_utils/core_ext'
|
|
5
5
|
module RedminePluginsHelper
|
6
6
|
module Patches
|
7
7
|
module Redmine
|
8
|
-
module
|
8
|
+
module Plugin
|
9
9
|
extend ActiveSupport::Concern
|
10
10
|
|
11
11
|
included do
|
12
12
|
extend ClassMethods
|
13
|
-
include ::RedminePluginsHelper::Patches::Redmine::
|
14
|
-
prepend ::RedminePluginsHelper::Patches::Redmine::
|
15
|
-
include ::RedminePluginsHelper::Patches::Redmine::
|
13
|
+
include ::RedminePluginsHelper::Patches::Redmine::Plugin::Assets
|
14
|
+
prepend ::RedminePluginsHelper::Patches::Redmine::Plugin::Dependencies
|
15
|
+
include ::RedminePluginsHelper::Patches::Redmine::Plugin::Initializers
|
16
16
|
end
|
17
17
|
|
18
18
|
module ClassMethods
|
@@ -46,6 +46,6 @@ module RedminePluginsHelper
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
patch = RedminePluginsHelper::Patches::Redmine::
|
49
|
+
patch = RedminePluginsHelper::Patches::Redmine::Plugin
|
50
50
|
target = Redmine::Plugin
|
51
51
|
target.send(:include, patch) unless target.include?(patch)
|
@@ -5,7 +5,7 @@ require 'redmine/plugin'
|
|
5
5
|
module RedminePluginsHelper
|
6
6
|
module Patches
|
7
7
|
module Redmine
|
8
|
-
module
|
8
|
+
module PluginMigrationContext
|
9
9
|
extend ActiveSupport::Concern
|
10
10
|
|
11
11
|
def get_all_versions # rubocop:disable Naming/AccessorMethodName
|
@@ -24,8 +24,8 @@ module RedminePluginsHelper
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
if Redmine::Plugin.const_defined?(
|
27
|
+
if Redmine::Plugin.const_defined?(:MigrationContext)
|
28
28
|
Redmine::Plugin::MigrationContext.prepend(
|
29
|
-
RedminePluginsHelper::Patches::Redmine::
|
29
|
+
RedminePluginsHelper::Patches::Redmine::PluginMigrationContext
|
30
30
|
)
|
31
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine_plugins_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- 0.15.
|
7
|
+
- 0.15.4
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bigdecimal
|
@@ -36,20 +36,20 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
39
|
+
version: '0.10'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.10.1
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '0.
|
49
|
+
version: '0.10'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
52
|
+
version: 0.10.1
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: eac_ruby_utils
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,11 +120,12 @@ files:
|
|
120
120
|
- lib/redmine_plugins_helper/migration/code.rb
|
121
121
|
- lib/redmine_plugins_helper/migration/database.rb
|
122
122
|
- lib/redmine_plugins_helper/migrations.rb
|
123
|
+
- lib/redmine_plugins_helper/patches.rb
|
124
|
+
- lib/redmine_plugins_helper/patches/redmine/plugin.rb
|
125
|
+
- lib/redmine_plugins_helper/patches/redmine/plugin/assets.rb
|
126
|
+
- lib/redmine_plugins_helper/patches/redmine/plugin/dependencies.rb
|
127
|
+
- lib/redmine_plugins_helper/patches/redmine/plugin/initializers.rb
|
123
128
|
- lib/redmine_plugins_helper/patches/redmine/plugin_migration_context.rb
|
124
|
-
- lib/redmine_plugins_helper/patches/redmine/plugin_patch.rb
|
125
|
-
- lib/redmine_plugins_helper/patches/redmine/plugin_patch/assets.rb
|
126
|
-
- lib/redmine_plugins_helper/patches/redmine/plugin_patch/dependencies.rb
|
127
|
-
- lib/redmine_plugins_helper/patches/redmine/plugin_patch/initializers.rb
|
128
129
|
- lib/redmine_plugins_helper/patches/test_case_patch.rb
|
129
130
|
- lib/redmine_plugins_helper/settings.rb
|
130
131
|
- lib/redmine_plugins_helper/status_migrations.rb
|