Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.

Commit 7ea71bd

Browse files
Vojtusjirivojta
andauthored
Fix deprecation (#46)
* Fix deprecation * Version bump --------- Co-authored-by: jirivojta <jiri.vojta@easysoftware.com>
1 parent 2683c05 commit 7ea71bd

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
- Fix deprecation warnings EasyApplication.installation? | [@jiri.vojta](https://git.easy.cz/jiri.vojta)
7+
58
## [3.0.1] - 2023-12-14
69
### Changed
710
- easy_patches are no longer deprecated - in core of ER we will use them because of order

lib/rys/feature.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def fetch_or_create(key)
103103

104104
def active?
105105
# At the installation stage, we cannot check features, since there are no tables yet.
106-
return false if Redmine::Plugin.installation?
106+
return false if EasyApplication.installation?
107107

108108
if block_condition
109109
block_condition.call && parent.active?

lib/rys/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Rys
22

3-
VERSION = '3.0.1'
3+
VERSION = '3.1.0'
44

55
end

0 commit comments

Comments
 (0)