Logo
Explore Help
Register Sign In
Nemcio/Redmine
1
0
Fork 0
You've already forked Redmine
mirror of https://github.com/redmine/redmine.git synced 2025-11-09 23:06:05 +01:00
Code Issues Packages Projects Releases Activity
Files
2bc72f18231e01474672a96f45d21448b399ac63
Redmine/lib/plugins/gravatar/init.rb

7 lines
173 B
Ruby
Raw Normal View History

Support frozen_string_literal in lib/**/*.rb (#26561). Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 16:36:34 +00:00
# frozen_string_literal: true
Add "frozen_string_literal: false" for all files (#26561). This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Use `require_relative` instead of `File.dirname(__FILE__) + ...` (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-16 21:55:30 +00:00
require_relative 'lib/gravatar'
Use ApplicationRecord instead of ActiveRecord::Base (#38975). Patch by Minoru Maeda (@maeda-m). git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 11:52:38 +00:00
Rails.application.reloader.to_prepare do
ApplicationRecord.send :include, GravatarHelper::PublicMethods
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 81ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API