redmine_plugin_kit 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/deface.rb +1 -1
- data/lib/redmine_plugin_kit/loader.rb +1 -1
- data/lib/redmine_plugin_kit/version.rb +1 -1
- data/lib/redmine_plugin_kit.rb +1 -1
- data/redmine_plugin_kit.gemspec +1 -1
- 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: 20fc30e0032c559eff94af09f197927f9aab7861899ae5f063a78257ee9b8d50
|
4
|
+
data.tar.gz: 3ef384ab9615a313310611dd7ab3440cb2117839d4659b6dc7a18d4edad311d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bbded7d01a63b15d089126a2f450eb1cbad2bba162c684a2d7c687e1436e5c1af6a623a17d5631a9fd4a4a38cc4ea4e706237761852db6ed5c6f1f37c9bd8f7
|
7
|
+
data.tar.gz: 157365a7a308ec4a0409fde5e364a235a9a207708553ea3d5daa2be522450166067eae40148288f26930504349bfd49c2a5159e74d1212d32bc52f3cb29eae6f
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Rails.application.paths['app/overrides'] ||= []
|
4
|
-
Dir
|
4
|
+
Dir[Rails.root.join('plugins/*/app/overrides')].each do |dir|
|
5
5
|
Rails.application.paths['app/overrides'] << dir unless Rails.application.paths['app/overrides'].include? dir
|
6
6
|
end
|
@@ -251,7 +251,7 @@ module RedminePluginKit
|
|
251
251
|
Rails.logger.debug { "global helpers for #{plugin_id}: #{global_helpers.inspect}" } if debug
|
252
252
|
|
253
253
|
global_helpers.each do |h|
|
254
|
-
|
254
|
+
ActiveSupport.on_load(:action_view) { include h }
|
255
255
|
end
|
256
256
|
end
|
257
257
|
end
|
data/lib/redmine_plugin_kit.rb
CHANGED
@@ -10,7 +10,7 @@ require 'redmine_plugin_kit/loader'
|
|
10
10
|
|
11
11
|
require 'redmine_plugin_kit/helpers/global_helper'
|
12
12
|
|
13
|
-
|
13
|
+
ActiveSupport.on_load(:action_view) { include RedminePluginKit::Helpers::GlobalHelper } if defined?(ActionView::Base)
|
14
14
|
|
15
15
|
module RedminePluginKit
|
16
16
|
class << self
|
data/redmine_plugin_kit.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
spec.required_ruby_version = '>= 2.6'
|
26
26
|
|
27
|
-
spec.
|
27
|
+
spec.add_runtime_dependency 'deface', '1.9.0'
|
28
28
|
spec.add_runtime_dependency 'rails'
|
29
29
|
|
30
30
|
spec.add_development_dependency 'bundler'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AlphaNodes
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|