Ruby 2.3.x or newer is required. Bump to 1.0.5

This commit is contained in:
Alexander Meindl
2019-05-15 20:06:35 +02:00
parent c670b5606d
commit bf8d2d3d4d
7 changed files with 17 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ class Messenger
username = Messenger.textfield_for_project(options[:project], :messenger_username)
params[:username] = username if username.present?
params[:attachments] = [options[:attachment]] if options[:attachment] && options[:attachment].any?
params[:attachments] = [options[:attachment]] if options[:attachment]&.any?
icon = Messenger.textfield_for_project(options[:project], :messenger_icon)
if icon.present?