0003-Move-lib-redmine-core_ext-to-lib-core_ext.patch

Mizuki ISHIKAWA, 2021-10-19 08:50

Download (2.29 KB)

View differences:

lib/core_ext.rb
1
# frozen_string_literal: true
2

  
3
Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].each {|file| require(file)}
lib/redmine.rb
17 17
# along with this program; if not, write to the Free Software
18 18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19 19

  
20
require 'redmine/core_ext'
20
require 'core_ext'
21 21

  
22 22
begin
23 23
  require 'mini_magick' unless Object.const_defined?(:MiniMagick)
24
-