File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,17 @@ The GTT Project appreciates any [contributions](https://github.com/gtt-project/.
36
36
37
37
## Version History
38
38
39
+ - 2.0.0 Support Redmine 5.0
40
+ - 1.1.0 Publish on GitHub
41
+
39
42
See [ all releases] ( https://github.com/gtt-project/redmine_expo_push/releases ) with release notes.
40
43
41
44
## Authors
42
45
43
46
- [ Jens Kraemer] ( https://github.com/jkraemer )
44
47
- [ Thibault Mutabazi] ( https://github.com/eyewritecode )
45
48
- [ Ko Nagase] ( https://github.com/sanak )
49
+ - [ Daniel Kastl] ( https://github.com/dkastl )
46
50
- ... [ and others] ( https://github.com/gtt-project/redmine_expo_push/graphs/contributors )
47
51
48
52
## LICENSE
Original file line number Diff line number Diff line change 1
- require 'redmine'
1
+ require File . expand_path ( '../lib/redmine_expo_push/hooks' , __FILE__ )
2
2
3
- require 'redmine_expo_push'
4
- require 'redmine_expo_push/hooks'
5
-
6
- Rails . configuration . to_prepare do
7
- RedmineExpoPush . setup
3
+ if Rails . version > '6.0' && Rails . autoloaders . zeitwerk_enabled?
4
+ Rails . application . config . after_initialize do
5
+ RedmineExpoPush . setup
6
+ end
7
+ else
8
+ require 'redmine_expo_push'
9
+ Rails . configuration . to_prepare do
10
+ RedmineExpoPush . setup
11
+ end
8
12
end
9
13
10
14
Redmine ::Plugin . register :redmine_expo_push do
13
17
author_url 'https://github.com/georepublic'
14
18
url 'https://github.com/gtt-project/redmine_expo_push'
15
19
description 'Notify mobile app users through push notifications'
16
- version '1.1 .0'
20
+ version '2.0 .0'
17
21
18
22
requires_redmine version_or_higher : '4.0.0'
19
23
You can’t perform that action at this time.
0 commit comments