Ruby 2.4 or higher is required
This commit is contained in:
12
.rubocop.yml
12
.rubocop.yml
@@ -6,8 +6,9 @@ Rails:
|
|||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: 2.3
|
TargetRubyVersion: 2.4
|
||||||
TargetRailsVersion: 5.2
|
TargetRailsVersion: 5.2
|
||||||
|
NewCops: enable
|
||||||
|
|
||||||
Metrics:
|
Metrics:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
@@ -45,17 +46,8 @@ Style/Documentation:
|
|||||||
Style/ExpandPathArguments:
|
Style/ExpandPathArguments:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Style/HashEachMethods:
|
|
||||||
Enabled: true
|
|
||||||
|
|
||||||
Style/HashTransformKeys:
|
Style/HashTransformKeys:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Style/HashTransformValues:
|
Style/HashTransformValues:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Lint/RaiseException:
|
|
||||||
Enabled: true
|
|
||||||
|
|
||||||
Lint/StructNewOverride:
|
|
||||||
Enabled: true
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ Changelog
|
|||||||
- Redundant status and priority in messages #56
|
- Redundant status and priority in messages #56
|
||||||
- Show attachments for new issues
|
- Show attachments for new issues
|
||||||
- Show indicator for private comment on issue
|
- Show indicator for private comment on issue
|
||||||
|
- Ruby 2.4 or higher is required
|
||||||
|
|
||||||
1.0.5
|
1.0.5
|
||||||
-----
|
-----
|
||||||
|
|||||||
2
init.rb
2
init.rb
@@ -1,4 +1,4 @@
|
|||||||
raise "\n\033[31mredmine_messenger requires ruby 2.3 or newer. Please update your ruby version.\033[0m" if RUBY_VERSION < '2.3'
|
raise "\n\033[31mredmine_messenger requires ruby 2.4 or newer. Please update your ruby version.\033[0m" if RUBY_VERSION < '2.4'
|
||||||
|
|
||||||
Redmine::Plugin.register :redmine_messenger do
|
Redmine::Plugin.register :redmine_messenger do
|
||||||
name 'Redmine Messenger'
|
name 'Redmine Messenger'
|
||||||
|
|||||||
Reference in New Issue
Block a user